"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BooleanListDataEditorStories = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const TestData_1 = require("../Testing/TestData");
const CommonStoryTemplates_1 = require("../CommonStoryTemplates");
const DataDefinition_1 = require("@appglue/common/dist/Common/Data/DataDefinition");
const DataUtilities_1 = require("@appglue/common/dist/Common/DataUtilities");
const BooleanDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/BooleanDataDefinition");
const StoryData_1 = require("../../StoryBook/StoryData");
let griddef = (0, TestData_1.get5x5BooleanDataDefinition)(true);
let def = new DataDefinition_1.DataDefinition();
let fdef = new BooleanDataDefinition_1.BooleanDataDefinition("boolean");
fdef.list = true;
def.fields.push(fdef);
DataUtilities_1.DataUtilities.set(def.getValueObject(), fdef.name, [true, false, true, false, true, false, true, false]);
exports.BooleanListDataEditorStories = [
    new StoryData_1.StoryNode(() => {
        return (0, jsx_runtime_1.jsx)(CommonStoryTemplates_1.GridTestTemplate, { definition: griddef });
    }, "Data Designer", "Data Editing", "Boolean List", "Grid"),
    new StoryData_1.StoryNode(() => {
        return (0, jsx_runtime_1.jsx)(CommonStoryTemplates_1.DisplayModeTemplate, { definition: def });
    }, "Data Designer", "Data Editing", "Boolean List", "Display Mode"),
    new StoryData_1.StoryNode(() => {
        return (0, jsx_runtime_1.jsx)(CommonStoryTemplates_1.EditModeTemplate, { definition: def });
    }, "Data Designer", "Data Editing", "Boolean List", "Edit Mode"),
    new StoryData_1.StoryNode(() => {
        return (0, jsx_runtime_1.jsx)(CommonStoryTemplates_1.DisplayEditModeTemplate, { definition: def });
    }, "Data Designer", "Data Editing", "Boolean List", "Display Edit Mode"),
    new StoryData_1.StoryNode(() => {
        return (0, jsx_runtime_1.jsx)(CommonStoryTemplates_1.DisplayLayerEditModeTemplate, { definition: def });
    }, "Data Designer", "Data Editing", "Boolean List", "Display Layer Edit Mode"),
];
//# sourceMappingURL=BooleanListDataDefinition-stories.js.map