text: /**
   * Copyright 2019 Penn 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";import{RichTextEditorPicker as a}from"./rich-text-editor-picker.js";import"../../../../@polymer/iron-icons/editor-icons.js";class RichTextEditorHeadingPicker extends a{constructor(){super(),this.command="formatBlock",this.icon=null,this.label="Block format",this.allowNull=!0}static get properties(){return{blocks:{name:"blocks",type:Array,notify:!0,value:[{label:"Paragraph",tag:"p"},{label:"Heading 1",tag:"h1"},{label:"Heading 2",tag:"h2"},{label:"Heading 3",tag:"h3"},{label:"Heading 4",tag:"h4"},{label:"Heading 5",tag:"h5"},{label:"Heading 6",tag:"h6"},{label:"Preformatted",tag:"pre"}]},options:{name:"options",type:Array,computed:"_getBlockOptions(blocks)",notify:!0},block:{name:"block",type:Boolean,value:!0,readOnly:!0}}}static get tag(){return"rich-text-editor-heading-picker"}_getBlockOptions(e){let t=[[{alt:this.label,value:null}]];return e.forEach((function(e){t.push([{alt:e.label,value:e.tag}])})),t}}window.customElements.define(RichTextEditorHeadingPicker.tag,RichTextEditorHeadingPicker);export{RichTextEditorHeadingPicker};