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

1 lines 3.1 kB
{"version":3,"file":"index.mjs","sources":["../../../src/tieredmenu/style/TieredMenuStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/tieredmenu';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst inlineStyles = {\n submenu: ({ instance, processedItem }) => ({ display: instance.isItemActive(processedItem) ? 'flex' : 'none' })\n};\n\nconst classes = {\n root: ({ props, instance }) => [\n 'p-tieredmenu p-component',\n {\n 'p-tieredmenu-overlay': props.popup,\n 'p-tieredmenu-mobile': instance.queryMatches\n }\n ],\n start: 'p-tieredmenu-start',\n rootList: 'p-tieredmenu-root-list',\n item: ({ instance, processedItem }) => [\n 'p-tieredmenu-item',\n {\n 'p-tieredmenu-item-active': instance.isItemActive(processedItem),\n 'p-focus': instance.isItemFocused(processedItem),\n 'p-disabled': instance.isItemDisabled(processedItem)\n }\n ],\n itemContent: 'p-tieredmenu-item-content',\n itemLink: 'p-tieredmenu-item-link',\n itemIcon: 'p-tieredmenu-item-icon',\n itemLabel: 'p-tieredmenu-item-label',\n submenuIcon: 'p-tieredmenu-submenu-icon',\n submenu: 'p-tieredmenu-submenu',\n separator: 'p-tieredmenu-separator',\n end: 'p-tieredmenu-end'\n};\n\nexport default BaseStyle.extend({\n name: 'tieredmenu',\n style,\n classes,\n inlineStyles\n});\n"],"names":["inlineStyles","submenu","_ref","instance","processedItem","display","isItemActive","classes","root","_ref2","props","popup","queryMatches","start","rootList","item","_ref3","isItemFocused","isItemDisabled","itemContent","itemLink","itemIcon","itemLabel","submenuIcon","separator","end","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,YAAY,GAAG;AACjBC,EAAAA,OAAO,EAAE,SAATA,OAAOA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,IAAA,CAARC,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