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