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

48 lines (42 loc) 1.38 kB
import BaseComponent from '@primevue/core/basecomponent'; import ToolbarStyle from 'primevue/toolbar/style'; import { createElementBlock, openBlock, mergeProps, createElementVNode, renderSlot } from 'vue'; var script$1 = { name: 'BaseToolbar', "extends": BaseComponent, props: { ariaLabelledby: { type: String, "default": null } }, style: ToolbarStyle, provide: function provide() { return { $pcToolbar: this, $parentInstance: this }; } }; var script = { name: 'Toolbar', "extends": script$1, inheritAttrs: false }; var _hoisted_1 = ["aria-labelledby"]; function render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("div", mergeProps({ "class": _ctx.cx('root'), role: "toolbar", "aria-labelledby": _ctx.ariaLabelledby }, _ctx.ptmi('root')), [createElementVNode("div", mergeProps({ "class": _ctx.cx('start') }, _ctx.ptm('start')), [renderSlot(_ctx.$slots, "start")], 16), createElementVNode("div", mergeProps({ "class": _ctx.cx('center') }, _ctx.ptm('center')), [renderSlot(_ctx.$slots, "center")], 16), createElementVNode("div", mergeProps({ "class": _ctx.cx('end') }, _ctx.ptm('end')), [renderSlot(_ctx.$slots, "end")], 16)], 16, _hoisted_1); } script.render = render; export { script as default }; //# sourceMappingURL=index.mjs.map