'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-17105557.js');
const core = require('@sankhyalabs/core');

const testePesquisaCss = ":host{display:block}";

const TestePesquisa = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  componentWillLoad() {
    this.dataUnit = new core.DataUnit("testes_com_formulario");
    this.dataUnit.metadata = {
      name: "dd://br.com.sankhya.fin.cad.movimentacaoFinanceira/Financeiro",
      label: "Parceiro",
      fields: [
        {
          name: "CODPARC",
          label: "Parceiro",
          dataType: core.DataType.NUMBER,
          userInterface: core.UserInterface.SEARCH,
          required: true,
          properties: { ENTITYNAME: "Parceiro" }
        }
      ]
    };
  }
  render() {
    return (index.h("snk-application", null, index.h("ez-form", { dataUnit: this.dataUnit })));
  }
};
TestePesquisa.style = testePesquisaCss;

exports.teste_pesquisa = TestePesquisa;
