"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValueTableStories = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const ValueTableRuleBuilder_1 = require("../ValueTableRuleBuilder");
const TestDataSetup_1 = require("../Testing/TestDataSetup");
const DataTestData_1 = require("@appglue/common/dist/Common/Data/DataTestData");
const StoryData_1 = require("../../../../CommonUI/StoryBook/StoryData");
exports.ValueTableStories = [
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getEmptyValueTable)();
        return (0, jsx_runtime_1.jsx)(ValueTableRuleBuilder_1.ValueTableRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Value Table", "Empty"),
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getValueTableWithDeferentType)(true);
        return (0, jsx_runtime_1.jsx)(ValueTableRuleBuilder_1.ValueTableRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Value Table", "Different Type"),
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getValueTableWithDeferentType)(false);
        ruleDefinition.executionResult = (0, DataTestData_1.getFilledDataDefinition)();
        return (0, jsx_runtime_1.jsx)(ValueTableRuleBuilder_1.ValueTableRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Value Table", "Writable Outputs"),
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getValueTableWithDeferentType)(true);
        ruleDefinition.rows[0].cells[0].values = "This is a long value for test.";
        return (0, jsx_runtime_1.jsx)(ValueTableRuleBuilder_1.ValueTableRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Value Table", "Long Value"),
];
//# sourceMappingURL=ValueTableEditor-stories.js.map