"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormDesignConstants = exports.TabOrientation = exports.NotificationType = exports.LinkControlType = exports.LinkControlUnderline = exports.ButtonControlSize = exports.TextControlSize = exports.TextControlStyle = exports.FormMode = exports.WidthUnitInterface = exports.DisplayStyle = exports.BorderStyle = void 0;
var BorderStyle;
(function (BorderStyle) {
    BorderStyle["Solid"] = "Solid";
    BorderStyle["Dotted"] = "Dotted";
    BorderStyle["Dashed"] = "Dashed";
    BorderStyle["Groove"] = "Groove";
    BorderStyle["Double"] = "Double";
})(BorderStyle = exports.BorderStyle || (exports.BorderStyle = {}));
var DisplayStyle;
(function (DisplayStyle) {
    DisplayStyle["Block"] = "Block";
    DisplayStyle["Inline"] = "Inline";
    DisplayStyle["Inline Block"] = "Inline Block";
    DisplayStyle["Flex"] = "Flex";
})(DisplayStyle = exports.DisplayStyle || (exports.DisplayStyle = {}));
var WidthUnitInterface;
(function (WidthUnitInterface) {
    WidthUnitInterface["PERCENTAGE"] = "%";
    WidthUnitInterface["PIXEL"] = "px";
})(WidthUnitInterface = exports.WidthUnitInterface || (exports.WidthUnitInterface = {}));
var FormMode;
(function (FormMode) {
    FormMode["LayoutDesign"] = "LayoutDesign";
    FormMode["FormDesign"] = "FormDesign";
    FormMode["Runtime"] = "Runtime";
    FormMode["Test"] = "Test";
    FormMode["JSON"] = "Json";
    FormMode["Data"] = "Data";
    FormMode["Rules"] = "Rules";
})(FormMode = exports.FormMode || (exports.FormMode = {}));
var TextControlStyle;
(function (TextControlStyle) {
    TextControlStyle["LABELED"] = "labeled";
    TextControlStyle["OUTLINE"] = "outline";
    TextControlStyle["SHADED"] = "shaded";
    TextControlStyle["UNDERLINED"] = "underlined";
})(TextControlStyle = exports.TextControlStyle || (exports.TextControlStyle = {}));
var TextControlSize;
(function (TextControlSize) {
    TextControlSize["STANDARD"] = "medium";
    TextControlSize["SMALL"] = "small";
})(TextControlSize = exports.TextControlSize || (exports.TextControlSize = {}));
var ButtonControlSize;
(function (ButtonControlSize) {
    ButtonControlSize["STANDARD"] = "medium";
    ButtonControlSize["SMALL"] = "small";
    ButtonControlSize["LARGE"] = "large";
})(ButtonControlSize = exports.ButtonControlSize || (exports.ButtonControlSize = {}));
var LinkControlUnderline;
(function (LinkControlUnderline) {
    LinkControlUnderline["NONE"] = "none";
    LinkControlUnderline["HOVER"] = "hover";
    LinkControlUnderline["ALWAYS"] = "always";
})(LinkControlUnderline = exports.LinkControlUnderline || (exports.LinkControlUnderline = {}));
var LinkControlType;
(function (LinkControlType) {
    LinkControlType["ACTION"] = "action";
    LinkControlType["URL"] = "url";
})(LinkControlType = exports.LinkControlType || (exports.LinkControlType = {}));
var NotificationType;
(function (NotificationType) {
    NotificationType["ERROR"] = "error";
    NotificationType["WARNING"] = "warning";
    NotificationType["INFO"] = "info";
})(NotificationType = exports.NotificationType || (exports.NotificationType = {}));
var TabOrientation;
(function (TabOrientation) {
    TabOrientation["Veritical"] = "vertical";
    TabOrientation["Horizontal"] = "horizontal";
})(TabOrientation = exports.TabOrientation || (exports.TabOrientation = {}));
class FormDesignConstants {
    static LAYOUT_FORM_KEY_NAME = "baselayoutkey";
    static SELECTED_CONTROL_BORDER_COLOR = "#4682B4";
    static SELECTED_CONTROL_BORDER_WIDTH = "2px";
    static DEFAULT_TAB_CONTENT_HEIGHT = 300;
    static ERROR_CONTROL_BORDER_WIDTH = "1px";
    static ERROR_CONTROL_BORDER_COLOR = "#F65C66";
    static TOOLBOX_NOT_DRAGGING_COLOR = "lightgray";
    static TOOLBOX_DRAGGING_COLOR = "red";
    static TOOLBOX_LEFT_BEHIND_COLOR = "#4682B4";
    static DESIGN_AREA_BACKGROUND_COLOR = "#DCDCDC";
    static DESIGN_WIDTH = 800;
    static RUNTIME_WIDTH = null;
    static GAP_BETWEEN_CONTAINERS = 10;
    static GAP_BETWEEN_COLUMNS = 10;
    static FORM_MARGIN = 10;
    static INNER_CONTAINER_MARGIN = 10;
    static INTER_CONTROL_SPACING = 12;
    static SHOW_CONTAINER_BORDER = false;
    static CONTAINER_BORDER_RADIOUS = 5;
    static CONTAINER_BORDER_WIDTH = 2;
    static CONTAINER_BORDER_COLOR = "lightgray";
    static CONTAINER_BORDER_STYLE = BorderStyle.Solid;
    static TAB_CONTENT_HEIGHT = 500;
    static TAB_CONTENT_WIDTH = 500;
    static INNER_COLUMN_MARGIN = 10;
    static LINE_COLOR_BETWEEN_COLUMNS = "lightgray";
    static LINE_WIDTH_BETWEEN_COLUMNS = 1;
    static FORM_BACKGROUND_COLOR = null;
    static CONTAINER_BACKGROUND_COLOR = null;
    static FORM_MODE_GRAY = "Gray";
    static FORM_MODE_WHITE = "None";
    static FORM_MODE_PAPER = "Paper";
    static FORM_MODE_OUTLINE = "Outline";
    //'Defined Size', 'Tablet (Horizontal)', 'Tablet (Vertical)', 'Phone (Horizontal)', 'Phone (Vertical)'
    static FORM_MODE_TABLET_HORIZONTAL = "Tablet (Horizontal)";
    static FORM_MODE_TABLET_VERTICAL = "Tablet (Vertical)";
    static FORM_MODE_PHONE_HORIZONTAL = "Phone (Horizontal)";
    static FORM_MODE_PHONE_VERTICAL = "Phone (Vertical)";
    //['(Current)', 'None', 'Sample 1', 'Sample 2']
    static FORM_DATA_MODE_CURRENT = "Current";
    static FORM_DATA_MODE_NONE = "None";
    static FORM_DATA_MODE_SAMPLE1 = "Sample1";
    static FORM_DATA_MODE_SAMPLE2 = "Sample2";
    static FORM_SECTION_MARGIN = 20;
    static FORM_OUTER_MARGIN = 24;
    static DROPPABLE_BORDER_COLOR = "#4682B4";
    static DROPPABLE_BORDER_WIDTH = 2;
    static DROPPABLE_BORDER_STYLE = BorderStyle.Dashed;
    static DROPPABLE_BORDER_RADIUS = 5;
    static DEFAULT_TEXT_STYLE = TextControlStyle.LABELED;
    static DEFAULT_TEXT_SIZE = TextControlSize.STANDARD;
    static DEFAULT_BUTTON_SIZE = ButtonControlSize.STANDARD;
    static DEFAULT_LINK_UNDERLINE = LinkControlUnderline.HOVER;
    static DEFAULT_LINK_TYPE = LinkControlType.ACTION;
    static FORM_MODE = [
        FormDesignConstants.FORM_MODE_TABLET_HORIZONTAL,
        FormDesignConstants.FORM_MODE_TABLET_VERTICAL,
        FormDesignConstants.FORM_MODE_PHONE_HORIZONTAL,
        FormDesignConstants.FORM_MODE_PHONE_VERTICAL,
        FormDesignConstants.FORM_MODE_GRAY,
        FormDesignConstants.FORM_MODE_WHITE,
        FormDesignConstants.FORM_MODE_PAPER,
        FormDesignConstants.FORM_MODE_OUTLINE,
    ];
    static FORM_DATA_MODE = [
        FormDesignConstants.FORM_DATA_MODE_CURRENT,
        FormDesignConstants.FORM_DATA_MODE_NONE,
        // FormDesignConstants.FORM_DATA_MODE_SAMPLE1,
        // FormDesignConstants.FORM_DATA_MODE_SAMPLE2,
    ];
    static BORDER_STYLES = [
        BorderStyle.Solid,
        BorderStyle.Dashed,
        BorderStyle.Dotted,
        BorderStyle.Double,
        BorderStyle.Groove,
    ];
    static TAB_ORIENTATION = [TabOrientation.Horizontal, TabOrientation.Veritical];
}
exports.FormDesignConstants = FormDesignConstants;
//# sourceMappingURL=FormDesignConstants.js.map