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 r}from"./translation.js";import"./cc-addon-option-form.js";class s 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=r("cc-addon-mongodb-options.title");return t`
      <cc-addon-option-form heading="${n}" .options=${o}>
        <div slot="description">${r("cc-addon-mongodb-options.description")}</div>
      </cc-addon-option-form>
    `}static get styles(){return[n`
        :host {
          display: block;
        }
      `]}}window.customElements.define("cc-addon-mongodb-options",s);export{s as CcAddonMongodbOptions};
//# sourceMappingURL=cc-addon-mongodb-options.js.map
