import{LitElement as o,html as t,css as n}from"lit";import{ccAddonEncryptionAtRestOption as i}from"./templates/cc-addon-encryption-at-rest-option/cc-addon-encryption-at-rest-option.js";import{i18n as s}from"./translation.js";import"./cc-addon-option-form.js";class r extends o{static get properties(){return{options:{type:Array}}}constructor(){super(),this.options=[]}_getFormOptions(){return this.options.map((o=>"encryption"===o.name?i(o):null)).filter((o=>null!=o))}render(){const o=this._getFormOptions(),n=s("cc-addon-jenkins-options.title");return t`
      <cc-addon-option-form heading="${n}" .options=${o}>
        <div slot="description">${s("cc-addon-jenkins-options.description")}</div>
      </cc-addon-option-form>
    `}static get styles(){return[n`
        :host {
          display: block;
        }
      `]}}window.customElements.define("cc-addon-jenkins-options",r);export{r as CcAddonJenkinsOptions};
//# sourceMappingURL=cc-addon-jenkins-options.js.map
