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

46 lines (43 loc) 1.47 kB
import { style } from '@primeuix/styles/panelmenu'; import BaseStyle from '@primevue/core/base/style'; var classes = { root: 'p-panelmenu p-component', panel: 'p-panelmenu-panel', header: function header(_ref) { var instance = _ref.instance, item = _ref.item; return ['p-panelmenu-header', { 'p-panelmenu-header-active': instance.isItemActive(item) && !!item.items, 'p-disabled': instance.isItemDisabled(item) }]; }, headerContent: 'p-panelmenu-header-content', headerLink: 'p-panelmenu-header-link', headerIcon: 'p-panelmenu-header-icon', headerLabel: 'p-panelmenu-header-label', contentContainer: 'p-panelmenu-content-container', content: 'p-panelmenu-content', rootList: 'p-panelmenu-root-list', item: function item(_ref2) { var instance = _ref2.instance, processedItem = _ref2.processedItem; return ['p-panelmenu-item', { 'p-focus': instance.isItemFocused(processedItem), 'p-disabled': instance.isItemDisabled(processedItem) }]; }, itemContent: 'p-panelmenu-item-content', itemLink: 'p-panelmenu-item-link', itemIcon: 'p-panelmenu-item-icon', itemLabel: 'p-panelmenu-item-label', submenuIcon: 'p-panelmenu-submenu-icon', submenu: 'p-panelmenu-submenu', separator: 'p-menuitem-separator' }; var PanelMenuStyle = BaseStyle.extend({ name: 'panelmenu', style: style, classes: classes }); export { PanelMenuStyle as default }; //# sourceMappingURL=index.mjs.map