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