"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MappingEditorStories = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
// also exported from '@storybook/react' if you can deal with breaking changes in 6.1
const MappingBuilder_1 = require("../MappingBuilder");
const TestDataSetup_1 = require("../Testing/TestDataSetup");
const StoryData_1 = require("../../CommonUI/StoryBook/StoryData");
exports.MappingEditorStories = [
    new StoryData_1.StoryNode(() => {
        let definition = (0, TestDataSetup_1.getMappingDataDefinition)();
        return (0, jsx_runtime_1.jsx)(MappingBuilder_1.MappingBuilder, { definition: definition, mappingBuilderName: "Mapping Editor" });
    }, "Mapping Editor", "Default"),
    new StoryData_1.StoryNode(() => {
        let definition = (0, TestDataSetup_1.getMappingDataDefinition)();
        definition.getExecutionResult().fields.splice(0, 1);
        definition.mappingRules[1].targetPath = "totalWorkingHours";
        definition.mappingRules[1].mapping.value = 1200;
        definition.mappingRules[0].mapping.value = 1200;
        return (0, jsx_runtime_1.jsx)(MappingBuilder_1.MappingBuilder, { definition: definition, mappingBuilderName: "Mapping Editor" });
    }, "Mapping Editor", "Invalid"),
];
//# sourceMappingURL=XMappingEditor-stories.js.map