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

45 lines (39 loc) • 1.21 kB
import BaseComponent from '@primevue/core/basecomponent'; import InputColorTransparencyGridStyle from 'primevue/inputcolortransparencygrid/style'; import { openBlock, createBlock, resolveDynamicComponent, mergeProps, renderSlot, normalizeClass } from 'vue'; var script$1 = { name: 'BaseInputColorTransparencyGrid', "extends": BaseComponent, props: { as: { type: [String, Object, Function], "default": 'DIV' }, asChild: { type: Boolean, "default": false } }, style: InputColorTransparencyGridStyle, provide: function provide() { return { $pcInputColorTransparencyGrid: this, $parentInstance: this }; } }; var script = { name: 'InputColorTransparencyGrid', "extends": script$1, inheritAttrs: false }; 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')), null, 16, ["class"])) : renderSlot(_ctx.$slots, "default", { "class": normalizeClass(_ctx.cx('root')) }, undefined, undefined, 1); } script.render = render; export { script as default };