{"version":3,"sources":["webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/DeleteTemplateDialog.vue?d3a4","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/DeleteTemplateDialog.vue","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/DeleteTemplateDialog.vue?9839","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/DeleteTemplateDialog.vue?af7a","webpack:///../../../src/components/VVirtualScroll/VVirtualScroll.ts","webpack:///./src/model/communication/caosConfiguration/AddTemplateCommand.ts","webpack:///./src/components/TableHeaderFilters/TableFiltersRow.vue?57ba","webpack:///./src/components/TableHeaderFilters/TableFiltersRow.vue","webpack:///./src/components/TableHeaderFilters/TableFiltersRow.vue?ce06","webpack:///./src/components/TableHeaderFilters/TableFiltersRow.vue?98cb","webpack:///./src/components/TableHeaderFilters/NewSoftwareVersionsFilter.vue?b95d","webpack:///./src/components/TableHeaderFilters/NewSoftwareVersionsFilter.vue","webpack:///./src/components/TableHeaderFilters/NewSoftwareVersionsFilter.vue?77ea","webpack:///./src/components/TableHeaderFilters/NewSoftwareVersionsFilter.vue?3f6f","webpack:///../../../src/components/VStepper/VStepperStep.ts","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/index.vue?dc30","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/CaosConfigurationTemplateMainTable.vue?8e53","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/TemplateInfoDialog.vue?db1b","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/TemplateInfoDialog.vue","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/TemplateInfoDialog.vue?813e","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/TemplateInfoDialog.vue?5577","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/ForceTemplateWizard.vue?5f65","webpack:///./src/model/communication/caosConfiguration/CheckTemplateVersionResData.ts","webpack:///./src/model/communication/caosConfiguration/CheckTemplateVersionCommand.ts","webpack:///./src/model/communication/caosConfiguration/PollCaosConfigurationUpdateStatusResData.ts","webpack:///./src/model/communication/caosConfiguration/PollCaosConfigurationUpdateStatusCommand.ts","webpack:///./src/model/communication/caosConfiguration/ApplyTemplateCommand.ts","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/ForceTemplateWizard.vue","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/ForceTemplateWizard.vue?718a","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/ForceTemplateWizard.vue?d7ca","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/AddTemplateWizard.vue?c452","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/AddTemplateWizard.vue","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/AddTemplateWizard.vue?7fba","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/AddTemplateWizard.vue?b34a","webpack:///./src/model/communication/caosConfiguration/DeleteConfigurationTemplateCommand.ts","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/CaosConfigurationTemplateMainTable.vue","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/CaosConfigurationTemplateMainTable.vue?b12c","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/CaosConfigurationTemplateMainTable.vue?b9f3","webpack:///./src/model/communication/caosConfiguration/GetConfigurationTemplateResData.ts","webpack:///./src/model/communication/caosConfiguration/GetConfigurationTemplateCommand.ts","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/index.vue","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/index.vue?e21c","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/index.vue?aec9","webpack:///../../../src/components/VStepper/VStepper.ts","webpack:///../../../src/components/VStepper/index.ts","webpack:///./src/model/data/caosConfiguration/CaosConfigurationTemplate.ts","webpack:///../../../src/components/VTextarea/VTextarea.ts","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/CaosConfigurationTemplateMainTable.vue?aba0","webpack:///./node_modules/compare-versions/index.js","webpack:///../../../src/components/VStepper/VStepperContent.ts","webpack:///./src/model/data/enums/CaosConfigurationTemplateContentsEnum.ts","webpack:///./src/model/communication/caosConfiguration/GetConfigurationVersionAndSectionsResData.ts","webpack:///./src/model/communication/caosConfiguration/GetConfigurationVersionAndSectionsCommand.ts","webpack:///./src/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/TemplateInfoDialog.vue?4879","webpack:///./node_modules/core-js/modules/es7.object.entries.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","model","value","callback","$$v","showDeleteTemplateDialog","expression","staticClass","_v","_s","$t","_e","on","$event","staticStyle","template","templateName","loading","$emit","0","staticRenderFns","extend","props","showDialog","Boolean","String","fromSecurity","data","moment","MODULE_COLORS","computed","get","set","newValue","component","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCol","VDialog","VDivider","VIcon","VRow","VSpacer","name","directives","Scroll","bench","type","Number","default","itemHeight","required","items","first","last","scrollTop","__bench","parseInt","__itemHeight","firstToRender","Math","lastToRender","watch","height","mounted","getLast","methods","getChildren","slice","genChild","index","top","style","key","item","getFirst","$el","onScroll","content","h","length","modifiers","self","$listeners","ENDPOINT","AddTemplateCommand","payload","endPoint","httpVerb","executeCommand","res","AddTemplateReqData","_l","class","align","filters","filter","cf","headerValue","tag","description","customAttrs","$set","ignoreFilterChanges","headers","Array","computedFilters","handler","newFilters","deep","availableSoftwareFilter","resetToApplied","scopedSlots","_u","fn","ref","sentVersions","_g","button","domProps","isMenuOpen","filterTitle","canApply","onApply","canDeleteFilters","reset","closeMenu","radioGroup","slot","showOnlyMultipleSelection","availableSing","selectedSign","obfuscatedAvailableItems","map","c","obfuscatedVersion","selectedVersion","selectedObfuscatedVersions","singleVersion","versions","push","swName","selectedVersions","applied","appliedRadioGroup","appliedSelectedVersion","appliedSelectedVersions","appliedSelectedObfuscatedVersions","appliedSelectedSign","state","application","availableSoftwareVersions","availableSoftwareVersionsType","ComparisonOperatorEnum","LessThanOrEqualTo","text","GreaterThanOrEqualTo","filterUpdateType","filterSwName","label","somethingDifferent","element","includes","availableItems","isArray","some","sw","updateType","UpdateTypeEnum","ThirdPartySoftware","find","versionsList","v","sort","setObfuscatedAvailableItems","forEach","version","ov","VersionObfuscator","obfuscate","trim","itemsToEmit","compare","Object","assign","versionType","VBadge","VMenu","VProgressCircular","VRadio","VRadioGroup","VSelect","VTooltip","baseMixins","ripple","inject","color","complete","completeIcon","editable","editIcon","errorIcon","rules","step","isActive","isInactive","classes","hasError","validate","stepper","register","beforeDestroy","unregister","click","e","genIcon","genLabel","$slots","genStep","setBackgroundColor","genStepContent","children","toggle","SECURITY_AND_CONFIGURATION","configurationTemplate","configurationTemplateLoading","sendRequest","onOptionsChanged","onReload","onFiltersChanged","paginatedTotalItems","options","dataTableItemsPerPage","prevIcon","nextIcon","$vuetify","breakpoint","proxy","openInfoDialog","openDeleteDialog","openForceTemplateWizard","showAddTemplateDialog","showInfoDialog","currentTemplate","showDeleteDialog","currentTemplateName","deleteLoading","deleteTemplate","showForceTemplateWizard","showTemplateInfoDialog","info","icon","caosConfigurationTemplateContentToString","templateContent","category","i18nToEnum","CaosConfigurationTemplateContentsEnum","generalConfigurations","CaosConfigurationTemplate","infos","sourceInstallationName","caosVersion","createdBy","utc","createdAt","local","format","longDateFormat","showForceTemplateDialog","reload","templateInstallations","loadingCheckVersion","templateNotApplicable","notAllowedInstallations","allowedInstallations","loadingApplyTemplate","updatedInstallation","installation","finish","result","error","backStep","canContinue","continueStep","response","Payload","parse","obj","AllowedInstallations","NotAllowedInstallations","ApiGenericResponse","Command","other","templateId","installationNames","InstallationsUpdateIsFinished","installationsUpdateIsFinished","Map","entries","components","DeviceTree","VFaIcon","startDateTime","finishedCount","DeviceTreeNodeTypeEnum","Device","sendRequestCheckVersion","sendRequestApplyTemplate","reqData","l","id","execute","responseStatus","ApiResponseStatusEnum","Success","inst","setTimeout","finalStatusPolling","console","log","installationName","undefined","findIndex","i","VCardSubtitle","VProgressLinear","VSkeletonLoader","VStepper","VStepperContent","VStepperHeader","VStepperItems","VStepperStep","VVirtualScroll","alertColor","alertText","newTemplate","loadingGetConfigVersion","errorMessage","rawName","templateContentRequiresValid","availableConfigSections","namei18n","onSelectAllClick","selectAllIcon","selectedContent","_b","active","contentValue","endingMessage","loadingAddTemplate","templateBaseConfiguration","filteredtemplateInstallations","section","requirements","requires","requirement","sectioni18n","requirement18n","sendRequestGetConfigurationVersion","none","sendRequestCreateTemplate","GetConfigurationVersionAndSectionsCommand","responseString","caosConfiguration","keys","message","task","VAlert","VCheckbox","VChip","VListItem","VListItemAction","VListItemContent","VList","VListItemTitle","VTextField","VTextarea","params","TableFiltersRow","TemplateInfoDialog","DeleteTemplateDialog","ForceTemplateWizard","AddTemplateWizard","sortable","width","filterKey","Caos","NewSoftwareVersionsFilter","currentSelections","newOptions","oldOptions","page","ignoreOptionsChanges","newVal","backToTheFirst","showAlert","VDataTable","CaosConfigurationTemplates","caosConfigurationTemplates","CreateGetConfigurationTemplateReqData","req","softwareVersionFilterList","reqProps","prop","softwareFilter","InstalledSoftware","queryLimit","offset","orderBy","orderByDescending","AppPage","CaosConfigurationTemplateMainTable","currentPaginationOptions","request","sendRequestAndBackToTheFirstPage","$refs","standardPage","debug","needToSendRequest","itemsPerPage","sortBy","sortDesc","newReqData","mainTable","provide","stepClick","isVertical","vertical","altLabels","nonLinear","isBooted","steps","isReverse","themeClasses","internalValue","oldVal","created","updateView","Id","SourceInstallationName","Name","CaosVersion","Configuration","configuration","TemplateContent","CreatedBy","CreatedAt","Description","autoGrow","noResize","rowHeight","validator","isNaN","parseFloat","rows","noResizeHandle","lazyValue","$nextTick","calculateInputHeight","input","minHeight","genInput","onInput","onKeyDown","isFocused","root","factory","semver","indexOrEnd","str","q","indexOf","split","replace","patchIndex","arr","substring","tryParse","TypeError","test","Error","compareVersions","v1","v2","s1","s2","max","n1","n2","sp1","sp2","p1","p2","allowedOperators","operatorResMap","validateOperator","op","join","operator","isVerticalProvided","from","computedTransition","reverse","rtl","styles","current","previous","leave","onTransition","enter","scrollHeight","requestAnimationFrame","wrapper","contentData","wrapperData","binding","withBinding","finalString","i18nName","ConfigurationContent","JSON","$export","$entries","S","it"],"mappings":"gIAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,WAAW,CAACE,MAAM,CAAC,MAAQ,MAAM,WAAa,IAAIC,MAAM,CAACC,MAAOR,EAA4B,yBAAES,SAAS,SAAUC,GAAMV,EAAIW,yBAAyBD,GAAKE,WAAW,6BAA6B,CAACR,EAAG,SAAS,CAACA,EAAG,eAAe,CAACS,YAAY,2BAA2B,CAACT,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,SAAS,QAAU,kBAAkB,CAAEN,EAAgB,aAAEI,EAAG,QAAQ,CAACS,YAAY,OAAOP,MAAM,CAAC,KAAO,SAAS,CAAEN,EAAgB,aAAEI,EAAG,OAAO,CAACJ,EAAIc,GAAG,IAAId,EAAIe,GAAGf,EAAIgB,GAAG,gDAAgD,OAAOZ,EAAG,OAAO,CAACJ,EAAIc,GAAG,IAAId,EAAIe,GAAGf,EAAIgB,GAAG,qCAAqC,SAAShB,EAAIiB,KAAKb,EAAG,QAAQ,CAACS,YAAY,OAAOP,MAAM,CAAC,KAAO,SAAS,CAACF,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,QAAQ,KAAO,IAAIY,GAAG,CAAC,MAAQ,SAASC,GAAQnB,EAAIW,0BAA2B,KAAS,CAACP,EAAG,SAAS,CAACJ,EAAIc,GAAG,qBAAqB,IAAI,IAAI,IAAI,GAAGV,EAAG,cAAc,CAAC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,MAAQoQ,EAASpQ,KAAKqQ,SAC/B,EAAKC,MAAMF,EAASpQ,KAAKqQ,SAHE,EAHvC,yEAUiBE,GAELA,EAAIwO,uBAAsB/gB,KAAKmX,kBAAoB6J,KAAK1O,MAAMC,EAAIwO,2BAZ9E,GAA+DrO,EAAA,M,4QCAzD9M,EAAW,6BAEJ,EAAb,YAKI,WAAYqS,GAAM,oCACd,oDALJ,EAAAlS,SAAmB,OAAa,OAAcH,EAC9C,EAAAI,SAAyB,MACzB,EAAAiS,OAAoD,KAIhD,EAAKA,OAASA,EAFA,EALtB,6E,yJAWkB,O,SAAMjY,KAAKiG,eAAe,KAAM,KAAMjG,KAAKiY,Q,cAAjD/R,E,yBACG,IAAI,EAA0CA,I,oDAZ7D,GAA+DyM,EAAA,MAgBlD,EAGT,WAAY6B,GAAwB,uBAChCxU,KAAKwU,iBAAmBA,I,kCCzBhC,W,qBCCA,IAAIyM,EAAU,EAAQ,QAClBC,EAAW,EAAQ,OAAR,EAA8B,GAE7CD,EAAQA,EAAQE,EAAG,SAAU,CAC3BjO,QAAS,SAAiBkO,GACxB,OAAOF,EAASE","file":"js/chunk_app_caos_template_view.6f1bb211.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"600\",\"persistent\":\"\"},model:{value:(_vm.showDeleteTemplateDialog),callback:function ($$v) {_vm.showDeleteTemplateDialog=$$v},expression:\"showDeleteTemplateDialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"text-h5 yellow darken-2\"},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"space-between\"}},[(_vm.templateName)?_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"auto\"}},[(_vm.fromSecurity)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"reference_configuration.deleteTemplateTitle\"))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.deleteTemplateTitle\"))+\" \")])]):_vm._e(),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"auto\"}},[_c('v-btn',{attrs:{\"color\":\"error\",\"icon\":\"\"},on:{\"click\":function($event){_vm.showDeleteTemplateDialog = false}}},[_c('v-icon',[_vm._v(\" fas fa-times \")])],1)],1)],1)],1),_c('v-card-text',{staticClass:\"text-h7\"},[_c('v-row',[_c('v-col',[(_vm.fromSecurity)?_c('span',{staticStyle:{\"white-space\":\"pre-line\",\"word-wrap\":\"break-word\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"reference_configuration.deleteTemplateContent\", { template: _vm.templateName }))+\" \")]):_c('span',{staticStyle:{\"white-space\":\"pre-line\",\"word-wrap\":\"break-word\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.deleteTemplateContent\", { template: _vm.templateName }))+\" \")])])],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"grey lighten-1\",\"disabled\":_vm.loading,\"loading\":_vm.loading},on:{\"click\":function($event){_vm.showDeleteTemplateDialog = false}}},[_c('v-fa-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"times\"}}),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"security_management.undo\"))+\" \")])],1),_c('v-btn',{attrs:{\"color\":\"error\",\"disabled\":_vm.loading,\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.$emit('delete-template')}}},[_c('v-fa-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"trash\"}}),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"common.delete\", { 0: \"\" }))+\" \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport moment from \"moment\";\r\nimport { mapGetters } from \"vuex\";\r\n\r\nimport { MODULE_COLORS } from \"@/utility/Constants\";\r\n\r\nexport default Vue.extend({\r\n props: { showDialog: Boolean, templateName: String, loading: Boolean, fromSecurity: Boolean },\r\n data() {\r\n return { moment, MODULE_COLORS };\r\n },\r\n computed: {\r\n ...mapGetters([\"longDateFormat\"]),\r\n showDeleteTemplateDialog: {\r\n get() {\r\n return this.showDialog;\r\n },\r\n set(newValue: boolean) {\r\n this.$emit(\"update:showDialog\", newValue);\r\n },\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteTemplateDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteTemplateDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DeleteTemplateDialog.vue?vue&type=template&id=27920494&\"\nimport script from \"./DeleteTemplateDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./DeleteTemplateDialog.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDialog,VDivider,VIcon,VRow,VSpacer})\n","// Styles\nimport './VVirtualScroll.sass'\n\n// Mixins\nimport Measurable from '../../mixins/measurable'\n\n// Directives\nimport Scroll from '../../directives/scroll'\n\n// Utilities\nimport {\n convertToUnit,\n getSlot,\n} from '../../util/helpers'\n\n// Types\nimport { VNode } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\nexport default Measurable.extend({\n name: 'v-virtual-scroll',\n\n directives: { Scroll },\n\n props: {\n bench: {\n type: [Number, String],\n default: 0,\n },\n itemHeight: {\n type: [Number, String],\n required: true,\n },\n items: {\n type: Array,\n default: () => [],\n } as PropValidator,\n },\n\n data: () => ({\n first: 0,\n last: 0,\n scrollTop: 0,\n }),\n\n computed: {\n __bench (): number {\n return parseInt(this.bench, 10)\n },\n __itemHeight (): number {\n return parseInt(this.itemHeight, 10)\n },\n firstToRender (): number {\n return Math.max(0, this.first - this.__bench)\n },\n lastToRender (): number {\n return Math.min(this.items.length, this.last + this.__bench)\n },\n },\n\n watch: {\n height: 'onScroll',\n itemHeight: 'onScroll',\n },\n\n mounted () {\n this.last = this.getLast(0)\n },\n\n methods: {\n getChildren (): VNode[] {\n return this.items.slice(\n this.firstToRender,\n this.lastToRender,\n ).map(this.genChild)\n },\n genChild (item: any, index: number) {\n index += this.firstToRender\n\n const top = convertToUnit(index * this.__itemHeight)\n\n return this.$createElement('div', {\n staticClass: 'v-virtual-scroll__item',\n style: { top },\n key: index,\n }, getSlot(this, 'default', { index, item }))\n },\n getFirst (): number {\n return Math.floor(this.scrollTop / this.__itemHeight)\n },\n getLast (first: number): number {\n const height = parseInt(this.height || 0, 10) || this.$el.clientHeight\n\n return first + Math.ceil(height / this.__itemHeight)\n },\n onScroll () {\n this.scrollTop = this.$el.scrollTop\n this.first = this.getFirst()\n this.last = this.getLast(this.first)\n },\n },\n\n render (h): VNode {\n const content = h('div', {\n staticClass: 'v-virtual-scroll__container',\n style: {\n height: convertToUnit((this.items.length * this.__itemHeight)),\n },\n }, this.getChildren())\n\n return h('div', {\n staticClass: 'v-virtual-scroll',\n style: this.measurableStyles,\n directives: [{\n name: 'scroll',\n modifiers: { self: true },\n value: this.onScroll,\n }],\n on: this.$listeners,\n }, [content])\n },\n})\n","import { CaosConfigurationTemplate } from \"@/model/data/caosConfiguration/CaosConfigurationTemplate\";\r\nimport { ApiGenericResponse } from \"../ApiGenericResponse\";\r\nimport { API_PREFIX, API_VERSION, Command, HttpVerbType } from \"../Command\";\r\n\r\nconst ENDPOINT = \"/caosconfiguration/template/add\";\r\n\r\nexport class AddTemplateCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"post\";\r\n payload: AddTemplateReqData;\r\n\r\n constructor(payload: AddTemplateReqData) {\r\n super();\r\n this.payload = payload;\r\n }\r\n\r\n public async execute(): Promise {\r\n let res = await this.executeCommand(this.payload);\r\n return new ApiGenericResponse(res);\r\n }\r\n}\r\n\r\nexport class AddTemplateReqData {\r\n template: CaosConfigurationTemplate;\r\n\r\n constructor(template: CaosConfigurationTemplate) {\r\n this.template = template;\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',_vm._l((_vm.headers),function(h){return _c('td',{key:h.value},[_c('v-col',{class:h.align == 'center' ? 'pa-0 text-center' : 'pa-0'},[(_vm.filters.filter(function (cf) { return cf.headerValue == h.value; }).length > 0)?_c(_vm.filters.filter(function (cf) { return cf.headerValue == h.value; })[0].component,{tag:\"component\",attrs:{\"description\":_vm.filters.filter(function (cf) { return cf.headerValue == h.value; })[0].description,\"customAttrs\":_vm.filters.filter(function (cf) { return cf.headerValue == h.value; })[0].customAttrs},model:{value:(_vm.filters.filter(function (cf) { return cf.headerValue == h.value; })[0].currentSelections),callback:function ($$v) {_vm.$set(_vm.filters.filter(function (cf) { return cf.headerValue == h.value; })[0], \"currentSelections\", $$v)},expression:\"filters.filter((cf) => cf.headerValue == h.value)[0].currentSelections\"}}):_vm._e()],1)],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\n\r\nexport default Vue.extend({\r\n data() {\r\n return {\r\n filters: [],\r\n ignoreFilterChanges: false,\r\n };\r\n },\r\n props: {\r\n headers: Array,\r\n computedFilters: { required: true },\r\n },\r\n watch: {\r\n filters: {\r\n handler(newFilters) {\r\n if (!this.ignoreFilterChanges) this.$emit(\"filters-changed\", newFilters);\r\n else this.ignoreFilterChanges = false;\r\n },\r\n deep: true,\r\n },\r\n },\r\n mounted() {\r\n this.ignoreFilterChanges = true;\r\n this.filters = this.computedFilters;\r\n },\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableFiltersRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableFiltersRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TableFiltersRow.vue?vue&type=template&id=2754d0f4&\"\nimport script from \"./TableFiltersRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./TableFiltersRow.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.availableSoftwareFilter == null || _vm.availableSoftwareFilter.length < 0)?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":16,\"width\":\"3\",\"color\":\"primary\"}}):(_vm.availableSoftwareFilter.length > 0)?_c('v-menu',{attrs:{\"offset-y\":\"\",\"close-on-content-click\":false},on:{\"input\":function($event){return _vm.resetToApplied()}},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-badge',{attrs:{\"overlap\":\"\",\"content\":1,\"value\":_vm.sentVersions.length > 0}},[_c('v-btn',_vm._g({attrs:{\"small\":\"\",\"icon\":!_vm.button}},on),[_c('v-fa-icon',{attrs:{\"small\":\"\",\"icon\":\"filter\"}}),(_vm.button)?_c('span',{staticClass:\"mx-2\",domProps:{\"textContent\":_vm._s(_vm.$t('common.version_s'))}}):_vm._e()],1)],1)]}}]),model:{value:(_vm.isMenuOpen),callback:function ($$v) {_vm.isMenuOpen=$$v},expression:\"isMenuOpen\"}},[_c('v-card',{staticClass:\"pa-4\",attrs:{\"max-width\":\"550\"}},[_c('v-row',[_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_c('v-card-title',{staticClass:\"pa-0\"},[_vm._v(\" \"+_vm._s(_vm.filterTitle))])],1),_c('v-spacer'),_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_c('v-btn',{staticClass:\"mr-1\",attrs:{\"color\":\"success\",\"width\":\"100%\",\"disabled\":!_vm.canApply},on:{\"click\":function($event){return _vm.onApply()}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.apply\")))])],1),_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"icon\":\"\",\"color\":\"primary\",\"disabled\":!_vm.canDeleteFilters},on:{\"click\":function($event){return _vm.reset()}}},on),[_c('v-fa-icon',{attrs:{\"icon\":\"trash\"}})],1)]}}])},[_c('span',{domProps:{\"textContent\":_vm._s(_vm.$t('common.deleteFilter'))}})])],1),_c('v-col',{staticClass:\"py-0 pl-0 pr-2\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.closeMenu()}}},[_c('v-icon',[_vm._v(\" fas fa-times \")])],1)],1)],1),_c('v-divider',{staticClass:\"my-2\"}),_c('v-radio-group',{model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},[_c('v-radio',{attrs:{\"value\":3}},[_c('template',{slot:\"label\"},[_c('v-row',[_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.noFilter\"))+\" \")])],1)],1)],2),(!_vm.showOnlyMultipleSelection)?_c('v-radio',{attrs:{\"value\":0}},[_c('template',{slot:\"label\"},[_c('v-row',[_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.version_s\"))+\" \")]),_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"align-self\":\"center\"}},[_c('v-select',{attrs:{\"items\":_vm.availableSing,\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"disabled\":_vm.radioGroup != 0,\"return-object\":\"\"},model:{value:(_vm.selectedSign),callback:function ($$v) {_vm.selectedSign=$$v},expression:\"selectedSign\"}})],1),_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"cols\":\"4\",\"align-self\":\"center\"}},[_c('v-select',{attrs:{\"items\":_vm.obfuscatedAvailableItems.map(function (c) { return c.obfuscatedVersion; }),\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"disabled\":_vm.radioGroup != 0},model:{value:(_vm.selectedVersion),callback:function ($$v) {_vm.selectedVersion=$$v},expression:\"selectedVersion\"}})],1)],1)],1)],2):_vm._e(),_c('v-radio',{staticClass:\"mt-2\",attrs:{\"value\":1}},[_c('template',{slot:\"label\"},[_c('v-row',[_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.customSelection\"))+\" \")]),_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"align-self\":\"center\"}},[_c('v-select',{attrs:{\"items\":_vm.obfuscatedAvailableItems.map(function (c) { return c.obfuscatedVersion; }),\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"multiple\":\"\",\"label\":_vm.$t('common.version_s'),\"disabled\":_vm.radioGroup != 1},model:{value:(_vm.selectedObfuscatedVersions),callback:function ($$v) {_vm.selectedObfuscatedVersions=$$v},expression:\"selectedObfuscatedVersions\"}})],1)],1)],1)],2),_c('v-radio',{attrs:{\"value\":2}},[_c('template',{slot:\"label\"},[_c('v-row',[_c('v-col',{staticClass:\"py-0 px-2\",attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.unknownVersion\"))+\" \")])],1)],1)],2)],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport compareVersions from \"compare-versions\";\r\n\r\n// Vuex\r\nimport { mapActions, mapState } from \"vuex\";\r\nimport { RootState } from \"@/store\";\r\nimport { GET_AVAILABLE_SOFTWARE_VERSIONS } from \"@/store/modules/ApplicationModule/actions\";\r\n\r\n// Model\r\nimport { VersionObfuscator } from \"@/model/data/updates/VersionObfuscator\";\r\nimport { SoftwareFilter } from \"@/model/data/updates/SoftwareFilter\";\r\nimport { GetI18nStringFromUpdateType, UpdateTypeEnum } from \"@/model/data/enums/UpdateTypeEnum\";\r\nimport { NamedSoftwareVersion } from \"@/model/data/updates/NamedSoftwareVersion\";\r\nimport { ComparisonOperatorEnum, comparisonOperatorEnumLabel } from \"@/model/data/enums/ComparisonOperatorEnum\";\r\nimport { compareSoftwareVersions } from \"@/utility/Constants\";\r\n\r\nclass ObfuscatedVersion {\r\n obfuscatedVersion: string;\r\n versions: string[] = [];\r\n\r\n constructor(obfuscatedVersion: string, singleVersion: string) {\r\n this.obfuscatedVersion = obfuscatedVersion;\r\n this.versions.push(singleVersion);\r\n }\r\n}\r\n\r\nexport default Vue.extend({\r\n data() {\r\n return {\r\n isMenuOpen: false,\r\n swName: null,\r\n selectedVersion: null,\r\n selectedVersions: [],\r\n selectedObfuscatedVersions: [],\r\n applied: false,\r\n radioGroup: 3,\r\n selectedSign: null,\r\n obfuscatedAvailableItems: new Array(),\r\n sentVersions: [],\r\n appliedRadioGroup: 3,\r\n appliedSelectedVersion: null,\r\n appliedSelectedVersions: [],\r\n appliedSelectedObfuscatedVersions: [],\r\n appliedSelectedSign: null,\r\n };\r\n },\r\n props: [\"customAttrs\", \"button\"],\r\n computed: {\r\n ...mapState({\r\n availableSoftwareFilter: (state: RootState): SoftwareFilter[] => state.application.availableSoftwareVersions,\r\n availableSoftwareVersionsType: (state: RootState): string => state.application.availableSoftwareVersionsType,\r\n }),\r\n\r\n availableSing() {\r\n let items = [];\r\n items.push({ value: ComparisonOperatorEnum.LessThanOrEqualTo, text: this.$t(comparisonOperatorEnumLabel(ComparisonOperatorEnum.LessThanOrEqualTo)) });\r\n items.push({ value: ComparisonOperatorEnum.GreaterThanOrEqualTo, text: this.$t(comparisonOperatorEnumLabel(ComparisonOperatorEnum.GreaterThanOrEqualTo)) });\r\n return items;\r\n },\r\n\r\n filterUpdateType() {\r\n return this.customAttrs.filterUpdateType;\r\n },\r\n\r\n filterSwName() {\r\n return this.customAttrs.filterSwName;\r\n },\r\n\r\n showOnlyMultipleSelection() {\r\n return this.customAttrs.showOnlyMultipleSelection ? this.customAttrs.showOnlyMultipleSelection : false;\r\n },\r\n\r\n label() {\r\n return this.$t(GetI18nStringFromUpdateType(this.filterUpdateType));\r\n },\r\n\r\n filterTitle() {\r\n return (this.filterSwName ? this.filterSwName : this.label) + \" \" + this.$t(\"common.filter\");\r\n },\r\n\r\n canDeleteFilters() {\r\n return this.radioGroup != 3;\r\n },\r\n\r\n canApply() {\r\n if (this.sentVersions.length == 0 && this.radioGroup == 3) return false;\r\n if (this.radioGroup == 0 && this.somethingDifferent) return true;\r\n if (this.radioGroup == 1 && this.somethingDifferent && this.selectedObfuscatedVersions.length > 0) return true;\r\n if (this.radioGroup == 2 && this.somethingDifferent) return true;\r\n if (this.radioGroup == 3 && this.somethingDifferent) return true;\r\n else return false;\r\n },\r\n\r\n somethingDifferent() {\r\n if (this.radioGroup != this.appliedRadioGroup) return true;\r\n if (this.radioGroup == 0) {\r\n if (this.appliedSelectedSign.value != this.selectedSign.value) return true;\r\n if (this.appliedSelectedVersion != this.selectedVersion) return true;\r\n }\r\n if (this.radioGroup == 1) {\r\n if (this.appliedSelectedVersions.length != this.selectedVersions.length) return true;\r\n for (let element of this.selectedVersions) {\r\n if (!this.appliedSelectedVersions.includes(element)) return true;\r\n }\r\n }\r\n\r\n return false;\r\n },\r\n\r\n availableItems() {\r\n let res = [];\r\n if (Array.isArray(this.availableSoftwareFilter) && this.availableSoftwareFilter.length)\r\n if (this.availableSoftwareFilter.some((sw) => sw.updateType == this.filterUpdateType)) {\r\n // se sono un sw di terze parti ed ho specificato il nome del sw filtro versionList\r\n if (this.filterUpdateType == UpdateTypeEnum.ThirdPartySoftware && this.filterSwName)\r\n res = this.availableSoftwareFilter\r\n .find((sw) => sw.updateType == this.filterUpdateType)\r\n .versionsList.filter((v: NamedSoftwareVersion) => v.name == this.filterSwName);\r\n // altrimenti non filtro versionList\r\n else res = this.availableSoftwareFilter.find((sw) => sw.updateType == this.filterUpdateType).versionsList;\r\n res = res.sort(compareSoftwareVersions);\r\n }\r\n return res;\r\n },\r\n },\r\n watch: {\r\n availableItems() {\r\n this.setObfuscatedAvailableItems();\r\n },\r\n\r\n selectedObfuscatedVersions(newValue) {\r\n this.selectedVersions = [];\r\n newValue.forEach((version) => {\r\n this.obfuscatedAvailableItems\r\n .filter((ov: ObfuscatedVersion) => ov.obfuscatedVersion == version)[0]\r\n .versions.forEach((v) => {\r\n this.selectedVersions.push(v);\r\n });\r\n });\r\n },\r\n },\r\n methods: {\r\n ...mapActions([GET_AVAILABLE_SOFTWARE_VERSIONS]),\r\n\r\n closeMenu() {\r\n // this.reset();\r\n\r\n this.resetToApplied();\r\n this.isMenuOpen = false;\r\n },\r\n\r\n reset() {\r\n this.swName = null;\r\n this.radioGroup = 3;\r\n this.selectedSign = this.availableSing[0];\r\n this.selectedObfuscatedVersions = [];\r\n this.selectedVersions = [];\r\n this.setObfuscatedAvailableItems();\r\n },\r\n\r\n resetToApplied() {\r\n if (this.applied) {\r\n this.radioGroup = this.appliedRadioGroup;\r\n this.selectedVersion = this.appliedSelectedVersion;\r\n this.selectedVersions = this.appliedSelectedVersions;\r\n this.selectedObfuscatedVersions = this.appliedSelectedObfuscatedVersions;\r\n this.selectedSign = this.appliedSelectedSign;\r\n }\r\n },\r\n\r\n setObfuscatedAvailableItems() {\r\n this.obfuscatedAvailableItems = [];\r\n if (this.availableItems.length > 0) {\r\n if (this.filterUpdateType == UpdateTypeEnum.ThirdPartySoftware && this.filterSwName) this.swName = this.filterSwName;\r\n else this.swName = this.availableItems[0].name;\r\n\r\n this.availableItems.forEach((item) => {\r\n let key = VersionObfuscator.obfuscate(item.version.trim());\r\n\r\n let find = this.obfuscatedAvailableItems.find((v) => v.obfuscatedVersion === key);\r\n if (find) find.versions.push(item.version.trim());\r\n else this.obfuscatedAvailableItems.push(new ObfuscatedVersion(key, item.version.trim()));\r\n });\r\n this.selectedVersion = this.obfuscatedAvailableItems[0].obfuscatedVersion;\r\n }\r\n },\r\n\r\n onApply() {\r\n let itemsToEmit = [];\r\n switch (this.radioGroup) {\r\n // <= or >= than\r\n case 0:\r\n // resetto ai valori di default il resto\r\n this.selectedObfuscatedVersions = [];\r\n this.selectedVersions = [];\r\n\r\n // calcolo le versioni da mandare\r\n switch (this.selectedSign.value as ComparisonOperatorEnum) {\r\n case ComparisonOperatorEnum.LessThanOrEqualTo:\r\n this.obfuscatedAvailableItems.forEach((ov: ObfuscatedVersion) => {\r\n if (compareVersions.compare(ov.obfuscatedVersion, this.selectedVersion, \"<=\")) {\r\n ov.versions.forEach((v) => {\r\n let c = { name: this.swName, version: v };\r\n itemsToEmit.push(c);\r\n });\r\n }\r\n });\r\n break;\r\n case ComparisonOperatorEnum.GreaterThanOrEqualTo:\r\n this.obfuscatedAvailableItems.forEach((ov: ObfuscatedVersion) => {\r\n if (compareVersions.compare(ov.obfuscatedVersion, this.selectedVersion, \">=\")) {\r\n ov.versions.forEach((v) => {\r\n let c = { name: this.swName, version: v };\r\n itemsToEmit.push(c);\r\n });\r\n }\r\n });\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n break;\r\n // custom selection\r\n case 1:\r\n // resetto ai valori di default il resto\r\n this.selectedSign = this.availableSing[0];\r\n if (this.obfuscatedAvailableItems != null && this.obfuscatedAvailableItems.length > 0)\r\n this.selectedVersion = this.obfuscatedAvailableItems[0].obfuscatedVersion;\r\n else this.selectedVersion = null;\r\n\r\n // calcolo le versioni da mandare\r\n this.selectedVersions.forEach((v) => {\r\n let c = { name: this.swName, version: v };\r\n itemsToEmit.push(c);\r\n });\r\n break;\r\n // without software\r\n case 2:\r\n itemsToEmit = [{ name: this.swName, version: \"-\" }];\r\n break;\r\n default:\r\n // resetto ai valori di default il resto\r\n this.selectedObfuscatedVersions = [];\r\n this.selectedVersions = [];\r\n this.selectedSign = this.availableSing[0];\r\n if (this.obfuscatedAvailableItems != null && this.obfuscatedAvailableItems.length > 0)\r\n this.selectedVersion = this.obfuscatedAvailableItems[0].obfuscatedVersion;\r\n else this.selectedVersion = null;\r\n break;\r\n }\r\n this.$emit(\"input\", itemsToEmit);\r\n\r\n this.sentVersions = Object.assign(\r\n [],\r\n itemsToEmit.map((item) => item.version)\r\n );\r\n\r\n this.isMenuOpen = false;\r\n this.appliedRadioGroup = this.radioGroup;\r\n this.appliedSelectedVersion = this.selectedVersion;\r\n this.appliedSelectedVersions = this.selectedVersions;\r\n this.appliedSelectedObfuscatedVersions = this.selectedObfuscatedVersions;\r\n this.appliedSelectedSign = this.selectedSign;\r\n this.applied = true;\r\n },\r\n },\r\n async mounted() {\r\n if (!this.customAttrs.versionType) this.customAttrs.versionType = \"update\";\r\n if (!this.availableSoftwareFilter || !this.availableSoftwareFilter.length || this.availableSoftwareVersionsType != this.customAttrs.versionType)\r\n await this[GET_AVAILABLE_SOFTWARE_VERSIONS](this.customAttrs.versionType);\r\n this.sentVersions = [];\r\n this.reset();\r\n },\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewSoftwareVersionsFilter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewSoftwareVersionsFilter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewSoftwareVersionsFilter.vue?vue&type=template&id=7cf67615&\"\nimport script from \"./NewSoftwareVersionsFilter.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewSoftwareVersionsFilter.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBadge } from 'vuetify/lib/components/VBadge';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBadge,VBtn,VCard,VCardTitle,VCol,VDivider,VIcon,VMenu,VProgressCircular,VRadio,VRadioGroup,VRow,VSelect,VSpacer,VTooltip})\n","// Components\nimport VIcon from '../VIcon'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport { inject as RegistrableInject } from '../../mixins/registrable'\n\n// Directives\nimport ripple from '../../directives/ripple'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\ntype VuetifyStepperRuleValidator = () => string | boolean\n\nconst baseMixins = mixins(\n Colorable,\n RegistrableInject('stepper', 'v-stepper-step', 'v-stepper')\n)\n\ninterface options extends InstanceType {\n stepClick: (step: number | string) => void\n}\n/* @vue/component */\nexport default baseMixins.extend().extend({\n name: 'v-stepper-step',\n\n directives: { ripple },\n\n inject: ['stepClick'],\n\n props: {\n color: {\n type: String,\n default: 'primary',\n },\n complete: Boolean,\n completeIcon: {\n type: String,\n default: '$complete',\n },\n editable: Boolean,\n editIcon: {\n type: String,\n default: '$edit',\n },\n errorIcon: {\n type: String,\n default: '$error',\n },\n rules: {\n type: Array,\n default: () => [],\n } as PropValidator,\n step: [Number, String],\n },\n\n data () {\n return {\n isActive: false,\n isInactive: true,\n }\n },\n\n computed: {\n classes (): object {\n return {\n 'v-stepper__step--active': this.isActive,\n 'v-stepper__step--editable': this.editable,\n 'v-stepper__step--inactive': this.isInactive,\n 'v-stepper__step--error error--text': this.hasError,\n 'v-stepper__step--complete': this.complete,\n }\n },\n hasError (): boolean {\n return this.rules.some(validate => validate() !== true)\n },\n },\n\n mounted () {\n this.stepper && this.stepper.register(this)\n },\n\n beforeDestroy () {\n this.stepper && this.stepper.unregister(this)\n },\n\n methods: {\n click (e: MouseEvent) {\n e.stopPropagation()\n\n this.$emit('click', e)\n\n if (this.editable) {\n this.stepClick(this.step)\n }\n },\n genIcon (icon: string) {\n return this.$createElement(VIcon, icon)\n },\n genLabel () {\n return this.$createElement('div', {\n staticClass: 'v-stepper__label',\n }, this.$slots.default)\n },\n genStep () {\n const color = (!this.hasError && (this.complete || this.isActive)) ? this.color : false\n\n return this.$createElement('span', this.setBackgroundColor(color, {\n staticClass: 'v-stepper__step__step',\n }), this.genStepContent())\n },\n genStepContent () {\n const children = []\n\n if (this.hasError) {\n children.push(this.genIcon(this.errorIcon))\n } else if (this.complete) {\n if (this.editable) {\n children.push(this.genIcon(this.editIcon))\n } else {\n children.push(this.genIcon(this.completeIcon))\n }\n } else {\n children.push(String(this.step))\n }\n\n return children\n },\n toggle (step: number | string) {\n this.isActive = step.toString() === this.step.toString()\n this.isInactive = Number(step) < Number(this.step)\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-stepper__step',\n class: this.classes,\n directives: [{\n name: 'ripple',\n value: this.editable,\n }],\n on: { click: this.click },\n }, [\n this.genStep(),\n this.genLabel(),\n ])\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('AppPage',{attrs:{\"pageTitle\":_vm.$t('caosTemplate.pageTitle'),\"icon\":\"fas fa-layer-group\",\"color\":_vm.MODULE_COLORS.SECURITY_AND_CONFIGURATION}},[_c('v-row',[_c('v-col',{staticClass:\"mt-4\"},[_c('caos-configuration-template-main-table',{ref:\"mainTable\",attrs:{\"configurationTemplate\":_vm.configurationTemplate,\"loading\":_vm.configurationTemplateLoading},on:{\"send-request\":_vm.sendRequest,\"options-changed\":function($event){return _vm.onOptionsChanged($event)},\"submit\":function($event){return _vm.$emit('submit', $event)},\"reload\":function($event){return _vm.onReload()},\"filters-changed\":function($event){return _vm.onFiltersChanged($event)}}})],1)],1)],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('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pa-0\"},[_c('v-data-table',{attrs:{\"dense\":\"\",\"headers\":_vm.headers,\"items\":_vm.configurationTemplate,\"loading\":_vm.loading,\"item-key\":\"id\",\"server-items-length\":_vm.paginatedTotalItems,\"options\":_vm.options,\"footer-props\":{ 'items-per-page-options': _vm.dataTableItemsPerPage, 'disable-pagination': _vm.loading, prevIcon: _vm.prevIcon, nextIcon: _vm.nextIcon }},on:{\"update:options\":function($event){_vm.options=$event}},scopedSlots:_vm._u([(_vm.$vuetify.breakpoint.mdAndUp)?{key:\"body.prepend\",fn:function(ref){\nvar headers = ref.headers;\nreturn [_c('TableFiltersRow',{attrs:{\"headers\":headers,\"computedFilters\":_vm.filters},on:{\"filters-changed\":function($event){return _vm.$emit('filters-changed', $event)}}})]}}:null,{key:\"item.templateIcon\",fn:function(){return [(_vm.$vuetify.breakpoint.smAndUp)?_c('v-fa-icon',{staticClass:\"my-2\",attrs:{\"color\":_vm.MODULE_COLORS.SECURITY_AND_CONFIGURATION,\"icon\":\"sticky-note\"}}):_vm._e()]},proxy:true},{key:\"item.description\",fn:function(ref){\nvar value = ref.value;\nreturn [(value)?_c('span',{staticClass:\"d-inline-block text-truncate\",staticStyle:{\"max-width\":\"30vw\"},domProps:{\"textContent\":_vm._s(value)}}):_c('span',[_vm._v(\"-\")])]}},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-tooltip',{attrs:{\"bottom\":\"\",\"content-class\":\"opaque-tooltip\",\"transition\":\"none\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"mr-2\",attrs:{\"elevation\":\"0\",\"small\":\"\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.openInfoDialog(item)}}},on),[_c('v-fa-icon',{attrs:{\"icon\":\"info-circle\"}})],1)]}}],null,true)},[_c('span',{domProps:{\"textContent\":_vm._s(_vm.$t('caosTemplate.showTemplateInfo'))}})]),_c('v-tooltip',{attrs:{\"bottom\":\"\",\"content-class\":\"opaque-tooltip\",\"transition\":\"none\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"mr-2\",attrs:{\"small\":\"\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.openDeleteDialog(item)}}},on),[_c('v-fa-icon',{attrs:{\"icon\":\"trash\"}})],1)]}}],null,true)},[_c('span',{domProps:{\"textContent\":_vm._s(_vm.$t('caosTemplate.deleteTemplate'))}})]),_c('v-tooltip',{attrs:{\"bottom\":\"\",\"content-class\":\"opaque-tooltip\",\"transition\":\"none\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"mr-2\",attrs:{\"small\":\"\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.openForceTemplateWizard(item)}}},on),[_c('v-fa-icon',{attrs:{\"icon\":\"cloud-download-alt\"}})],1)]}}],null,true)},[_c('span',{domProps:{\"textContent\":_vm._s(_vm.$t('caosTemplate.applyTemplateOnInstallations'))}})])]}}],null,true)})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pa-0\"},[_c('v-btn',{staticClass:\"mb-2\",attrs:{\"color\":\"primary\",\"dark\":\"\"},on:{\"click\":function($event){_vm.showAddTemplateDialog = true}}},[_c('v-icon',{staticClass:\"mr-2\",attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-plus\")]),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t(\"caosTemplate.addTemplate\")))])],1)],1)],1),_c('template-info-dialog',{attrs:{\"showDialog\":_vm.showInfoDialog,\"template\":_vm.currentTemplate},on:{\"update:showDialog\":function($event){_vm.showInfoDialog = false}}}),_c('delete-template-dialog',{attrs:{\"showDialog\":_vm.showDeleteDialog,\"templateName\":_vm.currentTemplateName,\"loading\":_vm.deleteLoading},on:{\"update:showDialog\":function($event){_vm.showDeleteDialog = false},\"delete-template\":_vm.deleteTemplate}}),_c('force-template-wizard',{attrs:{\"showDialog\":_vm.showForceTemplateWizard,\"template\":_vm.currentTemplate},on:{\"update:showDialog\":function($event){_vm.showForceTemplateWizard = false}}}),_c('add-template-wizard',{attrs:{\"showDialog\":_vm.showAddTemplateDialog},on:{\"update:showDialog\":function($event){_vm.showAddTemplateDialog = false},\"reload\":function($event){return _vm.$emit('reload')}}})],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('v-dialog',{attrs:{\"width\":\"800\"},model:{value:(_vm.showTemplateInfoDialog),callback:function ($$v) {_vm.showTemplateInfoDialog=$$v},expression:\"showTemplateInfoDialog\"}},[(_vm.template)?_c('v-card',[_c('v-card-title',{staticClass:\"text-h5 yellow darken-2\"},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"space-between\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"auto\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.templateInfo\"))+\" \")]),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"auto\"}},[_c('v-btn',{attrs:{\"color\":\"error\",\"icon\":\"\"},on:{\"click\":function($event){_vm.showTemplateInfoDialog = false}}},[_c('v-icon',[_vm._v(\" fas fa-times \")])],1)],1)],1)],1),_c('v-card-text',{staticClass:\"text-h6 mt-2\"},[_vm._l((_vm.infos),function(info,index){return _c('v-row',{key:index,attrs:{\"align\":\"start\"}},[_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"1\"}},[_c('v-fa-icon',{attrs:{\"color\":_vm.MODULE_COLORS.SECURITY_AND_CONFIGURATION,\"icon\":info.icon}})],1),_c('v-col',{staticClass:\"py-0\"},[_c('span',{staticStyle:{\"max-height\":\"200px\",\"max-width\":\"650px\",\"overflow\":\"auto\",\"display\":\"inline-block\",\"text-wrap\":\"pretty\",\"overflow-wrap\":\"break-word\"}},[_c('b',[_vm._v(\" \"+_vm._s(info.label)+\": \")]),_vm._v(\" \"+_vm._s(info.value)+\" \")])])],1)}),_c('v-row',{attrs:{\"align\":\"start\"}},[_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"1\"}},[_c('v-fa-icon',{attrs:{\"color\":_vm.MODULE_COLORS.SECURITY_AND_CONFIGURATION,\"icon\":\"sticky-note\"}})],1),_c('v-col',{staticClass:\"py-0\"},[_c('span',[_c('b',[_vm._v(_vm._s(_vm.$t(\"caosTemplate.templateContent\"))+\": \")]),_c('ul',{staticClass:\"styled-ul\"},_vm._l((_vm.caosConfigurationTemplateContentToString(_vm.template.templateContent)),function(category,index){return _c('li',{key:index},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(category))+\" \")]),(_vm.i18nToEnum(category) == _vm.CaosConfigurationTemplateContentsEnum.generalConfigurations)?_c('v-tooltip',{attrs:{\"bottom\":\"\",\"content-class\":\"opaque-tooltip\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('span',_vm._g({},on),[_c('v-fa-icon',{staticClass:\"ml-1\",attrs:{\"icon\":\"info-circle\",\"small\":\"\"}})],1)]}}],null,true)},[_c('span',{staticStyle:{\"white-space\":\"pre\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.generalConfigurationsInfo\"))+\" \")])]):_vm._e()],1)}),0)])])],1)],2)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport moment from \"moment\";\r\nimport { mapGetters } from \"vuex\";\r\n\r\nimport { MODULE_COLORS } from \"@/utility/Constants\";\r\nimport { CaosConfigurationTemplate } from \"@/model/data/caosConfiguration/CaosConfigurationTemplate\";\r\nimport { CaosConfigurationTemplateContentsEnum, caosConfigurationTemplateContentToString, i18nToEnum } from \"@/model/data/enums/CaosConfigurationTemplateContentsEnum\";\r\n\r\nexport default Vue.extend({\r\n props: { showDialog: Boolean, template: CaosConfigurationTemplate },\r\n data() {\r\n return {\r\n moment,\r\n MODULE_COLORS,\r\n CaosConfigurationTemplateContentsEnum,\r\n };\r\n },\r\n computed: {\r\n ...mapGetters([\"longDateFormat\"]),\r\n\r\n infos() {\r\n let infos = [\r\n { label: this.$t(\"caosTemplate.templateName\"), value: this.template.name, icon: \"font\" },\r\n { label: this.$t(\"caosTemplate.sourceInstallation\"), value: this.template.sourceInstallationName, icon: \"hdd\" },\r\n { label: this.$t(\"caosTemplate.caosVersion\"), value: this.template.caosVersion, icon: \"code-branch\" },\r\n { label: this.$t(\"common.created_by\"), value: this.template.createdBy, icon: \"user\" },\r\n { label: this.$t(\"common.created_on\"), value: moment.utc(this.template.createdAt).local().format(this.longDateFormat(true, true, true, true)), icon: \"clock\" },\r\n ];\r\n if (this.template.description) infos.push({ label: this.$t(\"caosTemplate.templateDescription\"), value: this.template.description, icon: \"info\" });\r\n return infos;\r\n },\r\n showTemplateInfoDialog: {\r\n get() {\r\n return this.showDialog;\r\n },\r\n set(newValue: boolean) {\r\n this.$emit(\"update:showDialog\", newValue);\r\n },\r\n },\r\n },\r\n methods: {\r\n caosConfigurationTemplateContentToString,\r\n i18nToEnum,\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TemplateInfoDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TemplateInfoDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TemplateInfoDialog.vue?vue&type=template&id=190a4558&scoped=true&\"\nimport script from \"./TemplateInfoDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./TemplateInfoDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TemplateInfoDialog.vue?vue&type=style&index=0&id=190a4558&prod&scoped=true&lang=css&\"\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 \"190a4558\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCol,VDialog,VIcon,VRow,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"1000\",\"persistent\":\"\"},model:{value:(_vm.showForceTemplateDialog),callback:function ($$v) {_vm.showForceTemplateDialog=$$v},expression:\"showForceTemplateDialog\"}},[(_vm.template)?_c('v-card',{attrs:{\"flat\":\"\"}},[_c('v-stepper',{staticStyle:{\"box-shadow\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.2) !important\"},attrs:{\"flat\":\"\",\"outlined\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-stepper-header',[_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 1,\"step\":\"1\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.selectInstallation__title\"))+\" \")]),_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 2,\"step\":\"2\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.confirm\"))+\" \")]),_c('v-stepper-step',{attrs:{\"step\":\"3\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.results\"))+\" \")])],1),_c('v-stepper-items',[_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card',{staticClass:\"mx-6\",attrs:{\"flat\":\"\"}},[_c('v-card-title',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.applyTemplate\", { template: _vm.template.name }))+\" \")]),_c('v-card-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.selectInstallation__text\", { template: _vm.template.name }))+\" \")]),_c('v-card-text',[_c('DeviceTree',{key:_vm.reload,staticStyle:{\"max-height\":\"600px\",\"overflow\":\"auto\"},attrs:{\"title\":_vm.$t('device_tree.default_title'),\"selectable\":\"\",\"editable\":false,\"returnObject\":true,\"ignoreEmptyFolder\":true},model:{value:(_vm.templateInstallations),callback:function ($$v) {_vm.templateInstallations=$$v},expression:\"templateInstallations\"}})],1)],1)],1),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card',{staticClass:\"mx-6\",attrs:{\"flat\":\"\"}},[_c('v-card-title',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.checkVersion__title\", { template: _vm.template.name }))+\" \")]),_c('v-card-text',[_c('v-skeleton-loader',{attrs:{\"type\":\"list-item-three-line\",\"loading\":_vm.loadingCheckVersion}},[(!_vm.templateNotApplicable && _vm.notAllowedInstallations && _vm.notAllowedInstallations.length)?_c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.notAllowedInstallations\"))+\" \")])])],1),_c('v-row',[_c('v-col',[_c('v-virtual-scroll',{attrs:{\"items\":_vm.notAllowedInstallations,\"height\":_vm.notAllowedInstallations.length < 6 ? _vm.notAllowedInstallations.length * 24 : 144,\"width\":\"400\",\"item-height\":\"24\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"ml-4\"},[_vm._v(\" • \"+_vm._s(item)+\" \")])]}}],null,false,4082793078)})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.notAllowedInstallationsInfo\"))+\" \")])])],1)],1):_vm._e(),_c('div',{staticClass:\"my-2\"},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[(_vm.allowedInstallations && _vm.allowedInstallations.length)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.allowedInstallations\"))+\" \")]):_c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.templateNotApplicable\"))+\" \")])],1),_c('v-row',{staticClass:\"mt-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.notAllowedInstallationsInfo\"))+\" \")])])],1)],1)])],1),_c('v-row',[_c('v-col',[(_vm.allowedInstallations && _vm.allowedInstallations.length)?_c('span',{staticClass:\"my-1\"},[_c('v-virtual-scroll',{attrs:{\"items\":_vm.allowedInstallations,\"height\":_vm.allowedInstallations.length < 6 ? _vm.allowedInstallations.length * 24 : 144,\"width\":\"400\",\"item-height\":\"24\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"ml-4\"},[_vm._v(\" • \"+_vm._s(item)+\" \")])]}}],null,false,4082793078)})],1):_vm._e()])],1)],1),(!_vm.templateNotApplicable)?_c('strong',{staticStyle:{\"font-size\":\"0.97rem\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.confirm\"))+\" \")]):_vm._e()])],1)],1)],1),_c('v-stepper-content',{attrs:{\"step\":\"3\"}},[_c('v-skeleton-loader',{attrs:{\"loading\":_vm.loadingApplyTemplate,\"type\":\"list-item-three-line\"}},[_c('v-card',{staticClass:\"mx-6\",attrs:{\"flat\":\"\"}},[_c('v-card-title',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.updateResult\"))+\" \")]),(_vm.updatedInstallation && _vm.updatedInstallation.length)?_c('v-card-text',{staticStyle:{\"max-height\":\"420px\",\"overflow-y\":\"auto\"}},_vm._l((_vm.allowedInstallations),function(installation,index){return _c('v-row',{key:index,attrs:{\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[(!_vm.updatedInstallation[index].finish)?_c('v-fa-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"minus\",\"color\":\"grey\"}}):(_vm.updatedInstallation[index].result != 50100)?_c('v-fa-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"times\",\"color\":\"error\"}}):(_vm.updatedInstallation[index].result == 50100)?_c('v-fa-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"check\",\"color\":\"success\"}}):_vm._e(),_c('span',[_vm._v(\" \"+_vm._s(installation)+\" \")])],1),_c('v-col',[(!_vm.updatedInstallation[index].finish)?_c('v-progress-linear',{attrs:{\"height\":\"15\",\"indeterminate\":\"\",\"color\":\"amber\"}}):(_vm.updatedInstallation[index].result != 50100)?_c('span',{staticClass:\"error--text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.error\"))+\" \"+_vm._s(_vm.updatedInstallation[index].error)+\" \")]):(_vm.updatedInstallation[index].result == 50100)?_c('span',{staticClass:\"success--text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.updated\"))+\" \")]):_vm._e()],1)],1)}),1):_vm._e()],1)],1)],1)],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mr-4\",attrs:{\"elevation\":\"0\",\"color\":\"error\",\"disabled\":_vm.step == 3 || _vm.loading,\"loading\":_vm.loading},on:{\"click\":function($event){_vm.showForceTemplateDialog = false}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"security_management.undo\"))+\" \")])]),_c('v-btn',{attrs:{\"elevation\":\"0\",\"depressed\":\"\",\"disabled\":_vm.step != 2 || _vm.loading},on:{\"click\":_vm.backStep}},[_c('span',[_vm._v(\" < \"+_vm._s(_vm.$t(\"common.back\"))+\" \")])]),_c('v-btn',{attrs:{\"elevation\":\"0\",\"color\":\"success\",\"disabled\":_vm.loading || !_vm.canContinue,\"loading\":_vm.loading},on:{\"click\":_vm.continueStep}},[(_vm.step < 3)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"common.continue\"))+\" > \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"common.finish\"))+\" \")])])],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { ApiGenericResponse } from \"../ApiGenericResponse\";\r\nimport { AxiosResponse } from \"axios\";\r\n\r\nexport class CheckTemplateVersionResData extends ApiGenericResponse {\r\n allowedInstallations: string[];\r\n notAllowedInstallations: string[];\r\n\r\n constructor(response: AxiosResponse) {\r\n super(response);\r\n if (response.data && response.data.Payload) {\r\n this.parse(response.data.Payload);\r\n }\r\n }\r\n\r\n public parse(obj: any) {\r\n if (obj.AllowedInstallations) {\r\n this.allowedInstallations = new Array();\r\n obj.AllowedInstallations.forEach((element) => {\r\n this.allowedInstallations.push(element);\r\n });\r\n }\r\n\r\n if (obj.NotAllowedInstallations) {\r\n this.notAllowedInstallations = new Array();\r\n obj.NotAllowedInstallations.forEach((element) => {\r\n this.notAllowedInstallations.push(element);\r\n });\r\n }\r\n }\r\n}\r\n","import { Command, HttpVerbType, API_PREFIX, API_VERSION } from \"../Command\";\r\nimport { CheckTemplateVersionResData } from \"./CheckTemplateVersionResData\";\r\n\r\nconst ENDPOINT = \"/caosconfiguration/template/checkversion\";\r\n\r\nexport class CheckTemplateVersionCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"post\";\r\n payload: CheckTemplateVersionReqData;\r\n\r\n constructor(payload: CheckTemplateVersionReqData) {\r\n super();\r\n this.payload = payload;\r\n }\r\n\r\n public async execute(): Promise {\r\n let res = await this.executeCommand(this.payload);\r\n return new CheckTemplateVersionResData(res);\r\n }\r\n}\r\n\r\nexport class CheckTemplateVersionReqData {\r\n installationNames: Array;\r\n templateId: number;\r\n constructor(other: string[], templateId: number) {\r\n this.installationNames = other;\r\n this.templateId = templateId;\r\n }\r\n}\r\n","import { ApiGenericResponse } from \"../ApiGenericResponse\";\r\nimport { AxiosResponse } from \"axios\";\r\n\r\nexport class PollCaosConfigurationUpdateStatusResData extends ApiGenericResponse {\r\n installationsUpdateIsFinished: Map;\r\n\r\n constructor(response: AxiosResponse) {\r\n super(response);\r\n if (response.data && response.data.Payload) {\r\n this.parse(response.data.Payload);\r\n }\r\n }\r\n\r\n public parse(obj: any) {\r\n if (obj.InstallationsUpdateIsFinished) {\r\n this.installationsUpdateIsFinished = new Map();\r\n for (const [key, value] of Object.entries(obj.InstallationsUpdateIsFinished)) {\r\n this.installationsUpdateIsFinished.set(key, value as number);\r\n }\r\n }\r\n }\r\n}\r\n","import { Command, HttpVerbType, API_PREFIX, API_VERSION } from \"../Command\";\r\nimport { PollCaosConfigurationUpdateStatusResData } from \"./PollCaosConfigurationUpdateStatusResData\";\r\n\r\nconst ENDPOINT = \"/caosconfiguration/update/status\";\r\n\r\nexport class PollCaosConfigurationUpdateStatusCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"post\";\r\n payload: PollCaosConfigurationUpdateStatusReqData;\r\n\r\n constructor(payload: PollCaosConfigurationUpdateStatusReqData) {\r\n super();\r\n this.payload = payload;\r\n }\r\n\r\n public async execute(): Promise {\r\n let res = await this.executeCommand(this.payload);\r\n return new PollCaosConfigurationUpdateStatusResData(res);\r\n }\r\n}\r\n\r\nexport class PollCaosConfigurationUpdateStatusReqData {\r\n installationNames: Array;\r\n constructor(other: string[]) {\r\n this.installationNames = other;\r\n }\r\n}\r\n","import { ApiGenericResponse } from \"../ApiGenericResponse\";\r\nimport { Command, HttpVerbType, API_PREFIX, API_VERSION } from \"../Command\";\r\n\r\nconst ENDPOINT = \"/caosconfiguration/template/apply\";\r\n\r\nexport class ApplyTemplateCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"post\";\r\n payload: ApplyTemplateReqData;\r\n\r\n constructor(payload: ApplyTemplateReqData) {\r\n super();\r\n this.payload = payload;\r\n }\r\n\r\n public async execute(): Promise {\r\n let res = await this.executeCommand(this.payload);\r\n return new ApiGenericResponse(res);\r\n }\r\n}\r\n\r\nexport class ApplyTemplateReqData {\r\n installationNames: Array;\r\n templateId: number;\r\n constructor(other: string[], templateId: number) {\r\n this.installationNames = other;\r\n this.templateId = templateId;\r\n }\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport moment from \"moment\";\r\nimport { mapGetters } from \"vuex\";\r\n\r\nimport DeviceTree from \"@/components/DeviceTree/index.vue\";\r\n\r\nimport { MODULE_COLORS } from \"@/utility/Constants\";\r\nimport { DeviceTreeNodeTypeEnum } from \"@/model/data/deviceTree/DeviceTreeNodeTypeEnum\";\r\nimport { CaosConfigurationTemplate } from \"@/model/data/caosConfiguration/CaosConfigurationTemplate\";\r\nimport { CheckTemplateVersionCommand, CheckTemplateVersionReqData } from \"@/model/communication/caosConfiguration/CheckTemplateVersionCommand\";\r\nimport {\r\n PollCaosConfigurationUpdateStatusCommand,\r\n PollCaosConfigurationUpdateStatusReqData,\r\n} from \"@/model/communication/caosConfiguration/PollCaosConfigurationUpdateStatusCommand\";\r\nimport { PollCaosConfigurationUpdateStatusResData } from \"@/model/communication/caosConfiguration/PollCaosConfigurationUpdateStatusResData\";\r\nimport { CheckTemplateVersionResData } from \"@/model/communication/caosConfiguration/CheckTemplateVersionResData\";\r\nimport { ApplyTemplateCommand, ApplyTemplateReqData } from \"@/model/communication/caosConfiguration/ApplyTemplateCommand\";\r\nimport { ApiResponseStatusEnum } from \"@/model/communication/ApiResponseStatusEnum\";\r\nimport { ApiGenericResponse } from \"@/model/communication/ApiGenericResponse\";\r\nimport VFaIcon from \"@/components/VFaIcon.vue\";\r\n\r\nexport default Vue.extend({\r\n props: { showDialog: Boolean, template: CaosConfigurationTemplate, loading: Boolean },\r\n components: {\r\n DeviceTree,\r\n VFaIcon,\r\n },\r\n data() {\r\n return {\r\n moment,\r\n MODULE_COLORS,\r\n step: 1,\r\n templateInstallations: [],\r\n reload: 0,\r\n allowedInstallations: [],\r\n notAllowedInstallations: [],\r\n loadingCheckVersion: false,\r\n loadingApplyTemplate: false,\r\n templateNotApplicable: false,\r\n startDateTime: null,\r\n updatedInstallation: null,\r\n finishedCount: 0,\r\n };\r\n },\r\n computed: {\r\n ...mapGetters([\"longDateFormat\"]),\r\n\r\n showForceTemplateDialog: {\r\n get() {\r\n return this.showDialog;\r\n },\r\n set(newValue: boolean) {\r\n this.$emit(\"update:showDialog\", newValue);\r\n this.step = 1;\r\n this.templateInstallations = [];\r\n this.reload += 1;\r\n this.templateNotApplicable = false;\r\n },\r\n },\r\n canContinue() {\r\n return this.templateInstallations && this.templateInstallations.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device).length > 0 && !this.templateNotApplicable;\r\n },\r\n },\r\n methods: {\r\n continueStep() {\r\n if (this.step == 1) {\r\n this.sendRequestCheckVersion();\r\n } else if (this.step == 2) {\r\n this.sendRequestApplyTemplate();\r\n } else if (this.step == 3) {\r\n this.showForceTemplateDialog = false;\r\n return;\r\n }\r\n this.step += 1;\r\n },\r\n backStep() {\r\n if (this.step == 2) {\r\n this.templateNotApplicable = false;\r\n }\r\n this.step -= 1;\r\n },\r\n async sendRequestCheckVersion() {\r\n this.loadingCheckVersion = true;\r\n let reqData = new CheckTemplateVersionReqData(\r\n this.templateInstallations.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device).map((l) => l.name),\r\n this.template.id\r\n );\r\n let response: CheckTemplateVersionResData = await new CheckTemplateVersionCommand(reqData).execute();\r\n if (response.responseStatus == ApiResponseStatusEnum.Success) {\r\n this.allowedInstallations = response.allowedInstallations;\r\n this.notAllowedInstallations = response.notAllowedInstallations;\r\n if (!this.allowedInstallations || !this.allowedInstallations.length) this.templateNotApplicable = true;\r\n }\r\n this.loadingCheckVersion = false;\r\n },\r\n\r\n async sendRequestApplyTemplate() {\r\n this.loadingApplyTemplate = true;\r\n let reqData = new ApplyTemplateReqData(this.allowedInstallations, this.template.id);\r\n let response: ApiGenericResponse = await new ApplyTemplateCommand(reqData).execute();\r\n if (response.responseStatus == ApiResponseStatusEnum.Success) {\r\n this.startDateTime = moment.utc();\r\n this.updatedInstallation = [];\r\n this.allowedInstallations.forEach((inst) => {\r\n this.updatedInstallation.push({ name: inst, result: 0, error: \"\", finish: false });\r\n });\r\n setTimeout(this.finalStatusPolling, 10000);\r\n }\r\n this.loadingApplyTemplate = false;\r\n },\r\n\r\n async finalStatusPolling() {\r\n let reqData = new PollCaosConfigurationUpdateStatusReqData(this.allowedInstallations);\r\n let response: PollCaosConfigurationUpdateStatusResData = await new PollCaosConfigurationUpdateStatusCommand(reqData).execute();\r\n console.log(response);\r\n if (response.responseStatus == ApiResponseStatusEnum.Success) {\r\n response.installationsUpdateIsFinished.forEach((value: number, installationName: string) => {\r\n if (value != null || value != undefined) {\r\n let index = this.updatedInstallation.findIndex((i) => i.name == installationName);\r\n //si usa $set se no vue non è reattivo\r\n this.$set(this.updatedInstallation, index, { name: installationName, result: value, finish: true, error: this.$t(`notifications.result_code.${value}`) });\r\n this.finishedCount += 1;\r\n }\r\n });\r\n }\r\n if (this.finishedCount < this.allowedInstallations.length) {\r\n console.log(\"Force template wizard: send poll\");\r\n setTimeout(this.finalStatusPolling, 10000);\r\n }\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForceTemplateWizard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForceTemplateWizard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ForceTemplateWizard.vue?vue&type=template&id=f4bb7534&\"\nimport script from \"./ForceTemplateWizard.vue?vue&type=script&lang=ts&\"\nexport * from \"./ForceTemplateWizard.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSkeletonLoader } from 'vuetify/lib/components/VSkeletonLoader';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VStepper } from 'vuetify/lib/components/VStepper';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\nimport { VStepperHeader } from 'vuetify/lib/components/VStepper';\nimport { VStepperItems } from 'vuetify/lib/components/VStepper';\nimport { VStepperStep } from 'vuetify/lib/components/VStepper';\nimport { VVirtualScroll } from 'vuetify/lib/components/VVirtualScroll';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardSubtitle,VCardText,VCardTitle,VCol,VDialog,VDivider,VProgressLinear,VRow,VSkeletonLoader,VSpacer,VStepper,VStepperContent,VStepperHeader,VStepperItems,VStepperStep,VVirtualScroll})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"1000\",\"persistent\":\"\"},model:{value:(_vm.showAddTemplateDialog),callback:function ($$v) {_vm.showAddTemplateDialog=$$v},expression:\"showAddTemplateDialog\"}},[_c('v-card',{attrs:{\"flat\":\"\"}},[_c('v-stepper',{staticStyle:{\"box-shadow\":\"0px 0px 0px 0px rgba(0, 0, 0, 0.2) !important\"},attrs:{\"flat\":\"\",\"outlined\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-stepper-header',[_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 1,\"step\":\"1\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.addTemplateStep1__title\"))+\" \")]),_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 2,\"step\":\"2\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.addTemplateStep2__title\"))+\" \")]),_c('v-stepper-step',{attrs:{\"step\":\"3\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.finish\"))+\" \")])],1),_c('v-stepper-items',[_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card',{staticClass:\"mx-6\",attrs:{\"flat\":\"\"}},[_c('v-card-title',{staticClass:\"pt-0\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.addTemplate\"))+\" \")]),_c('v-card-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.addTemplateSelectInstallation\"))+\" \")]),_c('v-alert',{staticClass:\"ma-0\",attrs:{\"dense\":\"\",\"text\":\"\",\"color\":_vm.alertColor}},[_vm._v(\" \"+_vm._s(_vm.alertText)+\" \")]),_c('v-card-text',[_c('DeviceTree',{key:_vm.reload,staticStyle:{\"max-height\":\"600px\",\"overflow\":\"auto\"},attrs:{\"title\":_vm.$t('device_tree.default_title'),\"selectable\":\"\",\"editable\":false,\"returnObject\":true,\"ignoreEmptyFolder\":true},model:{value:(_vm.templateInstallations),callback:function ($$v) {_vm.templateInstallations=$$v},expression:\"templateInstallations\"}})],1)],1)],1),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[(_vm.newTemplate)?_c('v-card',{staticClass:\"mx-6\",attrs:{\"flat\":\"\"}},[_c('v-card-title',{staticClass:\"pt-0\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.createTemplate\"))+\" \")]),_c('v-card-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.createTemplate__subtitle\", { installation: _vm.newTemplate.sourceInstallationName }))+\" \")]),_c('v-skeleton-loader',{attrs:{\"loading\":_vm.loadingGetConfigVersion,\"type\":\"card\"}},[_c('v-card-text',[(_vm.error)?_c('div',[_c('v-alert',{attrs:{\"text\":\"\",\"color\":\"error\",\"border\":\"left\"}},[_vm._v(\" \"+_vm._s(_vm.errorMessage)+\" \")])],1):_c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"pa-0\"},[_c('v-alert',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.templateContentRequiresValid != ''),expression:\"templateContentRequiresValid != ''\"}],attrs:{\"text\":\"\",\"border\":\"left\",\"color\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.templateContentRequiresValid)+\" \")])],1)],1),_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',[_c('v-text-field',{attrs:{\"label\":_vm.$t('security_management.templateName'),\"rules\":[function (v) { return !!v || _vm.$t('security_management.required'); }]},model:{value:(_vm.newTemplate.name),callback:function ($$v) {_vm.$set(_vm.newTemplate, \"name\", $$v)},expression:\"newTemplate.name\"}})],1),_c('v-col',[_c('v-text-field',{attrs:{\"label\":_vm.$t('caosTemplate.caosVersion'),\"readonly\":\"\",\"filled\":\"\",\"disabled\":\"\"},model:{value:(_vm.newTemplate.caosVersion),callback:function ($$v) {_vm.$set(_vm.newTemplate, \"caosVersion\", $$v)},expression:\"newTemplate.caosVersion\"}})],1)],1),_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',[_c('v-select',{attrs:{\"items\":_vm.availableConfigSections,\"label\":_vm.$t('caosTemplate.templateContent'),\"item-text\":function (v) { return v.namei18n; },\"rules\":[function (v) { return !!v || _vm.$t('caosTemplate.requiredContent'); }, function (v) { return v.length > 0 || _vm.$t('caosTemplate.requiredContent'); }],\"item-value\":\"contentValue\",\"chips\":\"\",\"multiple\":\"\",\"clearable\":\"\"},scopedSlots:_vm._u([{key:\"prepend-item\",fn:function(){return [_c('v-list-item',{attrs:{\"ripple\":\"\"},on:{\"click\":_vm.onSelectAllClick}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(\" \"+_vm._s(_vm.selectAllIcon)+\" \")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(_vm.$t(\"common.select_all\"))+\" \")])],1)],1),_c('v-divider',{staticClass:\"mt-2\"})]},proxy:true},{key:\"selection\",fn:function(ref){\nvar item = ref.item;\nvar index = ref.index;\nreturn [(index == 0)?_c('v-chip',[_c('span',[_vm._v(_vm._s(item.namei18n))])]):_vm._e(),(index == 1)?_c('v-chip',[_c('span',[_vm._v(_vm._s(item.namei18n))])]):_vm._e(),(index == 2)?_c('span',{staticClass:\"grey--text text-caption\"},[_vm._v(\" (+\"+_vm._s(_vm.selectedContent.length - 2)+\" \"+_vm._s(_vm.$t(\"common.others\"))+\") \")]):_vm._e()]}},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-list-item',_vm._g(_vm._b({attrs:{\"ripple\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar active = ref.active;\nreturn [_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"ripple\":false,\"input-value\":active}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_c('span',[_vm._v(\" \"+_vm._s(item.namei18n))]),(item.contentValue == _vm.CaosConfigurationTemplateContentsEnum.generalConfigurations)?_c('v-tooltip',{attrs:{\"bottom\":\"\",\"content-class\":\"opaque-tooltip\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('span',_vm._g({},on),[_c('v-fa-icon',{staticClass:\"ml-2\",attrs:{\"icon\":\"info-circle\",\"small\":\"\"}})],1)]}}],null,true)},[_c('span',{staticStyle:{\"white-space\":\"pre\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.generalConfigurationsInfo\"))+\" \")])]):_vm._e()],1)],1)]}}],null,true)},'v-list-item',attrs,false),on))]}}],null,false,2767122684),model:{value:(_vm.selectedContent),callback:function ($$v) {_vm.selectedContent=$$v},expression:\"selectedContent\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-textarea',{attrs:{\"label\":((_vm.$t('caosTemplate.templateDescription')) + \" (\" + (_vm.$t('common.optional')) + \")\")},model:{value:(_vm.newTemplate.description),callback:function ($$v) {_vm.$set(_vm.newTemplate, \"description\", $$v)},expression:\"newTemplate.description\"}})],1)],1)],1)])],1)],1):_vm._e()],1),_c('v-stepper-content',{attrs:{\"step\":\"3\"}},[(_vm.newTemplate)?_c('v-card',[_c('v-card-text',[(_vm.loadingAddTemplate)?_c('span',{staticClass:\"text-h7\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"caosTemplate.addingTemplate\", { name: _vm.newTemplate.name }))+\" \")]):_c('span',{staticClass:\"text-h7\"},[_vm._v(\" \"+_vm._s(_vm.endingMessage)+\" \")]),_c('v-progress-linear',{staticClass:\"mt-2\",attrs:{\"height\":\"25\",\"indeterminate\":_vm.loadingAddTemplate,\"color\":\"yellow darken-2\",\"value\":100},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar value = ref.value;\nreturn [_c('strong',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loadingAddTemplate),expression:\"!loadingAddTemplate\"}]},[_vm._v(\" \"+_vm._s(value)+\"% \")])]}}],null,false,687516719)})],1)],1):_vm._e()],1)],1)],1),_c('v-divider'),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mr-4\",attrs:{\"elevation\":\"0\",\"color\":\"error\",\"disabled\":_vm.step == 3 || _vm.loadingAddTemplate},on:{\"click\":function($event){_vm.showAddTemplateDialog = false}}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"security_management.undo\"))+\" \")])]),_c('v-btn',{attrs:{\"elevation\":\"0\",\"depressed\":\"\",\"disabled\":_vm.step != 2 || _vm.loadingAddTemplate},on:{\"click\":_vm.backStep}},[_c('span',[_vm._v(\" < \"+_vm._s(_vm.$t(\"common.back\"))+\" \")])]),_c('v-btn',{attrs:{\"elevation\":\"0\",\"color\":\"success\",\"disabled\":_vm.loadingAddTemplate || !_vm.canContinue,\"loading\":_vm.loadingAddTemplate},on:{\"click\":_vm.continueStep}},[(_vm.step < 3)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"common.continue\"))+\" > \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"common.finish\"))+\" \")])])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport moment from \"moment\";\r\n\r\nimport { MODULE_COLORS } from \"@/utility/Constants\";\r\n\r\nimport DeviceTree from \"@/components/DeviceTree/index.vue\";\r\nimport { CaosConfigurationTemplate } from \"@/model/data/caosConfiguration/CaosConfigurationTemplate\";\r\nimport {\r\n GetConfigurationVersionAndSectionsCommand,\r\n GetConfigurationVersionAndSectionsReqData,\r\n} from \"@/model/communication/caosConfiguration/GetConfigurationVersionAndSectionsCommand\";\r\nimport { GetConfigurationVersionAndSectionsResData } from \"@/model/communication/caosConfiguration/GetConfigurationVersionAndSectionsResData\";\r\nimport { AddTemplateCommand, AddTemplateReqData } from \"@/model/communication/caosConfiguration/AddTemplateCommand\";\r\nimport { ApiResponseStatusEnum } from \"@/model/communication/ApiResponseStatusEnum\";\r\nimport { ApiGenericResponse } from \"@/model/communication/ApiGenericResponse\";\r\nimport { CaosConfigurationTemplateContentsEnum, caosConfigurationTemplateContentToString } from \"@/model/data/enums/CaosConfigurationTemplateContentsEnum\";\r\nimport { DeviceTreeNodeTypeEnum } from \"@/model/data/deviceTree/DeviceTreeNodeTypeEnum\";\r\n\r\nexport default Vue.extend({\r\n props: { showDialog: Boolean },\r\n components: {\r\n DeviceTree,\r\n },\r\n data() {\r\n return {\r\n moment,\r\n MODULE_COLORS,\r\n newTemplate: null,\r\n templateInstallations: [],\r\n reload: 0,\r\n step: 1,\r\n selectedContent: [],\r\n availableConfigSections: [],\r\n loadingGetConfigVersion: false,\r\n loadingAddTemplate: false,\r\n endingMessage: \"\",\r\n error: false,\r\n errorMessage: \"\",\r\n templateBaseConfiguration: null,\r\n CaosConfigurationTemplateContentsEnum,\r\n };\r\n },\r\n computed: {\r\n showAddTemplateDialog: {\r\n get() {\r\n return this.showDialog;\r\n },\r\n set(newValue: boolean) {\r\n this.$emit(\"update:showDialog\", newValue);\r\n this.step = 1;\r\n this.templateInstallations = [];\r\n this.reset();\r\n this.reload += 1;\r\n },\r\n },\r\n canContinue() {\r\n if (this.step == 2) {\r\n if (!this.selectedContent || this.selectedContent.length < 1 || this.templateContentRequiresValid != \"\" || !this.newTemplate.name) return false;\r\n }\r\n return this.templateInstallations && this.templateInstallations.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device).length == 1 && !this.error;\r\n },\r\n alertColor() {\r\n if (this.templateInstallations.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device).length == 1) return \"success\";\r\n return \"error\";\r\n },\r\n alertText() {\r\n let filteredtemplateInstallations = this.templateInstallations.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device);\r\n if (filteredtemplateInstallations.length > 1) return this.$t(\"downloadLogs.selectOnlyOneInstallation\");\r\n if (filteredtemplateInstallations.length == 0) return this.$t(\"caosTemplate.selectAtLeastOneInstallation\");\r\n return this.$t(\"caosTemplate.installationSelected\", { installation: filteredtemplateInstallations[0].name });\r\n },\r\n selectAllIcon() {\r\n return this.selectedContent.length == this.availableConfigSections.length ? \"fa-check-square\" : \"far fa-square\";\r\n },\r\n templateContentRequiresValid() {\r\n if (this.selectedContent && this.selectedContent.length > 0) {\r\n for (let content of this.selectedContent) {\r\n let section: string = CaosConfigurationTemplateContentsEnum[content];\r\n let requirements: string[] = this.templateBaseConfiguration[section].requires;\r\n if (requirements && requirements.length > 0) {\r\n for (let requirement of requirements) {\r\n if (!this.selectedContent.includes(CaosConfigurationTemplateContentsEnum[requirement])) {\r\n let sectioni18n = this.$t(caosConfigurationTemplateContentToString(content));\r\n let requirement18n = this.$t(caosConfigurationTemplateContentToString(CaosConfigurationTemplateContentsEnum[requirement]));\r\n return this.$t(\"caosTemplate.contentRequirement\", { section: sectioni18n, requirement: requirement18n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return \"\";\r\n },\r\n },\r\n methods: {\r\n reset() {\r\n this.error = false;\r\n this.errorMessage = \"\";\r\n this.selectedContent = [];\r\n this.availableConfigSections = [];\r\n this.newTemplate = null;\r\n },\r\n\r\n continueStep() {\r\n if (this.step == 1) {\r\n this.newTemplate = new CaosConfigurationTemplate();\r\n this.newTemplate.sourceInstallationName = this.templateInstallations.filter((c) => c.type == DeviceTreeNodeTypeEnum.Device)[0].name;\r\n this.sendRequestGetConfigurationVersion();\r\n } else if (this.step == 2) {\r\n let templateContent = CaosConfigurationTemplateContentsEnum.none;\r\n this.selectedContent.forEach((content) => {\r\n templateContent |= content;\r\n });\r\n this.newTemplate.templateContent = templateContent;\r\n this.sendRequestCreateTemplate();\r\n } else if (this.step == 3) {\r\n this.showAddTemplateDialog = false;\r\n return;\r\n }\r\n this.step += 1;\r\n },\r\n backStep() {\r\n if (this.step == 2) {\r\n this.reset();\r\n }\r\n this.step -= 1;\r\n },\r\n\r\n async sendRequestGetConfigurationVersion() {\r\n this.loadingGetConfigVersion = true;\r\n let reqData = new GetConfigurationVersionAndSectionsReqData(this.newTemplate.sourceInstallationName);\r\n let response: GetConfigurationVersionAndSectionsResData = await new GetConfigurationVersionAndSectionsCommand(reqData).execute();\r\n if (response.responseStatus == ApiResponseStatusEnum.Success && response.responseString != \"GenericError\") {\r\n this.newTemplate.caosVersion = response.caosConfiguration.caosVersion;\r\n this.templateBaseConfiguration = response.caosConfiguration;\r\n Object.keys(response.caosConfiguration).forEach((key) => {\r\n if (key != \"caosVersion\" && !response.caosConfiguration[key][\"binding\"]) {\r\n this.availableConfigSections.push({\r\n name: key,\r\n namei18n: this.$t(`enum.caosConfigurationTemplateContents.${key}`),\r\n contentValue: CaosConfigurationTemplateContentsEnum[key],\r\n });\r\n }\r\n });\r\n } else {\r\n this.error = true;\r\n if (response.message == \"DeviceLocked\") this.errorMessage = this.$t(\"caosTemplate.deviceBusyError\");\r\n else if (response.message == \"ConnectionLimitReached\") this.errorMessage = this.$t(\"caosTemplate.agentTimeout\");\r\n else if (response.message == \"AgentOffline\") this.errorMessage = this.$t(\"caosTemplate.agentOfflineForInstallation\", { task: \"create a template\" });\r\n else this.errorMessage = this.$t(\"caosTemplate.noConfigError\");\r\n }\r\n this.loadingGetConfigVersion = false;\r\n },\r\n async sendRequestCreateTemplate() {\r\n this.loadingAddTemplate = true;\r\n let reqData = new AddTemplateReqData(this.newTemplate);\r\n let response: ApiGenericResponse = await new AddTemplateCommand(reqData).execute();\r\n if (response.responseStatus == ApiResponseStatusEnum.Success && response.responseString != \"GenericError\") {\r\n this.endingMessage = this.$t(\"caosTemplate.addTemplateSuccess\", { name: this.newTemplate.name });\r\n this.$emit(\"reload\");\r\n } else {\r\n this.endingMessage = this.$t(\"caosTemplate.addTemplateError\", { name: this.newTemplate.name });\r\n }\r\n this.loadingAddTemplate = false;\r\n },\r\n onSelectAllClick() {\r\n if (this.selectedContent != null && this.availableConfigSections != null && this.selectedContent.length == this.availableConfigSections.length) {\r\n this.selectedContent = [];\r\n } else {\r\n this.selectedContent = this.availableConfigSections.map((c) => c.contentValue);\r\n }\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddTemplateWizard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddTemplateWizard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AddTemplateWizard.vue?vue&type=template&id=5ab46b9a&\"\nimport script from \"./AddTemplateWizard.vue?vue&type=script&lang=ts&\"\nexport * from \"./AddTemplateWizard.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSkeletonLoader } from 'vuetify/lib/components/VSkeletonLoader';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VStepper } from 'vuetify/lib/components/VStepper';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\nimport { VStepperHeader } from 'vuetify/lib/components/VStepper';\nimport { VStepperItems } from 'vuetify/lib/components/VStepper';\nimport { VStepperStep } from 'vuetify/lib/components/VStepper';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardSubtitle,VCardText,VCardTitle,VCheckbox,VChip,VCol,VDialog,VDivider,VIcon,VListItem,VListItemAction,VListItemContent,VListItemTitle,VProgressLinear,VRow,VSelect,VSkeletonLoader,VSpacer,VStepper,VStepperContent,VStepperHeader,VStepperItems,VStepperStep,VTextField,VTextarea,VTooltip})\n","import { Command, HttpVerbType, API_PREFIX, API_VERSION } from \"../Command\";\r\nimport { ApiGenericResponse } from \"../ApiGenericResponse\";\r\n\r\nconst ENDPOINT = \"/caosconfiguration/template\";\r\n\r\nexport class DeleteConfigurationTemplateCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"delete\";\r\n params: DeleteConfigurationTemplateReqData = null;\r\n\r\n constructor(templateId: number) {\r\n super();\r\n this.params = new DeleteConfigurationTemplateReqData(templateId);\r\n }\r\n\r\n public async execute(): Promise {\r\n let res = await this.executeCommand(null, null, this.params);\r\n return new ApiGenericResponse(res);\r\n }\r\n}\r\n\r\nexport class DeleteConfigurationTemplateReqData {\r\n id: number;\r\n\r\n constructor(templateId: number) {\r\n this.id = templateId;\r\n }\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\n\r\n//Component\r\nimport TableFiltersRow from \"@/components/TableHeaderFilters/TableFiltersRow.vue\";\r\nimport NewSoftwareVersionsFilter from \"@/components/TableHeaderFilters/NewSoftwareVersionsFilter.vue\";\r\nimport TemplateInfoDialog from \"@/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/TemplateInfoDialog.vue\";\r\nimport DeleteTemplateDialog from \"@/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/DeleteTemplateDialog.vue\";\r\nimport ForceTemplateWizard from \"./ForceTemplateWizard.vue\";\r\nimport AddTemplateWizard from \"./AddTemplateWizard.vue\";\r\n\r\n//Model\r\nimport { dataTableItemsPerPage, MODULE_COLORS } from \"@/utility/Constants\";\r\nimport { UpdateTypeEnum } from \"@/model/data/enums/UpdateTypeEnum\";\r\nimport { DeleteConfigurationTemplateCommand } from \"@/model/communication/caosConfiguration/DeleteConfigurationTemplateCommand\";\r\nimport { ApiGenericResponse } from \"@/model/communication/ApiGenericResponse\";\r\nimport { ApiResponseStatusEnum } from \"@/model/communication/ApiResponseStatusEnum\";\r\n\r\nexport default Vue.extend({\r\n components: {\r\n TableFiltersRow,\r\n TemplateInfoDialog,\r\n DeleteTemplateDialog,\r\n ForceTemplateWizard,\r\n AddTemplateWizard,\r\n },\r\n data() {\r\n return {\r\n MODULE_COLORS,\r\n headers: [\r\n {\r\n text: \"\",\r\n value: \"templateIcon\",\r\n sortable: false,\r\n },\r\n {\r\n text: this.$t(\"caosTemplate.templateName\"),\r\n value: \"name\",\r\n },\r\n {\r\n text: this.$t(\"caosTemplate.caosVersion\"),\r\n value: \"caosVersion\",\r\n align: \"center\",\r\n },\r\n {\r\n text: this.$t(\"caosTemplate.sourceInstallation\"),\r\n value: \"sourceInstallationName\",\r\n align: \"center\",\r\n },\r\n {\r\n text: this.$t(\"caosTemplate.templateDescription\"),\r\n value: \"description\",\r\n sortable: false,\r\n width: \"35vw\",\r\n },\r\n {\r\n text: this.$t(\"common.actions\"),\r\n value: \"actions\",\r\n align: \"center\",\r\n sortable: false,\r\n width: \"150px\",\r\n },\r\n ],\r\n filters: [\r\n {\r\n headerValue: \"caosVersion\",\r\n filterKey: UpdateTypeEnum.Caos,\r\n component: NewSoftwareVersionsFilter,\r\n currentSelections: [],\r\n customAttrs: { filterUpdateType: UpdateTypeEnum.Caos, versionType: \"caosConfigurationTemplate\" },\r\n },\r\n ],\r\n prevIcon: \"fas fa-chevron-left\",\r\n nextIcon: \"fas fa-chevron-right\",\r\n dataTableItemsPerPage,\r\n options: {},\r\n showInfoDialog: false,\r\n showDeleteDialog: false,\r\n currentTemplate: null,\r\n currentTemplateName: \"\",\r\n deleteLoading: false,\r\n showForceTemplateWizard: false,\r\n showAddTemplateDialog: false,\r\n };\r\n },\r\n props: {\r\n loading: { required: true, type: Boolean },\r\n paginatedTotalItems: Number,\r\n configurationTemplate: { required: true, type: Array },\r\n reqData: Object,\r\n },\r\n watch: {\r\n options: {\r\n handler(newOptions, oldOptions) {\r\n if (oldOptions != null) {\r\n if (newOptions.page < oldOptions.page) this.prevIcon = \"fas fa-circle-notch fa-spin\";\r\n if (newOptions.page > oldOptions.page) this.nextIcon = \"fas fa-circle-notch fa-spin\";\r\n }\r\n if (!this.ignoreOptionsChanges) this.$emit(\"options-changed\", newOptions);\r\n else this.ignoreOptionsChanges = false;\r\n },\r\n deep: true,\r\n },\r\n loading(newVal) {\r\n if (!newVal) {\r\n this.prevIcon = \"fas fa-chevron-left\";\r\n this.nextIcon = \"fas fa-chevron-right\";\r\n }\r\n },\r\n },\r\n methods: {\r\n backToTheFirst() {\r\n if (this.options.page != 1) {\r\n this.ignoreOptionsChanges = false;\r\n this.options.page = 1;\r\n console.log(\"backToTheFirst, this.options: \", this.options);\r\n }\r\n },\r\n\r\n openInfoDialog(item) {\r\n this.currentTemplate = item;\r\n this.showInfoDialog = true;\r\n },\r\n openDeleteDialog(item) {\r\n this.currentTemplate = item;\r\n this.currentTemplateName = item.name;\r\n this.showDeleteDialog = true;\r\n },\r\n\r\n async deleteTemplate() {\r\n try {\r\n this.deleteLoading = true;\r\n let response: ApiGenericResponse = await new DeleteConfigurationTemplateCommand(this.currentTemplate.id).execute();\r\n if (response.responseStatus == ApiResponseStatusEnum.Success) {\r\n this.showDeleteDialog = false;\r\n this.$emit(\"reload\");\r\n this.showAlert = true;\r\n }\r\n } catch (e) {\r\n console.log(\"Something went wrong sending GetConfigurationTemplate request \", e);\r\n }\r\n this.deleteLoading = false;\r\n },\r\n async openForceTemplateWizard(item) {\r\n this.currentTemplate = item;\r\n this.showForceTemplateWizard = true;\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CaosConfigurationTemplateMainTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CaosConfigurationTemplateMainTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CaosConfigurationTemplateMainTable.vue?vue&type=template&id=93be98aa&scoped=true&\"\nimport script from \"./CaosConfigurationTemplateMainTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./CaosConfigurationTemplateMainTable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CaosConfigurationTemplateMainTable.vue?vue&type=style&index=0&id=93be98aa&prod&lang=css&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 \"93be98aa\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCol,VDataTable,VIcon,VRow,VTooltip})\n","import { CaosConfigurationTemplate } from \"@/model/data/caosConfiguration/CaosConfigurationTemplate\";\r\nimport { ApiGenericResponse } from \"../ApiGenericResponse\";\r\nimport { AxiosResponse } from \"axios\";\r\n\r\nexport class GetConfigurationTemplateResData extends ApiGenericResponse {\r\n caosConfigurationTemplates: CaosConfigurationTemplate[];\r\n\r\n constructor(response: AxiosResponse) {\r\n super(response);\r\n if (response.data && response.data.Payload) {\r\n this.parse(response.data.Payload);\r\n }\r\n }\r\n\r\n public parse(obj: any) {\r\n if (obj.CaosConfigurationTemplates) {\r\n this.caosConfigurationTemplates = new Array();\r\n obj.CaosConfigurationTemplates.forEach((element) => {\r\n let c = new CaosConfigurationTemplate();\r\n c.parse(element);\r\n this.caosConfigurationTemplates.push(c);\r\n });\r\n }\r\n }\r\n}\r\n","import { InstalledSoftware } from \"@/model/data/InstalledSoftware\";\r\nimport { Command, HttpVerbType, API_PREFIX, API_VERSION } from \"../Command\";\r\nimport { IPaginationFilter } from \"../supportObjects/IPaginationFilter\";\r\nimport { GetConfigurationTemplateResData } from \"./GetConfigurationTemplateResData\";\r\nimport { IsNamedSoftwareVersion, NamedSoftwareVersion } from \"@/model/data/updates/NamedSoftwareVersion\";\r\nimport { UpdateTypeEnum } from \"@/model/data/enums/UpdateTypeEnum\";\r\n\r\nconst ENDPOINT = \"/caosconfiguration/template\";\r\n\r\nexport class GetConfigurationTemplateCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"post\";\r\n payload: GetConfigurationTemplateReqData;\r\n\r\n constructor(payload: GetConfigurationTemplateReqData) {\r\n super();\r\n this.payload = payload;\r\n }\r\n\r\n public async execute(): Promise {\r\n let res = await this.executeCommand(this.payload);\r\n return new GetConfigurationTemplateResData(res);\r\n }\r\n}\r\n\r\nexport class GetConfigurationTemplateReqData implements IPaginationFilter {\r\n // PaginationFilters\r\n queryLimit: number = 0;\r\n offset: number = 0;\r\n orderBy: string[] = null;\r\n orderByDescending: boolean[] = null;\r\n\r\n softwareVersionFilterList: InstalledSoftware[] = [];\r\n\r\n constructor(obj: any) {\r\n if (obj.queryLimit) this.queryLimit = obj.queryLimit;\r\n if (obj.offset) this.offset = obj.offset;\r\n if (obj.orderBy) this.orderBy = obj.orderBy;\r\n if (obj.orderByDescending) this.orderByDescending = obj.orderByDescending;\r\n }\r\n}\r\n\r\nexport function CreateGetConfigurationTemplateReqData(req: GetConfigurationTemplateReqData): GetConfigurationTemplateReqData {\r\n let softwareVersionFilterList: InstalledSoftware[] = [];\r\n let reqProps = Object.keys(req);\r\n\r\n reqProps.forEach((prop) => {\r\n if (Array.isArray(req[prop]) && IsNamedSoftwareVersion(req[prop][0])) {\r\n req[prop].forEach((softwareFilter: NamedSoftwareVersion) => {\r\n let sw = new InstalledSoftware();\r\n\r\n if (Object.keys(UpdateTypeEnum).includes(softwareFilter.name)) sw.updateType = UpdateTypeEnum[softwareFilter.name];\r\n else sw.updateType = UpdateTypeEnum.ThirdPartySoftware;\r\n\r\n sw.name = softwareFilter.name;\r\n sw.version = softwareFilter.version;\r\n softwareVersionFilterList.push(sw);\r\n });\r\n }\r\n });\r\n\r\n let res: GetConfigurationTemplateReqData = {\r\n queryLimit: req.queryLimit,\r\n offset: req.offset,\r\n orderBy: req.orderBy,\r\n orderByDescending: req.orderByDescending,\r\n softwareVersionFilterList: softwareVersionFilterList,\r\n };\r\n\r\n return res;\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { MODULE_COLORS } from \"@/utility/Constants\";\r\n\r\n// Vue Components\r\nimport AppPage from \"@/components/AppPage.vue\";\r\nimport CaosConfigurationTemplateMainTable from \"@/views/App/SecurityAndConfiguration/CaosConfigurationTemplate/CaosConfigurationTemplateMainTable.vue\";\r\n\r\n//Model\r\nimport { CreateGetConfigurationTemplateReqData, GetConfigurationTemplateCommand } from \"@/model/communication/caosConfiguration/GetConfigurationTemplateCommand\";\r\nimport { GetConfigurationTemplateResData } from \"@/model/communication/caosConfiguration/GetConfigurationTemplateResData\";\r\nimport { ApiResponseStatusEnum } from \"@/model/communication/ApiResponseStatusEnum\";\r\n\r\nexport default Vue.extend({\r\n components: {\r\n AppPage,\r\n CaosConfigurationTemplateMainTable,\r\n },\r\n\r\n data() {\r\n return {\r\n MODULE_COLORS,\r\n configurationTemplate: [],\r\n configurationTemplateLoading: false,\r\n reqData: null,\r\n currentPaginationOptions: null,\r\n };\r\n },\r\n methods: {\r\n async sendRequest(request) {\r\n try {\r\n this.reqData = request;\r\n this.configurationTemplateLoading = true;\r\n let response: GetConfigurationTemplateResData = await new GetConfigurationTemplateCommand(CreateGetConfigurationTemplateReqData(request)).execute();\r\n if (response.responseStatus == ApiResponseStatusEnum.Success) {\r\n this.configurationTemplate = response.caosConfigurationTemplates;\r\n }\r\n } catch (e) {\r\n console.log(\"Something went wrong sending GetConfigurationTemplate request \", e);\r\n }\r\n this.configurationTemplateLoading = false;\r\n },\r\n\r\n async sendRequestAndBackToTheFirstPage(request) {\r\n this.$refs.standardPage.backToTheFirst();\r\n this.sendRequest(request);\r\n },\r\n\r\n onReload() {\r\n console.debug(\"Send request to reload data\");\r\n this.sendRequest(this.reqData);\r\n },\r\n\r\n onOptionsChanged(newOptions) {\r\n let needToSendRequest: boolean = false;\r\n\r\n if (\r\n this.currentPaginationOptions == null ||\r\n newOptions.page != this.currentPaginationOptions.page ||\r\n newOptions.itemsPerPage != this.currentPaginationOptions.itemsPerPage ||\r\n newOptions.sortBy.length != this.currentPaginationOptions.sortBy.length ||\r\n (newOptions.sortBy &&\r\n newOptions.sortBy.length == 1 &&\r\n this.currentPaginationOptions.sortBy &&\r\n this.currentPaginationOptions.sortBy.length == 1 &&\r\n newOptions.sortBy[0] != this.currentPaginationOptions.sortBy[0]) ||\r\n (newOptions.sortDesc &&\r\n newOptions.sortDesc.length == 1 &&\r\n this.currentPaginationOptions.sortDesc &&\r\n this.currentPaginationOptions.sortDesc.length == 1 &&\r\n newOptions.sortDesc[0] != this.currentPaginationOptions.sortDesc[0])\r\n )\r\n needToSendRequest = true;\r\n\r\n this.currentPaginationOptions = newOptions;\r\n\r\n if (needToSendRequest) {\r\n let newReqData = Object.assign({}, this.reqData);\r\n newReqData.offset = (this.currentPaginationOptions.page - 1) * this.currentPaginationOptions.itemsPerPage;\r\n newReqData.queryLimit = this.currentPaginationOptions.itemsPerPage;\r\n newReqData.orderBy = this.currentPaginationOptions.sortBy;\r\n newReqData.orderByDescending = this.currentPaginationOptions.sortDesc;\r\n this.sendRequest(newReqData);\r\n }\r\n },\r\n\r\n onFiltersChanged(filters) {\r\n let newReqData = Object.assign({}, this.reqData);\r\n newReqData.offset = 0;\r\n\r\n filters.forEach((filter) => {\r\n newReqData[filter.filterKey] = filter.currentSelections;\r\n });\r\n this.$refs.mainTable.backToTheFirst();\r\n this.sendRequest(newReqData);\r\n },\r\n },\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=777e69b4&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","// Styles\nimport './VStepper.sass'\n\n// Components\nimport VStepperStep from './VStepperStep'\nimport VStepperContent from './VStepperContent'\n\n// Mixins\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\nimport Proxyable from '../../mixins/proxyable'\nimport Themeable from '../../mixins/themeable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { breaking } from '../../util/console'\n\n// Types\nimport { VNode } from 'vue'\n\nconst baseMixins = mixins(\n RegistrableProvide('stepper'),\n Proxyable,\n Themeable\n)\n\ntype VStepperStepInstance = InstanceType\ntype VStepperContentInstance = InstanceType\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-stepper',\n\n provide (): object {\n return {\n stepClick: this.stepClick,\n isVertical: this.vertical,\n }\n },\n\n props: {\n altLabels: Boolean,\n nonLinear: Boolean,\n vertical: Boolean,\n },\n\n data () {\n const data: Dictionary = {\n isBooted: false,\n steps: [] as VStepperStepInstance[],\n content: [] as VStepperContentInstance[],\n isReverse: false,\n }\n\n data.internalLazyValue = this.value != null\n ? this.value\n : (data[0] || {}).step || 1\n\n return data\n },\n\n computed: {\n classes (): object {\n return {\n 'v-stepper--is-booted': this.isBooted,\n 'v-stepper--vertical': this.vertical,\n 'v-stepper--alt-labels': this.altLabels,\n 'v-stepper--non-linear': this.nonLinear,\n ...this.themeClasses,\n }\n },\n },\n\n watch: {\n internalValue (val, oldVal) {\n this.isReverse = Number(val) < Number(oldVal)\n\n oldVal && (this.isBooted = true)\n\n this.updateView()\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$listeners.input) {\n breaking('@input', '@change', this)\n }\n },\n\n mounted () {\n this.updateView()\n },\n\n methods: {\n register (item: VStepperStepInstance | VStepperContentInstance) {\n if (item.$options.name === 'v-stepper-step') {\n this.steps.push(item as VStepperStepInstance)\n } else if (item.$options.name === 'v-stepper-content') {\n (item as VStepperContentInstance).isVertical = this.vertical\n this.content.push(item as VStepperContentInstance)\n }\n },\n unregister (item: VStepperStepInstance | VStepperContentInstance) {\n if (item.$options.name === 'v-stepper-step') {\n this.steps = this.steps.filter((i: VStepperStepInstance) => i !== item)\n } else if (item.$options.name === 'v-stepper-content') {\n (item as VStepperContentInstance).isVertical = this.vertical\n this.content = this.content.filter((i: VStepperContentInstance) => i !== item)\n }\n },\n stepClick (step: string | number) {\n this.$nextTick(() => (this.internalValue = step))\n },\n updateView () {\n for (let index = this.steps.length; --index >= 0;) {\n this.steps[index].toggle(this.internalValue as any)\n }\n for (let index = this.content.length; --index >= 0;) {\n this.content[index].toggle(this.internalValue as any, this.isReverse)\n }\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-stepper',\n class: this.classes,\n }, this.$slots.default)\n },\n})\n","import { createSimpleFunctional } from '../../util/helpers'\nimport VStepper from './VStepper'\nimport VStepperStep from './VStepperStep'\nimport VStepperContent from './VStepperContent'\n\nconst VStepperHeader = createSimpleFunctional('v-stepper__header')\nconst VStepperItems = createSimpleFunctional('v-stepper__items')\n\nexport {\n VStepper,\n VStepperContent,\n VStepperStep,\n VStepperHeader,\n VStepperItems,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VStepper,\n VStepperContent,\n VStepperStep,\n VStepperHeader,\n VStepperItems,\n },\n}\n","import { CaosConfigurationTemplateContentsEnum } from \"../enums/CaosConfigurationTemplateContentsEnum\";\r\n\r\nexport class CaosConfigurationTemplate {\r\n id: number;\r\n sourceInstallationName: string;\r\n name: string;\r\n caosVersion: string;\r\n configuration: string;\r\n templateContent: CaosConfigurationTemplateContentsEnum;\r\n createdBy: string;\r\n createdAt: Date;\r\n description: string;\r\n\r\n public parse(obj: any) {\r\n if (obj.Id) this.id = obj.Id;\r\n if (obj.SourceInstallationName) this.sourceInstallationName = obj.SourceInstallationName;\r\n if (obj.Name) this.name = obj.Name;\r\n if (obj.CaosVersion) this.caosVersion = obj.CaosVersion;\r\n if (obj.Configuration) this.configuration = obj.Configuration;\r\n if (obj.TemplateContent) this.templateContent = obj.TemplateContent;\r\n if (obj.CreatedBy) this.createdBy = obj.CreatedBy;\r\n if (obj.CreatedAt) this.createdAt = obj.CreatedAt;\r\n if (obj.Description) this.description = obj.Description;\r\n }\r\n}\r\n","// Styles\nimport './VTextarea.sass'\n\n// Extensions\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport Vue from 'vue'\n\ninterface options extends Vue {\n $refs: {\n input: HTMLTextAreaElement\n }\n}\n\nconst baseMixins = mixins\n>(\n VTextField\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-textarea',\n\n props: {\n autoGrow: Boolean,\n noResize: Boolean,\n rowHeight: {\n type: [Number, String],\n default: 24,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseInt(v, 10)),\n },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-textarea': true,\n 'v-textarea--auto-grow': this.autoGrow,\n 'v-textarea--no-resize': this.noResizeHandle,\n ...VTextField.options.computed.classes.call(this),\n }\n },\n noResizeHandle (): boolean {\n return this.noResize || this.autoGrow\n },\n },\n\n watch: {\n lazyValue () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n rowHeight () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n },\n\n mounted () {\n setTimeout(() => {\n this.autoGrow && this.calculateInputHeight()\n }, 0)\n },\n\n methods: {\n calculateInputHeight () {\n const input = this.$refs.input\n if (!input) return\n\n input.style.height = '0'\n const height = input.scrollHeight\n const minHeight = parseInt(this.rows, 10) * parseFloat(this.rowHeight)\n // This has to be done ASAP, waiting for Vue\n // to update the DOM causes ugly layout jumping\n input.style.height = Math.max(minHeight, height) + 'px'\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.tag = 'textarea'\n delete input.data!.attrs!.type\n input.data!.attrs!.rows = this.rows\n\n return input\n },\n onInput (e: Event) {\n VTextField.options.methods.onInput.call(this, e)\n this.autoGrow && this.calculateInputHeight()\n },\n onKeyDown (e: KeyboardEvent) {\n // Prevents closing of a\n // dialog when pressing\n // enter\n if (this.isFocused && e.keyCode === 13) {\n e.stopPropagation()\n }\n\n this.$emit('keydown', e)\n },\n },\n})\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CaosConfigurationTemplateMainTable.vue?vue&type=style&index=0&id=93be98aa&prod&lang=css&scoped=true&\"","/* global define */\n(function (root, factory) {\n /* istanbul ignore next */\n if (typeof define === 'function' && define.amd) {\n define([], factory);\n } else if (typeof exports === 'object') {\n module.exports = factory();\n } else {\n root.compareVersions = factory();\n }\n}(this, function () {\n\n var semver = /^v?(?:\\d+)(\\.(?:[x*]|\\d+)(\\.(?:[x*]|\\d+)(\\.(?:[x*]|\\d+))?(?:-[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?(?:\\+[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?)?)?$/i;\n\n function indexOrEnd(str, q) {\n return str.indexOf(q) === -1 ? str.length : str.indexOf(q);\n }\n\n function split(v) {\n var c = v.replace(/^v/, '').replace(/\\+.*$/, '');\n var patchIndex = indexOrEnd(c, '-');\n var arr = c.substring(0, patchIndex).split('.');\n arr.push(c.substring(patchIndex + 1));\n return arr;\n }\n\n function tryParse(v) {\n return isNaN(Number(v)) ? v : Number(v);\n }\n\n function validate(version) {\n if (typeof version !== 'string') {\n throw new TypeError('Invalid argument expected string');\n }\n if (!semver.test(version)) {\n throw new Error('Invalid argument not valid semver (\\''+version+'\\' received)');\n }\n }\n\n function compareVersions(v1, v2) {\n [v1, v2].forEach(validate);\n\n var s1 = split(v1);\n var s2 = split(v2);\n\n for (var i = 0; i < Math.max(s1.length - 1, s2.length - 1); i++) {\n var n1 = parseInt(s1[i] || 0, 10);\n var n2 = parseInt(s2[i] || 0, 10);\n\n if (n1 > n2) return 1;\n if (n2 > n1) return -1;\n }\n\n var sp1 = s1[s1.length - 1];\n var sp2 = s2[s2.length - 1];\n\n if (sp1 && sp2) {\n var p1 = sp1.split('.').map(tryParse);\n var p2 = sp2.split('.').map(tryParse);\n\n for (i = 0; i < Math.max(p1.length, p2.length); i++) {\n if (p1[i] === undefined || typeof p2[i] === 'string' && typeof p1[i] === 'number') return -1;\n if (p2[i] === undefined || typeof p1[i] === 'string' && typeof p2[i] === 'number') return 1;\n\n if (p1[i] > p2[i]) return 1;\n if (p2[i] > p1[i]) return -1;\n }\n } else if (sp1 || sp2) {\n return sp1 ? -1 : 1;\n }\n\n return 0;\n };\n\n var allowedOperators = [\n '>',\n '>=',\n '=',\n '<',\n '<='\n ];\n\n var operatorResMap = {\n '>': [1],\n '>=': [0, 1],\n '=': [0],\n '<=': [-1, 0],\n '<': [-1]\n };\n\n function validateOperator(op) {\n if (typeof op !== 'string') {\n throw new TypeError('Invalid operator type, expected string but got ' + typeof op);\n }\n if (allowedOperators.indexOf(op) === -1) {\n throw new TypeError('Invalid operator, expected one of ' + allowedOperators.join('|'));\n }\n }\n\n compareVersions.validate = function(version) {\n return typeof version === 'string' && semver.test(version);\n }\n\n compareVersions.compare = function (v1, v2, operator) {\n // Validate operator\n validateOperator(operator);\n\n // since result of compareVersions can only be -1 or 0 or 1\n // a simple map can be used to replace switch\n var res = compareVersions(v1, v2);\n return operatorResMap[operator].indexOf(res) > -1;\n }\n\n return compareVersions;\n}));\n","// Components\nimport {\n VTabTransition,\n VTabReverseTransition,\n} from '../transitions'\n\n// Mixins\nimport { inject as RegistrableInject } from '../../mixins/registrable'\n\n// Helpers\nimport { convertToUnit } from '../../util/helpers'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, FunctionalComponentOptions, VNodeData } from 'vue'\n\nconst baseMixins = mixins(\n RegistrableInject('stepper', 'v-stepper-content', 'v-stepper')\n)\n\ninterface options extends InstanceType {\n $refs: {\n wrapper: HTMLElement\n }\n isVerticalProvided: boolean\n}\n\n/* @vue/component */\nexport default baseMixins.extend().extend({\n name: 'v-stepper-content',\n\n inject: {\n isVerticalProvided: {\n from: 'isVertical',\n },\n },\n\n props: {\n step: {\n type: [Number, String],\n required: true,\n },\n },\n\n data () {\n return {\n height: 0 as number | string,\n // Must be null to allow\n // previous comparison\n isActive: null as boolean | null,\n isReverse: false,\n isVertical: this.isVerticalProvided,\n }\n },\n\n computed: {\n computedTransition (): FunctionalComponentOptions {\n // Fix for #8978\n const reverse = this.$vuetify.rtl ? !this.isReverse : this.isReverse\n\n return reverse\n ? VTabReverseTransition\n : VTabTransition\n },\n styles (): object {\n if (!this.isVertical) return {}\n\n return {\n height: convertToUnit(this.height),\n }\n },\n },\n\n watch: {\n isActive (current, previous) {\n // If active and the previous state\n // was null, is just booting up\n if (current && previous == null) {\n this.height = 'auto'\n return\n }\n\n if (!this.isVertical) return\n\n if (this.isActive) this.enter()\n else this.leave()\n },\n },\n\n mounted () {\n this.$refs.wrapper.addEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n this.stepper && this.stepper.register(this)\n },\n\n beforeDestroy () {\n this.$refs.wrapper.removeEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n this.stepper && this.stepper.unregister(this)\n },\n\n methods: {\n onTransition (e: TransitionEvent) {\n if (!this.isActive ||\n e.propertyName !== 'height'\n ) return\n\n this.height = 'auto'\n },\n enter () {\n let scrollHeight = 0\n\n // Render bug with height\n requestAnimationFrame(() => {\n scrollHeight = this.$refs.wrapper.scrollHeight\n })\n\n this.height = 0\n\n // Give the collapsing element time to collapse\n setTimeout(() => this.isActive && (this.height = (scrollHeight || 'auto')), 450)\n },\n leave () {\n this.height = this.$refs.wrapper.clientHeight\n setTimeout(() => (this.height = 0), 10)\n },\n toggle (step: string | number, reverse: boolean) {\n this.isActive = step.toString() === this.step.toString()\n this.isReverse = reverse\n },\n },\n\n render (h): VNode {\n const contentData = {\n staticClass: 'v-stepper__content',\n } as VNodeData\n const wrapperData = {\n staticClass: 'v-stepper__wrapper',\n style: this.styles,\n ref: 'wrapper',\n }\n\n if (!this.isVertical) {\n contentData.directives = [{\n name: 'show',\n value: this.isActive,\n }]\n }\n\n const wrapper = h('div', wrapperData, [this.$slots.default])\n const content = h('div', contentData, [wrapper])\n\n return h(this.computedTransition, {\n on: this.$listeners,\n }, [content])\n },\n})\n","export enum CaosConfigurationTemplateContentsEnum {\r\n none = 0x00000000,\r\n generalConfigurations = 0x00000001,\r\n deviceGroups = 0x00000002,\r\n deviceGroups_channels = 0x00000004,\r\n deviceGroups_opByGroups = 0x00000008,\r\n deviceGroups_kits = 0x00000010,\r\n deviceUsers = 0x00000020,\r\n adminGroups = 0x00000040,\r\n adminUsers = 0x00000080,\r\n channels = 0x00000100,\r\n kits = 0x00000200,\r\n channels_kits = 0x00000400,\r\n shifts = 0x00000800,\r\n schedules = 0x00001000,\r\n reports = 0x00002000,\r\n}\r\nconst binding = [\"deviceGroups_channels\", \"deviceGroups_opByGroups\", \"deviceGroups_kits\", \"channels_kits\"];\r\n\r\nexport function caosConfigurationTemplateContentToString(value: CaosConfigurationTemplateContentsEnum, withBinding: boolean = false): string[] {\r\n let finalString = [];\r\n for (let content in CaosConfigurationTemplateContentsEnum) {\r\n if (((CaosConfigurationTemplateContentsEnum[content] as any) & value) != CaosConfigurationTemplateContentsEnum.none) {\r\n if (binding.includes(content) && withBinding) {\r\n finalString.push(`enum.caosConfigurationTemplateContents.${content}`);\r\n } else if (!binding.includes(content)) finalString.push(`enum.caosConfigurationTemplateContents.${content}`);\r\n }\r\n }\r\n return finalString;\r\n}\r\n\r\nexport function i18nToEnum(i18nName: string): CaosConfigurationTemplateContentsEnum {\r\n let name = i18nName.replace(\"enum.caosConfigurationTemplateContents.\", \"\");\r\n return CaosConfigurationTemplateContentsEnum[name];\r\n}\r\n","import { ApiGenericResponse } from \"../ApiGenericResponse\";\r\nimport { AxiosResponse } from \"axios\";\r\n\r\nexport class GetConfigurationVersionAndSectionsResData extends ApiGenericResponse {\r\n caosConfiguration;\r\n\r\n constructor(response: AxiosResponse) {\r\n super(response);\r\n if (response.data && response.data.Payload) {\r\n this.parse(response.data.Payload);\r\n }\r\n }\r\n\r\n public parse(obj: any) {\r\n //Per rendere tutto più flessibile si è deciso di non tipizzare la configurazione di caos\r\n if (obj.ConfigurationContent) this.caosConfiguration = JSON.parse(obj.ConfigurationContent);\r\n }\r\n}\r\n","import { Command, HttpVerbType, API_PREFIX, API_VERSION } from \"../Command\";\r\nimport { GetConfigurationVersionAndSectionsResData } from \"./GetConfigurationVersionAndSectionsResData\";\r\n\r\nconst ENDPOINT = \"/caosconfiguration/version\";\r\n\r\nexport class GetConfigurationVersionAndSectionsCommand extends Command {\r\n endPoint: string = API_PREFIX + API_VERSION + ENDPOINT;\r\n httpVerb: HttpVerbType = \"get\";\r\n params: GetConfigurationVersionAndSectionsReqData = null;\r\n\r\n constructor(params) {\r\n super();\r\n this.params = params;\r\n }\r\n\r\n public async execute(): Promise {\r\n let res = await this.executeCommand(null, null, this.params);\r\n return new GetConfigurationVersionAndSectionsResData(res);\r\n }\r\n}\r\n\r\nexport class GetConfigurationVersionAndSectionsReqData {\r\n installationName: string;\r\n\r\n constructor(installationName: string) {\r\n this.installationName = installationName;\r\n }\r\n}\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TemplateInfoDialog.vue?vue&type=style&index=0&id=190a4558&prod&scoped=true&lang=css&\"","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n"],"sourceRoot":""}