{"version":3,"sources":["QuotePane.tsx"],"sourcesContent":["import { template } from \"uix/html/template.ts\";\nimport { Component } from \"uix/components/Component.ts\";\n\ntype QuotePaneOptions = {\n\titems: QuotePaneItem[]\n}\nexport type QuotePaneItem = {\n\tdescription: string,\n\treference: string | Element,\n}\n@template(({items}) =>\n\t<div class=\"quote-pane\">\n\t\t{\n\t\t\t(items as QuotePaneItem[]).map(item => {\n\t\t\t\treturn <div>\n\t\t\t\t\t<span>”</span>\n\t\t\t\t\t<p>{item.description}</p>\n\t\t\t\t\t{item.reference instanceof Element ?\n\t\t\t\t\t\titem.reference :\n\t\t\t\t\t\t<div>{item.reference}</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t})\n\t\t}\n\t</div>\n)\nexport class QuotePane extends Component<QuotePaneOptions> {\n}"],"names":["Component","template","items","div","class","map","item","span","p","description","reference","Element","QuotePane"],"mappings":"sBA0B+BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1B/B,SAASC,QAAQ,QAAQ,uBAAuB;AAChD,SAASD,SAAS,QAAQ,8BAA8B;OASvDC,SAAS,CAAC,EAACC,KAAK,EAAC,iBACjB,KAACC;QAAIC,OAAM;kBAET,AAACF,MAA0BG,GAAG,CAACC,CAAAA,qBACvB,MAACH;;kCACP,KAACI;kCAAK;;kCACN,KAACC;kCAAGF,KAAKG,WAAW;;oBACnBH,KAAKI,SAAS,YAAYC,UAC1BL,KAAKI,SAAS,iBACd,KAACP;kCAAKG,KAAKI,SAAS;;;;;AAOnB,IAAA,AAAME,YAAN,MAAMA,mBAAkBZ,aAAAA;;;;WAAAA;;;;;AAC/B;SADA,AAAaY,cAAAA,SACZ","sourceRoot":"/lib/uix-components-new-0.2.1/Panes/","file":"QuotePane.tsx"}