import { Host, h } from '@stencil/core';
export class SnkFilterAdvancedMode {
  constructor() {
    this.filterAssistent = undefined;
    this.application = undefined;
  }
  getMessage(key, params) {
    return this.application.messagesBuilder.getMessage(key, params);
  }
  render() {
    var _a;
    return (h(Host, null, h("span", { class: "ez-title ez-title--small ez-padding-bottom--small snk-filter-advanced-mode__title" }, this.getMessage("snkPersonalizedFilter.info.applyExpression")), h("ez-text-area", { rows: 9, label: this.getMessage("snkPersonalizedFilter.info.labelExpression"), value: (_a = this.filterAssistent) === null || _a === void 0 ? void 0 : _a.expression, onEzChange: (evt) => this.ezExpressionChange.emit(evt.detail) })));
  }
  static get is() { return "snk-filter-advanced-mode"; }
  static get encapsulation() { return "scoped"; }
  static get originalStyleUrls() {
    return {
      "$": ["snk-filter-advanced-mode.css"]
    };
  }
  static get styleUrls() {
    return {
      "$": ["snk-filter-advanced-mode.css"]
    };
  }
  static get properties() {
    return {
      "filterAssistent": {
        "type": "unknown",
        "mutable": true,
        "complexType": {
          "original": "IPersonalizedFilter",
          "resolved": "IPersonalizedFilter",
          "references": {
            "IPersonalizedFilter": {
              "location": "import",
              "path": "../../interfaces/IPersonalizedFilter"
            }
          }
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": "Propriedade que cont\u00E9m informa\u00E7\u00F5es do filtro personalizado."
        }
      },
      "application": {
        "type": "unknown",
        "mutable": true,
        "complexType": {
          "original": "SnkApplication",
          "resolved": "SnkApplication",
          "references": {
            "SnkApplication": {
              "location": "import",
              "path": "../../../snk-application/snk-application"
            }
          }
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": "Propriedade que mant\u00E9m informa\u00E7\u00F5es relacionadas ao SnkApplication."
        }
      }
    };
  }
  static get events() {
    return [{
        "method": "ezExpressionChange",
        "name": "ezExpressionChange",
        "bubbles": true,
        "cancelable": true,
        "composed": true,
        "docs": {
          "tags": [],
          "text": "Evento emitido sempre que uma edi\u00E7\u00E3o na express\u00E3o \u00E9 realizada."
        },
        "complexType": {
          "original": "void",
          "resolved": "void",
          "references": {}
        }
      }];
  }
}
