1 line
No EOL
1.4 KiB
Text
1 line
No EOL
1.4 KiB
Text
{"version":3,"sources":["../../../src/components/VDataTable/VDataTableHeader.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;;;eAEe,aAAI,MAAJ,CAAW;AACxB,EAAA,IAAI,EAAE,qBADkB;AAGxB,EAAA,UAAU,EAAE,IAHY;AAKxB,EAAA,KAAK,EAAE;AACL,IAAA,MAAM,EAAE;AADH,GALiB;AASxB,EAAA,MATwB,kBAShB,CATgB,QASS;AAAA,QAApB,KAAoB,QAApB,KAAoB;AAAA,QAAb,IAAa,QAAb,IAAa;AAAA,QAAP,KAAO,QAAP,KAAO;AAC/B,uCAAqB,IAArB;AACA,QAAM,QAAQ,GAAG,qCAAa,KAAK,EAAlB,EAAsB,CAAtB,CAAjB;;AAEA,QAAI,KAAK,CAAC,MAAV,EAAkB;AAChB,aAAO,CAAC,CAAC,+BAAD,EAAyB,IAAzB,EAA+B,QAA/B,CAAR;AACD,KAFD,MAEO;AACL,aAAO,CAAC,CAAC,gCAAD,EAA0B,IAA1B,EAAgC,QAAhC,CAAR;AACD;AACF;AAlBuB,CAAX,C","sourcesContent":["import './VDataTableHeader.sass'\n\nimport Vue from 'vue'\nimport dedupeModelListeners from '../../util/dedupeModelListeners'\nimport rebuildSlots from '../../util/rebuildFunctionalSlots'\n\nimport VDataTableHeaderMobile from './VDataTableHeaderMobile'\nimport VDataTableHeaderDesktop from './VDataTableHeaderDesktop'\n\nexport default Vue.extend({\n name: 'v-data-table-header',\n\n functional: true,\n\n props: {\n mobile: Boolean,\n },\n\n render (h, { props, data, slots }) {\n dedupeModelListeners(data)\n const children = rebuildSlots(slots(), h)\n\n if (props.mobile) {\n return h(VDataTableHeaderMobile, data, children)\n } else {\n return h(VDataTableHeaderDesktop, data, children)\n }\n },\n})\n"],"sourceRoot":"","file":"VDataTableHeader.js"} |