"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IntersectionRuleStories = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const IntersectionRuleBuilder_1 = require("../IntersectionRuleBuilder");
const TestDataSetup_1 = require("../Testing/TestDataSetup");
const DataTestData_1 = require("@appglue/common/dist/Common/Data/DataTestData");
const StoryData_1 = require("../../../CommonUI/StoryBook/StoryData");
const StringDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/StringDataDefinition");
exports.IntersectionRuleStories = [
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getEmptyRuleDefinition)();
        ruleDefinition.inputData = (0, DataTestData_1.getEmptyDataDefinition)();
        return (0, jsx_runtime_1.jsx)(IntersectionRuleBuilder_1.IntersectionRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Intersection Rule", "Empty Input Data"),
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getEmptyRuleDefinition)();
        ruleDefinition.inputData = (0, DataTestData_1.getFilledDataDefinition)();
        return (0, jsx_runtime_1.jsx)(IntersectionRuleBuilder_1.IntersectionRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Intersection Rule", "With Input Data"),
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getEmptyRuleDefinition)();
        ruleDefinition.inputData = () => (0, DataTestData_1.getFilledDataDefinition)();
        return (0, jsx_runtime_1.jsx)(IntersectionRuleBuilder_1.IntersectionRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Intersection Rule", "Read Only Input Data"),
    new StoryData_1.StoryNode(() => {
        let ruleDefinition = (0, TestDataSetup_1.getEmptyRuleDefinition)();
        ruleDefinition.inputData = () => (0, DataTestData_1.getFilledDataDefinition)();
        ruleDefinition.executionResult = () => {
            return new StringDataDefinition_1.StringDataDefinition();
        };
        return (0, jsx_runtime_1.jsx)(IntersectionRuleBuilder_1.IntersectionRuleBuilder, { ruleDefinition: ruleDefinition });
    }, "Rule", "Intersection Rule", "Read Only Output"),
];
//# sourceMappingURL=IntersectionRuleEditor-stories.js.map