Version: 3.3.0-alpha.13.3.03.3.14.0.04.1.04.1.14.2.05.0.0-alpha.05.0.05.1.05.2.05.3.05.3.15.3.25.4.06.0.16.1.06.2.06.3.06.4.07.0.07.1.07.2.08.0.08.1.08.2.09.0.09.1.010.0.010.1.011.0.012.0.013.0.013.0.113.1.013.2.013.3.014.0.014.2.015.0.016.0.017.0.017.1.018.0.018.1.018.1.3-beta.119.0.019.1.119.1.220.0.020.1.0-beta.020.1.020.1.120.2.021.0.021.0.121.1.021.2.021.2.121.2.222.0.0-beta.022.0.0-beta.122.0.0-beta.222.0.0-beta.322.0.022.1.022.1.123.0.023.0.223.0.323.0.4-beta.023.1.023.1.123.2.023.2.124.0.024.1.024.1.125.0.025.0.1-beta25.0.125.1.025.2.025.3.026.0.026.1.026.2.027.0.027.0.127.1.027.2.027.2.127.3.028.0.028.1.028.1.128.2.028.2.129.0.029.1.029.2.029.3.029.3.129.3.229.3.329.3.429.3.530.0.030.0.130.0.230.0.330.0.430.0.530.0.630.1.030.2.030.2.131.0.031.0.131.0.231.0.331.1.031.1.131.2.031.2.131.3.031.3.131.3.2
// ag-grid-react v26.2.0
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*
const JsEditorComp = (props: {setCellEditorRef: (cellEditor: ICellEditor | undefined)=>void,
compDetails: UserCompDetails, eParentElement: HTMLElement}) => {
const {context} = useContext(BeansContext);
useEffect(() => {
const {compDetails, eParentElement, setCellEditorRef} = props;
const cellEditor = createJsComp(context, factory => factory.createCellEditor(compDetails) ) as ICellEditorComp;
if (!cellEditor) { return; }
const compGui = cellEditor.getGui();
if (compGui) {
eParentElement.appendChild(cellEditor.getGui());
}
setCellEditorRef(cellEditor);
cellEditor.afterGuiAttached && cellEditor.afterGuiAttached();
return () => {
context.destroyBean(cellEditor);
setCellEditorRef(undefined);
if (compGui && compGui.parentElement) {
compGui.parentElement.removeChild(compGui);
};
}, []);
return (
<></>
);
export default memo(JsEditorComp);
*/