{"version":3,"sources":["webpack:///./src/assets/images/icon-purple/site-normal.svg","webpack:///./src/assets/images/program/AddNew/task-file-icon.svg","webpack:///./src/popupcomponents/qualityScoreView/qualityScoreView.vue?9cd9","webpack:///./src/popupcomponents/qualityScoreView/qualityScoreView.ts","webpack:///./src/popupcomponents/qualityScoreView/qualityScoreView.vue?26bc","webpack:///./src/popupcomponents/qualityScoreView/qualityScoreView.vue?f9cb","webpack:///./src/popupcomponents/qualityScoreView/qualityScoreView.vue","webpack:///./src/assets/images/icon-blue/delete-icon-blue.svg","webpack:///./src/popupcomponents/qualityScoreView/qualityScoreView.less?44b9","webpack:///./src/assets/images/icon-blue/edit-icon.svg","webpack:///./src/components/datadashboardcomponent/datadashboardsidepanel/fileUpload.less?723f"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","style","attrs","_v","_s","hoverVal","_e","selectedSiteId","index","qualityScoreObj","site","getScreenText","week","siteId","roleId","directives","name","rawName","value","deleteScore","expression","on","$event","showDeletePopUp","class","bottomViewTooltip","closeDeletePopUp","deleteQualityScores","editScore","formatDateView","assessmentDate","score","callHover","evaluaterName","callHoverOut","notes","fileId","downLoadFile","fileUrl","toolTipcallHover","fileName","toolTipcallHoverOut","toolTiphovering","toolTiphoverText","length","toolTipHoverIndex","staticRenderFns","qualityScoreView","objScreenText","ScreenText","hover","hoverStyleObj","mobileView","scoreId","key","date","APP_UTILITIES","formatDate","$emit","qualityScoreId","ulr","localUrl","isMobile","window","open","coreids","document","documentElement","clientWidth","addEventListener","debounce","text","removeEventListener","hoverText","target","offsetWidth","scrollWidth","boundBox","getBoundingClientRect","coordX","left","coordY","top","toString","i","id","windowHeight","screen","height","bottomTooltip","getElementsByClassName","deleteIconCurrent","getElementById","y","classList","remove","deleteQualityScore","then","res","status","APP_CONST","RESPONSE_200","catch","error","Vue","tslib_1","Prop","Component","component"],"mappings":"mGAAAA,EAAOC,QAAU,IAA0B,gC,qBCA3CD,EAAOC,QAAU,IAA0B,mC,2CCA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AS1D,KAAK0D,QAAU1D,KAAKgE,eAC7CqC,eAAmBX,GAAIY,MAAK,SAACC,GACvBA,EAAIC,SAAWC,OAAUC,eAC3B,EAAKlF,aAAc,EACnB,EAAKuC,MAAM,kBAAmB2B,EAAI,EAAK5E,qBAExC6F,OAAM,SAACC,SAEX,yCAGC5G,KAAKwB,aAAc,MACpB,EA7HkC,CAASqF,QAY1CC,QADCC,kBAAM,sCAIPD,QADCC,kBAAM,4BAIPD,QADCC,kBAAM,gCAGPD,QADCC,kBAAM,qCAIPD,QADCC,kBAAM,iCAIPD,QADCC,kBAAM,6BAIPD,QADCC,kBAAM,qCA5BU3D,EAAgB,QAFpC4D,QAEoB5D,WC6DNA,ICrE8Y,I,kCCSzZ6D,EAAY,eACd,EACAnH,EACAqD,GACA,EACA,KACA,WACA,MAIa,aAAA8D,E,gCCpBfrH,EAAOC,QAAU,IAA0B,qC,yDCA3C,W,qBCAAD,EAAOC,QAAU,IAA0B,8B,yDCA3C","file":"js/chunk-7fa5bf42.b4defc730b4a7ca207e1.1725496708077.min.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/site-normal.a7ca4b5d.svg\";","module.exports = __webpack_public_path__ + \"img/task-file-icon.6dce3a40.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"qualityScoreView\"},[(_vm.hover)?_c('div',{staticClass:\"tooltip-new\",style:(_vm.hoverStyleObj),attrs:{\"bx-attr\":\"quality-tooltip\"}},[_vm._v(\" \"+_vm._s(_vm.hoverVal)+\" \")]):_vm._e(),(_vm.selectedSiteId == 0)?_c('div',{staticClass:\"mb-16 site-name\"},[_c('img',{attrs:{\"bx-attr\":\"site-image\",\"src\":require(\"../../assets/images/icon-purple/site-normal.svg\")}}),_c('span',{attrs:{\"bx-attr\":(\"site-name\" + _vm.index)}},[_vm._v(_vm._s(_vm.qualityScoreObj.site))])]):_vm._e(),_c('div',{staticClass:\"mb-16\"},[_c('div',{staticClass:\"date-row\"},[_c('div',{staticClass:\"display-flex\"},[_c('label',{attrs:{\"bx-attr\":(\"quality-date-label\" + _vm.index)}},[_vm._v(_vm._s(_vm.getScreenText(\"DATE\"))+\": \")]),_c('span',{staticClass:\"pl-4\",attrs:{\"bx-attr\":(\"quality-week-label\" + _vm.index)}},[_vm._v(_vm._s(\"Week \"+ _vm.qualityScoreObj.week))])]),(((_vm.qualityScoreObj.siteId == _vm.siteId)|| (this.roleId != 6)))?_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(function () {_vm.deleteScore=false;}),expression:\"() => {deleteScore=false;}\"}],staticClass:\"edit-delete-icon\"},[_c('img',{attrs:{\"bx-attr\":(\"quality-delete-icon\" + _vm.index),\"src\":require(\"../../assets/images/icon-blue/delete-icon-blue.svg\"),\"alt\":\"\",\"id\":(\"deleteCurrentScore\" + _vm.index)},on:{\"click\":function($event){return _vm.showDeletePopUp(_vm.qualityScoreObj,_vm.index)}}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.deleteScore),expression:\"deleteScore\"}],staticClass:\"delete-view\",class:_vm.bottomViewTooltip? 'bottom-view-tooltip' :''},[_c('div',{staticClass:\"delete-popup-container\"},[_c('div',{staticClass:\"popup-text\",attrs:{\"bx-attr\":(\"quality-delete-text\" + _vm.index)}},[_vm._v(_vm._s(_vm.getScreenText(\"LABEL_CONFIRM_DELETE_MSG_QUALITY_SCORE\")))]),_c('div',{staticClass:\"btn-primary pointer-all\",attrs:{\"bx-attr\":(\"quality-delete-cancel-btn\" + _vm.index)},on:{\"click\":_vm.closeDeletePopUp}},[_vm._v(\" \"+_vm._s(_vm.getScreenText(\"BTN_CANCEL_CAPS\"))+\" \")]),_c('div',{staticClass:\"delete-site site-panel\"},[_c('a',{attrs:{\"bx-attr\":(\"quality-delete\" + _vm.index)},on:{\"click\":_vm.deleteQualityScores}},[_vm._v(_vm._s(_vm.getScreenText(\"BTN_PROCEED_DELETE_QUALTY_SCORE\")))])])])]),_c('img',{attrs:{\"bx-attr\":(\"quality-edit-icon\" + _vm.index),\"src\":require(\"../../assets/images/icon-blue/edit-icon.svg\"),\"alt\":\"\"},on:{\"click\":_vm.editScore}})]):_vm._e()]),_c('div',{attrs:{\"bx-attr\":(\"quality-date\" + _vm.index)}},[_vm._v(\" \"+_vm._s('('+ _vm.formatDateView(_vm.qualityScoreObj.assessmentDate) + ')')+\" \")])]),_c('div',{staticClass:\"mb-16\"},[_c('label',{attrs:{\"bx-attr\":(\"quality-rating\" + _vm.index)}},[_vm._v(_vm._s(_vm.getScreenText(\"RATING\"))+\":\")]),_vm._v(\" \"+_vm._s(_vm.qualityScoreObj.score)+\" \")]),_c('div',{staticClass:\"mb-16\"},[_c('label',{attrs:{\"bx-attr\":(\"quality-name-label\" + _vm.index)}},[_vm._v(_vm._s(_vm.getScreenText(\"NAME_OF_EVALUATOR\"))+\":\")]),_c('div',{staticClass:\"evaluater-name\",attrs:{\"bx-attr\":(\"quality-name\" + _vm.index)},on:{\"mouseover\":function($event){return _vm.callHover(_vm.qualityScoreObj.evaluaterName, $event)},\"mouseout\":function($event){return _vm.callHoverOut()}}},[_vm._v(_vm._s(_vm.qualityScoreObj.evaluaterName))])]),_c('div',[_c('label',{attrs:{\"bx-attr\":(\"quality-notes-label\" + _vm.index)}},[_vm._v(_vm._s(_vm.getScreenText(\"NOTES\"))+\":\")]),_c('div',{staticClass:\"notes\",attrs:{\"bx-attr\":(\"quality-notes\" + _vm.index)}},[_vm._v(_vm._s(_vm.qualityScoreObj.notes))])]),(_vm.qualityScoreObj.fileName)?_c('div',{staticClass:\"attachment-box\"},[_c('div',{staticClass:\"add-attachment\"},[_c('div',{staticClass:\"manage-attachments\"},[(_vm.qualityScoreObj.fileId)?_c('div',{staticClass:\"attachments\"},[_c('span',{staticClass:\"attachment\",class:[_vm.qualityScoreObj.fileId && 'pdr-12'],on:{\"click\":function($event){return _vm.downLoadFile(_vm.qualityScoreObj.fileUrl,_vm.qualityScoreObj.fileUrl)}}},[_c('img',{staticClass:\"file_icon\",attrs:{\"src\":require(\"../.././assets/images/program/AddNew/task-file-icon.svg\"),\"alt\":\"file\"}}),_c('strong',{attrs:{\"bx-attr\":(\"quality-fileName\" + _vm.index)},on:{\"click\":function($event){return _vm.toolTipcallHover(_vm.index, _vm.qualityScoreObj.fileName)},\"mouseover\":function($event){return _vm.toolTipcallHover(_vm.index, _vm.qualityScoreObj.fileName)},\"mouseout\":_vm.toolTipcallHoverOut}},[_vm._v(_vm._s(_vm.qualityScoreObj.fileName))]),(_vm.toolTiphovering && _vm.toolTiphoverText.length > 20 && _vm.toolTipHoverIndex == _vm.index)?_c('div',{staticClass:\"tooltip-new\",attrs:{\"bx-attr\":(\"quality-file-tooltip\" + _vm.index)}},[_vm._v(\" \"+_vm._s(_vm.toolTiphoverText)+\" \")]):_vm._e()])]):_vm._e()])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport APP_UTILITIES from \"@/utilities/commonFunctions\";\nimport { deleteQualityScore } from \"@/services/dashboard/dashboardService\";\nimport APP_CONST from '@/constants/AppConst';\n \n@Component\n\nexport default class qualityScoreView extends Vue {\n private objScreenText: ScreenText = new ScreenText();\n private hover:boolean = false;\n private hoverVal:string = \"\";\n private hoverStyleObj:any = {};\n public deleteScore: boolean = false;\n public siteId:number=0;\n public mobileView:boolean = false; \n public scoreId : number = 0;\n public bottomViewTooltip: boolean = false;\n\n @Prop()\n qualityScoreObj!:any\n\n @Prop()\n index!:1\n\n @Prop()\n fileArray!:any\n @Prop()\n qualityScoreId!:number\n\n @Prop()\n siteLength!:number\n\n @Prop()\n roleId!:number;\n\n @Prop()\n selectedSiteId!:number;\n \n toolTiphoverText: string = '';\n toolTiphovering: boolean = false;\n toolTipHoverIndex: number = -1;\n\n public getScreenText(key: string): string {\n return this.objScreenText.getScreenText(key);\n }\n\n formatDateView(date:string){\n return APP_UTILITIES.formatDate(date);\n }\n\n editScore(){\n this.$emit('editMode', this.qualityScoreObj, this.qualityScoreId);\n }\n downLoadFile(ulr:string,localUrl:string){\n if(!APP_UTILITIES.isMobile()){\n window.open(ulr,'_self')\n }\n }\n mounted(){\n let {siteId} = APP_UTILITIES.coreids();\n this.siteId=siteId;\n this.mobileView = document.documentElement.clientWidth <= 768 ? true : false;\n window.addEventListener(\"resize\", APP_UTILITIES.debounce(this.isMobile));\n }\n toolTipcallHover(index:number, text: string) {\n this. toolTiphoverText= text;\n this.toolTiphovering= true;\n this.toolTipHoverIndex = index;\n}\n\ndestroyed() {\n window.removeEventListener(\"resize\", this.isMobile);\n}\n\nisMobile(){\n this.mobileView =APP_UTILITIES.isMobile()\n}\n\ntoolTipcallHoverOut() {\n this. toolTiphoverText= '';\n this. toolTiphovering= false;\n this.toolTipHoverIndex = -1;\n} \n\ncallHover(hoverText:string,$event:any){\n if($event.target.offsetWidth < $event.target.scrollWidth){\n this.hover = true;\n this.hoverVal = hoverText;\n const boundBox = $event.target.getBoundingClientRect();\n const coordX = boundBox.left;\n const coordY = boundBox.top;\n this.hoverStyleObj = {\n top:(coordY + 30).toString() + \"px\",\n left:(coordX + 20).toString() + \"px\"\n }\n }\n }\n\n callHoverOut(){\n this.hover = false;\n this.hoverVal = \"\";\n this.hoverStyleObj = {};\n }\n\n showDeletePopUp(qualityScoreObj: any, i: any){\n this.deleteScore = !this.deleteScore;\n this.scoreId = qualityScoreObj.id;\n const windowHeight = screen.height - 200;\n const bottomTooltip = document.getElementsByClassName('delete-view')[0];\n const deleteIconCurrent:any = document.getElementById(`deleteCurrentScore${i}`);\n if( deleteIconCurrent.y > windowHeight){\n this.bottomViewTooltip = true;\n }\n else{\n this.bottomViewTooltip = false;\n bottomTooltip.classList.remove(\"bottom-view-tooltip\");\n }\n }\n\n deleteQualityScores(){\n const id = this.scoreId? this.scoreId : this.qualityScoreId;\n deleteQualityScore(id).then((res : any) => {\n if (res.status === APP_CONST.RESPONSE_200) {\n this.deleteScore = false;\n this.$emit('deleteInfoCheck', id, this.qualityScoreObj);\n } \n }).catch((error : any) => {\n }) \n }\n\n closeDeletePopUp(){\n this.deleteScore = false;\n }\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport qualityScoreView from \"@/popupcomponents/qualityScoreView/qualityScoreView\";\nexport default qualityScoreView;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./qualityScoreView.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./qualityScoreView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./qualityScoreView.vue?vue&type=template&id=363f259e&scoped=true&\"\nimport script from \"./qualityScoreView.vue?vue&type=script&lang=ts&\"\nexport * from \"./qualityScoreView.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./qualityScoreView.less?vue&type=style&index=0&id=363f259e&lang=less&scoped=true&\"\nimport style1 from \"../../components/datadashboardcomponent/datadashboardsidepanel/fileUpload.less?vue&type=style&index=1&id=363f259e&lang=less&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 \"363f259e\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/delete-icon-blue.517e22e2.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./qualityScoreView.less?vue&type=style&index=0&id=363f259e&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/edit-icon.85e8f68e.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./fileUpload.less?vue&type=style&index=1&id=363f259e&lang=less&scoped=true&\""],"sourceRoot":""}