"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RegisterFlowEditors = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
// -------------
// this is the registration of all default flow elements
// -------------
const RegisterFlowEditor_1 = require("./RegisterFlowEditor");
const FormStepIcon_1 = require("../../CommonUI/Icon/FormStepIcon");
const LogStepIcon_1 = require("../../CommonUI/Icon/LogStepIcon");
const MultiStepIcon_1 = require("../../CommonUI/Icon/MultiStepIcon");
const RunFlowIcon_1 = require("../../CommonUI/Icon/RunFlowIcon");
const SaveFlowIcon_1 = require("../../CommonUI/Icon/SaveFlowIcon");
const RunStatementRuleIcon_1 = require("../../CommonUI/Icon/RunStatementRuleIcon");
const RunTableRuleIcon_1 = require("../../CommonUI/Icon/RunTableRuleIcon");
const RunTreeRuleIcon_1 = require("../../CommonUI/Icon/RunTreeRuleIcon");
const RunRuleSetIcon_1 = require("../../CommonUI/Icon/RunRuleSetIcon");
const RunIntersectionRuleIcon_1 = require("../../CommonUI/Icon/RunIntersectionRuleIcon");
const RunExpressionBooleanIcon_1 = require("../../CommonUI/Icon/RunExpressionBooleanIcon");
const RunValueRuleIcon_1 = require("../../CommonUI/Icon/RunValueRuleIcon");
const MappingDarkIcon_1 = require("../../CommonUI/Icon/MappingDarkIcon");
const TextMergeDarkIcon_1 = require("../../CommonUI/Icon/TextMergeDarkIcon");
const SequenceEndStepEditor_1 = require("../Steps/General/SequenceEndStepEditor");
const LongOutputTestStepEditor_1 = require("../Steps/ExampleSteps/LongOutputTestStepEditor");
const ManyOutputTestStepEditor_1 = require("../Steps/ExampleSteps/ManyOutputTestStepEditor");
const MultiOutputTestStepEditor_1 = require("../Steps/ExampleSteps/MultiOutputTestStepEditor");
const LogStepEditor_1 = require("../Steps/General/LogStepEditor");
const RunIntersectionRuleEditor_1 = require("../Steps/Rules/RunIntersectionRuleEditor");
const RunRuleSetEditor_1 = require("../Steps/Rules/RunRuleSetEditor");
const RunRuleTableEditor_1 = require("../Steps/Rules/RunRuleTableEditor");
const RunStatementRuleEditor_1 = require("../Steps/Rules/RunStatementRuleEditor");
const RunTreeRuleEditor_1 = require("../Steps/Rules/RunTreeRuleEditor");
const RunValueTableEditor_1 = require("../Steps/Rules/RunValueTableEditor");
const TextMergeStepEditor_1 = require("../Steps/Rules/TextMergeStepEditor");
const FormStepEditor_1 = require("../Steps/UI/FormStepEditor");
const MappingStepEditor_1 = require("../Steps/UI/MappingStepEditor");
const RunExpressionEditor_1 = require("../Steps/Expressions/RunExpressionEditor");
const SaveFlowDataEditor_1 = require("../Steps/General/SaveFlowDataEditor");
const RunFlowEditor_1 = require("../Steps/General/RunFlowEditor");
const SequenceEndStep_1 = require("@appglue/common/dist/Flow/Steps/General/SequenceEndStep");
const LogStep_1 = require("@appglue/common/dist/Flow/Steps/General/LogStep");
const RunExpression_1 = require("@appglue/common/dist/Flow/Steps/Expressions/RunExpression");
const RunFlow_1 = require("@appglue/common/dist/Flow/Steps/General/RunFlow");
const RunRuleSet_1 = require("@appglue/common/dist/Flow/Steps/Rules/RunRuleSet");
const RunTreeRule_1 = require("@appglue/common/dist/Flow/Steps/Rules/RunTreeRule");
const SaveFlowData_1 = require("@appglue/common/dist/Flow/Steps/General/SaveFlowData");
const RunIntersectionRule_1 = require("@appglue/common/dist/Flow/Steps/Rules/RunIntersectionRule");
const RunValueTable_1 = require("@appglue/common/dist/Flow/Steps/Rules/RunValueTable");
const RunRuleTable_1 = require("@appglue/common/dist/Flow/Steps/Rules/RunRuleTable");
const RunStatementRule_1 = require("@appglue/common/dist/Flow/Steps/Rules/RunStatementRule");
const TextMergeStep_1 = require("@appglue/common/dist/Flow/Steps/Rules/TextMergeStep");
const MappingStep_1 = require("@appglue/common/dist/Flow/Steps/UI/MappingStep");
const FormStep_1 = require("@appglue/common/dist/Flow/Steps/UI/FormStep");
const MultiOutputTestStep_1 = require("@appglue/common/dist/Flow/Steps/ExampleSteps/MultiOutputTestStep");
const ManyOutputTestStep_1 = require("@appglue/common/dist/Flow/Steps/ExampleSteps/ManyOutputTestStep");
const LongOutputTestStep_1 = require("@appglue/common/dist/Flow/Steps/ExampleSteps/LongOutputTestStep");
class RegisterFlowEditors {
    static isRegistered = false;
    static doRegistration() {
        if (RegisterFlowEditors.isRegistered)
            return;
        RegisterFlowEditors.isRegistered = true;
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new MultiOutputTestStepEditor_1.MultiOutputTestStepEditor(), new MultiOutputTestStep_1.MultiOutputTestStep(), "Testing", "Multiple Paths", (0, jsx_runtime_1.jsx)(MultiStepIcon_1.MultiStepIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new ManyOutputTestStepEditor_1.ManyOutputTestStepEditor(), new ManyOutputTestStep_1.ManyOutputTestStep(), "Testing", "Multiple Paths - Many", (0, jsx_runtime_1.jsx)(MultiStepIcon_1.MultiStepIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new LongOutputTestStepEditor_1.LongOutputTestStepEditor(), new LongOutputTestStep_1.LongOutputTestStep(), "Testing", "Multiple Paths - Long", (0, jsx_runtime_1.jsx)(MultiStepIcon_1.MultiStepIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new FormStepEditor_1.FormStepEditor(), new FormStep_1.FormStep(), "UI", "Form", (0, jsx_runtime_1.jsx)(FormStepIcon_1.FormStepIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new MappingStepEditor_1.MappingStepEditor(), new MappingStep_1.MappingStep(), "UI", "Mapping", (0, jsx_runtime_1.jsx)(MappingDarkIcon_1.MappingDarkIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new TextMergeStepEditor_1.TextMergeStepEditor(), new TextMergeStep_1.TextMergeStep(), "UI", "Text Merge", (0, jsx_runtime_1.jsx)(TextMergeDarkIcon_1.TextMergeDarkIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunExpressionEditor_1.RunExpressionEditor(), new RunExpression_1.RunExpression(), "Expression", "Run Expression", (0, jsx_runtime_1.jsx)(RunExpressionBooleanIcon_1.RunExpressionBooleanIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunStatementRuleEditor_1.RunStatementRuleEditor(), new RunStatementRule_1.RunStatementRule(), "Rule", "Run Statement Rule", (0, jsx_runtime_1.jsx)(RunStatementRuleIcon_1.RunStatementRuleIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunRuleTableEditor_1.RunRuleTableEditor(), new RunRuleTable_1.RunRuleTable(), "Rule", "Run Rule Table", (0, jsx_runtime_1.jsx)(RunTableRuleIcon_1.RunTableRuleIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunValueTableEditor_1.RunValueTableEditor(), new RunValueTable_1.RunValueTable(), "Rule", "Run Value Table", (0, jsx_runtime_1.jsx)(RunValueRuleIcon_1.RunValueRuleIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunIntersectionRuleEditor_1.RunIntersectionRuleEditor(), new RunIntersectionRule_1.RunIntersectionRule(), "Rule", "Run Intersection Rule", (0, jsx_runtime_1.jsx)(RunIntersectionRuleIcon_1.RunIntersectionRuleIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunTreeRuleEditor_1.RunTreeRuleEditor(), new RunTreeRule_1.RunTreeRule(), "Rule", "Run Tree Rule", (0, jsx_runtime_1.jsx)(RunTreeRuleIcon_1.RunTreeRuleIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunRuleSetEditor_1.RunRuleSetEditor(), new RunRuleSet_1.RunRuleSet(), "Rule", "Run Rule Set", (0, jsx_runtime_1.jsx)(RunRuleSetIcon_1.RunRuleSetIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new RunFlowEditor_1.RunFlowEditor(), new RunFlow_1.RunFlow(), "Flow", "Run Flow", (0, jsx_runtime_1.jsx)(RunFlowIcon_1.RunFlowIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new SaveFlowDataEditor_1.SaveFlowDataEditor(), new SaveFlowData_1.SaveFlowData(), "Flow", "Save Flow", (0, jsx_runtime_1.jsx)(SaveFlowIcon_1.SaveFlowIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new LogStepEditor_1.LogStepEditor(), new LogStep_1.LogStep(), "Utilities", "Log", (0, jsx_runtime_1.jsx)(LogStepIcon_1.LogStepIcon, {}));
        (0, RegisterFlowEditor_1.RegisterFlowEditor)(new SequenceEndStepEditor_1.SequenceEndStepEditor(), new SequenceEndStep_1.SequenceEndStep(), "SequenceEndStep", "Sequence End Step", (0, jsx_runtime_1.jsx)(LogStepIcon_1.LogStepIcon, {}));
    }
}
exports.RegisterFlowEditors = RegisterFlowEditors;
//# sourceMappingURL=RegisterFlowEditors.js.map