{"version":3,"file":"customAttributeAnswerOptionService.js","sourceRoot":"","sources":["../../../../src/modules/services/master/customAttributeAnswerOptionService.ts"],"names":[],"mappings":"AAAA,IAAO,QAAQ,CAuBd;AAvBD,WAAO,QAAQ;IACX,IAAc,MAAM,CAoBnB;IApBD,WAAc,MAAM;QAChB;YAGI,4CAAoB,SAAuC,EAAU,GAA4C;gBAA7F,cAAS,GAAT,SAAS,CAA8B;gBAAU,QAAG,GAAH,GAAG,CAAyC;YACjH,CAAC;YAED,iEAAiE;YACjE,uEAA0B,GAA1B;gBAEI,OAAO,IAAI,CAAC,SAAS,CAA4C,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,wDAAwD,EAAE;oBAC1I,WAAW,EAAE,cAAc;iBAC9B,EAAE;oBACK,KAAK,EAAE;wBACH,MAAM,EAAE,KAAK;wBACb,OAAO,EAAE,IAAI;qBAChB;iBACJ,CAAC,CAAC;YACX,CAAC;YAhBM,0CAAO,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;YAiB1C,yCAAC;SAAA,AAlBD,IAkBC;QAlBY,yCAAkC,qCAkB9C,CAAA;IACL,CAAC,EApBa,MAAM,GAAN,eAAM,KAAN,eAAM,QAoBnB;IACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,oCAAoC,EAAE,QAAQ,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAAC;AAC5H,CAAC,EAvBM,QAAQ,KAAR,QAAQ,QAuBd","sourcesContent":["module services {\r\n export module master {\r\n export class customAttributeAnswerOptionService implements interfaces.master.ICustomAttributeAnswerOptionService {\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 GetDropDownListByAttribute(): ng.resource.IResourceClass {\r\n\r\n return this.$resource(this.ENV.DSP_URL + \"CustomAttributeAnswerOption/GetDropDownListByAttribute\", {\r\n attributeId: '@attributeId'\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(\"customAttributeAnswerOptionService\", services.master.customAttributeAnswerOptionService);\r\n}"]}