"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormLayoutStories = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const FormTestData_1 = require("../Testing/FormTestData");
const FormRuntime_1 = require("../FormRuntime");
const FormDesignConstants_1 = require("../Utilities/FormDesignConstants");
const DefaultOnOff_1 = require("../Utilities/DefaultOnOff");
const StoryData_1 = require("../../CommonUI/StoryBook/StoryData");
exports.FormLayoutStories = [
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Default"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.formBackgroundColor = "red";
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Default"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.defaultShowContainerBorder = true;
        ui.gapBetweenContainers = 100;
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Inner Layout Space"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.defaultShowContainerBorder = true;
        ui.defaultInterControlSpacing = 50;
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Inner Control Space"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.formBackgroundColor = "red";
        ui.defaultShowContainerBorder = true;
        ui.defaultInnerContainerMargin = 100;
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Inner Margin"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.defaultInnerColumnMargin = 50;
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Inner Column Margin"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.defaultShowContainerBorder = true;
        ui.defaultContainerBorderColor = "black";
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Default Borders"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.defaultShowContainerBorder = true;
        ui.defaultContainerBorderStyle = FormDesignConstants_1.BorderStyle.Dashed;
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Default Borders Dashed"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.showLinesBetweenContainers = true;
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Lines Between Layouts"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.defaultShowContainerBorder = true;
        ui.defaultContainerBorderColor = "black";
        ui.getContainers()[0].overrideFormBorderSettings = DefaultOnOff_1.DefaultOnOff.On;
        ui.getContainers()[0].showContainerBorder = true;
        ui.getContainers()[0].containerBorderColor = "red";
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Override Defaults In One Container"),
    new StoryData_1.StoryNode(() => {
        let ui = (0, FormTestData_1.getFormConfig)();
        ui.defaultShowContainerBorder = true;
        ui.defaultContainerBorderColor = "black";
        ui.getContainers()[0].overrideFormBorderSettings = DefaultOnOff_1.DefaultOnOff.On;
        ui.getContainers()[0].showContainerBorder = false;
        return (0, jsx_runtime_1.jsx)(FormRuntime_1.FormRuntime, { form: ui });
    }, "Form Builder", "Layout", "Turn Off Border In One Container"),
];
//# sourceMappingURL=AllContainer-stories.js.map