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 2.04 kB
{"version":3,"file":"index.mjs","sources":["../../../src/dock/style/DockStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/dock';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ instance, props }) => [\n 'p-dock p-component',\n `p-dock-${props.position}`,\n {\n 'p-dock-mobile': instance.queryMatches\n }\n ],\n listContainer: 'p-dock-list-container',\n list: 'p-dock-list',\n item: ({ instance, processedItem, id }) => [\n 'p-dock-item',\n {\n 'p-focus': instance.isItemActive(id),\n 'p-disabled': instance.disabled(processedItem)\n }\n ],\n itemContent: 'p-dock-item-content',\n itemLink: 'p-dock-item-link',\n itemIcon: 'p-dock-item-icon'\n};\n\nexport default BaseStyle.extend({\n name: 'dock',\n style,\n classes\n});\n"],"names":["classes","root","_ref","instance","props","concat","position","queryMatches","listContainer","list","item","_ref2","processedItem","id","isItemActive","disabled","itemContent","itemLink","itemIcon","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;MAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAA,OAAO,CAC3B,oBAAoB,EAAAC,SAAAA,CAAAA,MAAA,CACVD,KAAK,CAACE,QAAQ,CACxB,EAAA;MACI,eAAe,EAAEH,QAAQ,CAACI;AAC9B,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,aAAa,EAAE,uBAAuB;AACtCC,EAAAA,IAAI,EAAE,aAAa;AACnBC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKR,QAAQ,GAAAQ,KAAA,CAARR,QAAQ;MAAES,aAAa,GAAAD,KAAA,CAAbC,aAAa;MAAEC,EAAE,GAAAF,KAAA,CAAFE,EAAE;IAAA,OAAO,CACvC,aAAa,EACb;AACI,MAAA,SAAS,EAAEV,QAAQ,CAACW,YAAY,CAACD,EAAE,CAAC;AACpC,MAAA,YAAY,EAAEV,QAAQ,CAACY,QAAQ,CAACH,aAAa;AACjD,KAAC,CACJ;AAAA,GAAA;AACDI,EAAAA,WAAW,EAAE,qBAAqB;AAClCC,EAAAA,QAAQ,EAAE,kBAAkB;AAC5BC,EAAAA,QAAQ,EAAE;AACd,CAAC;AAED,gBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,KAAK,EAALA,KAAK;AACLtB,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}