{"version":3,"file":"app-672ea19f.d152cf98c45d962fa693.bundle.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAGA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAGA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAGA;AACA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AAGA;AAEA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;;;;;;;;;;;;;;;;;;;AC7FA;AACA;AACA;AAGA;AAGA;AACA;AAEA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AACA;AAGA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAIA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AAGA;AAEA;AAEA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;ACzGA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAGA;;;;;;;;;;;;;;AC9FA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;ACVA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AAEA;AAIA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA;;;;;;;;;;;;;;ACrIA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;ACnCA;AACA;AAGA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;;;ACnDA;AACA;AACA;AAGA;AAGA;AACA;AAEA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;ACxDA;AACA;AAGA;AAGA;AACA;AAEA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA;AACA;;;;;;;;;;;;;;;;;ACvHA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACpGA;AACA;AAIA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpBA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACxEA;AACA;AAGA;AAEA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAKA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;ACzIA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAIA;AAEA;AACA;AACA;AAEA;AAIA;AACA;AACA;AACA;AAEA;AAIA;AACA;AACA;AAEA;AAEA;AAIA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAGA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;ACpiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;;AAIA;AACA;AACA;AACA;AACA;AAGA;AAEA;AACA;AAEA;AACA;AAAA;AAEA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AACA;AAAA;AAAA;AAEA;AACA;AACA;AAEA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;ACjHA;AACA;AACA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1DA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AAEA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC3FA;AACA;AAGA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AAGA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;ACtFA;AACA;AAGA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAIA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAIA;AACA;AACA;AAGA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAGA;AAEA;AACA;AAEA;AACA;AAGA;AAEA;AACA;AAEA;AAEA;AAEA;AAGA;AAEA;AACA;AAEA;AAEA;AAGA;AAEA;AACA;AAGA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AAEA;AACA;AACA;AAIA;AACA;AAEA;AACA;AAEA;AAIA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAGA;;;;;;;;;;;;;;;;;AClOA;AACA;AAEA;AAGA;AACA;AACA;AAGA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAGA;AAEA;AAIA;AACA;AACA;AAGA;AAEA;AAIA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAGA;AACA;AAEA;AACA;AACA;AAGA;AACA;AAEA;AACA;AACA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAGA;AACA;AAEA;AACA;AACA;AAGA;AACA;AAGA;AACA;AAEA;AACA;AACA;AAGA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;;AAEA;AACA;AACA;AAGA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;;AAEA;;AAGA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAGA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAGA;AACA;AAEA;AAEA;AACA;AAGA;AACA;AAEA;AAEA;AACA;AAGA;AACA;AAEA;AAEA;AACA;AAGA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAGA;AACA;AAEA;AACA;;AAEA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AAGA;AACA;AAEA;AACA;AAEA;AAGA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AAGA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAGA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;;;AC5yBA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAGA;;;;;;;;;;;;;;;AClEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAEA;;;;;;;;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;;;;;;;;;;;;;;;;;ACjEA;AACA;AAGA;AAGA;AACA;AACA;AAEA;AAEA;AAGA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACnBA;AACA;AAGA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAGA;;;;;;;;;;;;;;;AC1BA;AAEA;AAEA;AACA;AACA;AACA;AACA","sources":["webpack://HRMSPortal/./src/shared/services/apiservice.js","webpack://HRMSPortal/./src/shared/services/appreciationservice.js","webpack://HRMSPortal/./src/shared/services/attendanceservice.js","webpack://HRMSPortal/./src/shared/services/config.js","webpack://HRMSPortal/./src/shared/services/confirmationservice.js","webpack://HRMSPortal/./src/shared/services/constants.js","webpack://HRMSPortal/./src/shared/services/dashboardservice.js","webpack://HRMSPortal/./src/shared/services/employeemasterservice.js","webpack://HRMSPortal/./src/shared/services/employeeservice.js","webpack://HRMSPortal/./src/shared/services/feedbackservice.js","webpack://HRMSPortal/./src/shared/services/headerservice.js","webpack://HRMSPortal/./src/shared/services/jwtservice.js","webpack://HRMSPortal/./src/shared/services/kraperformancereviewservice.js","webpack://HRMSPortal/./src/shared/services/leavemanagementservice.js","webpack://HRMSPortal/./src/shared/services/loginservice.js","webpack://HRMSPortal/./src/shared/services/msalService.js","webpack://HRMSPortal/./src/shared/services/myassetservices.js","webpack://HRMSPortal/./src/shared/services/organizationservice.js","webpack://HRMSPortal/./src/shared/services/performancereviewservice.js","webpack://HRMSPortal/./src/shared/services/profielservice.js","webpack://HRMSPortal/./src/shared/services/salaryrevisionservice.js","webpack://HRMSPortal/./src/shared/services/servicehelper.js","webpack://HRMSPortal/./src/shared/services/sessiontimeoutservice.js","webpack://HRMSPortal/./src/shared/services/sidebarservice.js","webpack://HRMSPortal/./src/shared/services/supportservice.js","webpack://HRMSPortal/./src/shared/services/taskservice.js","webpack://HRMSPortal/./src/shared/state/sharedstate.js"],"sourcesContent":["import {config} from './config';\r\nimport {HttpClient, json} from 'aurelia-fetch-client';\r\nimport {inject} from 'aurelia-dependency-injection';\r\nimport * as qs from 'querystringify';\r\nimport {JwtService} from './jwtservice';\r\nimport {status, parseError} from './servicehelper';\r\n\r\n@inject(HttpClient, JwtService)\r\nexport class ApiService {\r\n \r\n constructor(http,jwtService) {\r\n this.http= http;\r\n this.jwtService = jwtService; \r\n }\r\n \r\n setHeaders() {\r\n const headersConfig = {\r\n 'Content-Type': 'application/json',\r\n 'Accept': 'application/json',\r\n 'Access-Control-Allow-Origin': '*' \r\n };\r\n \r\n if (this.jwtService.getToken()) {\r\n headersConfig['Authorization'] = `Token ${this.jwtService.getToken()}`;\r\n }\r\n return new Headers(headersConfig);\r\n }\r\n \r\n get(path, params) {\r\n const options = {\r\n method: 'GET',\r\n headers: this.setHeaders()\r\n };\r\n \r\n return this.http.fetch(`${config.api_url}${path}?${params}`,options)\r\n .then(status)\r\n .catch(parseError)\r\n }\r\n\r\n getParam(path, params) {\r\n const options = {\r\n method: 'GET',\r\n headers: this.setHeaders()\r\n };\r\n \r\n return this.http.fetch(`${config.api_url}${path}=${params}`,options)\r\n .then(status)\r\n .catch(parseError)\r\n }\r\n \r\n getParameters(path, params) {\r\n const options = {\r\n method: 'GET',\r\n headers: this.setHeaders()\r\n };\r\n \r\n return this.http.fetch(`${config.api_url}${path}`,options)\r\n .then(status)\r\n .catch(parseError)\r\n }\r\n put(path, body = {}) {\r\n const options = {\r\n method: 'PUT',\r\n headers: this.setHeaders(),\r\n body: json(body)\r\n };\r\n return this.http.fetch(`${config.api_url}${path}`,options)\r\n .then(status)\r\n .catch(parseError)\r\n }\r\n \r\n post(path, body = {}) {\r\n const options = {\r\n method: 'POST',\r\n headers: this.setHeaders(),\r\n body: JSON.stringify(body)\r\n };\r\n\r\n //console.log(options);\r\n return this.http.fetch(`${config.api_url}${path}`,options)\r\n .then(status)\r\n .catch(parseError)\r\n }\r\n \r\n delete(path) {\r\n const options = {\r\n method: 'DELETE',\r\n headers: this.setHeaders()\r\n };\r\n return this.http.fetch(`${config.api_url}${path}`,options)\r\n .then(status)\r\n .catch(parseError)\r\n }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\nimport { data } from 'jquery';\r\n\r\n\r\n@inject(ApiService)\r\nexport class AppreciationService {\r\n \r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n \r\n }\r\n // getting data to dropdown\r\n GetEmployeeNames() \r\n {\r\n return this.apiService.get('/Employee/GetEmployeeNamesForDropdown')\r\n .then(data => \r\n { \r\n // console.log(data);\r\n return data; \r\n }); \r\n }\r\n // binding selected data to grid\r\n GetEmployeeNamesForGrid(empid) \r\n {\r\n return this.apiService.getParam('/Employee/GetEmployeeGridBinding?EmployeeID', empid)\r\n .then(data => \r\n { \r\n console.log(data);\r\n return data; \r\n }); \r\n }\r\n // getting data to categories grid\r\n GetAppreciations()\r\n {\r\n \r\n return this.apiService.get('/Appreciation/GetAppreciationCategories')\r\n .then(data => {\r\n console.log(data);\r\n return data;\r\n })\r\n }\r\n \r\n SaveAppreciation(data){\r\n return this.apiService.post('/Appreciation/PostEmployeeGiveAppreciation/',data)\r\n }\r\n\r\n\r\n\r\n getMyAppreciationDetails(vemployeeID, Previousyear) {\r\n return this.apiService.getParameters(`/Appreciation/GetMyAppreciationDetails?employeeID=${vemployeeID}&year=${Previousyear}`)\r\n .then(data => {\r\n return data;\r\n })\r\n ;\r\n }\r\n getMyAppreciationSummary(vemployeeID, Previousyear) {\r\n return this.apiService.getParameters(`/Appreciation/GetMyAppreciationSummary?employeeID=${vemployeeID}&year=${Previousyear}`)\r\n .then(data => {\r\n return data;\r\n })\r\n ;\r\n }\r\n\r\n\r\n GetAppreciationYearList()\r\n {\r\n return this.apiService.get('/Appreciation/GetYearList')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n GetAppreciationsProvidedList(empid)\r\n {\r\n return this.apiService.getParam('/Appreciation/GetAppreciationsProvidedByMe?employeeID',empid)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n GetTopPerformanceList(Previousyear)\r\n {\r\n return this.apiService.getParameters(`/Appreciation/GetTopPerformancePreview?year=${Previousyear}`)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n GetTopPerformanceListByCategory(Previousyear,categoryId)\r\n {\r\n return this.apiService.getParameters(`/Appreciation/GetAppreciationByCategoryID?year=${Previousyear}&CategoryID=${categoryId}`)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n GetEmployeeAppreciationsByID(Previousyear,categoryId,employeeId)\r\n {\r\n return this.apiService.getParameters(`/Appreciation/GetEmployeeAppreciationsByID?year=${Previousyear}&CategoryID=${categoryId}&EmployeeID=${employeeId}`)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n \r\n}\r\n\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n@inject(ApiService)\r\nexport class AttendanceService {\r\n\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n\r\n GetAttendanceDetails(empid){\r\n return this.apiService.getParam('/Attendance/GetAttendanceDetailsByEmployeeID?employeeID', empid).then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n SaveAttendance(data){\r\n return this.apiService.post('/Attendance/PostAttendance/',data)\r\n }\r\n\r\n GetMyAttendanceDetails(employeeID,month,year){\r\n return this.apiService.getParameters(`/Attendance/GetMyAttendanceDetails?employeeID=${employeeID}&month=${month}&year=${year}`).then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetAttendanceSummary(employeeID,month,year){\r\n return this.apiService.getParameters(`/Attendance/GetMyAttendanceSummary?employeeID=${employeeID}&month=${month}&year=${year}`).then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetAttendanceMonth(){\r\n return this.apiService.get('/Employee/GetMonths')\r\n }\r\n\r\n GetAttendanceYear(){\r\n return this.apiService.get('/Employee/GetYearForDropdown')\r\n }\r\n\r\n GetAdminAttendanceSummary(data){\r\n return this.apiService.post('/Attendance/GetEmployeeAttendanceSummary',data).then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n DepartmentDropdown(EmployeeId,StatusCode){\r\n return this.apiService.getParameters(`/Employee/GetDepartmentsForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}`).then(data =>\r\n { \r\n return data;\r\n });\r\n }\r\n\r\n GetAllEmployeeNamesDropdown(EmployeeId,StatusCode,DepartmentIds){\r\n return this.apiService.getParameters(`/Employee/GetEmployeesForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}&DepartmentIds=${DepartmentIds}`)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n GetAttendanceDetailsMobile(employeeID,date){\r\n return this.apiService.getParameters(`/Attendance/GetEmployeeAttendanceDetailsByID?EmployeeID=${employeeID}&Date=${date}`).then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n SaveAttendanceData(data){\r\n return this.apiService.post('/Attendance/PostEmployeeAttendance',data)\r\n }\r\n\r\n ValidateAttendance(data){\r\n return this.apiService.post('/Attendance/ValidateAttendance',data)\r\n }\r\n\r\n ChangeRequestGrid(EmployeeID,Date){\r\n return this.apiService.getParameters(`/Attendance/GetAttendancePendingRequest?EmployeeID=${EmployeeID}&Date=${Date}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n AttentendencesWorkflowApproverExist (EmployeeId) {\r\n return this.apiService.getParam('/Attendance/IsAttendanceWorkflowApproverExist?EmployeeId',EmployeeId)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n\r\n}\r\n","export const config = {\r\n\r\n api_url:'https://hrmssso.kensium.com/api',\r\n img_url: 'https://ithrms.kensium.com/',\r\n api_img_url: 'https://hrms.kensium.com/',\r\n grid_PazeSize: 10,\r\n assetgrid_PazeSize: 5,\r\n kra_PazeSize: 5,\r\n salaryGrid_PazeSize: 5,\r\n\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n@inject(ApiService)\r\nexport class ConfirmationService {\r\n\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n\r\n DepartmentDropdown(EmployeeId,StatusCode)\r\n {\r\n return this.apiService.getParameters(`/Employee/GetDepartmentsForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n}\r\n\r\n EmployeeClassDropdown()\r\n {\r\n return this.apiService.get('/Leave/GetEmployeeClassesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetAllEmployeeDetails(vStatusCode,empId) \r\n {\r\n return this.apiService.getParameters(`/Employee/GetEmployeeMasterDetails?StatusCode=${vStatusCode}&EmployeeID=${empId}`)\r\n .then(data => \r\n { \r\n return data; \r\n }); \r\n }\r\n\r\n GetPersonFavoriteItems(employeeId,sitemapId){\r\n return this.apiService.getParameters(`/Menu/GetPersonFavoriteItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`) \r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n \r\n AddToFavourites(employeeId,sitemapId){\r\n return this.apiService.getParameters(`/Menu/AddToFavouriteItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`) \r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n\r\n AddToRecentItems(employeeId,sitemapId){\r\n return this.apiService.getParameters(`/Menu/AddToRecentItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`) \r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n\r\n getEmployeeConfirmationDetails(EmployeeID,FromDate,ToDate){\r\n return this.apiService.getParameters(`/EmployeeConfirmation/GetEmployeeConfirmationDetails?EmployeeID=${EmployeeID}&FromDate=${FromDate}&ToDate=${ToDate}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n\r\n getEmployeeConfirmationList(data)\r\n {\r\n return this.apiService.post('/EmployeeConfirmation/PostEmployeeConfirmationDetails',data)\r\n .then(data =>\r\n\r\n {\r\n return data;\r\n\r\n });\r\n }\r\n\r\n getMyPeriodicReviewList(EmployeeId){\r\n return this.apiService.getParameters(`/EmployeeConfirmation/MyPeriodicReview?EmployeeId=${EmployeeId}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n\r\n getEmployeePeriodicReviewList(EmployeeID,FromDate,ToDate){\r\n return this.apiService.getParameters(`/EmployeeConfirmation/GetEmployeePeriodicReview?EmployeeID=${EmployeeID}&FromDate=${FromDate}&ToDate=${ToDate}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n\r\n postEmployeePeriodicReviewList(data)\r\n {\r\n return this.apiService.post('/EmployeeConfirmation/PostEmployeePeriodicReview',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n getPeerReviewList(EmployeeID,FromDate,ToDate){\r\n return this.apiService.getParameters(`/EmployeeConfirmation/GetEmployeePeerReview?EmployeeID=${EmployeeID}&FromDate=${FromDate}&ToDate=${ToDate}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n\r\n getLeaveDetails(employeeId){\r\n return this.apiService.getParameters(`/EmployeeConfirmation/GetLeaveDetails?employeeId=${employeeId}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n\r\n getPeriodicReviewView(EmployeeStatusId,EmployeeId){\r\n return this.apiService.getParameters(`/EmployeeConfirmation/GetConfirmationReviewview?EmployeeStatusId=${EmployeeStatusId}&EmployeeId=${EmployeeId}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n getConfirmationFeedbackView(EmployeeStatusId,EmployeeId){\r\n return this.apiService.getParameters(`/EmployeeConfirmation/GetConfirmationReviewview?EmployeeStatusId=${EmployeeStatusId}&EmployeeId=${EmployeeId}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n\r\n}\r\n","export const constants = {\r\n \r\n mycompoffsitemapid:156,\r\n employeemastersitemapid:191,\r\n employeetimeoffdetailssitemapid:148,\r\n employeetimeoffsummarysitemapid:150,\r\n holidaylistsitemapid:155,\r\n mytimeoffdetailssitemapid:137,\r\n mytimeoffsummarysitemapid:149,\r\n myassetsitemapid:150,\r\n compoffworkflowcategoryid:12,\r\n leaveworkflowcategoryid:6,\r\n CreditLeaveApprovalWorkflowCategoryId:8,\r\n assetrequestworkflowcategoryid:29,\r\n attendanceworkflowcategoryid:14,\r\n assetsitemapid: 426,\r\n assetrequestionlist:420,\r\n myattendancesitemapid:274,\r\n announcementsSitemapId:478,\r\n policiessitemapId:129,\r\n permanentEmployeeClassID:1,\r\n applytimeoffSiteMapID:680,\r\n hierarchychartSiteMapID:1226,\r\n myfeedbackSiteMapID:488,\r\n ptoannouncementsitemapid:1395,\r\n employeesalaryrevisionlistsitemapid:1194,\r\n mykrasheetsitemapid :1155,\r\n performancereviewinitiationsitemapid :1150,\r\n employeependingtimeoffadjustments:354,\r\n ConfirmationReviewSiteMapid :173,\r\n MyPeriodicReviewSiteMapid:1299,\r\n PeerReviewSiteMapid:175,\r\n PeriodicReviewSiteMapid:181,\r\n employeeperformancelistsitemapid:840,\r\n\r\n }\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n\r\n@inject(ApiService)\r\nexport class DashboardService {\r\n \r\n constructor(apiService) {\r\n this.apiService = apiService; \r\n }\r\n\r\n BindDynamicMenu(employeeId) \r\n {\r\n return this.apiService.getParam('/Menu/GetDynamicMenu?EmployeeId',employeeId)\r\n .then(data => \r\n {\r\n return data; \r\n }); \r\n }\r\n GetDashboardDetails(employeId){\r\n return this.apiService.getParam('/Dashboard/GetDashboardDetails?employeeID',employeId)\r\n .then(data=>{\r\n //console.log(data);\r\n return data\r\n });\r\n }\r\n\r\n GetServerCurrentDate(employeId){\r\n return this.apiService.getParam('/Dashboard/GetServerCurrentDate?EmployeeID',employeId)\r\n .then(data=>{\r\n //console.log(data);\r\n return data\r\n });\r\n }\r\n \r\n GetAllFavorites(employeId){\r\n return this.apiService.getParam('/Menu/GetAllFavorites?EmployeeID',employeId)\r\n .then(data=>{\r\n //console.log(data);\r\n return data\r\n });\r\n }\r\n\r\n GetRecentItems(employeId){\r\n return this.apiService.getParam('/Menu/GetRecentItems?EmployeeID',employeId)\r\n .then(data=>{\r\n //console.log(data);\r\n return data\r\n });\r\n}\r\n\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\nimport { data } from 'jquery';\r\n\r\n\r\n@inject(ApiService)\r\nexport class EmployeeMasterService {\r\n \r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n \r\n }\r\n // getting data to dropdown\r\n GetEmployeeNames(vStatusCode) \r\n {\r\n return this.apiService.getParameters(`/Employee/GetEmployeeMasterDetailsDropdown?StatusCode=${vStatusCode}`)\r\n .then(data => \r\n { \r\n // console.log(data);\r\n return data; \r\n }); \r\n }\r\n\r\n GetAllEmployeeDetails(vStatusCode,empId) \r\n {\r\n return this.apiService.getParameters(`/Employee/GetEmployeeMasterDetails?StatusCode=${vStatusCode}&EmployeeID=${empId}`)\r\n .then(data => \r\n { \r\n return data; \r\n }); \r\n }\r\n\r\n\r\n DeletePersonDetails(PersonId,empId){\r\n //console.log(PersonId);\r\n return this.apiService.post(`/Employee/DeletePersonDetails?PersonId=${PersonId}&EmployeeID=${empId}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n GetEmployeeDetailsExportcsv(){\r\n return this.apiService.get('/Employee/Generate')\r\n .then(data => {\r\n return data;\r\n }) \r\n}\r\n\r\nActivatePersonDetails(PersonId,empId){\r\n // console.log(PersonId);\r\n return this.apiService.post(`/Employee/ActivatePersonDetails?PersonId=${PersonId}&EmployeeID=${empId}`)\r\n .then(data => {\r\n return data;\r\n })\r\n}\r\n\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n\r\n@inject(ApiService)\r\nexport class EmployeeService {\r\n \r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n \r\n }\r\n\r\n GetEmployeeDetails(pageNumber) \r\n {\r\n return this.apiService.getParam('/Employee/GetPagedEmployeeDetails?pageNumber',pageNumber)\r\n .then(data => \r\n { \r\n //console.log(data);\r\n return data; \r\n }); \r\n }\r\n\r\n GetPagedEmployeeDetails(sortby,direction,search,pageNumber){\r\n return this.apiService.getParameters(`/Employee/GetPagedEmployeeDetails?sortby=${sortby}&direction=${direction}&search=${search}&pageNumber=${pageNumber}`)\r\n .then(data => \r\n { \r\n //console.log(data);\r\n return data;\r\n });\r\n }\r\n\r\n SearchEmployeeDetails(id)\r\n {\r\n return this.apiService.getParam('/Employee/GeneralInformationDetails?EmployeeID',id)\r\n .then(response => \r\n { \r\n // console.log(response);\r\n return response; \r\n });\r\n }\r\n\r\n GetAllEmployeeDetails() \r\n {\r\n return this.apiService.get('/Employee/GetEmployeeDetails')\r\n .then(data => \r\n { \r\n return data; \r\n }); \r\n }\r\n\r\n VerifyCurrentPassword(Password,EmployeeID){\r\n return this.apiService.getParameters(`/Employee/GetPasswordValidation?Password=${Password}&EmployeeID=${EmployeeID}`)\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n\r\n ChangeEmployeePassword(confirmPass)\r\n {\r\n return this.apiService.post('/Employee/PostChangePassword',confirmPass)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n PassswordPolicy(){\r\n return this.apiService.get('/Configuration/GetPasswordPolicy')\r\n .then(data =>{\r\n return data;\r\n })\r\n }\r\n\r\n GetEmployeeExitDetails(id)\r\n {\r\n return this.apiService.getParam('/Exit/GetEmployeeExitDetails?EmployeeID',id)\r\n .then(response => \r\n { \r\n return response; \r\n });\r\n }\r\n \r\n GetExitQuestions(personiD,enableexitID,exitTypeID,PageFrom){\r\n return this.apiService.getParameters(`/Exit/GetExitQuestions?EmployeeID=${personiD}&enableexitID=${enableexitID}&exitTypeID=${exitTypeID}&PageFrom=${PageFrom}`)\r\n .then(data => {\r\n return data;\r\n })\r\n}\r\nPostResignationRequest(data){\r\n console.log(data);\r\n return this.apiService.post('/Exit/PostResignationRequest',data)\r\n .then(data => {\r\n return data;\r\n console.log(data);\r\n })\r\n}\r\nPostResignationWithdraw(data){\r\n return this.apiService.post('/Exit/PostResignationWithdraw',data)\r\n .then(data => {\r\n return data;\r\n })\r\n}\r\n\r\nGetNoticePeriodByPositionId(resdate,empid)\r\n{\r\n return this.apiService.getParameters(`/Exit/GetNoticePeriodByPositionId?ResignationDate=${resdate}&EmployeeID=${empid}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n}\r\n GetApproversValidation(empid){\r\n\r\n return this.apiService.getParameters(`/Exit/GetApproversValidation?EmployeeID=${empid}`)\r\n .then(data =>{\r\n return data;\r\n })\r\n\r\n }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n@inject(ApiService)\r\nexport class FeedbackService {\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n \r\n }\r\n SendtoEmployeesName()\r\n {\r\n return this.apiService.get('/FeedbackGrievance/GetSentToEmployeeNamesForDropdown')\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n DepartmentsForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetAllDepartmentsForDropdown')\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n EmployeeNamesForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetEmployeeNamesForDropdown')\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n GetEmployeesForAdd(data){\r\n return this.apiService.getParam('/Employee/GetEmployeeGridBinding?EmployeeID',data)\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n SaveFeedBack(data){\r\n return this.apiService.post('/FeedbackGrievance/PostAnonymousFeedbackGrievance',data)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n SaveFeedBackGrievance(data){\r\n return this.apiService.post('/FeedbackGrievance/PostFeedbackGrievance',data)\r\n .then(data => {\r\n return data;\r\n });\r\n}\r\nViewFeedbackData(GrievanceID){\r\n return this.apiService.getParam('/FeedbackGrievance/GetAnonymousFeedbackGrievance?GrievanceID',GrievanceID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n ViewFeedback(GrievanceID){\r\n return this.apiService.getParam('/FeedbackGrievance/GetFeedbackGrievance?GrievanceID',GrievanceID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n SaveSupportForm(data){\r\n return this.apiService.post('Support/PostSupport',data)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n GetAllEmployeeNamesForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetAllEmployeeNamesForDropdown')\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n ViewmyFeedbackData(EmpID,GrievanceID){\r\n return this.apiService.getParameters(`/FeedbackGrievance/GetGrievancebyID?EmployeeID=${EmpID}&GrievanceID=${GrievanceID}`)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n\r\n GetmyFeedbackData(EmpID,month,year){\r\n const status = 'ACT'\r\n return this.apiService.getParameters(`/FeedbackGrievance/GetMyFeedback?EmployeeID=${EmpID}&StatusCode=${status}&month=${month}&Year=${year}`)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n\r\n PostReopenData(data){\r\n return this.apiService.post('/FeedbackGrievance/ReopenForm',data)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\nimport {ApiService} from './apiservice';\n\n\n\n@inject(ApiService)\nexport class HeaderService {\n \n constructor(apiService) {\n this.apiService = apiService; \n }\n\n dynamicHeader(empid) \n {\n return this.apiService.getParam('/Employee/GetHeaderEmployeeDetails?EmployeeId', empid)\n .then(data => \n { \n return data; \n }); \n }\n}\n","export class JwtService {\r\n \r\n getToken() {\r\n return window.localStorage['jwtToken'];\r\n }\r\n \r\n saveToken(token) {\r\n window.localStorage['jwtToken'] = token;\r\n }\r\n \r\n destroyToken() {\r\n window.localStorage.removeItem('jwtToken');\r\n }\r\n\r\n getEmployeeId(){\r\n return window.localStorage['EmployeeID'];\r\n }\r\n getLocationId(){\r\n return window.localStorage['LocationID'];\r\n }\r\n\r\n getEmployeeClass(){\r\n return window.localStorage['EmployeeClass'];\r\n }\r\n\r\n getService(){\r\n return window.localStorage['MsalService'];\r\n }\r\n\r\n saveEmployeeId(employeeId){ \r\n window.localStorage['EmployeeID'] = employeeId;\r\n }\r\n \r\n saveLocationId(LocationID){ \r\n window.localStorage['LocationID'] = LocationID;\r\n }\r\n\r\n saveEmployeeClass(employeeClass){\r\n window.localStorage['EmployeeClass'] = employeeClass;\r\n }\r\n\r\n saveSignInService(service){\r\n window.localStorage['MsalService'] = service;\r\n }\r\n \r\n removeEmployeeId() {\r\n window.localStorage.removeItem('EmployeeID');\r\n } \r\n removeLocationId() {\r\n window.localStorage.removeItem('LocationID');\r\n }\r\n\r\n removeEmployeeClass() {\r\n window.localStorage.removeItem('EmployeeClass');\r\n }\r\n\r\n removeService() {\r\n window.localStorage.removeItem('MsalService');\r\n }\r\n\r\n // saveRememberMe(username,password)\r\n // {\r\n // window.localStorage['UserName'] = username;\r\n // window.localStorage['Password'] = password;\r\n // }\r\n\r\n // getUserName(){\r\n // return window.localStorage['UserName'];\r\n // }\r\n // getPassword(){\r\n // return window.localStorage['Password'];\r\n // }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n\r\n@inject(ApiService)\r\nexport class KraPerformanceReviewService {\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n KraCategoryDropdown(ReviewTypeID,EmployeeID){\r\n return this.apiService.getParameters(`/KRA/GetKRACategoryMaster?ReviewTypeID=${ReviewTypeID}&EmployeeID=${EmployeeID}`)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n }\r\n KRARepository(ReviewTypeID,EmployeeID){\r\n return this.apiService.getParameters(`/KRA/GetPerformanceKRARepository?ReviewTypeID=${ReviewTypeID}&EmployeeID=${EmployeeID}`)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n }\r\n PostCreateKRA(data){\r\n console.log(data);\r\n return this.apiService.post('/KRA/PostCreateKRA',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n KRARepositoryPost(KRARepositoryIds,EmployeePerformanceReviewID){\r\n return this.apiService.post(`/KRA/PostPerformanceKRARepository?KRARepositoryIds=${KRARepositoryIds}&EmployeePerformanceReviewID=${EmployeePerformanceReviewID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeePerformanceKRADetails(EmployeePerformanceReviewID,ReviewTypeID,EmployeeID)\r\n {\r\n return this.apiService.getParameters(`/KRA/GetEmployeePerformanceKRADetails?EmployeePerformanceReviewID=${EmployeePerformanceReviewID}&ReviewTypeID=${ReviewTypeID}&EmployeeID=${EmployeeID}`)\r\n .then(data =>\r\n {\r\n\r\n\r\n return data;\r\n });\r\n }\r\n DeleteEmployeePerformanceKRA(data){\r\n return this.apiService.post('/KRA/DeleteEmployeePerformanceKRAByID',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n EditingPostCreateKRA(data){\r\n return this.apiService.post('/KRA/PostCreateKRA',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n validationkrasubmit(employeePerformanceReviewID){\r\n return this.apiService.getParameters(`/KRA/GetKRADetailsValidation?EmployeePerformanceReviewID=${employeePerformanceReviewID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n finalkrasubmit(data){\r\n return this.apiService.post('/KRA/PostAssign',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n validationEmployeeCategoryKRAExist(EmployeePerformanceKRAID,EmployeePerformanceReviewID,CategoryID,KRATitle){\r\n return this.apiService.getParameters(`/KRA/GetEmployeeCategoryKRAExist?EmployeePerformanceKRAID=${EmployeePerformanceKRAID}&EmployeePerformanceReviewID=${EmployeePerformanceReviewID}&CategoryID=${CategoryID}&KRATitle=${KRATitle}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n /** employee performance api */\r\n GetEmployeePerformance(empid){\r\n return this.apiService.getParam('/KRA/GetEmployeePerformance?EmployeeID',empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetExemptEmployeeData(empid){\r\n return this.apiService.getParam('/KRA/GetExemptEmployee?EmployeePerformanceReviewID',empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeePerformanceFilterData(EmployeeID,DepartmentIds,PositionIds,ReviewType)\r\n {\r\n return this.apiService.getParameters(`/KRA/GetEmployeePerformanceFilter?EmployeeID=${EmployeeID}&DepartmentIds=${DepartmentIds}&PositionIds=${PositionIds}&ReviewType=${ReviewType}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n PostBulkAssignData(data){\r\n return this.apiService.post('/KRA/GetBulkAssignEmployeeList',data)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n }\r\n DeleteBulkAssignData(AssignEmployeeByID){\r\n return this.apiService.post('/KRA/DeleteBulkAssignEmployeeByID',AssignEmployeeByID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n PostExemptEmployeeData(data)\r\n {\r\n return this.apiService.post('/KRA/PostExemptEmployee',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n PostRevertExemptEmploye(data)\r\n {\r\n return this.apiService.post('/KRA/PostRevertExemptEmployee',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n }","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\nimport {DialogService} from 'aurelia-dialog';\r\n\r\n@inject(ApiService,DialogService)\r\nexport class LeavemanagementService {\r\n constructor(apiService,DialogService) {\r\n this.apiService = apiService;\r\n this.dialogService = DialogService;\r\n }\r\n GetLeaveTypesForDropDown(EmployeeId){\r\n return this.apiService.getParam('/Leave/GetLeaveTypesForDropDown?EmployeeId',EmployeeId)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetLeaveBalance(LeaveTypeID,EmployeeId){\r\n return this.apiService.getParameters(`/Leave/GetBalanceLeavesByLeaveTypeId?LeaveTypeID=${LeaveTypeID}&EmployeeId=${EmployeeId}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n EmployeeNamesForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetEmployeeNamesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeesForAdd(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetEmployeeGridBinding?EmployeeID',EmployeeID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n SaveApplyLeave(data){\r\n return this.apiService.post('/Leave/PostApplyLeave',data)\r\n .then(response => {\r\n return response;\r\n });\r\n }\r\n LocationsForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetAllLocationsForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n YearsForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetYearForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetYearsDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetYearsDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetHolidayList(LocationID,Year,EmployeeID){\r\n return this.apiService.getParameters(`/Leave/GetHolidays?LocationID=${LocationID}&Year=${Year}&EmployeeID=${EmployeeID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetMaxNoofLeaves(LocationID,Year,EmployeeID){\r\n return this.apiService.getParameters(`/Leave/GetMaxNoofLeaves?leaveTypeId=${LocationID}&EmployeeID=${Year}&TotalTimeoffs=${EmployeeID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetFeatureHoliday(){\r\n return this.apiService.get('/Leave/GetFeatureHolidays')\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetNoOfDays(data){\r\n return this.apiService.post('/Leave/GetNoofDaysleave',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetMyLeaveBalance(EmployeeID)\r\n {\r\n return this.apiService.getParam('/Leave/GetMyLeaveSummary?EmployeeId',EmployeeID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeePTOAnnouncemnt(data)\r\n {\r\n return this.apiService.post('/Organization/GetEmployeePTOAnnouncemnt?EmployeeId',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n DepartmentsForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetAllDepartmentsForDropdown')\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n\r\n GetEmployeeClassDropdown()\r\n {\r\n return this.apiService.get('/Leave/GetEmployeeClassDropdown')\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n\r\n GetEmployeemasterDetails() {\r\n const defaultEmpId = '4'\r\n return this.apiService.getParam('/Employee/GetEmployeeMasterDetails?StatusCode=ACT&EmployeeID',defaultEmpId)\r\n .then(data => \r\n { \r\n return data; \r\n }); \r\n }\r\n \r\n GetTimeOffSummary(data)\r\n {\r\n return this.apiService.post('/Leave/GetMyLeaveDetails?EmployeeId',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n SaveCreditLeave(data){\r\n return this.apiService.post('/Leave/PostCreditLeave',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n GetTimeOffAdjustments(data)\r\n {\r\n return this.apiService.post('/Leave/GetTimeOffAdjustments?EmployeeId',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetPersonalLeaveDetails(data)\r\n {\r\n return this.apiService.post('/Leave/GetPersonalLeaveDetails?EmployeeId',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetLeaveApplicationDetails(LeaveApplicationID){\r\n return this.apiService.getParam('/Leave/GetLeaveApplicationDetails?LeaveApplicationID',LeaveApplicationID)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n }\r\n GetEmployeePeersLeaveNotifyEmails (LeaveApplicationID){\r\n return this.apiService.getParameters(`/Leave/GetEmplooyeeLeaveNotifyEmails?LeaveApplicationID=${LeaveApplicationID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n \r\n GetEmployeeNamesByDepartmentID (DepartmentID){\r\n return this.apiService.getParam('/Leave/GetEmployeeNamesByDepartmentID?DepartmentID',DepartmentID)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n GetLeaveDetailsofOtherEmployees(data){\r\n return this.apiService.post('/Leave/GetOtherLeaveDetails',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetLeaveDaywiseSummary(LeaveApplicationID){\r\n \r\n return this.apiService.getParameters(`/Leave/GetLeaveDaywiseSummary?LeaveApplicationID=${LeaveApplicationID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n CancelTimeoffRequest(data){\r\n return this.apiService.post('/Leave/PostCancelLeave',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetAllDepartmentsForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetAllDepartmentsForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n DepartmentDropdown(EmployeeId,StatusCode)\r\n {\r\n return this.apiService.getParameters(`/Employee/GetDepartmentsForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n}\r\n\r\nGetEmployeeNamesByID(DepartmentID,StatusCode)\r\n{\r\n return this.apiService.getParameters(`/Leave/GetEmployeeNamesByID?DepartmentID=${DepartmentID}&Statuscode=${StatusCode}`)\r\n.then(data =>\r\n{\r\n return data;\r\n});\r\n}\r\n\r\nGetAllEmployeeNamesDropdown(EmployeeId,StatusCode,DepartmentIds)\r\n{\r\n return this.apiService.getParameters(`/Employee/GetEmployeesForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}&DepartmentIds=${DepartmentIds}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n}\r\n GetHolidayListForGrid()\r\n {\r\n return this.apiService.get('/Leave/GeEmployeeHoliday')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n EmployeeClassDropdown()\r\n {\r\n return this.apiService.get('/Leave/GetEmployeeClassesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n EmployeeDropdown(vStatusCode){\r\n return this.apiService.getParam('/Employee/GetEmployeeNamesForDropdownSearch?StatusCode',vStatusCode)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n GetEmployeeTimeOffRequests(data)\r\n {\r\n return this.apiService.post('/Leave/GetEmployeeTimeOffRequests?EmployeeId',data)\r\n .then(data =>\r\n\r\n {\r\n return data;\r\n\r\n });\r\n }\r\n GetEmployeeHolidayLists(data)\r\n {\r\n return this.apiService.post('/Leave/GeEmployeeHoliday',data)\r\n .then(data =>\r\n\r\n {\r\n return data;\r\n });\r\n }\r\n GeEmployeeHolidays(data)\r\n {\r\n return this.apiService.post('/Leave/GeEmployeeHolidays',data)\r\n .then(data =>\r\n\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GeHolidaysList(data)\r\n {\r\n return this.apiService.post('/Leave/GeHolidaysList',data)\r\n .then(data =>\r\n\r\n {\r\n return data;\r\n });\r\n }\r\n ApproveTimeOffRequests(data)\r\n {\r\n return this.apiService.post('/Leave/PostApproveLeave',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeesDepartmentDropdown(EmployeeId,StatusCode){\r\n return this.apiService.getParameters(`/Employee/GetDepartmentsForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeesNameDropdown(EmployeeId,StatusCode,DepartmentIds){\r\n return this.apiService.getParameters(`/Employee/GetEmployeesForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}&DepartmentIds=${DepartmentIds}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetLeaveTypeDropdown(EmployeeId){\r\n return this.apiService.getParam('/Leave/GetLeaveTypesForDropDown?EmployeeId',EmployeeId)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeedetailesByEmployeeId(EmployeeId){\r\n return this.apiService.getParam('/Leave/GetEmployeedetailesByEmployeeId?EmployeeId',EmployeeId)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n dynamicHeaderLogo(empid)\r\n {\r\n return this.apiService.getParam('/Employee/GetHeaderEmployeeDetails?EmployeeId', empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n \r\n GetOtherLeavedetails(data)\r\n {\r\n return this.apiService.post('/Leave/GetOtherLeaveDetails', data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetPastLeavesData(EmployeeId,LeaveApplicationID)\r\n {\r\n return this.apiService.getParameters(`/Leave/GetPastLeaveDetails?EmployeeId=${EmployeeId}&LeaveApplicationID=${LeaveApplicationID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n SaveAssignLeave(data){\r\n return this.apiService.post('/Leave/PostAssignLeave',data)\r\n .then(response => {\r\n return response;\r\n });\r\n }\r\n GetAdditionalComments(LeaveApplicationID,CategoryId){\r\n return this.apiService.getParameters(`/Leave/GetAllCommentsByID?DataID=${LeaveApplicationID}&CategoryID=${CategoryId}`) \r\n .then(response =>{\r\n return response;\r\n })\r\n }\r\n GetInstantApprovalDetails(guid,UserId){\r\n return this.apiService.getParameters(`/WorkFlowInstantApproval/Index?guid=${guid}&UserId=${UserId}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetEmployeeTimeOffSummery(details){\r\n return this.apiService.post('/leave/GetEmployeeTimeOffSummary',details)\r\n .then(data =>{\r\n return data;\r\n })\r\n }\r\n GetMyTimeOffSummary(employeeId){\r\n return this.apiService.getParam('/Leave/GetMyTimeOffSummary?employeeId',employeeId)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n GetMyTimeOffSummaryByLeaveTypeId(employeeId,LeaveTypeId){\r\n return this.apiService.getParameters(`/Leave/GetMyTimeOffSummaryByLeaveTypeId?employeeId=${employeeId}&LeaveTypeId=${LeaveTypeId}`)\r\n .then(data =>{\r\n return data;\r\n });\r\n}\r\n//Assign time off end //\r\n AddToFavourites(employeeId,sitemapId){\r\n return this.apiService.getParameters(`/Menu/AddToFavouriteItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`) \r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n GetPersonFavoriteItems(employeeId,sitemapId){\r\n return this.apiService.getParameters(`/Menu/GetPersonFavoriteItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`) \r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n clarificationDropdown(dataID){\r\n return this.apiService.getParam('/Employee/GetAllPreviousApprovers?DataID',dataID)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n clarifyDropdown(dataID){\r\n return this.apiService.getParam('/Employee/GetClarifyApprovers?DataID',dataID)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n GetMyCompOffDetails(data)\r\n {\r\n return this.apiService.post('/Attendance/GetMyCompOffDetails',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n savenewcompoff(data){\r\n return this.apiService.post('/Attendance/PostCompOff',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n fromDateCompoff(employeeId,date){\r\n return this.apiService.getParameters(`/Attendance/GetAttendanceByCompOffDate?employeeID=${employeeId}&Date=${date}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetViewCompOffDetails(data){\r\n return this.apiService.getParam('/Attendance/GetViewCompOffDetails?CompOffID', data)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n OTCompOffDetails(Fromdate,EmployeeId,compoffId){\r\n return this.apiService.getParameters(`/Attendance/GetNoofDays?Fromdate=${Fromdate}&EmployeeId=${EmployeeId}&compoffId=${compoffId}`)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n cancelcompoff(data){\r\n return this.apiService.post('/Attendance/PostCancelCompOff',data)\r\n .then(data =>\r\n {\r\n return data;\r\n\r\n });\r\n }\r\n AddToRecentItems(employeeId,sitemapId){\r\n return this.apiService.getParameters(`/Menu/AddToRecentItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`) \r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n\r\n IsLeaveWorkflowApproverExist(WorkLocationId)\r\n {\r\n return this.apiService.getParam('/Leave/IsLeaveWorkflowApproverExist?WorkLocationId',WorkLocationId)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetMultiuLeaveApplicationDetails(LeaveApplicationIDS){\r\n return this.apiService.getParam('/Leave/GetLeaveAdjustmentApplicationDetails?LeaveApplicationIDs',LeaveApplicationIDS)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n ViewTimeOffgrid(statusCode,employeeId,leavetypeid){\r\n console.log(statusCode,employeeId,leavetypeid)\r\n return this.apiService.getParameters(`/Leave/GetLeaveApplicationDetailsByYear?StatusCode=${statusCode}&EmployeeId=${employeeId}&LeavetypeId=${leavetypeid}`)\r\n .then(data =>{\r\n\r\n return data;\r\n })\r\n }\r\n\r\n ViewEmployeeTimeOffgrid(statusCode,employeeId,leavetypeid,year){\r\n //console.log(statusCode,employeeId,);\r\n return this.apiService.getParameters(`/Leave/GetEmployeeLeaveApplicationDetailsByYear?StatusCode=${statusCode}&EmployeeId=${employeeId}&LeavetypeId=${leavetypeid}&year=${year}`)\r\n .then(data =>{\r\n\r\n return data;\r\n })\r\n }\r\n\r\n GetEmployeeLeaveYearsDropdown(EmployeeID){\r\n return this.apiService.getParam('/Leave/GetEmployeeLeaveYearsDropdown?EmployeeID',EmployeeID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeeLeaveCredits(data)\r\n {\r\n return this.apiService.post('/Leave/GetEmployeeLeaveCredits?EmployeeID',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetLeaveCreditsEditView(LeaveCreditId,LeaveTypeID,EmployeeID){\r\n console.log(LeaveCreditId,LeaveTypeID,EmployeeID);\r\n return this.apiService.getParameters(`/Leave/GetLeaveCreditsEditView?LeaveCreditId=${LeaveCreditId}&LeaveTypeID=${LeaveTypeID}&EmployeeID=${EmployeeID}`)\r\n .then(data =>{\r\n\r\n return data;\r\n })\r\n }\r\n\r\n SaveCreditLeaveEdit(data){\r\n \r\n return this.apiService.post('/Leave/PostLeaveCreditsEdit',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n DisplayOnBehalfOf(WorkflowCategoryId,DataId,LoggedInEmployeeId){\r\n \r\n return this.apiService.getParameters(`/Leave/DisplayOnBehalfOf?WorkflowCategoryId=${WorkflowCategoryId}&DataId=${DataId}&LoggedInEmployeeId=${LoggedInEmployeeId}`)\r\n .then(data =>{\r\n\r\n return data;\r\n })\r\n }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\nimport {JwtService} from './jwtservice';\r\nimport {User} from '../models/user';\r\nimport {SharedState} from '../state/sharedstate';\r\nimport { data } from 'jquery';\r\nimport {Router} from 'aurelia-router';\r\n@inject(ApiService, JwtService, SharedState,Router)\r\nexport class LoginService {\r\n \r\n constructor(apiService, jwtService, sharedState,router) {\r\n this.apiService = apiService;\r\n this.jwtService = jwtService;\r\n this.sharedState = sharedState;\r\n this.router = router;\r\n }\r\n \r\n\r\n \r\n // Verify JWT in localstorage with server & load user's info.\r\n // This runs once on application startup.\r\n populate() {\r\n if (this.jwtService.getToken()) {\r\n this.apiService.get('/Employee/GetEmployeeByTokeId')\r\n .then(data =>\r\n {\r\n if(data.Token ==null)\r\n {\r\n this.router.navigateToRoute('login');\r\n }\r\n else{\r\n this.setAuth(data)\r\n }})\r\n \r\n } else {\r\n \r\n this.purgeAuth();\r\n this.router.navigateToRoute('login');\r\n }\r\n }\r\n \r\n setAuth(user) { \r\n if(user.Token != null)\r\n {\r\n this.jwtService.saveToken(user.Token);\r\n this.jwtService.saveEmployeeId(user.EmployeeID);\r\n this.jwtService.saveLocationId(user.LocationID);\r\n this.jwtService.saveEmployeeClass(user.EmployeeClass);\r\n this.sharedState.currentUser = user;\r\n this.sharedState.isAuthenticated = true;\r\n }\r\n }\r\n \r\n purgeAuth() { \r\n this.jwtService.destroyToken();\r\n this.jwtService.removeEmployeeId();\r\n this.jwtService.removeLocationId();\r\n this.jwtService.removeEmployeeClass();\r\n this.jwtService.removeService();\r\n this.sharedState.currentUser = new User();\r\n this.sharedState.isAuthenticated = false;\r\n }\r\n \r\n attemptAuth(type, credentials) {\r\n \r\n return this.apiService.post('/Employee/PostValidEmployee', credentials)\r\n .then(data => { \r\n this.setAuth(data);\r\n return data; \r\n \r\n });\r\n }\r\n \r\n update(user) {\r\n return this.apiService.put('/Employee', { user })\r\n .then(data => {\r\n this.sharedState.currentUser = data;\r\n return data.user;\r\n });\r\n \r\n }\r\n\r\n bindImages()\r\n {\r\n return this.apiService.get('/Login/GetLoginPageImages')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n NeedHelp(type, fpassword) {\r\n return this.apiService.post('/Employee/PostForgotLogin', fpassword) \r\n .then(data => { \r\n return data; \r\n });\r\n }\r\n\r\n EmployeeDeparmentName(){\r\n return this.apiService.get('/Employee/GetAllDepartmentsForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n EmployeesNameDropDown()\r\n {\r\n return this.apiService.get('/Employee/GetEmployeeNamesForDropdown')\r\n .then(data => \r\n { \r\n return data; \r\n });\r\n }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport { UserAgentApplication } from 'msal';\r\nimport { msalConfig } from '../../authentication/msal-config';\r\nimport { ApiService } from './apiservice';\r\nimport {Router} from 'aurelia-router';\r\nimport { LoginService } from './loginservice';\r\n\r\n@inject(ApiService,Router,LoginService)\r\nexport class MsalService {\r\n\r\n constructor(ApiService,Router,LoginService) {\r\n this.userAgentApplication = new UserAgentApplication(msalConfig);\r\n this.apiService = ApiService;\r\n this.router = Router;\r\n this.loginService = LoginService;\r\n this.user = null;\r\n this.accessToken = null;\r\n }\r\n\r\n GetEmployeeMsalDetails(email) {\r\n return this.apiService.getParam('/Employee/GetDetailsForO365?EmailID',email)\r\n .then(data => {\r\n this.loginService.setAuth(data); \r\n return data;\r\n });\r\n}\r\n\r\n async signIn() {\r\n try {\r\n const response = await this.userAgentApplication.loginPopup();\r\n this.userEmail = response.account.userName;\r\n this.GetEmployeeMsalDetails(this.userEmail).then(data => {\r\n if(data.EmployeeID > 0){\r\n window.localStorage['UserName'] = data.UserName;\r\n window.localStorage['Password'] = data.Password;\r\n window.localStorage['RememberMe'] = data.RememberMe;\r\n window.localStorage['EmployeeClass'] = data.EmployeeClass;\r\n window.localStorage['MsalService'] = true;\r\n this.router.navigateToRoute('dashboard');\r\n } \r\n else{ \r\n console.error(`Invalid credentials: Employee = ${data.EmployeeID.length}`); \r\n }\r\n })\r\n //this.accessToken = response.accessToken;\r\n return true;\r\n } catch (error) {\r\n console.error('Sign-in error:', error);\r\n return false;\r\n }\r\n }\r\n\r\n signOut() {\r\n this.userAgentApplication.logout();\r\n this.loginService.purgeAuth();\r\n this.user = null;\r\n this.accessToken = null;\r\n }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n@inject(ApiService)\r\nexport class myAssetsService {\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n GetMyAssetList(data)\r\n {\r\n return this.apiService.getParam('/Asset/GetMyAssetList?EmployeeId',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetMyAssetRequisitionList(data)\r\n {\r\n return this.apiService.getParam('/Asset/GetMyAssetRequisitionList?EmployeeId',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n AddAssetRequisition(data)\r\n {\r\n return this.apiService.post('/Asset/PostAddAssetRequisition',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetAssetForDropDown()\r\n {\r\n return this.apiService.get('/Asset/GetAssetForDropDown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetAssetRequisitionDetails(data)\r\n {\r\n return this.apiService.getParam('/Asset/GetAssetRequisitionDetailsById?AssetRequisitionID',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n WithdrawnAsset(data){\r\n return this.apiService.post('/Asset/PostWithdrawnAsset',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetAssetReturnForm(employeeId,AssetRequisitionID){\r\n return this.apiService.getParameters(`/Asset/GetAssetReturnForm?EmployeeId=${employeeId}&AssetRequisitionID=${AssetRequisitionID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n Returnasset(data){\r\n return this.apiService.post('/Asset/PostReturnAsset',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetViewAssetRequisitionDetails(EmployeeId,AssetRequisitionID){\r\n return this.apiService.getParameters(`/Asset/GetAssetRequisitionDetails?EmployeeId=${EmployeeId}&AssetRequisitionID=${AssetRequisitionID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n\r\n });\r\n }\r\n IsAssetWorkflowApproverExist(WorkLocationId,AssetCategoryID) {\r\n\r\n return this.apiService.getParameters(`/Asset/IsAssetWorkflowApproverExist?WorkLocationId=${WorkLocationId}&AssetCategoryID=${AssetCategoryID}`)\r\n .then(data => {\r\n return data;\r\n\r\n });\r\n }\r\n Acknowledgementasset(data){\r\n return this.apiService.post('/Asset/PostAcknowledgementAsset',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n}","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n\r\n@inject(ApiService)\r\nexport class OrganizationService {\r\n \r\n constructor(apiService) {\r\n this.apiService = apiService; \r\n }\r\n\r\n GetEmployeemasterDetails() {\r\n const defaultEmpId = '4';\r\n return this.apiService.getParam('/Employee/GetEmployeeMasterDetails?StatusCode=ACT&EmployeeID',defaultEmpId)\r\n .then(data => \r\n { \r\n return data; \r\n }); \r\n }\r\n\r\n\r\n EmployeeNamesForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetEmployeeNamesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetPoliciesData(empID){\r\n const statuscode=\"ACT\";\r\n return this.apiService.getParameters(`/Organization/GetPolicies?StatusCode=${statuscode}&EmployeeID=${empID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetAnnouncementsData(EventId){\r\n return this.apiService.getParam('/Organization/GetAnnouncements?EventId',EventId)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetEventTypeDropdown()\r\n {\r\n return this.apiService.get('/Attendance/GetEventTypes')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetManagerHierarchy(){\r\n return this.apiService.get('/Organization/GetOrgChartEmployees')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetReportingManagersearch(){\r\n const EmployeeID = '4';\r\n return this.apiService.getParam('/Employee/GetReportingManagersForDropdown?StatusCode=ACT&EmployeeID',EmployeeID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n AddToRecentItems(employeeId,sitemapId){\r\n return this.apiService.getParameters(`/Menu/AddToRecentItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n\r\n orgchart(EmployeeId,ChartViewID,ViewByManager){\r\n return this.apiService.getParameters(`/Employee/GeneratePDF2?EmployeeID=${EmployeeId}&ChartViewID=${ChartViewID}&ViewByManager=${ViewByManager}`) \r\n .then(data =>{\r\n return data;\r\n });\r\n}\r\n \r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n\r\n@inject(ApiService)\r\nexport class PerformanceMangemantService {\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n PerformanceList(data)\r\n {\r\n return this.apiService.post('/KRA/GetMyGoalSheet?EmployeeID',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n\r\n\r\n AcceptKraMyemployee(data)\r\n {\r\n return this.apiService.post('/KRA/PostMyKRADetails',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetReviewHistory(EmployeeID,PeriodID,ReviewTypeID)\r\n {\r\n return this.apiService.getParameters(`/KRA/GetReviewHistory?EmployeeID=${EmployeeID}&PeriodID=${PeriodID}&ReviewTypeID=${ReviewTypeID}`)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n }\r\n\r\n\r\n GetAdditionalNotesandComments(KRAPerformanceReviewID)\r\n {\r\n return this.apiService.getParam('/KRA/GetAdditionalNotesandComments?KRAPerformanceReviewID',KRAPerformanceReviewID)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n KraCategories(EmployeeID,PeriodID,ReviewTypeID,ViewID)\r\n {\r\n return this.apiService.getParameters(`/KRA/GetMyKRADetails?EmployeeID=${EmployeeID}&ViewID=${ViewID}&PeriodID=${PeriodID}&ReviewTypeID=${ReviewTypeID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n ViewKRAPRSettings(PeriodID)\r\n {\r\n\r\n return this.apiService.getParameters(`/KRA/ViewKRAPRSettings?PeriodID=${PeriodID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n\r\n }\r\n GetViewApplicabilityForKRA(PeriodID)\r\n {\r\n\r\n return this.apiService.getParameters(`/KRA/GetViewApplicabilityForKRA?PeriodID=${PeriodID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n\r\n }\r\n\r\n GetAchievements(EmployeeGoalID,ReviewTypeID,ViewID)\r\n {\r\n return this.apiService.getParameters(`/KRA/GetAchievements?ReferenceID=${EmployeeGoalID}&ReviewTypeID=${ReviewTypeID}&ViewID=${ViewID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n\r\n });\r\n }\r\n\r\n GetEditCreateAchievements(AchievementID,ViewID)\r\n {\r\n return this.apiService.getParameters(`/KRA/GetCreateAchievements?AchievementID=${AchievementID}&ViewID=${ViewID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n\r\n });\r\n }\r\n\r\n\r\n Achievementsdata(data)\r\n {\r\n return this.apiService.post('/KRA/PostSubmitAchievements',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n addAchievements(data)\r\n {\r\n return this.apiService.post('/KRA/PostAchievements',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n DeleteAchievements(data){\r\n\r\n return this.apiService.post('/KRA/DeleteAchievements',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n\r\n }\r\n MarkasCompletedKraCategories(markascompletedata){\r\n return this.apiService.post('/KRA/PostMarkasCompleted', markascompletedata)\r\n\r\n }\r\n\r\n GetMarkasCompleted(EmployeeGoalID){\r\n return this.apiService.getParameters(`/KRA/GetMarkasCompleted?EmployeeGoalID=${EmployeeGoalID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n PerformancereviewintiationList(empid)\r\n {\r\n return this.apiService.getParam('/KRA/PerformanceReviewInitiation?EmployeeID',empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeePerformance(empid){\r\n return this.apiService.getParam('/KRA/GetEmployeePerformance?EmployeeID',empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetExemptEmployeeData(empid){\r\n return this.apiService.getParam('/KRA/GetExemptEmployee?EmployeePerformanceReviewID',empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeePerformanceFilterData(EmployeeID,DepartmentIds,PositionIds,ReviewType)\r\n {\r\n return this.apiService.getParameters(`/KRA/GetEmployeePerformanceFilter?EmployeeID=${EmployeeID}&DepartmentIds=${DepartmentIds}&PositionIds=${PositionIds}&ReviewType=${ReviewType}`)\r\n .then(data =>\r\n { console.log(data);\r\n return data;\r\n });\r\n }\r\n PostBulkAssignData(data){\r\n return this.apiService.post('/KRA/GetBulkAssignEmployeeList',data)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n DeleteBulkAssignData(AssignEmployeeByID){\r\n return this.apiService.post('/KRA/DeleteBulkAssignEmployeeByID',AssignEmployeeByID)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n PostExemptEmployeeData(data)\r\n {\r\n return this.apiService.post('/KRA/PostExemptEmployee',data)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n }\r\n DepartmentDropdown(EmployeeId,StatusCode)\r\n {\r\n return this.apiService.getParameters(`/Employee/GetDepartmentsForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetPerformanceReviewInitiation(data)\r\n {\r\n return this.apiService.post('/KRA/GetPerformanceReviewInitiation',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetMyCompOffDetails(data)\r\n {\r\n return this.apiService.post('/Attendance/GetMyCompOffDetails',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n CheckDuplicateAchievement(data)\r\n {\r\n return this.apiService.post('/KRA/CheckDuplicateAchievement',data)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n\r\n}","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n@inject(ApiService)\r\nexport class ProfileService {\r\n \r\n constructor(apiService) {\r\n this.apiService = apiService; \r\n }\r\n\r\n\r\n EmployeeDetails(empid) \r\n {\r\n return this.apiService.getParam('/Employee/GeneralInformationDetails?EmployeeId', empid)\r\n .then(data => \r\n { \r\n return data; \r\n }); \r\n }\r\n\r\n EmployeePersonalDetails(empid)\r\n {\r\n return this.apiService.getParam('/Employee/PersonalInformationDetails?EmployeeID', empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n EmployeePersonalDetailsLanguage()\r\n {\r\n return this.apiService.get('/Employee/GetCompetencys')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n UpdatePersonalDetailsLanguage(EmployeeID,PersonLanguageID)\r\n {\r\n return this.apiService.getParameters(`/Employee/UpdatePersonLanguage?EmployeeID=${EmployeeID}&PersonLanguageID=${PersonLanguageID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n EmployeePersonalDetailsGetBloodGroupsForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetBloodGroupsForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n EmployeePersonalDetailsGetMaritalStatusForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetMaritalStatusForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n EmployeePersonalDetailsGetEthinicRacesForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetEthinicRacesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n EmployeePersonalDetailsGetNationalitiesForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetNationalitiesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n EmployeeFamilyRelationship()\r\n {\r\n return this.apiService.get('/Employee/GetAllRelationshipsForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n EmployeeFamilyLifeeventtypes()\r\n {\r\n return this.apiService.get('/Employee/GetAllLifeeventtypesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n EmployeeNamesForDropdown()\r\n {\r\n return this.apiService.get('/Employee/GetEmployeeNamesForDropdown')\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n GetEmployeeNamesForGrid(empid)\r\n {\r\n return this.apiService.getParam('/Employee/GetEmployeeGridBinding?EmployeeID', empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n\r\n EmployeeLanguageSave(data)\r\n {\r\n return this.apiService.post('/Employee/PostPersonLanguage',data)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n }\r\n\r\n\r\n EmployeeFamilyMemberSave(data)\r\n {\r\n return this.apiService.post('/Employee/PostPersonDependant',data)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n });\r\n }\r\n\r\n GetFamilyMember(id)\r\n {\r\n return this.apiService.getParam('/Employee/GetPersonFamilyMembers?EmployeeID',id)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n GetEmployeeLanguage(id)\r\n {\r\n return this.apiService.getParam('/Employee/GetPersonLanguages?EmployeeID',id)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n DeleteEmployeeLanguage(PersonLanguageID,EmployeeID)\r\n {\r\n return this.apiService.post(`/Employee/DeletePersonLanguage?PersonLanguageID=${PersonLanguageID}&EmployeeID=${EmployeeID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n DeleteEmployeeFamily(PersonDependantID,EmployeeID)\r\n {\r\n return this.apiService.post(`/Employee/DeletePersonDependant?PersonDependantID=${PersonDependantID}&EmployeeID=${EmployeeID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n SavePostPersonInformation(data){\r\n return this.apiService.post('/Employee/PostPersonInformation',data)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n }\r\n\r\n /**\r\n * Work Experience fetch API\r\n * @param {*} EmpID\r\n * @returns\r\n */\r\n GetWorkExperience(EmpID){\r\n return this.apiService.getParam('/Employee/GetPersonWorkExperiences?EmployeeID',EmpID)\r\n .then(data =>{\r\n return data;\r\n })\r\n }\r\n /**\r\n * Work Experience save API\r\n * @param {*} data\r\n * @returns\r\n */\r\n SaveWorkExperience(data){\r\n return this.apiService.post('/Employee/PostPersonWorkExperience',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n GetPreviousWorkExperience(data){\r\n return this.apiService.post('/Employee/GetPreviousExperiance',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n //GET api/Employee/GetExperienceCalculation?fromdates={fromdates}&todates={todates}\r\n GetExperience(fromdates,todates){\r\n return this.apiService.getParameters(`/Employee/GetExperienceCalculation?fromdates=${fromdates}&todates=${todates}`)\r\n .then(data =>{\r\n return data;\r\n })\r\n }\r\n /**\r\n * Work Experience Delete API\r\n * @param {*} EmpID\r\n * @param {*} PersonWorkExperienceID\r\n * @returns\r\n */\r\n DeleteWorkExperience(PersonWorkExperienceID,EmpID){\r\n return this.apiService.post(`/Employee/DeletePersonWorkExperience?PersonWorkExperienceID=${PersonWorkExperienceID}&EmployeeID=${EmpID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n /**\r\n * Employee Skills fetch API\r\n * @param {*} EmpID\r\n * @returns\r\n */\r\n GetEmployeeSkills(EmpID){\r\n return this.apiService.getParam('/Employee/GetPersonSkills?EmployeeID',EmpID)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n /**\r\n * Empleyee Skills Rating Dropdown API\r\n * @returns {*}\r\n * @constructor\r\n */\r\n GetSkillsRatingDropdown(){\r\n return this.apiService.get('/Employee/GetSkillsRatings')\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n /**\r\n * Employee Skill Dropdown API\r\n * @returns {*}\r\n * @constructor\r\n */\r\n\r\n\r\n GetSkillsDropdown(){\r\n return this.apiService.get('/Employee/GetAllSkills')\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n\r\n GetCertificationDropdown(){\r\n return this.apiService.get('/Employee/GetAllCertificationNames')\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n\r\n\r\n /**\r\n * Employee Skills save API\r\n * @param {*} data\r\n * @returns\r\n */\r\n SaveEmployeeSkills(data){\r\n return this.apiService.post('/Employee/PostPersonskill',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n /**\r\n * Employee Skills delete API\r\n * @param {*} EmpID\r\n * @param {*} PersonSkillID\r\n * @returns\r\n */\r\n DeleteEmployeeSkills(PersonSkillID,EmpID){\r\n return this.apiService.post(`/Employee/DeletePersonSkill?PersonSkillID=${PersonSkillID}&EmployeeID=${EmpID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n SavePostPersonPhotoPath(data){\r\n return this.apiService.post('/Employee/PostPersonPhotoPath',data)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n EducationDropdown(){\r\n return this.apiService.get('/Employee/GetEducationTypesForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n\r\n EducationGetScore(){\r\n return this.apiService.get('/Employee/GetScoresForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n\r\n Educationdetailssave(data){\r\n return this.apiService.post('/Employee/PostPersonAcademicDetail',data)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n Educationdetailsoverlapsave(data){\r\n return this.apiService.post('/Employee/GetPreviousEducation',data)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n\r\n GetAllEducation(){\r\n return this.apiService.get('/Employee/GetAllEducation')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n GetUniversity(){\r\n return this.apiService.get('/Employee/GetAllUniversity').then(data =>{\r\n return data;\r\n } );\r\n }\r\n GetCurrencysymbol(){\r\n return this.apiService.get('/Employee/GetLocalizationSettings').then(data =>{\r\n return data;\r\n } );\r\n }\r\n GetAcademicDetails(empid){\r\n return this.apiService.getParam('/Employee/GetPersonAcademicDetails?EmployeeID',empid).then(data =>{\r\n return data;\r\n } );\r\n }\r\n DeleteAcademicDetails(PersonEducationID,EmployeeID)\r\n {\r\n return this.apiService.post(`/Employee/DeletePersonAcademicDetail?PersonEducationID=${PersonEducationID}&EmployeeID=${EmployeeID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n\r\n //Documents\r\n GetNotificationFrequenciesDropdown(){\r\n return this.apiService.get('/Employee/GetNotificationFrequenciesForDropdown')\r\n .then(data => \r\n {\r\n return data;\r\n });\r\n }\r\n \r\n GetDocumentTypesDropdown(){\r\n return this.apiService.get('/Employee/GetDocumentTypesForDropdown')\r\n .then(data => \r\n {\r\n return data;\r\n });\r\n }\r\n \r\n GetStatesDropdown(){\r\n return this.apiService.get('/Employee/GetStatesForDropdown')\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n \r\n GetCountryDropdown(){\r\n return this.apiService.get('/Employee/GetCountriesForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n \r\n GetNotificationTypesDropdown(){\r\n return this.apiService.get('/Employee/GetNotificationTypesForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n DocumentAvoidDuplicate(data){\r\n return this.apiService.post('/Employee/GetPersonDocumentExist',data)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n \r\n GetEmployeeDocuments(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetPersonDocuments?EmployeeID',EmployeeID)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n \r\n SaveDocument(data){\r\n return this.apiService.post('/Employee/PostPersonDocument',data)\r\n .then(response => {\r\n return response;\r\n })\r\n }\r\n \r\n DeleteEmployeeDocument(DocumentID,EmpID){\r\n return this.apiService.post(`/Employee/DeletePersonDocument?EmployeeDocumentID=${DocumentID}&EmployeeID=${EmpID}`)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n GetDocumentHistory(EmpDocID){\r\n return this.apiService.getParam('/Employee/GetEmployeeDocumentsHistory?EmployeeDocumentID',EmpDocID)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n GetDocumentFieldHistory(EmpId){\r\n return this.apiService.getParam('/Employee/GetEmployeeDocumentsFieldHistory?EmployeeDocumentID',EmpId)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n //contact details API's\r\n\r\n\r\n ContactTypeDropdown(){\r\n return this.apiService.get('/Employee/GetContactTypes')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n CountryCodesDropdown(){\r\n return this.apiService.get('/Employee/GetCountryCodes')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n CountryNamesDropdown(){\r\n return this.apiService.get('/Employee/GetCountriesForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n CountryStatesDropdown(){\r\n return this.apiService.get('/Employee/GetStatesForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n ContactDetailsSave(data){\r\n return this.apiService.post('/Employee/PostPersonContactDetails',data)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n\r\n AddressDetailsSave(data){\r\n return this.apiService.post('/Employee/PostPersonAddressDetails',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n GetContactDetails(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetPersonContactDetails?EmployeeID',EmployeeID)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n\r\n GetEmergencyContactDetails(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetPersonEmergencyContacts?EmployeeID',EmployeeID)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n\r\n GetEmergencyContactHistory(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetPersonEmergencyContactsHistory?EmployeeID',EmployeeID)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n\r\n EditEmployeeAddress(ContactTypeId,PersonContactTypeId,PersonId){\r\n return this.apiService.getParameters(`/Employee/GetPersonAddressDetailsByContactTypeID?ContactTypeId=${ContactTypeId}&PersonContactTypeId=${PersonContactTypeId}&PersonId=${PersonId}`)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n\r\n EditEmployeeContact(ContactTypeId,PersonContactTypeId,PersonId){\r\n return this.apiService.getParameters(`/Employee/GetPersonContactDetailsByContactTypeID?ContactTypeId=${ContactTypeId}&PersonContactTypeId=${PersonContactTypeId}&PersonId=${PersonId}`)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n\r\n DeleteEmployeeContact(ContactTypeId,PersonId,EmployeeID){\r\n return this.apiService.post(`/Employee/DeletePersonContactDetail?ContactTypeId=${ContactTypeId}&PersonId=${PersonId}&EmployeeID=${EmployeeID}`)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n\r\n SaveEmergencyContact(data){\r\n return this.apiService.post('/Employee/PostPersonEmergencyContact',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n DeleteEmergencyContact(PersonEmergencyContactID,EmployeeID){\r\n return this.apiService.post(`/Employee/DeletePersonEmergencyContact?PersonEmergencyContactID=${PersonEmergencyContactID}&EmployeeID=${EmployeeID}`)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n //*Contact*//\r\n\r\n AgreementSave(data){\r\n return this.apiService.post('/Employee/PostPersonAgreement',data)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n AgreementNameAvoidDuplicate(data){\r\n return this.apiService.post('/Employee/GetPersonAgreementExist',data)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n\r\n\r\n LanguageNameAvoidDuplicate(data){\r\n return this.apiService.post('/Employee/GetPersonLanguageExist',data)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n\r\n\r\n EmployeeNameAvoidDuplicate(data){\r\n return this.apiService.post('/Employee/GetPersonDependentExist',data)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n\r\n LanguageAvoidDuplicate(data){\r\n return this.apiService.post('/Employee/GetPersonLanguageExist',data)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n SkillAvoidDuplicate(data){\r\n return this.apiService.post('/Employee/GetPersonSkillExist',data)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n \r\n\r\n EmergencyContactAvoidDuplicate(data){\r\n return this.apiService.post('/Employee/GetPersonEmergencyContactExist',data)\r\n .then(data => {\r\n return data;\r\n });\r\n\r\n }\r\n\r\n GetAgreementdetails(empid){\r\n return this.apiService.getParam('/Employee/GetPersonAgreement?EmployeeID',empid).then(data =>{\r\n return data;\r\n } );\r\n }\r\n DeleteAggrementDetails(PersonAgreementId,EmployeeID){\r\n return this.apiService.post(`/Employee/DeletePersonAgreement?PersonAgreementId=${PersonAgreementId}&EmployeeID=${EmployeeID}`)\r\n .then(data =>\r\n {\r\n\r\n return data;\r\n })\r\n }\r\n Orientationtabledata(empid){\r\n return this.apiService.getParam('/Employee/GetEmployeeOrientation?EmployeeID', empid).then(data =>{\r\n return data;\r\n } )\r\n }\r\n\r\n OrientationViewData(ProgramID){\r\n\r\n return this.apiService.getParam('/Employee/GetViewOrientation?inductionProgramListID',ProgramID).then(data =>{\r\n\r\n return data;\r\n })\r\n }\r\n\r\n OrientationLocation(ProgramID){\r\n return this.apiService.getParam('/Employee/GetOrientationLocation?inductionProgramListID',ProgramID).then(data =>{\r\n\r\n return data;\r\n })\r\n }\r\n\r\n //CTC Revision APIs//\r\n\r\n GetEmployeeCTCData(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetPersonCTCRevisions?EmployeeID',EmployeeID)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n EmployeeDropdown(){\r\n return this.apiService.get('/Employee/GetEmployeeNamesForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n GetEmployeesForAdd(empid){\r\n return this.apiService.getParam('/Employee/GetEmployeeGridBinding?EmployeeID',empid)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n DepartmentDropdown(){\r\n return this.apiService.get('/Employee/GetAllDepartmentsForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n PositionDropdown(){\r\n return this.apiService.get('/Employee/GetAllPositionsForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n PositionLevelDropdown(){\r\n return this.apiService.get('/Employee/GetAllPositionLevelsForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n DeleteEmployeeCTCData(SalaryRevisionID,EmployeeID){\r\n return this.apiService.post(`/Employee/DeletePersonCTCRevision?SalaryRevisionID=${SalaryRevisionID}&EmployeeID=${EmployeeID}`)\r\n .then(data => {\r\n\r\n return data;\r\n });\r\n\r\n }\r\n\r\n SaveCTCData(data){\r\n return this.apiService.post('/Employee/PostPersonCTCRevision',data)\r\n .then(data => {\r\n return data;\r\n })\r\n }\r\n\r\n // CTC END //\r\n\r\n //User Defined tab API's \r\n\r\n GetUserDefinedFields(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetPersonUserDefinedFields?EmployeeID',EmployeeID)\r\n .then(response => {\r\n return response;\r\n });\r\n}\r\n\r\nSaveUserDefinedFields(data){\r\n return this.apiService.post('/Employee/PostPersonUserDefinedField',data) \r\n .then(response => { \r\n return response; \r\n }); \r\n }\r\n\r\n //Employee Letters\r\n\r\nGetEmployeeLetters(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetEmployeeLetters?EmployeeID',EmployeeID)\r\n .then(response => {\r\n return response;\r\n });\r\n}\r\n//TemplateName, Subject, Content, Path, GeneratedDT, SendAcknowledgementEmpIND, DisciplinaryActionID\r\nSaveEmployeeLetter(data){\r\n return this.apiService.post('/Employee/PostEmployeeLetters',data) \r\n .then(response => { \r\n return response; \r\n }); \r\n }\r\n\r\n GetPreviewLetterData(data){\r\n return this.apiService.post('/Employee/PreviewEmployeeLetters',data) \r\n .then(response => { \r\n return response; \r\n }); \r\n }\r\n\r\n GetEmployeeLetterCommunicationHistory(EmployeeID){\r\n return this.apiService.getParam('/Employee/GetEmployeeLetterCommunicationHistorys?EmployeeID',EmployeeID) \r\n .then(response => {\r\n return response; \r\n }); \r\n }\r\n\r\n GetPostEmployeeLetter(data){\r\n return this.apiService.post('/Employee/PostEmployeeLetterCommunicationHistory',data) \r\n .then(response => {\r\n return response; \r\n }); \r\n }\r\n\r\n PostUploadAck(data){\r\n return this.apiService.post('/Employee/PostEmployeeLetterUploadAcknowledgement',data) \r\n .then(response => {\r\n return response; \r\n }); \r\n }\r\n\r\n EditUploadAck(CommunicationHistoryID){\r\n return this.apiService.getParam('/Employee/GetEmployeeLetterCommunicationHistoryAcknowledgement?EmployeeLettercommunicationhistoryID',CommunicationHistoryID)\r\n .then(response => {\r\n return response;\r\n });\r\n }\r\n\r\n GetLetterSendModes(){\r\n return this.apiService.get('/Employee/GetEmployeeLetterSendModes') \r\n .then(response => {\r\n return response; \r\n });\r\n }\r\n\r\n GetDefaultDataForSendModes(EmpID){\r\n return this.apiService.getParam('/Employee/GetaddrssPersonDetailsByPersonId?EmployeeID',EmpID)\r\n .then(response => {\r\n return response;\r\n });\r\n }\r\n\r\n GetAllTemplates(){\r\n return this.apiService.get('/Employee/GetAllEmployeeLetterTemplateName') \r\n .then(response => {\r\n return response; \r\n });\r\n }\r\n\r\n GetTemplates(){\r\n return this.apiService.get('/Employee/GetLetterTemplatesForDropDown') \r\n .then(response => {\r\n return response; \r\n });\r\n }\r\n\r\n DeleteEmployeeLetter(letterID,EmployeeID){\r\n return this.apiService.post(`/Employee/DeleteEmployeeLetters?EmployeeLetterID=${letterID}&EmployeeID=${EmployeeID}`) \r\n .then(response => { \r\n return response; \r\n });\r\n }\r\n\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\nimport {data} from 'jquery';\r\n\r\n@inject(ApiService)\r\nexport class SalaryRevisionService {\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n PostEmployeeSalaryRevision(listData) {\r\n return this.apiService.post('/SalaryRevision/PostEmployeeSalaryRevision', listData)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n DepartmentDropdown(EmployeeId, StatusCode) {\r\n return this.apiService.getParameters(`/Employee/GetDepartmentsForDropdown?EmployeeId=${EmployeeId}&StatusCode=${StatusCode}`)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n GetPersonFavoriteItems(employeeId, sitemapId) {\r\n return this.apiService.getParameters(`/Menu/GetPersonFavoriteItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n AddToFavourites(employeeId, sitemapId) {\r\n return this.apiService.getParameters(`/Menu/AddToFavouriteItems?EmployeeID=${employeeId}&SiteMapID=${sitemapId}`)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n getEmployeeDetails(SalaryRevisionID) {\r\n return this.apiService.getParameters(`/SalaryRevision/GetSalaryRevisionByID?SalaryRevisionID=${SalaryRevisionID}`)\r\n }\r\n Questionlist(SalRevisionID,EmployeeID){\r\n return this.apiService.getParameters(`/SalaryRevision/GetSalaryRevisionQuestionsListByID?SalRevisionID=${SalRevisionID}&EmployeeID=${EmployeeID}`)\r\n }\r\n AppreciationByEmployeeID(EmployeeID,StartDate,EndDate){\r\n return this.apiService.getParameters(`/SalaryRevision/GetAppreciationByEmployeeID?EmployeeID=${EmployeeID}&FromDate=${StartDate}&ToDate=${EndDate}`)\r\n }\r\n GetTimeoffSummaryByPersonID(PersonId,StartDate,EndDate){\r\n return this.apiService.getParameters(`/SalaryRevision/GetTimeoffSummaryByPersonID?PersonId=${PersonId}&StartDate=${StartDate}&EndDate=${EndDate}`)\r\n }\r\n GetOtherPositionDetails(Position,LevelName,Department,PersonId,LoggedInEmployeeId){\r\n return this.apiService.getParameters(`/SalaryRevision/GetOtherPositionDetails?Position=${Position}&LevelName=${LevelName}&Department=${Department}&PersonId=${PersonId}&LoggedInEmployeeId=${LoggedInEmployeeId}`)\r\n }\r\n\r\n getEmployeeSalaryRevision(FromDate,ToDate,Status,LoggedInEmployeeId)\r\n {\r\n return this.apiService.getParameters(`/SalaryRevision/GetEmployeeSalaryRevision?FromDate=${FromDate}&ToDate=${ToDate}&Status=${Status}&LoggedInEmployeeId=${LoggedInEmployeeId}`)\r\n .then(data =>{\r\n return data;\r\n \r\n });\r\n }\r\n\r\n GetCertificationsByPersonID(PersonId,Fromdate,Todate){\r\n return this.apiService.post(`/SalaryRevision/GetCertificationsByPersonID?Personid=${PersonId}&FromDate=${Fromdate}&ToDate=${Todate}`)\r\n .then(data =>{\r\n return data;\r\n });\r\n }\r\n\r\n\r\n}\r\n\r\n","export function status(response) {\n if (response.status >= 200 && response.status < 400) {\n return response.json();\n }\n \n throw response;\n}\n\nexport function parseError(error) {\n if (!(error instanceof Error))\n return new Promise((resolve, reject) => reject(error.json()))\n}\n","// session-timeout-service.js\r\nimport { inject } from 'aurelia-framework';\r\nimport {DialogController, DialogService} from 'aurelia-dialog';\r\nimport { ConfirmationDialog } from \"../../components/sesssionconfirmation/confirmationcomponent\";\r\nimport { Router } from 'aurelia-router';\r\n\r\n@inject(Router, DialogService,DialogController)\r\nexport class SessionTimeoutService {\r\n constructor(router, dialogService,controller) {\r\n this.router = router;\r\n this.dialogService = dialogService;\r\n this.inactivityTimeout = 15 * 60 * 1000; // 15 minutes in milliseconds\r\n this.timer = null;\r\n this.isActive = false;\r\n this.isPopupOpen = false;\r\n this.controller = controller;\r\n this.sessionIdentifier = 'unique_session_identifier'; // Unique identifier for the session\r\n // Routes to exclude from session timeout behavior\r\n this.excludedRoutes = ['login', 'feedback', 'forgotpassword'];\r\n // Check if the session is still active when the service is initialized\r\n if (!this.isSessionActive() && !this.isExcludedRoute()) {\r\n }\r\n this.startTimer();\r\n }\r\n isSessionActive() {\r\n // Check if the session identifier exists in local storage\r\n return localStorage.getItem(this.sessionIdentifier) !== null;\r\n }\r\n isExcludedRoute() {\r\n // Check if the current route is in the excludedRoutes array\r\n const currentRoute = this.router.currentInstruction ? this.router.currentInstruction.config.name : '';\r\n return this.excludedRoutes.includes(currentRoute);\r\n }\r\n startTimer() {\r\n this.timer = setTimeout(async () => {\r\n if (!this.isPopupOpen && !this.isSessionActive() && !this.isExcludedRoute()) {\r\n // Show the confirmation dialog only if the popup is not open, the session has expired,\r\n // and the current route is not in the excludedRoutes\r\n this.isPopupOpen = true;\r\n const result = await this.dialogService.open({\r\n viewModel: ConfirmationDialog,\r\n model: 'Your session is expired. Please login again',\r\n }).whenClosed();\r\n this.isPopupOpen = false;\r\n // If the user confirms, redirect to the login page\r\n if (!result.wasCancelled) {\r\n this.router.navigateToRoute('login');\r\n window.location.reload();\r\n }\r\n }\r\n }, this.inactivityTimeout);\r\n }\r\n activateSessionTracking() {\r\n this.isActive = true;\r\n this.startTimer();\r\n // Store the session identifier in local storage\r\n localStorage.setItem(this.sessionIdentifier, 'active');\r\n }\r\n resetTimer() {\r\n // Reset the timer when there is user activity\r\n clearTimeout(this.timer);\r\n this.startTimer();\r\n }\r\n \r\n\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n\r\n@inject(ApiService)\r\nexport class SidebarService {\r\n\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n\r\n DeleteFavoriteItems(employeeId,siteMapID)\r\n {\r\n return this.apiService.delete(`/Menu/DeleteFavoriteItems?EmployeeID=${employeeId}&SiteMapID=${siteMapID}`)\r\n .then(data =>\r\n {\r\n return data;\r\n });\r\n }\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\n\r\n\r\n@inject(ApiService)\r\nexport class SupportService {\r\n constructor(apiService) {\r\n this.apiService = apiService;\r\n }\r\n SaveSupportForm(data){\r\n return this.apiService.post('/Support/PostSupport',data)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n getLocations(){\r\n return this.apiService.get('/Employee/GetAllLocationsForDropdown')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n getModulesData(){\r\n return this.apiService.get('/Support/GetConfigurationModules')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n getFeedbackTypes(){\r\n return this.apiService.get('/Support/GetFeedbackTypes')\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n getLocationsByEmployeeId(EmployeeId){\r\n return this.apiService.getParam('/Support/GetLocationsByEmployeeIdForDropdown?EmployeeId' ,EmployeeId)\r\n .then(data => {\r\n return data;\r\n });\r\n }\r\n\r\n}\r\n","import {inject} from 'aurelia-dependency-injection';\r\nimport {ApiService} from './apiservice';\r\nimport { JwtService } from './jwtservice';\r\nimport {User} from '../models/user';\r\nimport {SharedState} from '../state/sharedstate';\r\nimport { data } from 'jquery';\r\nimport {Router} from 'aurelia-router';\r\n@inject(ApiService, JwtService, SharedState,Router)\r\nexport class TaskService{\r\n \r\n constructor(apiService, jwtService, sharedState,router) {\r\n this.apiService = apiService;\r\n this.jwtService = jwtService;\r\n this.sharedState = sharedState;\r\n this.router = router;\r\n }\r\n \r\n GettaskList(employeId){\r\n return this.apiService.getParam('/Dashboard/GetDashboardDetails?employeeID',employeId)\r\n .then(data=>{\r\n //console.log(data);\r\n return data\r\n });\r\n}\r\n \r\n \r\n}\r\n","import {User} from '../models/user';\r\n\r\nexport class SharedState {\r\n \r\n constructor() {\r\n this.currentUser = new User();\r\n this.isAuthenticated = false;\r\n }\r\n}\r\n"],"names":[],"sourceRoot":""}