|
1 |
- {"version":3,"sources":["../../src/util/rebuildFunctionalSlots.ts"],"names":[],"mappings":";;;;;kBAEwB,sB;AAAV,SAAU,sBAAV,CAAkC,KAAlC,EAAiF,CAAjF,EAAiG;AAC7G,QAAM,WAAoB,EAA1B;AAEA,SAAK,IAAM,IAAX,IAAmB,KAAnB,EAA0B;AACxB,YAAI,MAAM,cAAN,CAAqB,IAArB,CAAJ,EAAgC;AAC9B,qBAAS,IAAT,CAAc,EAAE,UAAF,EAAc,EAAE,UAAF,EAAd,EAAwB,MAAM,IAAN,CAAxB,CAAd;AACD;AACF;AAED,WAAO,QAAP;AACD","sourcesContent":["import { CreateElement, VNode } from 'vue'\n\nexport default function rebuildFunctionalSlots (slots: { [key: string]: VNode[] | undefined }, h: CreateElement) {\n const children: VNode[] = []\n\n for (const slot in slots) {\n if (slots.hasOwnProperty(slot)) {\n children.push(h('template', { slot }, slots[slot]))\n }\n }\n\n return children\n}\n"],"sourceRoot":""}
|