"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class FileUploadInput {
    onCreate() {
        this.state = { dragging: false };
    }
    handleFileChange(event) {
        const target = event.target;
        this.emit("input", { files: target.files, originalEvent: event });
    }
    handleDragOver() {
        this.state.dragging = true;
    }
    handleDragLeave() {
        this.state.dragging = false;
    }
}
module.exports = FileUploadInput;
