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