import { tBoolean } from '../../../logical/data-type.js';
import { columnManager } from '../manager.js';
export const checkboxPureColumnConfig = columnManager.register('checkbox', {
    name: 'Checkbox',
    type: () => tBoolean.create(),
    defaultData: () => ({}),
    cellToString: data => (data ? 'True' : 'False'),
    cellFromString: data => {
        return {
            value: data === 'False' ? false : true,
        };
    },
    cellToJson: data => data ?? null,
});
//# sourceMappingURL=define.js.map