"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "上下调整形态"
 * description: "onChange 第一个参数是输入框 value， 第二个参数 e.Event 事件对象。editable 属性设置是否可输入。"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var titleStyle = {
    margin: '4px 0 4px',
    color: '#1D1D1F',
    height: 20,
};
var contentStyle = {
    display: 'grid',
    gridTemplateColumns: 'repeat(2, 1fr)',
    gap: 36,
};
function onChange(value, e) {
    console.log(value, e.type, e.triggerType);
}
exports.default = (function () {
    return (react_1.default.createElement("div", { style: contentStyle },
        react_1.default.createElement("div", null,
            react_1.default.createElement("div", { style: titleStyle }, "\u9ED8\u8BA4"),
            react_1.default.createElement(console_components_1.NumberPicker, { max: 7, onChange: onChange })),
        react_1.default.createElement("div", null,
            react_1.default.createElement("div", { style: titleStyle }, "\u8F93\u5165\u5B8C\u6210"),
            react_1.default.createElement(console_components_1.NumberPicker, { defaultValue: 5, max: 7, onChange: onChange })),
        react_1.default.createElement("div", null,
            react_1.default.createElement("div", { style: titleStyle }, "\u7981\u7528"),
            react_1.default.createElement(console_components_1.NumberPicker, { defaultValue: 6, max: 7, disabled: true }))));
});
