"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PropertyEditorExpressionStories = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const StoryData_1 = require("../StoryBook/StoryData");
const PropertyEditorExpression_1 = require("./PropertyEditorExpression");
const ExpressionConfiguration_1 = require("@appglue/common/dist/Expressions/ExpressionConfiguration");
const StringDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/StringDataDefinition");
const DataTestData_1 = require("@appglue/common/dist/Common/Data/DataTestData");
class SectionData {
    editObject = {
        expression: new ExpressionConfiguration_1.ExpressionConfiguration(),
    };
    propertyName = "expression";
    resultType = new StringDataDefinition_1.StringDataDefinition();
    inputDataFunction() {
        return (0, DataTestData_1.getFilledDataDefinition)();
    }
    updateCallback() { }
}
exports.PropertyEditorExpressionStories = [
    new StoryData_1.StoryNode(() => {
        const params = new SectionData();
        return ((0, jsx_runtime_1.jsx)(PropertyEditorExpression_1.PropertyEditorExpression, { ...params, updateCallback: params.updateCallback, inputDataFunction: params.inputDataFunction }));
    }, "Shared", "Property Editors", "PropertyEditorExpression"),
];
//# sourceMappingURL=PropertyEditorExpression-stories.js.map