diff --git a/package.json b/package.json index 035b0d2..71d539b 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,8 @@ "rc-util": ">=5.13.2", "react-split-pane": ">=2.0.3", "tinymce": ">=5.5.1", - "uri-js": ">=4.4.1" + "uri-js": ">=4.4.1", + "uuid62": ">=1.0.1" }, "dependencies": { "@agentlab/sparql-jsld-client": "^5.0.0-rc.10", diff --git a/src/DispatchCell.tsx b/src/DispatchCell.tsx index 405a63b..b3ef721 100644 --- a/src/DispatchCell.tsx +++ b/src/DispatchCell.tsx @@ -20,14 +20,14 @@ import { MstContext } from './MstContext'; */ export const DispatchCell: React.FC = React.memo( ({ - data, - onMeasureChange, - uri, - schema, viewKind, viewKindElement, viewDescr, viewDescrElement, + schema, + data, + onMeasureChange, + uri, enabled, id, CKey, @@ -51,15 +51,15 @@ export const DispatchCell: React.FC = React.memo( return ( {}}> uri={id} dataSource={data} editing={store.editingData.get(collIriOverride)} + viewKind={viewKind} viewKindElement={viewKindElement} viewDescr={viewDescr} viewDescrElement={viewDescrElement} @@ -338,6 +339,7 @@ export const withStoreToSelectControlProps = (Component: any): any => return ( export const withStoreToTabProps = (Component: any): any => observer(({ ...props }: any) => { - const { schema, viewKind } = props; + const { schema, viewKind, viewDescr } = props; const { store } = useContext(MstContext); //if (viewKindElement.resultsScope && !store.saveLogicTree[viewKindElement.resultsScope]) { // store.setSaveLogic(viewKindElement.resultsScope); @@ -380,7 +382,19 @@ export const withStoreToTabProps = (Component: any): any => // }); } }; - return ; + return ( + + ); }); export const withStoreToMenuProps = (Component: any): any => @@ -410,6 +424,7 @@ export const withStoreToMenuProps = (Component: any): any => } schema={schema} viewKind={viewKind} + viewKindElement={viewKindElement} viewDescr={viewDescr} viewDescrElement={viewDescrElement} uri={id} @@ -477,6 +492,10 @@ export const withStoreToArrayProps = (Component: any): any => }; return (