"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RegisterFormElements = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
// -------------
// this is the registration of all default form elements
// -------------
const RegisterUIControl_1 = require("./Utilities/RegisterUIControl");
const TextFieldIcon_1 = require("../CommonUI/Icon/TextFieldIcon");
const TextFormControl_1 = require("./Controls/Web/TextFormControl");
const TimePickerIcon_1 = require("../CommonUI/Icon/TimePickerIcon");
const TimePickerFormControl_1 = require("./Controls/Web/TimePickerFormControl");
const TextAreaIcon_1 = require("../CommonUI/Icon/TextAreaIcon");
const TagIcon_1 = require("../CommonUI/Icon/TagIcon");
const TagGroupFormControl_1 = require("./Controls/Web/TagGroupFormControl");
const SwitchIcon_1 = require("../CommonUI/Icon/SwitchIcon");
const SwitchFormControl_1 = require("./Controls/Web/SwitchFormControl");
const SliderIcon_1 = require("../CommonUI/Icon/SliderIcon");
const SliderFormControl_1 = require("./Controls/Web/SliderFormControl");
const SelectBoxIcon_1 = require("../CommonUI/Icon/SelectBoxIcon");
const SelectFormControl_1 = require("./Controls/Web/SelectFormControl");
const RatingIcon_1 = require("../CommonUI/Icon/RatingIcon");
const RatingFormControl_1 = require("./Controls/Web/RatingFormControl");
const RadioListIcon_1 = require("../CommonUI/Icon/RadioListIcon");
const RadioGroupFormControl_1 = require("./Controls/Web/RadioGroupFormControl");
const PasswordFormControl_1 = require("./Controls/Web/PasswordFormControl");
const NumberboxIcon_1 = require("../CommonUI/Icon/NumberboxIcon");
const NumberFormControl_1 = require("./Controls/Web/NumberFormControl");
const ListEntryIcon_1 = require("../CommonUI/Icon/ListEntryIcon");
const ListEntryFormControl_1 = require("./Controls/Web/ListEntryFormControl");
const ButtonIcon_1 = require("../CommonUI/Icon/ButtonIcon");
const LinkFormControl_1 = require("./Controls/Web/LinkFormControl");
const LabelIcon_1 = require("../CommonUI/Icon/LabelIcon");
const LabelFormControl_1 = require("./Controls/Web/LabelFormControl");
const HeadingIcon_1 = require("../CommonUI/Icon/HeadingIcon");
const HeadingFormControl_1 = require("./Controls/Web/HeadingFormControl");
const DatePickerIcon_1 = require("../CommonUI/Icon/DatePickerIcon");
const DatePickerFormControl_1 = require("./Controls/Web/DatePickerFormControl");
const CheckboxListIcon_1 = require("../CommonUI/Icon/CheckboxListIcon");
const CheckboxListFormControl_1 = require("./Controls/Web/CheckboxListFormControl");
const CheckboxFormIcon_1 = require("../CommonUI/Icon/CheckboxFormIcon");
const CheckboxFormControl_1 = require("./Controls/Web/CheckboxFormControl");
const ButtonGroupIcon_1 = require("../CommonUI/Icon/ButtonGroupIcon");
const ButtonGroupFormControl_1 = require("./Controls/Web/ButtonGroupFormControl");
const ButtonFormControl_1 = require("./Controls/Web/ButtonFormControl");
const LineFormControl_1 = require("./Controls/Web/LineFormControl");
const InlineTextEditFormControl_1 = require("./Controls/Web/InlineTextEditFormControl");
const MultiInlineTextEditFormControl_1 = require("./Controls/Web/MultiInlineTextEditFormControl");
const ColumnIcon_1 = require("../CommonUI/Icon/ColumnIcon");
const Containers_1 = require("./Containers");
const HStackIcon_1 = require("../CommonUI/Icon/HStackIcon");
const StackIcon_1 = require("../CommonUI/Icon/StackIcon");
const FileUploadFormControl_1 = require("./Controls/Web/FileUploadFormControl");
const FileUploadIcon_1 = require("../CommonUI/Icon/FileUploadIcon");
const FileDownloadFormControl_1 = require("./Controls/Web/FileDownloadFormControl");
const FileDownloadIcon_1 = require("../CommonUI/Icon/FileDownloadIcon");
const ValueSliderFormControl_1 = require("./Controls/Web/ValueSliderFormControl");
const ImageFormControl_1 = require("./Controls/Web/ImageFormControl");
const mdi_material_ui_1 = require("mdi-material-ui");
const SignaturePadFormControl_1 = require("./Controls/Web/SignaturePadFormControl");
const ValueSliderIcon_1 = require("../CommonUI/Icon/ValueSliderIcon");
const PasswordBoxIcon_1 = require("../CommonUI/Icon/PasswordBoxIcon");
const LineIcon_1 = require("../CommonUI/Icon/LineIcon");
const InlineRichTextEditorFormControl_1 = require("./Controls/Web/InlineRichTextEditorFormControl");
const RichTextEditorFormControl_1 = require("./Controls/Web/RichTextEditorFormControl");
const CurrencyFormControl_1 = require("./Controls/Web/CurrencyFormControl");
const CurrencyIcon_1 = require("../CommonUI/Icon/CurrencyIcon");
const MultiLineTextEditFormControl_1 = require("./Controls/Web/MultiLineTextEditFormControl");
const MultiLineTextIcon_1 = require("../CommonUI/Icon/MultiLineTextIcon");
const ClickToEditIcon_1 = require("../CommonUI/Icon/ClickToEditIcon");
const LinkIcon_1 = require("../CommonUI/Icon/LinkIcon");
const DateRangeIcon_1 = require("../CommonUI/Icon/DateRangeIcon");
const DateRangeFormControl_1 = require("./Controls/Web/DateRangeFormControl");
const ColorPickerIcon_1 = require("../CommonUI/Icon/ColorPickerIcon");
const ColorPickerFormControl_1 = require("./Controls/Web/ColorPickerFormControl");
const XGridContainer_1 = require("./Containers/XGridContainer");
const DataGridIcon_1 = require("../CommonUI/Icon/DataGridIcon");
const TabsContainerIcon_1 = require("../CommonUI/Icon/TabsContainerIcon");
const TableIcon_1 = require("../CommonUI/Icon/TableIcon");
const DataGridFormControl_1 = require("./Controls/Web/DataGridFormControl");
const TimelineFormControl_1 = require("./Controls/Web/TimelineFormControl");
// import { XLineChart } from "./Controls/XLineChart";
const PieChartFormControl_1 = require("./Controls/Web/PieChartFormControl");
const BarChart_1 = require("../CommonUI/Icon/BarChart");
const PieChart_1 = require("../CommonUI/Icon/PieChart");
const BarChartFormControl_1 = require("./Controls/Web/BarChartFormControl");
class RegisterFormElements {
    static isRegistered = false;
    static doRegistration() {
        if (RegisterFormElements.isRegistered)
            return;
        RegisterFormElements.isRegistered = true;
        // form controls
        (0, RegisterUIControl_1.RegisterFormControl)(new TextFormControl_1.TextFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TextFieldIcon_1.TextFieldIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new MultiLineTextEditFormControl_1.MultiLineTextEditFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(MultiLineTextIcon_1.MultiLineTextIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new ColorPickerFormControl_1.ColorPickerFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(ColorPickerIcon_1.ColorPickerIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new TimePickerFormControl_1.TimePickerFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TimePickerIcon_1.TimePickerIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new TagGroupFormControl_1.TagGroupFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TagIcon_1.TagIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new SwitchFormControl_1.SwitchFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(SwitchIcon_1.SwitchIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new SliderFormControl_1.SliderFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(SliderIcon_1.SliderIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new SelectFormControl_1.SelectFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(SelectBoxIcon_1.SelectBoxIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new RatingFormControl_1.RatingFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(RatingIcon_1.RatingIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new DataGridFormControl_1.DataGridFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TableIcon_1.TableIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new PasswordFormControl_1.PasswordFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(PasswordBoxIcon_1.PasswordBoxIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new NumberFormControl_1.NumberFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(NumberboxIcon_1.NumberboxIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new CurrencyFormControl_1.CurrencyFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(CurrencyIcon_1.CurrencyIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new ListEntryFormControl_1.ListEntryFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(ListEntryIcon_1.ListEntryIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new LinkFormControl_1.LinkFormControl(), "Action", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(LinkIcon_1.LinkIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new LabelFormControl_1.LabelFormControl(), "Text", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(LabelIcon_1.LabelIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new HeadingFormControl_1.HeadingFormControl(), "Text", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(HeadingIcon_1.HeadingIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new DatePickerFormControl_1.DatePickerFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(DatePickerIcon_1.DatePickerIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new DateRangeFormControl_1.DateRangeFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(DateRangeIcon_1.DateRangeIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new CheckboxListFormControl_1.CheckboxListFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(CheckboxListIcon_1.CheckboxListIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new RadioGroupFormControl_1.RadioGroupFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(RadioListIcon_1.RadioListIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new CheckboxFormControl_1.CheckboxFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(CheckboxFormIcon_1.CheckboxIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new ButtonGroupFormControl_1.ButtonGroupFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(ButtonGroupIcon_1.ButtonGroupIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new MultiInlineTextEditFormControl_1.MultiInlineTextEditFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TextFieldIcon_1.TextFieldIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new RichTextEditorFormControl_1.RichTextEditorFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TextAreaIcon_1.TextAreaIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new ButtonFormControl_1.ButtonFormControl(), "Action", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(ButtonIcon_1.ButtonIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new InlineTextEditFormControl_1.InlineTextEditFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(ClickToEditIcon_1.ClickToEditIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new FileUploadFormControl_1.FileUploadFormControl(), "File Controls", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(FileUploadIcon_1.FileUploadIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new FileDownloadFormControl_1.FileDownloadFormControl(), "File Controls", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(FileDownloadIcon_1.FileDownloadIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new ValueSliderFormControl_1.ValueSliderFormControl(), "List Selection", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(ValueSliderIcon_1.ValueSliderIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new TimelineFormControl_1.TimelineFormControl(), "List Selection", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(ValueSliderIcon_1.ValueSliderIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new LineFormControl_1.LineFormControl(), "Display (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(LineIcon_1.LineIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new ImageFormControl_1.ImageFormControl(), "Display (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(mdi_material_ui_1.Image, {}));
        // containers
        (0, RegisterUIControl_1.RegisterFormControl)(new Containers_1.XColumnContainer(), "Containers", RegisterUIControl_1.ControlType.Container, (0, jsx_runtime_1.jsx)(ColumnIcon_1.ColumnIcon, { alt: "Columns Container" }));
        (0, RegisterUIControl_1.RegisterFormControl)(new Containers_1.XStackContainer(), "Containers", RegisterUIControl_1.ControlType.Container, (0, jsx_runtime_1.jsx)(StackIcon_1.StackIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new Containers_1.XHStackContainer(), "Containers", RegisterUIControl_1.ControlType.Container, (0, jsx_runtime_1.jsx)(HStackIcon_1.HStackIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new XGridContainer_1.XGridContainer(), "Containers", RegisterUIControl_1.ControlType.Container, (0, jsx_runtime_1.jsx)(DataGridIcon_1.DataGridIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new Containers_1.XTabContainer(), "Containers", RegisterUIControl_1.ControlType.Container, (0, jsx_runtime_1.jsx)(TabsContainerIcon_1.TabsContainerIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new SignaturePadFormControl_1.SignaturePadFormControl(), "Data (Pick)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TextAreaIcon_1.TextAreaIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new InlineRichTextEditorFormControl_1.InlineRichTextEditorFormControl(), "Data (Entry)", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(TextAreaIcon_1.TextAreaIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new BarChartFormControl_1.BarChartFormControl(), "Chart", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(BarChart_1.BarChartIcon, {}));
        (0, RegisterUIControl_1.RegisterFormControl)(new PieChartFormControl_1.PieChartFormControl(), "Chart", RegisterUIControl_1.ControlType.Control, (0, jsx_runtime_1.jsx)(PieChart_1.PieChartIcon, {}));
    }
}
exports.RegisterFormElements = RegisterFormElements;
//# sourceMappingURL=registerElements.js.map