import { jsx as _jsx } from "react/jsx-runtime";
import { PropertyEditorText } from "../../../../../CommonUI/PropertyEditing/PropertyEditorText";
import { PropertyEditorTextList } from "../../../../../CommonUI/PropertyEditing/PropertyEditorTextList";
import { StateManager } from "../../../../../CommonUI/StateManagement/StateManager";
import { BaseRule } from "../BaseRule";
export class BaseStringRule extends BaseRule {
    renderListEditor(cell) {
        return _jsx(PropertyEditorTextList, { editObject: cell, propertyName: 'values', updateCallback: () => {
                StateManager.propertyChanged(cell, 'values');
            } }, void 0);
    }
    renderOneLineEditor(cell) {
        return _jsx(PropertyEditorText, { editObject: cell, propertyName: 'values', updateCallback: () => StateManager.propertyChanged(cell, 'values') }, void 0);
    }
}
//# sourceMappingURL=BaseStringRule.js.map