{"version":3,"file":"productColourService.js","sourceRoot":"","sources":["../../../../src/modules/services/master/productColourService.ts"],"names":[],"mappings":"AAAA,IAAO,QAAQ,CAuBd;AAvBD,WAAO,QAAQ;IACX,IAAc,MAAM,CAoBnB;IApBD,WAAc,MAAM;QAChB;YAGI,8BAAoB,SAAuC,EAAU,GAA4C;gBAA7F,cAAS,GAAT,SAAS,CAA8B;gBAAU,QAAG,GAAH,GAAG,CAAyC;YACjH,CAAC;YAED,iEAAiE;YACjE,8CAAe,GAAf;gBAEI,OAAO,IAAI,CAAC,SAAS,CAA4C,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,+BAA+B,EAAE;oBAC7G,aAAa,EAAE,gBAAgB;iBAClC,EAAE;oBACK,KAAK,EAAE;wBACH,MAAM,EAAE,KAAK;wBACb,OAAO,EAAE,IAAI;qBAChB;iBACJ,CAAC,CAAC;YACf,CAAC;YAhBM,4BAAO,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;YAiB1C,2BAAC;SAAA,AAlBD,IAkBC;QAlBY,2BAAoB,uBAkBhC,CAAA;IACL,CAAC,EApBa,MAAM,GAAN,eAAM,KAAN,eAAM,QAoBnB;IACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAChG,CAAC,EAvBM,QAAQ,KAAR,QAAQ,QAuBd","sourcesContent":["module services {\r\n export module master {\r\n export class productColourService implements interfaces.master.IProductColourService {\r\n static $inject = [\"$resource\", \"ENV\"];\r\n\r\n constructor(private $resource: ng.resource.IResourceService, private ENV: interfaces.applicationcore.serverConfig) {\r\n }\r\n\r\n //Gets list of all Product Types for a dropdown/autocomplete list\r\n getDropdownList(): ng.resource.IResourceClass {\r\n\r\n return this.$resource(this.ENV.DSP_URL + \"ProductColour/GetDropdownList\", {\r\n ownerEntityId: '@ownerEntityId'\r\n }, {\r\n query: {\r\n method: 'GET',\r\n isArray: true\r\n }\r\n });\r\n }\r\n }\r\n }\r\n angular.module(\"app\").service(\"productColourService\", services.master.productColourService);\r\n}"]}