@nextcloud/vue
Version:
Nextcloud vue components
1 lines • 1.78 kB
Source Map (JSON)
{"version":3,"file":"NcVNodes.cjs","sources":["../../src/components/NcVNodes/NcVNodes.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2023 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<script>\nexport default {\n\tname: 'NcVNodes',\n\tprops: {\n\t\t/**\n\t\t * The vnodes to render\n\t\t */\n\t\tvnodes: {\n\t\t\ttype: [Array, Object],\n\t\t\tdefault: null,\n\t\t},\n\t},\n\t/**\n\t * The render function to display the component\n\t *\n\t * @param {Function} h The function to create VNodes\n\t * @return {object} The created VNode\n\t */\n\trender(h) {\n\t\treturn this.vnodes || this.$slots?.default || this.$scopedSlots?.default?.()\n\t},\n}\n</script>\n"],"names":["_sfc_main","h","_a","_c","_b"],"mappings":"+EAuBAA,EAAA,CACA,KAAA,WACA,MAAA,CAIA,OAAA,CACA,KAAA,CAAA,MAAA,MAAA,EACA,QAAA,IACA,CACA,EAOA,OAAAC,EAAA,WACA,OAAA,KAAA,UAAAC,EAAA,KAAA,SAAA,YAAAA,EAAA,YAAAC,GAAAC,EAAA,KAAA,eAAA,YAAAA,EAAA,UAAA,YAAAD,EAAA,KAAAC,GACA,CACA"}