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