UNPKG

primevue

Version:

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

50 lines (44 loc) 1.12 kB
import { isEmpty } from '@primeuix/utils/object'; import BaseComponent from '@primevue/core/basecomponent'; import InputGroupStyle from 'primevue/inputgroup/style'; import { openBlock, createElementBlock, mergeProps, renderSlot } from 'vue'; var script$1 = { name: 'BaseInputGroup', "extends": BaseComponent, props: { fluid: { type: Boolean, "default": null } }, style: InputGroupStyle, provide: function provide() { return { $pcInputGroup: this, $parentInstance: this }; } }; var script = { name: 'InputGroup', "extends": script$1, inheritAttrs: false, inject: { $pcFluid: { "default": null } }, computed: { hasFluid: function hasFluid() { return isEmpty(this.fluid) ? !!this.$pcFluid : this.fluid; } } }; function render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("div", mergeProps({ "class": _ctx.cx('root') }, _ctx.ptmi('root')), [renderSlot(_ctx.$slots, "default")], 16); } script.render = render; export { script as default }; //# sourceMappingURL=index.mjs.map