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 • 2.05 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../../src/menu/style/MenuStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/menu';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ props }) => [\n 'p-menu p-component',\n {\n 'p-menu-overlay': props.popup\n }\n ],\n start: 'p-menu-start',\n list: 'p-menu-list',\n submenuLabel: 'p-menu-submenu-label',\n separator: 'p-menu-separator',\n end: 'p-menu-end',\n item: ({ instance }) => [\n 'p-menu-item',\n {\n 'p-focus': instance.id === instance.focusedOptionId,\n 'p-disabled': instance.disabled()\n }\n ],\n itemContent: 'p-menu-item-content',\n itemLink: 'p-menu-item-link',\n itemIcon: 'p-menu-item-icon',\n itemLabel: 'p-menu-item-label'\n};\n\nexport default BaseStyle.extend({\n name: 'menu',\n style,\n classes\n});\n"],"names":["classes","root","_ref","props","popup","start","list","submenuLabel","separator","end","item","_ref2","instance","id","focusedOptionId","disabled","itemContent","itemLink","itemIcon","itemLabel","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAA,OAAO,CACjB,oBAAoB,EACpB;MACI,gBAAgB,EAAEA,KAAK,CAACC;AAC5B,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,KAAK,EAAE,cAAc;AACrBC,EAAAA,IAAI,EAAE,aAAa;AACnBC,EAAAA,YAAY,EAAE,sBAAsB;AACpCC,EAAAA,SAAS,EAAE,kBAAkB;AAC7BC,EAAAA,GAAG,EAAE,YAAY;AACjBC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;IAAA,OAAO,CACpB,aAAa,EACb;AACI,MAAA,SAAS,EAAEA,QAAQ,CAACC,EAAE,KAAKD,QAAQ,CAACE,eAAe;AACnD,MAAA,YAAY,EAAEF,QAAQ,CAACG,QAAQ;AACnC,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,WAAW,EAAE,qBAAqB;AAClCC,EAAAA,QAAQ,EAAE,kBAAkB;AAC5BC,EAAAA,QAAQ,EAAE,kBAAkB;AAC5BC,EAAAA,SAAS,EAAE;AACf,CAAC;AAED,gBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,KAAK,EAALA,KAAK;AACLvB,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}