UNPKG

1.02 kBSource Map (JSON)View Raw
1{"version":3,"file":"typeahead-match.class.js","sourceRoot":"","sources":["../../src/typeahead/typeahead-match.class.ts"],"names":[],"mappings":"AACA;IAKE,wBAAmB,IAAQ,EAAE,KAAmB,EAAE,MAAsB;QAA3C,qBAAmB,GAAnB,YAAmB;QAAE,sBAAsB,GAAtB,cAAsB;QACtE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAEM,iCAAQ,GAAf;QACE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAEM,iCAAQ,GAAf;QACE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IACH,qBAAC;AAAD,CAAC,AAlBD,IAkBC","sourcesContent":["\nexport class TypeaheadMatch {\n public readonly value:string;\n public readonly item:any;\n protected header:boolean;\n\n public constructor(item:any, value:string = item, header:boolean = false) {\n this.item = item;\n this.value = value;\n this.header = header;\n }\n\n public isHeader():boolean {\n return this.header;\n }\n\n public toString():string {\n return this.value;\n }\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
\No newline at end of file