"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importStar(require("react"));
const ink_1 = require("ink");
const ink_divider_1 = __importDefault(require("ink-divider"));
const services_list_1 = require("./services-list");
const packages_list_1 = require("./packages-list");
class MainScreen extends react_1.Component {
    constructor(props) {
        super(props);
        this.state = {
            selected: null,
        };
    }
    render() {
        return react_1.default.createElement(ink_1.Box, { height: "100%", width: "100%" },
            react_1.default.createElement(ink_1.Box, { height: "100%", width: "50%", flexDirection: 'column' },
                react_1.default.createElement(ink_divider_1.default, { title: 'Packages' }),
                react_1.default.createElement(packages_list_1.PackagesList, null),
                react_1.default.createElement(ink_divider_1.default, { title: 'Services' }),
                react_1.default.createElement(services_list_1.ServicesList, null)),
            react_1.default.createElement(ink_1.Box, { height: "100%", width: "50%", flexDirection: 'column' },
                react_1.default.createElement(ink_divider_1.default, { title: 'Logs' }),
                react_1.default.createElement(ink_1.Text, null, "\u2713|\u2717"),
                "Selected: ",
                this.state.selected,
                "Les logs iront l\u00E0"));
    }
}
exports.MainScreen = MainScreen;
//# sourceMappingURL=main.js.map