import { DataType, DataUnit, UserInterface } from '@sankhyalabs/core';
import { h } from '@stencil/core';
export class TestePesquisa {
  componentWillLoad() {
    this.dataUnit = new DataUnit("testes_com_formulario");
    this.dataUnit.metadata = {
      name: "dd://br.com.sankhya.fin.cad.movimentacaoFinanceira/Financeiro",
      label: "Parceiro",
      fields: [
        {
          name: "CODPARC",
          label: "Parceiro",
          dataType: DataType.NUMBER,
          userInterface: UserInterface.SEARCH,
          required: true,
          properties: { ENTITYNAME: "Parceiro" }
        }
      ]
    };
  }
  render() {
    return (h("snk-application", null, h("ez-form", { dataUnit: this.dataUnit })));
  }
  static get is() { return "teste-pesquisa"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() {
    return {
      "$": ["teste-pesquisa.css"]
    };
  }
  static get styleUrls() {
    return {
      "$": ["teste-pesquisa.css"]
    };
  }
}
