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

51 lines (45 loc) 1.77 kB
this.primevue = this.primevue || {}; this.primevue.tabview = this.primevue.tabview || {}; this.primevue.tabview.style = (function (BaseStyle) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle); var classes = { root: function root(_ref) { var props = _ref.props; return ['p-tabview p-component', { 'p-tabview-scrollable': props.scrollable }]; }, navContainer: 'p-tabview-nav-container', previousButton: 'p-tabview-nav-prev p-tabview-nav-btn p-link', navContent: 'p-tabview-nav-content', nav: 'p-tabview-nav', tab: { header: function header(_ref2) { var instance = _ref2.instance, tab = _ref2.tab, index = _ref2.index; return ['p-tabview-header', instance.getTabProp(tab, 'headerClass'), { 'p-highlight': instance.d_activeIndex === index, 'p-disabled': instance.getTabProp(tab, 'disabled') }]; }, headerAction: 'p-tabview-nav-link p-tabview-header-action', headerTitle: 'p-tabview-title', content: function content(_ref3) { var instance = _ref3.instance, tab = _ref3.tab; return ['p-tabview-panel', instance.getTabProp(tab, 'contentClass')]; } }, inkbar: 'p-tabview-ink-bar', nextButton: 'p-tabview-nav-next p-tabview-nav-btn p-link', panelContainer: 'p-tabview-panels' }; var TabViewStyle = BaseStyle__default["default"].extend({ name: 'tabview', classes: classes }); return TabViewStyle; })(primevue.base.style);