"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DateListPropertyEditor = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const PropertyEditorDateList_1 = require("./PropertyEditorDateList");
const ObserveState_1 = require("../StateManagement/ObserveState");
const StateManager_1 = require("@appglue/common/dist/Common/StateManager");
const StoryData_1 = require("../StoryBook/StoryData");
class DateListData {
    editObject = {};
    label = "Date List";
    propertyName = "DateList";
    updateCallback = () => {
        StateManager_1.StateManager.propertyChanged(this, this.propertyName);
    };
}
let testData = new DateListData();
exports.DateListPropertyEditor = [
    new StoryData_1.StoryNode(() => {
        let args = new DateListData();
        return ((0, jsx_runtime_1.jsx)(ObserveState_1.ObserveState, { listenTo: testData, properties: [testData.propertyName], control: () => (0, jsx_runtime_1.jsx)(PropertyEditorDateList_1.PropertyEditorDateList, { ...args }) }));
    }, "Shared", "Property Editors", "Date List"),
];
//# sourceMappingURL=PropertyEditorDateList-stories.js.map