{"version":3,"sources":["webpack:///./src/ui-components/header/mobileHeader/mobileHeader.vue?56ec","webpack:///./src/ui-components/header/mobileHeader/mobileHeader.ts","webpack:///./src/ui-components/header/mobileHeader/mobileHeader.vue?3a7d","webpack:///./src/ui-components/header/mobileHeader/mobileHeader.vue?2d12","webpack:///./src/ui-components/header/mobileHeader/mobileHeader.vue","webpack:///./src/ui-components/header/assets/images/mobile-navs sync ^\\.\\/.*$","webpack:///./src/ui-components/header/mobileHeader/mobileHeader.less?cc0e"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","on","close","_l","headerProps","navItem","navIndex","key","class","isSelected","$event","isNested","route","visitRoute","visitRedirectRoute","baseUrl","directives","name","rawName","value","profile","touchStart","title","expression","arg","touchEnd","dropdownClass","_v","_s","openStatus","nestedDrop","length","_e","hoverText","firstNameTooltip","dropItem","dropdownIndex","callback","emitEvent","visitNestedRoute","redirectRoute","toLowerCase","split","join","el","index","preventDefault","siteName","staticRenderFns","MobileHeader","headerInput","navView","forEach","elIndex","hasOwnProperty","nestEl","dropIndex","nestElIndex","$emit","item","callEvent","data","selected","onValidRoutePush","emitRedirectRoute","dropSelection","roleType","JSON","parse","stringify","header","filter","removeForMobile","currentRoute","$router","path","some","nestedEl","emitRoute","closeDropdowns","hoverId","userInformation","document","querySelector","computedStyle","window","getComputedStyle","nameWidth","width","nameWidthInSpliced","slice","parseFloat","val","id","callHover","callHoverOut","filterHeader","Vue","tslib_1","Prop","Component","component","map","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports"],"mappings":"kJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,gBAAgB,eAAe,+DAA+D,CAACF,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,SAAS,CAACG,YAAY,kBAAkBD,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C,KAAKuC,UAAUA,KAG1B,qCAGGvC,KAAKuC,UAAY,KACpB,iCACU2D,EAAYC,EAAW9D,GAAc,WAC5C,OAAO,WACH,EAAK+D,UAAUF,EAAKC,EAAI9D,MAE/B,iCACO,WACJ,OAAO,WACH,EAAKgE,kBAEZ,kCA3JG,OAAOrG,KAAKsG,mBACf,EAT4B,CAASC,QAKtCC,QADCC,kBAAM,kCAJUlD,EAAY,QAHhCmD,eAAU,CACPnF,KAAM,YAEWgC,WC2CNA,ICjD4Z,I,wBCQvaoD,EAAY,eACd,EACA7G,EACAwD,GACA,EACA,KACA,WACA,MAIa,aAAAqD,E,gCCnBf,IAAIC,EAAM,CACT,qBAAsB,OACtB,uBAAwB,OACxB,iBAAkB,OAClB,sBAAuB,OACvB,sBAAuB,OACvB,iBAAkB,OAClB,wBAAyB,OACzB,qBAAsB,OACtB,gBAAiB,OACjB,2BAA4B,OAC5B,mBAAoB,OACpB,kBAAmB,OACnB,iBAAkB,OAClB,cAAe,OACf,aAAc,OACd,mBAAoB,QAIrB,SAASC,EAAeC,GACvB,IAAIX,EAAKY,EAAsBD,GAC/B,OAAOE,EAAoBb,GAE5B,SAASY,EAAsBD,GAC9B,IAAIE,EAAoBC,EAAEL,EAAKE,GAAM,CACpC,IAAII,EAAI,IAAIC,MAAM,uBAAyBL,EAAM,KAEjD,MADAI,EAAEE,KAAO,mBACHF,EAEP,OAAON,EAAIE,GAEZD,EAAeQ,KAAO,WACrB,OAAOC,OAAOD,KAAKT,IAEpBC,EAAeU,QAAUR,EACzBS,EAAOC,QAAUZ,EACjBA,EAAeV,GAAK,Q,oCCrCpB","file":"js/chunk-2a92543e.085c951b9bb2b1fcb4a4.1730771797376.min.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"mobile-header\",\"uk-offcanvas\":\"flip: true; overlay: true;esc-close: false;bg-close: false\"}},[_c('div',{staticClass:\"uk-offcanvas-bar\"},[_c('button',{staticClass:\"offcanvas-close\",attrs:{\"bx-attr\":\"close-header-button\",\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('img',{attrs:{\"src\":require(\"./../assets/images/closeIconBlack.svg\"),\"alt\":\"\"}})]),_c('div',{staticClass:\"top-nav\"},_vm._l((_vm.headerProps.navView),function(navItem,navIndex){return _c('div',{key:navIndex,staticClass:\"nav-dropdown\"},[_c('div',{staticClass:\"parent-title\",class:[navItem.isSelected && 'selected'],attrs:{\"bx-attr\":\"visit-route\"},on:{\"click\":function($event){((!navItem.isNested && navItem.route) ? _vm.visitRoute(navIndex, navItem.route) : _vm.visitRedirectRoute(navIndex, navItem.baseUrl))}}},[_c('span',{staticClass:\"logo\"},[_c('img',{attrs:{\"src\":require((\"./../assets/images/mobile-navs/\" + (navItem.image))),\"alt\":\"home\"}})]),_c('span',{directives:[{name:\"touch\",rawName:\"v-touch:touchhold\",value:(navItem.profile ? _vm.touchStart(navItem.title,'profile') : ''),expression:\"navItem.profile ? touchStart(navItem.title,'profile') : ''\",arg:\"touchhold\"},{name:\"touch\",rawName:\"v-touch:end\",value:(_vm.touchEnd()),expression:\"touchEnd()\",arg:\"end\"}],staticClass:\"name\",class:[navItem.dropdownClass, navItem.profile && 'ellipsis wd-75']},[_vm._v(_vm._s(navItem.title))]),(navItem.isNested && !navItem.openStatus && navItem.nestedDrop.length)?_c('span',{staticClass:\"arrow\",class:[navItem.isSelected && navItem.dropdownClass]}):_vm._e(),(navItem.isNested && navItem.openStatus && navItem.nestedDrop.length)?_c('span',{staticClass:\"arrowUp\",class:[navItem.isSelected && navItem.dropdownClass]}):_vm._e(),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hoverText==navItem.title && _vm.firstNameTooltip),expression:\"hoverText==navItem.title && firstNameTooltip\"}],staticClass:\"hover-program tooltip-new\",attrs:{\"id\":\"hoverElement\"}},[_vm._v(_vm._s(navItem.title))])]),(navItem.isNested && navItem.openStatus)?_c('div',{staticClass:\"dropdown\"},[_c('ul',{class:[navItem.dropdownClass]},_vm._l((navItem.nestedDrop),function(dropItem,dropdownIndex){return _c('li',{key:dropdownIndex,staticClass:\"dropdown-item\",class:[dropItem.isSelected && 'dark-bold']},[_c('div',{staticClass:\"child-title\",attrs:{\"bx-attr\":\"dropdown-button\"},on:{\"click\":function($event){dropItem.callback ? \n _vm.emitEvent(dropItem.callback, dropItem) : \n ((!dropItem.isNested && dropItem.route) ? \n _vm.visitNestedRoute(dropdownIndex, dropItem.route) : _vm.redirectRoute(dropdownIndex, dropItem.baseUrl))}}},[_c('span',{staticClass:\"name\",class:[navItem.dropdownClass],attrs:{\"bx-attr\":(\"dropdown-mobile-button-\" + (dropItem.title.toLowerCase().split(' ').join('-')))}},[_vm._v(_vm._s(dropItem.title))]),(dropItem.isNested && !dropItem.openStatus)?_c('span',{staticClass:\"arrow white\"}):_vm._e(),(dropItem.isNested && dropItem.openStatus)?_c('span',{staticClass:\"arrowUp white\"}):_vm._e()]),(dropItem.isNested && dropItem.openStatus)?_c('ul',_vm._l((dropItem.nestedList),function(el,index){return _c('li',{key:index,staticClass:\"subdropdown-item border-white\"},[_c('div',{staticClass:\"child-title\",attrs:{\"bx-attr\":(\"emit-mobile-\" + (el.siteName))},on:{\"click\":function($event){$event.preventDefault();el.callback && _vm.emitEvent(el.callback, el)}}},[_c('span',{directives:[{name:\"touch\",rawName:\"v-touch:touchhold\",value:(_vm.touchStart(el.siteName,'sites', 28)),expression:\"touchStart(el.siteName,'sites', 28)\",arg:\"touchhold\"},{name:\"touch\",rawName:\"v-touch:end\",value:(_vm.touchEnd()),expression:\"touchEnd()\",arg:\"end\"}],staticClass:\"name ellipsis\"},[_vm._v(_vm._s(el.siteName))])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hoverText==el.siteName),expression:\"hoverText==el.siteName\"}],staticClass:\"hover-program\",attrs:{\"id\":\"hoverElement\"}},[_vm._v(_vm._s(el.siteName))])])}),0):_vm._e()])}),0)]):_vm._e()])}),0),_c('div',{staticClass:\"logout-link\"},[_c('a',{attrs:{\"bx-attr\":\"header-logout-button\"},on:{\"click\":function($event){return _vm.emitEvent('logout', {})}}},[_vm._v(\"Logout\")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from 'vue-property-decorator';\nimport { IHeader } from './../models/IHeader';\n\n@Component({\n name: 'Header'\n})\nexport default class MobileHeader extends Vue {\n public hoverText: string = ''\n public firstNameTooltip: boolean = false;\n\n @Prop()\n headerInput!: IHeader;\n\n get headerProps() {\n return this.filterHeader();\n }\n\n selected(index: number) {\n this.headerInput.navView.forEach((el, elIndex) => {\n el.isSelected = false;\n if((elIndex == index) && el.hasOwnProperty('openStatus')) {\n el.openStatus = !el.openStatus;\n } else if(el.hasOwnProperty('openStatus')) {\n el.openStatus = false;\n }\n el.nestedDrop && el.nestedDrop.forEach((nestEl) => {\n if (nestEl.hasOwnProperty('isSelected')) {\n nestEl.isSelected = false;\n if(nestEl.hasOwnProperty('openStatus')) {\n nestEl.openStatus = false;\n }\n }\n })\n })\n this.headerInput.navView[index].isSelected = true;\n }\n\n dropSelection(dropIndex: number) {\n this.headerInput.navView.forEach((el) => {\n el.nestedDrop && el.nestedDrop.forEach((nestEl, nestElIndex) => {\n if((nestElIndex == dropIndex) && nestEl.hasOwnProperty('isSelected')) {\n nestEl.isSelected = true;\n if(nestEl.hasOwnProperty('openStatus')) {\n nestEl.openStatus = !nestEl.openStatus;\n }\n } else if (nestEl.hasOwnProperty('isSelected')) {\n nestEl.isSelected = false;\n if(nestEl.hasOwnProperty('openStatus')) {\n nestEl.openStatus = false;\n }\n }\n })\n })\n }\n\n\n emitRoute(route: string) {\n if(route) {\n this.$emit('visitRoute', `${route}`);\n }\n }\n\n emitRedirectRoute(route: string) {\n if(route) {\n this.$emit('redirectRoute', `${route}`);\n }\n }\n\n emitEvent(callback: string, item: object) {\n this.$emit('emitEvent', {callEvent:callback, data: item});\n if(callback===\"siteVisit\") {\n this.close();\n }\n }\n\n visitRoute(index: number, route: string) {\n this.selected(index);\n this.onValidRoutePush(route);\n }\n\n visitRedirectRoute(index: number, route: string) {\n this.selected(index);\n this.emitRedirectRoute(route);\n }\n\n visitNestedRoute(index: number, route: string) {\n this.dropSelection(index);\n this.onValidRoutePush(route);\n }\n\n redirectRoute(index: number, route: string) {\n this.dropSelection(index);\n this.emitRedirectRoute(route);\n }\n\n filterHeader() {\n let headerInput: IHeader;\n if(this.headerInput && this.headerInput.navView && (this.headerInput.navView.length>0) && this.headerInput.roleType) {\n headerInput = JSON.parse(JSON.stringify(this.headerInput));\n for(let header of headerInput.navView) {\n if(header.profile) {\n header.nestedDrop = header.nestedDrop && header.nestedDrop.filter((item) => {\n return !item.removeForMobile;\n })\n break;\n }\n }\n } else {\n headerInput = {} as IHeader;\n }\n return headerInput;\n }\n\n closeDropdowns() {\n const currentRoute = this.$router.currentRoute.path;\n this.headerInput.navView.forEach((el) => {\n if(el.hasOwnProperty('openStatus') && el.openStatus && el.nestedDrop && !el.nestedDrop.some((nestedEl) => {return (nestedEl.route === currentRoute)})) {\n el.openStatus = false; \n el.nestedDrop && el.nestedDrop.forEach((nestEl) => {\n if(nestEl.hasOwnProperty('openStatus') && nestEl.openStatus) {\n nestEl.openStatus = false;\n }\n }) \n }\n })\n }\n\n onValidRoutePush(route: string) {\n const currentRoute = this.$router.currentRoute.path;\n if(currentRoute !== route) {\n this.emitRoute(route);\n }\n this.close();\n }\n\n close() {\n this.closeDropdowns();\n this.$emit('close');\n }\n callHover(hoverText: string, hoverId: string, length: number) {\n if (hoverText !== 'N/A' && hoverText !== '' ) {\n if(hoverId=='profile'){\n this.hoverText = hoverText;\n const userInformation=document.querySelector('.ellipsis');\n const computedStyle=window && window.getComputedStyle(userInformation);\n const nameWidth=computedStyle.width || '';\n const nameWidthInSpliced=nameWidth.slice(0,6);\n if(nameWidthInSpliced && parseFloat(nameWidthInSpliced)>179.14){\n this.firstNameTooltip=true;\n }\n }\n else if(hoverText.length>length){\n this.hoverText=hoverText;\n }\n }\n }\n \n callHoverOut() {\n this.hoverText = \"\";\n }\n touchStart(val:string, id:string, length: number) {\n return () => {\n this.callHover(val, id, length);\n }\n }\n touchEnd(){\n return () => {\n this.callHoverOut();\n }\n }\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 MobileHeader from '@/ui-components/header/mobileHeader/mobileHeader';\nexport default MobileHeader;\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!./mobileHeader.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!./mobileHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./mobileHeader.vue?vue&type=template&id=7b300310&scoped=true&\"\nimport script from \"./mobileHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./mobileHeader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./mobileHeader.less?vue&type=style&index=0&id=7b300310&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 \"7b300310\",\n null\n \n)\n\nexport default component.exports","var map = {\n\t\"./bluelistdrop.svg\": \"dce5\",\n\t\"./brightbluedrop.svg\": \"862d\",\n\t\"./dropdown.svg\": \"4f49\",\n\t\"./dropdownWhite.svg\": \"8f24\",\n\t\"./greenlistdrop.svg\": \"ea78\",\n\t\"./homeicon.svg\": \"2710\",\n\t\"./managerusericon.svg\": \"9450\",\n\t\"./pinklistdrop.svg\": \"8820\",\n\t\"./profile.svg\": \"f708\",\n\t\"./programplannericon.svg\": \"1495\",\n\t\"./purpledrop.svg\": \"34bb\",\n\t\"./resources.svg\": \"4ee9\",\n\t\"./scholars.svg\": \"0c94\",\n\t\"./sites.svg\": \"ddce\",\n\t\"./user.svg\": \"d6eb\",\n\t\"./voiletdrop.svg\": \"5c84\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"847c\";","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!./mobileHeader.less?vue&type=style&index=0&id=7b300310&lang=less&scoped=true&\""],"sourceRoot":""}