UNPKG

primevue

Version:

PrimeVue is a premium UI library for Vue featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock, wh

55 lines (49 loc) 1.42 kB
import BaseComponent from '@primevue/core/basecomponent'; import CarouselContent from 'primevue/carouselcontent'; import GalleryThumbnailContentStyle from 'primevue/gallerythumbnailcontent/style'; import { openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, renderSlot, normalizeClass } from 'vue'; var script$1 = { name: 'BaseGalleryThumbnailContent', "extends": BaseComponent, props: { as: { type: [String, Object], "default": function _default() { return CarouselContent; } }, asChild: { type: Boolean, "default": false } }, style: GalleryThumbnailContentStyle, provide: function provide() { return { $pcGalleryThumbnailContent: this, $parentInstance: this }; } }; var script = { name: 'GalleryThumbnailContent', "extends": script$1, inheritAttrs: false, inject: ['$pcGallery'] }; function render(_ctx, _cache, $props, $setup, $data, $options) { return !_ctx.asChild ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.as), mergeProps({ key: 0, "class": _ctx.cx('root') }, _ctx.ptmi('root')), { "default": withCtx(function () { return [renderSlot(_ctx.$slots, "default")]; }), _: 3 }, 16, ["class"])) : renderSlot(_ctx.$slots, "default", { key: 1, "class": normalizeClass(_ctx.cx('root')) }); } script.render = render; export { script as default };