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.84 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../../src/tabview/style/TabViewStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/tabview';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ props }) => [\n 'p-tabview p-component',\n {\n 'p-tabview-scrollable': props.scrollable\n }\n ],\n navContainer: 'p-tabview-tablist-container',\n prevButton: 'p-tabview-prev-button',\n navContent: 'p-tabview-tablist-scroll-container',\n nav: 'p-tabview-tablist',\n tab: {\n header: ({ instance, tab, index }) => [\n 'p-tabview-tablist-item',\n instance.getTabProp(tab, 'headerClass'),\n {\n 'p-tabview-tablist-item-active': instance.d_activeIndex === index,\n 'p-disabled': instance.getTabProp(tab, 'disabled')\n }\n ],\n headerAction: 'p-tabview-tab-header',\n headerTitle: 'p-tabview-tab-title',\n content: ({ instance, tab }) => ['p-tabview-panel', instance.getTabProp(tab, 'contentClass')]\n },\n inkbar: 'p-tabview-ink-bar',\n nextButton: 'p-tabview-next-button',\n panelContainer: 'p-tabview-panels'\n};\n\nexport default BaseStyle.extend({\n name: 'tabview',\n style,\n classes\n});\n"],"names":["classes","root","_ref","props","scrollable","navContainer","prevButton","navContent","nav","tab","header","_ref2","instance","index","getTabProp","d_activeIndex","headerAction","headerTitle","content","_ref3","inkbar","nextButton","panelContainer","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,uBAAuB,EACvB;MACI,sBAAsB,EAAEA,KAAK,CAACC;AAClC,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,YAAY,EAAE,6BAA6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