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
2 lines (1 loc) • 1.08 kB
JavaScript
this.primevue=this.primevue||{},this.primevue.stepper=this.primevue.stepper||{},this.primevue.stepper.style=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}return t(primevue.base.style).default.extend({name:"stepper",classes:{root:function(e){var t=e.props;return["p-stepper p-component",{"p-stepper-horizontal":"horizontal"===t.orientation,"p-stepper-vertical":"vertical"===t.orientation,"p-readonly":t.linear}]},nav:"p-stepper-nav",stepper:{header:function(e){var t=e.instance,p=e.index;return["p-stepper-header",{"p-highlight":t.isStepActive(p),"p-disabled":t.isItemDisabled(p)}]},action:"p-stepper-action",number:"p-stepper-number",title:"p-stepper-title",separator:"p-stepper-separator",toggleableContent:"p-stepper-toggleable-content",content:function(e){return["p-stepper-content",{"p-toggleable-content":"vertical"===e.props.orientation}]}},panelContainer:"p-stepper-panels",panel:function(e){return["p-stepper-panel",{"p-stepper-panel-active":"vertical"===e.props.orientation&&e.instance.isStepActive(e.index)}]}}})}();