"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class FilterInput {
    onMount() {
        var _a;
        this.textbox = (_a = this.getComponent("input")) === null || _a === void 0 ? void 0 : _a.getEl("input");
    }
    handleClear(event) {
        const originalEvent = event.originalEvent;
        this.textbox.value = "";
        this.emit("input-change", {
            originalEvent,
            value: "",
        });
        this.emit("clear", {
            originalEvent,
            value: "",
        });
    }
}
module.exports = FilterInput;
