/**
 * Copyright 2018 The Pennsylvania State University
 * @license Apache-2.0, see License.md for full text.
 */
import{html as e,PolymerElement as t}from"../../@polymer/polymer/polymer-element.js";class PaperStepper extends t{static get tag(){return"paper-stepper"}static get properties(){return{selected:{type:Number,notify:!0,value:0},progressBar:{type:Boolean,value:!1},backLabel:{type:String,value:"Back"},nextLabel:{type:String,value:"Next"},disablePrevious:{type:Boolean,value:!1},disableNext:{type:Boolean,value:!1},noButtons:{type:Boolean,value:!1}}}_tapPrevious(){this.shadowRoot.querySelector("#selector").selectPrevious()}_tapNext(){this.shadowRoot.querySelector("#selector").selectNext()}_getDisablePrevious(e,t){return e>0&&!t}_getDisableNext(e,t,r){return e<t-1&&!r}_computeProgressValue(e,t){return e+1}_onItemsChanged(e){this._items=this.shadowRoot.querySelector("#selector").items}}customElements.define(PaperStepper.tag,PaperStepper);export{PaperStepper};