1"use strict";(self.webpackChunkDashboard=self.webpackChunkDashboard||[]).push([[3606],{71611:(t,a,e)=>{e.a(t,(async t=>{e.d(a,{Z:()=>n});var s=e(2568),r=e.n(s),o=e(79231),i=t([o]);const n={name:"ProjectMetadataProductGroupWrapper",mixins:[(o=(i.then?await i:i)[0]).default.ProjectMetadata],components:{MetadataProductGroup:function(){return e.e(5927).then(e.bind(e,66757))}},props:{data:{type:[Object,Array],default:null}},data:function(){return{themaItemsHash:null,themaItemsErrors:null}},computed:{isThemaItemsEmpty:function(){var t,a;return null!==(t=this.data)&&void 0!==t&&t.themaFromLastVersion?"themaFromLastVersion":0===Object.keys(null===(a=this.data)||void 0===a?void 0:a.themaItems).length?null:"themaItemsNotEmpty"},isThemaPreviousVersion:function(){var t,a;return(null===(t=this.data)||void 0===t||null===(a=t.themaPreviousVersion)||void 0===a?void 0:a.length)>0}},mounted:function(){this.data.themaFromLastVersion&&this.setThemaItemsErrors()},methods:{setThemaItemsHash:function(t){var a=this,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.themaItemsHash=r()(JSON.stringify(t)),e?this.$refs.themaItemsHash.validate():setTimeout((function(){a.$refs.themaItemsHash.reset()}),1e3)},setThemaItemsErrors:function(){var t,a;this.themaItemsErrors=(null===(t=this.$refs.metadataProductGroup)||void 0===t||null===(a=t.finalSelection)||void 0===a?void 0:a.filter((function(t){return t.error})).length)>0?null:"themaItemsNoErrors"},updateThemaItems:function(t){this.setThemaItemsErrors(),this.$refs.metadataProductGroup.checkProductGroupSpecificationErrors(),this.setThemaItemsHash(t,this.themaItemsHash),this.$emit("input",t)}}}}))},21768:(t,a,e)=>{e.a(t,(async t=>{e.r(a),e.d(a,{default:()=>n});var s=e(74561),r=e(65940),o=e(51900),i=t([r]);r=(i.then?await i:i)[0];const n=(0,o.Z)(r.Z,s.s,s.x,!1,null,null,null).exports}))},65940:(t,a,e)=>{e.a(t,(async t=>{e.d(a,{Z:()=>o});var s=e(71611),r=t([s]);const o=(s=(r.then?await r:r)[0]).Z}))},74561:(t,a,e)=>{e.d(a,{s:()=>s,x:()=>r});var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"project-metadata-product-group-wrapper"},[e("div",{staticClass:"border rounded my-4 p-4"},[e("h1",{staticClass:"text-bodblue-dark"},[t._v("\n "+t._s(t.$t("project.metadata.productGroup.title"))+"\n "),e(t.helpinfo("productGroup"),{tag:"component"})],1),t._v(" "),e("p",[t._v("\n "+t._s(t.$t("project.metadata.productGroup.description"))+"\n ")]),t._v(" "),e("metadata-product-group",{ref:"metadataProductGroup",attrs:{data:t.data,isProject:!0},on:{input:t.updateThemaItems}}),t._v(" "),e("ValidationProvider",{ref:"themaItemsHash",attrs:{vid:"themaItemsHash",slim:""}},[e("input",{attrs:{type:"hidden"},domProps:{value:t.themaItemsHash}})]),t._v(" "),e("ValidationProvider",{attrs:{vid:"themaItemsEmpty",rules:"required",slim:""},scopedSlots:t._u([{key:"default",fn:function(a){var s=a.classes,r=a.invalid;return[e("div",{class:{"is-invalid":r}},[e("input",{class:["form-control"].concat(s),attrs:{type:"hidden"},domProps:{value:t.isThemaItemsEmpty}}),t._v(" "),e("span",{staticClass:"invalid-feedback"},[t._v("\n "+t._s(t.$t("project.metadata.productGroup.validator.themaItemsEmpty"))+"\n ")])])]}}])}),t._v(" "),e("ValidationProvider",{attrs:{vid:"themaItemsErrors",rules:"required",slim:""},scopedSlots:t._u([{key:"default",fn:function(a){var s=a.classes,r=a.invalid;return[e("div",{class:{"is-invalid":r}},[e("input",{class:["form-control"].concat(s),attrs:{type:"hidden"},domProps:{value:t.themaItemsErrors}})])]}}])}),t._v(" "),t.isThemaPreviousVersion?[e("ValidationProvider",{attrs:{vid:"themaFromLastVersion",slim:""}},[e("div",{staticClass:"form-check mt-5"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.data.themaFromLastVersion,expression:"data.themaFromLastVersion"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"themaFromLastVersion",name:"themaFromLastVersion"},domProps:{checked:Array.isArray(t.data.themaFromLastVersion)?t._i(t.data.themaFromLastVersion,null)>-1:t.data.themaFromLastVersion},on:{change:function(a){var e=t.data.themaFromLastVersion,s=a.target,r=!!s.checked;if(Array.isArray(e)){var o=t._i(e,null);s.checked?o<0&&t.$set(t.data,"themaFromLastVersion",e.concat([null])):o>
1-1&&t.$set(t.data,"themaFromLastVersion",e.slice(0,o).concat(e.slice(o+1)))}else t.$set(t.data,"themaFromLastVersion",r)}}}),t._v(" "),e("label",{staticClass:"form-check-label",attrs:{for:"themaFromLastVersion"}},[e("b",[t._v(t._s(t.$t("project.metadata.productGroup.previousVersionTitle")))])])])])]:t._e()],2)])},r=[]}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.