"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DatePropertyEditor = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const PropertyEditorDate_1 = require("./PropertyEditorDate");
const StateManager_1 = require("@appglue/common/dist/Common/StateManager");
const ObserveState_1 = require("../StateManagement/ObserveState");
const StoryData_1 = require("../StoryBook/StoryData");
class DateData {
    editObject = {};
    hint = "hint";
    label = "DateEditor";
    parentDefaultValue = null;
    requiredText = "required text";
    propertyName = "datedata";
    updateCallback = () => {
        StateManager_1.StateManager.changed(this);
    };
}
exports.DatePropertyEditor = [
    new StoryData_1.StoryNode(() => {
        let args = new DateData();
        return (0, jsx_runtime_1.jsx)(ObserveState_1.ObserveState, { listenTo: args, control: () => (0, jsx_runtime_1.jsx)(PropertyEditorDate_1.PropertyEditorDate, { ...args }) });
    }, "Shared", "Property Editors", "Boolean"),
];
//# sourceMappingURL=PropertyEditorDate-stories.js.map