{"version":3,"sources":["webpack:///./src/views/ui-elements/FAMSUI/PBAnalytics.vue","webpack:///src/views/ui-elements/FAMSUI/PBAnalytics.vue","webpack:///./src/views/ui-elements/FAMSUI/PBAnalytics.vue?5dd1","webpack:///./src/views/ui-elements/FAMSUI/PBAnalytics.vue?6520"],"names":["render","_vm","this","_c","_self","directives","name","rawName","value","isListHidden","expression","ref","staticClass","attrs","itemsPerPage","PowerBiAPI","scopedSlots","_u","key","fn","_ref","data","_l","tr","indextr","on","$event","stopPropagation","PBISelected","pb","_v","_s","isInfoHiddenPB","url","powerType","model","selected","callback","$$v","slot","GetGrid","currentPage","length","isInfoHidden","mreport","resultInMinutes","cancelReportViewer","staticStyle","staticRenderFns","accesstoken","expiredate","PowerBiInfo","isMounted","mtoken","mid","components","flatPickr","computed","$refs","gridTable","currentx","mounted","GetAccess_Token","methods","self","embedConfiguration","type","accessToken","embedUrl","pageView","settings","filterPaneEnabled","navContentPaneEnabled","layoutType","pbi","LayoutType","Custom","customLayout","displayOption","DisplayOption","ActualSize","reportContainer","document","getElementById","powerbi","Service","hpmFactory","wpmpFactory","routerFactory","report","embedNew","off","console","log","localStorage","startTime","Date","endTime","difference","getTime","Math","round","refreshToken","e","GetToken","successNotify","$vs","notify","title","text","color","FailedNotify","showLoadingOnElement","element","scale","loading","container","$el","onSuccess","response","onFinally","close","$ajaxGet","removeItem","access_token","expire_Date","component"],"mappings":"8JAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,OAAQP,EAAIQ,aAAcC,WAAW,kBAAkBC,IAAI,WAAWC,YAAY,OAAOC,MAAM,CAAC,MAAQ,wBAAwB,CAACV,EAAG,MAAM,CAACA,EAAG,WAAW,CAACQ,IAAI,YAAYC,YAAY,4BAA4BC,MAAM,CAAC,WAAa,GAAG,YAAYZ,EAA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A5C,YAEAc,EAAAsC,eAEA,MAAAC,GACAvC,EAAAsC,oBAIAtC,EAAAsC,gBAGAA,aAAA,WACA,IAAAtC,EAAA,KACAA,EAAAwC,WACAxC,EAAAf,YAAA6C,aAAA7C,YACAe,EAAAd,WAAA4C,aAAA5C,WACAc,EAAAnB,iBAAA,IAAAmB,EAAAnB,gBAAA,KAEAC,mBAAA,WACA,IAAAkB,EAAA,KACAA,EAAAvD,cAAA,EACAuD,EAAArB,cAAA,GAEA8D,cAAA,WACA,KAAAC,IAAAC,OAAA,CACAC,MAAA,eACAC,KAAA,8CACAC,MAAA,aAGAC,aAAA,WACA,KAAAL,IAAAC,OAAA,CACAC,MAAA,kBACAC,KAAA,iBACAC,MAAA,YAGAE,qBAAA,SAAAC,EAAAC,EAAAhD,GACA,IAAAF,EAAA,KACAA,EAAA0C,IAAAS,QAAA,CACAjD,OACAkD,UAAApD,EAAAN,MAAAuD,GAAAI,IACAH,WAGA1E,QAAA,WACA,IAAAwB,EAAA,KACAA,EAAAgD,qBAAA,wBACA,IAAAM,EAAA,SAAAC,GACAvD,EAAAjD,WAAAwG,EAAAlG,MAEAmG,EAAA,WACAxD,EAAA0C,IAAAS,QAAAM,MAAAzD,EAAAN,MAAAC,UAAA0D,MAEArD,EAAA0D,SACA1D,EACA,wBACAsD,EACAE,IAGAhB,SAAA,WACA,IAAAxC,EAAA,KACAsD,EAAA,SAAAC,GACAvD,EAAAnB,gBAAA,GACAiD,aAAA6B,WAAA,cACA7B,aAAA6B,WAAA,eACA7B,aAAA7C,YAAAsE,EAAAlG,KAAAuG,aACA9B,aAAA5C,WAAAqE,EAAAlG,KAAAwG,aAEAL,EAAA,aAEAxD,EAAA0D,SACA1D,EACA,mCACAsD,EACAE,OClQkX,I,YCO9WM,EAAY,eACd,EACA9H,EACAgD,GACA,EACA,KACA,KACA,MAIa,aAAA8E,E","file":"js/chunk-f45bd198.d4acdced.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('vx-card',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isListHidden),expression:\"!isListHidden\"}],ref:\"MainCard\",staticClass:\"pb-3\",attrs:{\"title\":\"FAMS Analytics View\"}},[_c('div',[_c('vs-table',{ref:\"gridTable\",staticClass:\"vs-con-loading__container\",attrs:{\"pagination\":\"\",\"max-items\":_vm.itemsPerPage,\"search\":\"\",\"data\":_vm.PowerBiAPI},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return _vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr,attrs:{\"data\":tr}},[_c('vs-td',{staticClass:\"whitespace-no-wrap\"},[_c('vx-tooltip',{attrs:{\"text\":\"Show Report\"}},[_c('feather-icon',{attrs:{\"icon\":\"EyeIcon\",\"svgClasses\":\"w-5 h-5 hover:text-primary stroke-current\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.PBISelected(tr)}}})],1)],1),_c('vs-td',{attrs:{\"data\":tr.pb[0].name}},[_vm._v(_vm._s(tr.pb[0].name))]),_c('vs-td',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isInfoHiddenPB),expression:\"!isInfoHiddenPB\"}],attrs:{\"data\":tr.pb[0].url}},[_vm._v(_vm._s(tr.pb[0].url))]),_c('vs-td',{attrs:{\"data\":tr.pb[0].powerType}},[_vm._v(_vm._s(tr.pb[0].powerType))])],1)})}}]),model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}},[_c('div',{staticClass:\"flex flex-wrap-reverse items-center flex-grow\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('vs-button',{staticClass:\"rounded-lg mr-2\",attrs:{\"color\":\"warning\",\"type\":\"filled\",\"icon-pack\":\"feather\",\"icon\":\"icon-refresh-ccw\"},on:{\"click\":function($event){return _vm.GetGrid()}}},[_vm._v(\"Reload\")]),_c('vs-dropdown',{staticClass:\"cursor-pointer mr-4\",attrs:{\"vs-trigger-click\":\"\"}},[_c('div',{staticClass:\"p-4 border border-solid border-grey-light rounded-full d-theme-dark-bg cursor-pointer flex items-center justify-between font-medium\"},[_c('span',{staticClass:\"mr-2\"},[_vm._v(_vm._s(_vm.currentPage * _vm.itemsPerPage - (_vm.itemsPerPage - 1))+\" - \"+_vm._s(_vm.PowerBiAPI.length - _vm.currentPage * _vm.itemsPerPage > 0 ? _vm.currentPage * _vm.itemsPerPage : _vm.PowerBiAPI.length)+\" of \"+_vm._s(_vm.PowerBiAPI.length))]),_c('feather-icon',{attrs:{\"icon\":\"ChevronDownIcon\",\"svgClasses\":\"h-4 w-4\"}})],1),_c('vs-dropdown-menu',[_c('vs-dropdown-item',{on:{\"click\":function($event){_vm.itemsPerPage=10}}},[_c('span',[_vm._v(\"10\")])]),_c('vs-dropdown-item',{on:{\"click\":function($event){_vm.itemsPerPage=20}}},[_c('span',[_vm._v(\"20\")])]),_c('vs-dropdown-item',{on:{\"click\":function($event){_vm.itemsPerPage=50}}},[_c('span',[_vm._v(\"50\")])]),_c('vs-dropdown-item',{on:{\"click\":function($event){_vm.itemsPerPage=100}}},[_c('span',[_vm._v(\"100\")])])],1)],1)],1),_c('template',{slot:\"thead\"},[_c('vs-th',[_vm._v(\"View\")]),_c('vs-th',{attrs:{\"sort-key\":\"Report\"}},[_vm._v(\"Analytics\")]),_c('vs-th',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isInfoHiddenPB),expression:\"!isInfoHiddenPB\"}],attrs:{\"sort-key\":\"PowerBi\"}},[_vm._v(\"PowerBi\")]),_c('vs-th',{attrs:{\"sort-key\":\"PowerType\"}},[_vm._v(\"AnalyticsType\")])],1)],2)],1)]),_c('vs-spacer'),_c('br'),_c('div',[_c('vx-card',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isInfoHidden),expression:\"!isInfoHidden\"}],ref:\"reportInfo\",attrs:{\"id\":\"reportPowerbiCard\"}},[_c('div',{staticClass:\"vx-row\"},[_c('vs-spacer'),_c('div',{staticClass:\"vx-col\"})],1),_c('div',{staticClass:\"vx-row px-4 pb-3\"},[_c('div',{staticClass:\"vx-col flex-1\"},[_c('h1',[_c('span',[_vm._v(_vm._s(_vm.mreport))])]),_c('vs-spacer'),_c('h3',[_c('span',[_vm._v(_vm._s(\"(Token valid - \" + _vm.resultInMinutes + \" mins!)\"))])])],1),_c('div',{staticClass:\"vx-col flex-2\"},[_c('vs-button',{staticClass:\"rounded-lg mb-2\",attrs:{\"color\":\"warning\",\"type\":\"border\"},on:{\"click\":_vm.cancelReportViewer}},[_vm._v(\"Close\")])],1)]),_c('vs-divider',{staticClass:\"mb-6 pt-0\"}),_c('div',{ref:\"container\",staticStyle:{\"height\":\"78vh\",\"width\":\"80vw\"},attrs:{\"id\":\"container\"}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n\r\n \r\n \r\n \r\n \r\n Reload\r\n \r\n \r\n {{ currentPage * itemsPerPage - (itemsPerPage - 1) }} - {{ PowerBiAPI.length - currentPage * itemsPerPage > 0 ? currentPage * itemsPerPage : PowerBiAPI.length }} of {{ PowerBiAPI.length }}\r\n \r\n \r\n \r\n \r\n 10\r\n \r\n \r\n 20\r\n \r\n \r\n 50\r\n \r\n \r\n 100\r\n \r\n \r\n \r\n \r\n \r\n View\r\n Analytics\r\n PowerBi \r\n AnalyticsType \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{tr.pb[0].name}}\r\n {{tr.pb[0].url}}\r\n {{tr.pb[0].powerType}}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{mreport}}\r\n \r\n {{\"(Token valid - \" + resultInMinutes + \" mins!)\"}}\r\n \r\n \r\n Close\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PBAnalytics.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PBAnalytics.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PBAnalytics.vue?vue&type=template&id=04b43c8a\"\nimport script from \"./PBAnalytics.vue?vue&type=script&lang=js\"\nexport * from \"./PBAnalytics.vue?vue&type=script&lang=js\"\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"],"sourceRoot":""}