import { Component, OnInit, Input } from '@angular/core';

import { <%-SchemaName%>ListViewComponent } from './<%-schemaName%>-list-view.component';

@Component({
  <%- include(`/widgets/list-view/component.template.custom.ts`)%>
})
export class <%-SchemaName%><%-ComponentClassName%>Component extends <%-SchemaName%>ListViewComponent implements OnInit {
  public fields: any = {<% for (let field of briefView) {%><%
    if (field.galleryPicture) {%>
  picture: '<%-field.fieldName%>',<%
    }%><%
    if (field.galleryTitle) {%>
  title: '<%-field.fieldName%>',<%
    }%><%
    if (field.gallerySubTitle) {%>
  subTitle: '<%-field.fieldName%>',<%
    }%><%
  }%>
  };

  constructor() {
    super();
  }

  override ngOnInit() {
    super.ngOnInit();
  }
}
