"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("@storybook/react");
var storybook_react_router_1 = __importDefault(require("storybook-react-router"));
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var SubmitChallengeStatement_1 = require("./SubmitChallengeStatement");
var RequestAppealStatement_1 = require("./RequestAppealStatement");
var SubmitAppealChallengeStatement_1 = require("./SubmitAppealChallengeStatement");
var StyledDiv = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: flex;\n  width: 100vh;\n  height: 100vw;\n  background-color: #fff;\n"], ["\n  display: flex;\n  width: 100vh;\n  height: 100vw;\n  background-color: #fff;\n"])));
var Container = function (_a) {
    var children = _a.children;
    return (React.createElement(StyledDiv, null,
        React.createElement("div", null, children)));
};
react_1.storiesOf("Registry / User Statement Forms", module)
    .addDecorator(storybook_react_router_1.default())
    .add("Submit Challenge Statement", function () {
    var updateStatementValue = function (name, value) {
        console.log("update statement", name, value);
    };
    var props = {
        constitutionURI: "https://civil.co",
        governanceGuideURI: "https://civil.co",
        listingURI: "https://civil.co",
        newsroomName: "The Sleeper Reporters",
        minDeposit: "100,000 CVL",
        commitStageLen: "10 days",
        revealStageLen: "7 days",
        transactions: [],
        updateStatementValue: updateStatementValue,
    };
    return React.createElement(Container, null, process.env.NODE_ENV !== "test" && React.createElement(SubmitChallengeStatement_1.SubmitChallengeStatement, __assign({}, props)));
})
    .add("Submit Appeal Statement", function () {
    var updateStatementValue = function (name, value) {
        console.log("update statement", name, value);
    };
    var props = {
        constitutionURI: "https://civil.co",
        governanceGuideURI: "https://civil.co",
        listingURI: "https://civil.co",
        newsroomName: "The Sleeper Reporters",
        appealFee: "100,000 CVL",
        judgeAppealLen: "5 days",
        transactions: [],
        updateStatementValue: updateStatementValue,
    };
    return React.createElement(Container, null, process.env.NODE_ENV !== "test" && React.createElement(RequestAppealStatement_1.RequestAppealStatement, __assign({}, props)));
})
    .add("Submit Appeal Challenge Statement", function () {
    var updateStatementValue = function (name, value) {
        console.log("update statement", name, value);
    };
    var props = {
        constitutionURI: "https://civil.co",
        governanceGuideURI: "https://civil.co",
        listingURI: "https://civil.co",
        newsroomName: "The Sleeper Reporters",
        appealFee: "100,000 CVL",
        appealVotePercentage: "60%",
        challengeAppealCommitLen: "10 days",
        challengeAppealRevealLen: "7 days",
        transactions: [],
        updateStatementValue: updateStatementValue,
    };
    return React.createElement(Container, null, process.env.NODE_ENV !== "test" && React.createElement(SubmitAppealChallengeStatement_1.SubmitAppealChallengeStatement, __assign({}, props)));
});
var templateObject_1;
//# sourceMappingURL=UserStatement.stories.js.map