@finos/legend-extension-dsl-data-space 10.0.5 → 10.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/DataSpaceDescription.js +1 -1
- package/lib/components/DataSpaceDescription.js.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.js +1 -1
- package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
- package/lib/components/DataSpaceModelsDocumentation.js +1 -1
- package/lib/components/DataSpaceModelsDocumentation.js.map +1 -1
- package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
- package/lib/components/DataSpaceQuickStart.js +1 -1
- package/lib/components/DataSpaceQuickStart.js.map +1 -1
- package/lib/components/DataSpaceWiki.d.ts.map +1 -1
- package/lib/components/DataSpaceWiki.js +14 -5
- package/lib/components/DataSpaceWiki.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +2 -2
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/DataSpaceViewerState.d.ts +11 -6
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +96 -24
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/studio/DataSpacePreviewState.js +2 -2
- package/lib/stores/studio/DataSpacePreviewState.js.map +1 -1
- package/package.json +15 -15
- package/src/components/DataSpaceDescription.tsx +1 -1
- package/src/components/DataSpaceDiagramViewer.tsx +1 -1
- package/src/components/DataSpaceModelsDocumentation.tsx +1 -1
- package/src/components/DataSpaceQuickStart.tsx +14 -12
- package/src/components/DataSpaceWiki.tsx +16 -5
- package/src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +3 -2
- package/src/stores/DataSpaceViewerState.ts +135 -28
- package/src/stores/studio/DataSpacePreviewState.ts +2 -2
package/lib/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-studio-plugin.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,YACA,WACA,kBACA,qCACA,kCACA,8BAEA,4BCSA,aACA,uBDPE,kBACA,MACA,YACA,WACA,UACA,yBACA,wBAEA,sCACE,qCACA,mDACA,WAGF,qCACE,uBACA,kBAGF,+CACE,WAGF,mCC5BF,aACA,mBACA,uBD6BI,kBACA,UACA,SACA,YACA,oBACA,eACA,iBACA,iCACA,eAEA,0CACE,iBACA,gBACA,gCAGF,mDACE,iBACA,iBACA,gCAKN,0BACE,aACA,mBACA,sBACA,YACA,WACA,iBAGF,2BACE,aACA,uBACA,YACA,aACA,kBAGF,qCACE,WAGF,sCACE,eAGF,6BACE,aACA,WACA,aACA,uDAGF,2BACE,YACA,WACA,cACA,eAKF,iCChGA,aACA,mBACA,uBDiGE,oBACA,gBACA,oBACA,qCACA,iCAGF,sCACE,iBACA,iCAGF,uCCzGA,aACA,mBD2GE,WAEA,8CCpGF,mBACA,uBACA,gBACA,sBACA,gBDqGA,8CACE,2CAKF,+CACE,2BAIA,8CACA,iDACA,mDACA,yDACA,yDACA,gDACA,yDACA,0DACA,uDACA,kDAGF,+CACE,gBAGF,yCACE,sBAGF,mDAGE,4KASF,0DACE,yBAIJ,8BCzKE,aACA,mBACA,uBD0KA,kBACA,sBACA,YACA,WACA,aACA,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-studio-plugin.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,YACA,WACA,kBACA,qCACA,kCACA,8BAEA,4BCSA,aACA,uBDPE,kBACA,MACA,YACA,WACA,UACA,yBACA,wBAEA,sCACE,qCACA,mDACA,WAGF,qCACE,uBACA,kBAGF,+CACE,WAGF,mCC5BF,aACA,mBACA,uBD6BI,kBACA,UACA,SACA,YACA,oBACA,eACA,iBACA,iCACA,eAEA,0CACE,iBACA,gBACA,gCAGF,mDACE,iBACA,iBACA,gCAKN,0BACE,aACA,mBACA,sBACA,YACA,WACA,iBAGF,2BACE,aACA,uBACA,YACA,aACA,kBAGF,qCACE,WAGF,sCACE,eAGF,6BACE,aACA,WACA,aACA,uDAGF,2BACE,YACA,WACA,cACA,eAKF,iCChGA,aACA,mBACA,uBDiGE,oBACA,gBACA,oBACA,qCACA,iCAGF,sCACE,iBACA,iCAGF,uCCzGA,aACA,mBD2GE,WAEA,8CCpGF,mBACA,uBACA,gBACA,sBACA,gBDqGA,8CACE,2CAKF,+CACE,2BAIA,8CACA,iDACA,mDACA,yDACA,yDACA,gDACA,yDACA,0DACA,uDACA,kDAGF,+CACE,gBAGF,yCACE,sBAGF,mDAGE,4KASF,0DACE,yBAIJ,8BCzKE,aACA,mBACA,uBD0KA,kBACA,sBACA,YACA,WACA,aACA,cACA,iCACA,oBAEA,mCCrLA,aACA,mBACA,uBDsLE,cACA,aAEA,yCACE,aAIJ,0CChMA,aACA,mBACA,uBDiME,cACA,WACA,gBACA,iBACA,oCACA,iCACA,iCACA,8BAIJ,kCACE,aACA,sBACA,WACA,kBACA,UACA,UACA,UACA,kBACA,kBACA,oBACA,sCACA,+BAEA,sDACE,YAGF,wCACE,cACA,qDAGF,6CCrOA,aACA,mBACA,uBDsOE,cACA,WACA,iCAEA,iDACE,iBAIJ,yCACE,gBACA,kBACA,aACA,sBAGF,wCCxPA,aACA,mBACA,uBA2BA,YACA,cD8NE,YACA,WACA,iCACA,eAGF,4CACE,iBAGF,8CACE,kCACA,eAGF,gDACE,kCAGF,2CClPA,YACA,cDoPE,oBACA,aACA,sCACA,aAIA,sFACE,iBAGF,wFACE,iBAGF,wFACE,iBAGF,yFACE,iBAGF,8FACE,eAGF,2FACE,iBAGF,sFACE,eAGF,4FACE,iBAGF,sFACE,iBAGF,yFACE,iBAKN,0BACE,aACA,sBACA,WAEA,mCACE,sBAEA,2CCrUF,aACA,mBDuUI,8BACA,YACA,gDACA,mBACA,gBACA,iBACA,4BAEA,kDChVJ,aACA,mBDkVM,iBACA,yBACA,gBAGF,mDCxVJ,aACA,mBD0VM,aACA,kBACA,eAEA,uDACE,iCAGF,6DACE,iCAIJ,oGACE,aAGF,0DACE,4BAIJ,4CACE,mBAIJ,uCC5XA,aACA,mBACA,uBD6XE,2BACA,WACA,oBACA,iCACA,iBACA,YACA,yBACA,kBAIJ,0CACE,kCACA,UAGF,iCC/YE,aACA,mBACA,uBDgZA,YACA,WAEA,0CACE,WAIJ,oCACE,aAEA,8CACE,aACA,sBACA,YACA,WAEA,8DACE,oBACA,6CAGF,qDACE,YACA,WACA,aACA,kBAEA,8DACE,YACA,WACA,aACA,kBAGF,gECrbJ,aACA,mBACA,uBDsbM,YACA,WACA,yBACA,kBACA,MAEA,sEACE,OAEA,4EACE,iFAQJ,sEACE,QAEA,4EACE,kFAQJ,oEACE,kCACA,iBAGF,sEACE,eAEA,0EACE,kCAIJ,0EACE,mBAEA,gFACE,yBAGF,kKAEE,kCAKN,iECjfJ,aACA,mBACA,uBDkfM,YACA,WACA,kBACA,SACA,yBACA,kCACA,gBACA,iBACA,eAGF,wEC/fJ,aACA,mBACA,uBDggBM,YACA,qCACA,eACA,4BAGF,gEACE,eAEA,oEACE,iBACA,iCAIJ,4EACE,4BAIJ,uDACE,2BACA,WAGF,wDACE,WAEA,mEACE,cAON,kDChiBA,aACA,mBDkiBE,WACA,8BACA,cAGF,mDACE,aACA,mBACA,aAIJ,gDACE,WAEA,wDACE,yBAGF,oEACE,YACA,aAGF,0EACE,iCACA,4BACA,oBAGF,sDCjkBA,aACA,mBDmkBE,WACA,8BAEA,6DCvkBF,aACA,mBDykBI,wBAGF,mECnlBF,aACA,mBACA,uBA2BA,YACA,cDyjBI,cACA,aACA,oBACA,sCACA,kCACA,iBACA,oCACA,gBACA,mBAEA,0EACE,mCAGF,gFACE,iCAGF,gFACE,kCAGF,6EACE,iCAGF,yEACE,mCAIJ,mECtmBF,mBACA,uBACA,gBACA,sBACA,gBDsmBE,gFC1nBF,aACA,mBACA,uBA2BA,YACA,cDgmBI,WACA,kBAEA,oFACE,4BACA,iBAIJ,+DCjoBF,aACA,mBDmoBI,WAGF,8DC7oBF,aACA,mBACA,uBA2BA,YACA,cDmnBI,iCACA,WACA,YAEA,oEACE,kCAIJ,oEACE,iBAIJ,6DACE,mCACA,iCAEA,8CAIA,2HACE,kCAEA,iIACE,kCAON,2DC5qBA,aACA,mBAsBA,YACA,cDwpBE,cACA,8CACA,kCACA,mBAEA,iEACE,iCAGF,kEC/rBF,aACA,mBACA,uBDgsBI,aAEA,sEACE,iBAIJ,iECzsBF,aACA,mBACA,uBD0sBI,mDACA,aACA,cAGF,+DACE,iBAIJ,yDACE,aACA,sBACA,YACA,mBACA,oBACA,qCACA,8CACA,iCAGF,yDACE,aACA,sBAGF,kHACE,kDAGF,kEACE,aAGF,qEACE,4BAGF,iEC5uBA,aACA,mBAsBA,YACA,cDwtBE,8BACA,cACA,eACA,iBAGF,wEC5uBA,mBACA,uBACA,gBACA,sBACA,gBD2uBE,gBAGF,0EC5vBA,aACA,mBD+vBA,wEACE,oCACA,iBACA,4BACA,kBAEA,8EACE,4BAGF,0KAEE,iCAIJ,kEACE,cACA,cACA,gBAIJ,wDACE,YACA,WACA,aACA,sBAEA,yEACE,aACA,WACA,cAEA,+EACE,4CAIJ,uECvyBA,aACA,mBDyyBE,YACA,0BAGF,yECpzBA,aACA,mBACA,uBA2BA,YACA,cD0xBE,cACA,aACA,oBACA,kCACA,eACA,oCACA,gBACA,iBACA,kBAEA,gFACE,mCAGF,sFACE,iCAGF,sFACE,kCAGF,kFACE,iCAIJ,uECn1BA,aACA,mBACA,uBA2BA,YACA,cDyzBE,aACA,YAEA,2EACE,iCACA,iBAGF,iFACE,kCAIJ,2ECp2BA,aACA,mBACA,uBA2BA,YACA,cD00BE,aACA,YAEA,+EACE,kCACA,iBAIJ,qEACE,iBACA,kCACA,iBACA,kBAGF,qECx3BA,aACA,mBACA,uBDy3BE,oCACA,kBACA,cACA,sCACA,iCACA,gBACA,oBACA,gBACA,gBAIJ,kDACE,kBAEA,yDACE,iBACA,cACA,qBACA,kBACA,YACA,qCACA,oBACA,8CAEA,uECp5BF,aACA,mBACA,uBDq5BI,kBACA,MACA,YACA,cACA,aAEA,2EACE,mCAIJ,oECl6BF,aACA,mBACA,uBDm6BI,kBACA,MACA,YACA,cACA,aAEA,wEACE,iCAGF,8EACE,iCAIJ,0ECp7BF,aACA,mBACA,uBDq7BI,kBACA,MACA,aACA,cACA,aACA,eAEA,8EACE,iCAGF,2KAEE,iCAGF,kLAEE,4BAON,sCACE,cAGF,8CC98BA,aACA,mBDg9BE,YACA,mBAGF,qDACE,kCACA,eACA,gBACA,iBAGF,oDC59BA,aACA,mBD89BE,YACA,gBACA,oBACA,sCACA,kCACA,iBACA,kBACA,iBACA,gBAGF,sDC1+BA,aACA,mBD4+BE,kBACA,eACA,aAEA,0DACE,iCAGF,gEACE,iCAIJ,0GACE,aAGF,mDACE,mBAGF,+CACE,aACA,sBACA,gBAEA,4DCvgCF,aACA,mBDygCI,8BACA,cACA,qDACA,kDAGF,qDChhCF,aACA,mBDmhCE,oDCphCF,aACA,mBDshCI,eACA,iCACA,iBAGF,wGACE,mDAGF,2DACE,gBAIA,iEACE,iBAIJ,qHACE,kBAGF,qHACE,iCAIA,wHACE,iCAIJ,oPAEE,4BACA,gBAKA,0PACE,4BAIJ,6DACE,gBACA,aAIJ,mDACE,YAGF,4CCrlCA,aACA,mBACA,uBDslCE,YACA,8CAEA,qDACE,aACA,sBAGF,oDChmCF,aACA,mBACA,uBDimCI,cACA,YACA,oBAEA,wGACE,iBAKN,iDACE,aACA,sBACA,YAEA,0DACE,2BACA,8CACA,kBAGF,0DClnCF,aACA,mBDonCI,yBACA,cAGF,yDC/nCF,aACA,mBACA,uBDgoCI,cACA,aAEA,6DACE,iCAGF,mEACE,kCAON,wCACE,aAGF,uCACE,aACA,WAKF,qDACE,2BAGF,8CC1pCA,aACA,mBD4pCE,cACA,WAEA,oDCtqCF,aACA,mBACA,uBDuqCI,cACA,aACA,8BACA,sCAEA,wDACE,iBAIJ,uDC7qCF,aACA,mBD+qCI,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,iEACE,WAEA,4EACE,cAGF,yECjsCN,aACA,mBDosCM,8ECrsCN,aACA,mBDusCQ,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,6DACE,oCAKN,gDACE,oBAKF,+CCptCA,mBACA,uBACA,gBACA,sBACA,gBDmtCE,YACA,YACA,gBACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CCluCA,mBACA,uBACA,gBACA,sBACA,gBDiuCE,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CC9vCA,aACA,mBACA,uBD+vCE,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CC5wCA,aACA,mBD8wCE,gBACA,iCACA,mBACA,iBACA,eAGF,0CCtxCA,aACA,mBDwxCE,cACA,eACA,WAGF,6CCpxCA,mBACA,uBACA,gBACA,sBACA,gBDmxCE,YACA,YACA,gBACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CClyCA,mBACA,uBACA,gBACA,sBACA,gBDiyCE,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCCxzCA,aACA,mBD0zCE,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDC10CA,aACA,mBACA,uBD20CE,YACA,WACA,iCACA,gBACA,+CAMA,2CCj1CF,aACA,mBDm1CI,cACA,WAEA,iDC71CJ,aACA,mBACA,uBD81CM,cACA,aACA,8BACA,sCAEA,qDACE,iBACA,kCAIJ,oDCr2CJ,aACA,mBDu2CM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBAMR,6BACE,+BACA,iDACA,sBACA,gBAEA,iBACA,cACA,4BAEA,oCACE,0BAGF,sCACE,cAGF,mCACE,aACA,mBAGF,0CACE,iBACA,iBACA,eACA,iCAGF,0CACE,iBACA,iBACA,eACA,gBACA,kBAEA,gBACA,qBEz6CJ,4BACE,0BACA,yBACA,uBAEA,gDACE,4BAGF,oCDGA,aACA,mBCDE,cAGF,6CDHA,aACA,mBCKE,YAGF,4CDfA,aACA,mBACA,uBCgBE,YACA,aAEA,gDACE,iBACA,kCAGF,sDACE,kCAIJ,qCACE,2BACA,6CAEA,6CD7BF,aACA,mBC+BI,cAEA,mDDxCJ,aACA,mBACA,uBCyCM,YAGF,mDACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBC3DR,qDACE,mCAGF,6CACE,iBAIA,oEACE,cAGF,0EACE,2BAMA,4EACE,eAGF,kFACE,4BAIJ,0CFPA,mBACA,uBACA,gBACA,sBACA,gBEME,oBAGF,gDACE,iBACA,iCACA,kBACA,mBAGF,+CACE,iBACA,2BACA,kBACA,mBAGF,2DACE,2BAKF,gDFpBA,YACA,cEsBE,cACA,aACA,kBAIJ,oCACE,0BACA,yBACA,uBAEA,wDACE,4BAGF,4CF7DA,aACA,mBE+DE,cAGF,qDFnEA,aACA,mBEqEE,YAGF,oDF/EA,aACA,mBACA,uBEgFE,YACA,aAEA,wDACE,iBACA,kCAGF,8DACE,kCAIJ,6CACE,2BACA,6CAGF,2CF9FA,aACA,mBEgGE,cACA,WACA,cACA,sCAGF,iDF7GA,aACA,mBACA,uBA2BA,YACA,cEmFE,aACA,mBAGF,qDACE,0BAGF,6DFzHA,aACA,mBACA,uBE0HE,cACA,aACA,8BACA,sCAEA,iEACE,iCAGF,qEACE,iCAIJ,wDF1IA,aACA,mBACA,uBA2BA,YACA,cEgHE,aACA,cACA,kCACA,kBAGF,4CFpIA,mBACA,uBACA,gBACA,sBACA,gBEmIE,oBAGF,kDACE,iBACA,iCACA,kBACA,mBAGF,iDACE,iBACA,2BACA,kBACA,mBAGF,0CACE,2BACA,WAEA,kDFtKF,aACA,mBEwKI,cAEA,wDFjLJ,aACA,mBACA,uBEkLM,YAGF,wDACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBAON,qEACE,cAGF,2EACE,2BC7MJ,MACE,yCAGF,kBACE","file":"index.css"}
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.7",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@finos/legend-server-depot": "workspace:*",
|
|
56
56
|
"@finos/legend-shared": "workspace:*",
|
|
57
57
|
"@finos/legend-storage": "workspace:*",
|
|
58
|
-
"@types/react": "18.0.
|
|
58
|
+
"@types/react": "18.0.38",
|
|
59
59
|
"mobx": "6.9.0",
|
|
60
60
|
"mobx-react-lite": "3.4.3",
|
|
61
61
|
"react": "18.2.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@finos/legend-dev-utils": "workspace:*",
|
|
67
67
|
"@jest/globals": "29.5.0",
|
|
68
68
|
"cross-env": "7.0.3",
|
|
69
|
-
"eslint": "8.
|
|
69
|
+
"eslint": "8.39.0",
|
|
70
70
|
"jest": "29.5.0",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "5.0.0",
|
|
@@ -36,12 +36,12 @@ export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
|
|
|
36
36
|
SUPPORT = "support"
|
|
37
37
|
}
|
|
38
38
|
export declare const generateAnchorForActivity: (activity: string) => string;
|
|
39
|
+
export declare const extractActivityFromAnchor: (anchor: string) => string;
|
|
39
40
|
export declare const generateAnchorForQuickStart: (quickStart: DataSpaceExecutableAnalysisResult) => string;
|
|
40
41
|
export declare const generateAnchorForDiagram: (diagram: DataSpaceDiagramAnalysisResult) => string;
|
|
41
42
|
export declare const DATA_SPACE_WIKI_PAGE_SECTIONS: DATA_SPACE_VIEWER_ACTIVITY_MODE[];
|
|
42
43
|
type DataSpacePageNavigationCommand = {
|
|
43
44
|
anchor: string;
|
|
44
|
-
useSmoothScroll?: boolean;
|
|
45
45
|
};
|
|
46
46
|
declare class DataSpaceLayoutState {
|
|
47
47
|
readonly dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -50,18 +50,23 @@ declare class DataSpaceLayoutState {
|
|
|
50
50
|
frame?: HTMLElement | undefined;
|
|
51
51
|
header?: HTMLElement | undefined;
|
|
52
52
|
isTopScrollerVisible: boolean;
|
|
53
|
-
wikiPageAnchorIndex
|
|
54
|
-
|
|
53
|
+
private wikiPageAnchorIndex;
|
|
54
|
+
wikiPageNavigationCommand?: DataSpacePageNavigationCommand | undefined;
|
|
55
|
+
private wikiPageVisibleAnchors;
|
|
56
|
+
private wikiPageScrollIntersectionObserver?;
|
|
55
57
|
constructor(dataSpaceViewerState: DataSpaceViewerState);
|
|
56
58
|
setCurrentNavigationZone(val: string): void;
|
|
57
|
-
get
|
|
59
|
+
get isWikiPageFullyRendered(): boolean;
|
|
60
|
+
registerWikiPageScrollObserver(): void;
|
|
61
|
+
unregisterWikiPageScrollObserver(): void;
|
|
62
|
+
private updatePageVisibleAnchors;
|
|
58
63
|
enableExpandedMode(val: boolean): void;
|
|
59
64
|
setFrame(val: HTMLElement | undefined): void;
|
|
60
65
|
setTopScrollerVisible(val: boolean): void;
|
|
61
66
|
setWikiPageAnchor(anchorKey: string, element: HTMLElement): void;
|
|
62
67
|
unsetWikiPageAnchor(anchorKey: string): void;
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
setWikiPageAnchorToNavigate(val: DataSpacePageNavigationCommand | undefined): void;
|
|
69
|
+
navigateWikiPageAnchor(): void;
|
|
65
70
|
}
|
|
66
71
|
export declare class DataSpaceViewerState {
|
|
67
72
|
readonly applicationStore: GenericLegendApplicationStore;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,SAAS,EACT,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,SAAS,EACT,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,uCAAuC,EACxC,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EAAE,8BAA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AAe,IAAI,eAAe,CAKrC;IAED,IAAI,4BAA4B,IAAI,OAAO,CAE1C;IAMD,IAAI,kBAAkB,IAAI,MAAM,CAiB/B;IAED,IAAI,UAAU,IAAI,OAAO,CAQxB;IAED,kBAAkB,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAI9C,iBAAiB,CAAC,GAAG,EAAE,8BAA8B,GAAG,IAAI;IAI5D,kBAAkB,CAAC,GAAG,EAAE,+BAA+B,GAAG,IAAI;IAI9D,0BAA0B,CACxB,GAAG,EAAE,uCAAuC,GAC3C,IAAI;IAKP,iBAAiB,CAAC,GAAG,EAAE,kBAAkB,GAAG,IAAI;IAIhD,oBAAoB,IAAI,IAAI;IAQ5B,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;IAKlD,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,UAAQ,GAAG,IAAI;CA2BtD"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { NAVIGATION_ZONE_SEPARATOR, } from '@finos/legend-application';
|
|
17
17
|
import {} from '@finos/legend-extension-dsl-diagram/graph';
|
|
18
18
|
import { DIAGRAM_INTERACTION_MODE, } from '@finos/legend-extension-dsl-diagram/application';
|
|
19
|
-
import { getNullableEntry, getNullableFirstEntry, guaranteeNonNullable, isNonNullable, } from '@finos/legend-shared';
|
|
19
|
+
import { getNonNullableEnry, getNullableEntry, getNullableFirstEntry, guaranteeNonNullable, isNonNullable, } from '@finos/legend-shared';
|
|
20
20
|
import { action, computed, makeObservable, observable } from 'mobx';
|
|
21
21
|
import { PURE_DATA_SPACE_INFO_PROFILE_PATH, PURE_DATA_SPACE_INFO_PROFILE_VERIFIED_STEREOTYPE, } from '../graph-manager/DSL_DataSpace_PureGraphManagerPlugin.js';
|
|
22
22
|
import { DataSpaceViewerDataAccessState } from './DataSpaceViewerDataAccessState.js';
|
|
@@ -42,6 +42,7 @@ const generateAnchorChunk = (text) => encodeURIComponent(text
|
|
|
42
42
|
.toLowerCase() // anchor is case-insensitive
|
|
43
43
|
.replace(/\s+/gu, '-'));
|
|
44
44
|
export const generateAnchorForActivity = (activity) => generateAnchorChunk(activity);
|
|
45
|
+
export const extractActivityFromAnchor = (anchor) => decodeURIComponent(anchor);
|
|
45
46
|
export const generateAnchorForQuickStart = (quickStart) => [
|
|
46
47
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.QUICK_START,
|
|
47
48
|
generateAnchorChunk(quickStart.title),
|
|
@@ -66,34 +67,108 @@ class DataSpaceLayoutState {
|
|
|
66
67
|
header;
|
|
67
68
|
isTopScrollerVisible = false;
|
|
68
69
|
wikiPageAnchorIndex = new Map();
|
|
69
|
-
|
|
70
|
+
wikiPageNavigationCommand;
|
|
71
|
+
wikiPageVisibleAnchors = [];
|
|
72
|
+
wikiPageScrollIntersectionObserver;
|
|
70
73
|
constructor(dataSpaceViewerState) {
|
|
71
74
|
makeObservable(this, {
|
|
72
75
|
currentNavigationZone: observable,
|
|
73
76
|
isExpandedModeEnabled: observable,
|
|
74
77
|
isTopScrollerVisible: observable,
|
|
75
78
|
wikiPageAnchorIndex: observable,
|
|
79
|
+
wikiPageVisibleAnchors: observable,
|
|
76
80
|
frame: observable.ref,
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
wikiPageNavigationCommand: observable.ref,
|
|
82
|
+
isWikiPageFullyRendered: computed,
|
|
83
|
+
registerWikiPageScrollObserver: action,
|
|
79
84
|
setCurrentNavigationZone: action,
|
|
80
85
|
enableExpandedMode: action,
|
|
81
86
|
setFrame: action,
|
|
82
87
|
setTopScrollerVisible: action,
|
|
83
88
|
setWikiPageAnchor: action,
|
|
84
89
|
unsetWikiPageAnchor: action,
|
|
85
|
-
|
|
90
|
+
setWikiPageAnchorToNavigate: action,
|
|
91
|
+
updatePageVisibleAnchors: action,
|
|
86
92
|
});
|
|
87
93
|
this.dataSpaceViewerState = dataSpaceViewerState;
|
|
88
94
|
}
|
|
89
95
|
setCurrentNavigationZone(val) {
|
|
90
96
|
this.currentNavigationZone = val;
|
|
91
97
|
}
|
|
92
|
-
get
|
|
93
|
-
return (
|
|
98
|
+
get isWikiPageFullyRendered() {
|
|
99
|
+
return (Boolean(this.frame) &&
|
|
100
|
+
DATA_SPACE_WIKI_PAGE_SECTIONS.includes(this.dataSpaceViewerState.currentActivity) &&
|
|
94
101
|
DATA_SPACE_WIKI_PAGE_ANCHORS.every((anchor) => this.wikiPageAnchorIndex.has(anchor)) &&
|
|
95
102
|
Array.from(this.wikiPageAnchorIndex.values()).every(isNonNullable));
|
|
96
103
|
}
|
|
104
|
+
registerWikiPageScrollObserver() {
|
|
105
|
+
if (this.frame && this.isWikiPageFullyRendered) {
|
|
106
|
+
const wikiPageIntersectionObserver = new IntersectionObserver((entries, observer) => {
|
|
107
|
+
const anchorsWithVisibilityChanged = entries
|
|
108
|
+
.map((entry) => {
|
|
109
|
+
for (const [key, element] of this.wikiPageAnchorIndex.entries()) {
|
|
110
|
+
if (element === entry.target) {
|
|
111
|
+
return { key, isIntersecting: entry.isIntersecting };
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return undefined;
|
|
115
|
+
})
|
|
116
|
+
.filter(isNonNullable);
|
|
117
|
+
anchorsWithVisibilityChanged.forEach((entry) => {
|
|
118
|
+
this.updatePageVisibleAnchors(entry.key, entry.isIntersecting);
|
|
119
|
+
});
|
|
120
|
+
// NOTE: sync scroll with menu/address is quite a delicate piece of work
|
|
121
|
+
// as it interferes with programatic scroll operations we do elsewhere.
|
|
122
|
+
// This is particularly bad when we do a programatic `smooth` scroll, which
|
|
123
|
+
// mimic user scrolling behavior and would tangle up with this observer
|
|
124
|
+
// Since currently, there's no good mechanism to detect scroll end event, and as such,
|
|
125
|
+
// there is no good way to temporarily disable this logic while doing the programmatic
|
|
126
|
+
// smooth scroll as such, we avoid supporting programatic smooth scrolling for now
|
|
127
|
+
// See https://github.com/w3c/csswg-drafts/issues/3744
|
|
128
|
+
// See https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollend_event
|
|
129
|
+
if (
|
|
130
|
+
// if current navigation zone is not set, do not update zone
|
|
131
|
+
this.currentNavigationZone === '' ||
|
|
132
|
+
// if there is no visible anchors, do not update zone
|
|
133
|
+
!this.wikiPageVisibleAnchors.length ||
|
|
134
|
+
// if some of the current visible anchors match or is parent section of the current
|
|
135
|
+
// navigation zone, do not update zone
|
|
136
|
+
this.wikiPageVisibleAnchors.some((visibleAnchor) => this.currentNavigationZone === visibleAnchor ||
|
|
137
|
+
this.currentNavigationZone.startsWith(`${visibleAnchor}${NAVIGATION_ZONE_SEPARATOR}`))) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
const anchor = getNonNullableEnry(this.wikiPageVisibleAnchors, 0);
|
|
141
|
+
this.dataSpaceViewerState.syncZoneWithNavigation(anchor);
|
|
142
|
+
const anchorChunks = anchor.split(NAVIGATION_ZONE_SEPARATOR);
|
|
143
|
+
const activity = getNullableFirstEntry(anchorChunks);
|
|
144
|
+
if (activity) {
|
|
145
|
+
this.dataSpaceViewerState.setCurrentActivity(extractActivityFromAnchor(activity));
|
|
146
|
+
}
|
|
147
|
+
}, {
|
|
148
|
+
root: this.frame,
|
|
149
|
+
threshold: 0.5,
|
|
150
|
+
});
|
|
151
|
+
Array.from(this.wikiPageAnchorIndex.values()).forEach((el) => wikiPageIntersectionObserver.observe(el));
|
|
152
|
+
this.wikiPageScrollIntersectionObserver = wikiPageIntersectionObserver;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
unregisterWikiPageScrollObserver() {
|
|
156
|
+
this.wikiPageScrollIntersectionObserver?.disconnect();
|
|
157
|
+
this.wikiPageScrollIntersectionObserver = undefined;
|
|
158
|
+
this.wikiPageVisibleAnchors = [];
|
|
159
|
+
}
|
|
160
|
+
updatePageVisibleAnchors(changedAnchor, isIntersecting) {
|
|
161
|
+
if (isIntersecting) {
|
|
162
|
+
const anchors = this.wikiPageVisibleAnchors.filter((anchor) => changedAnchor !== anchor);
|
|
163
|
+
// NOTE: the newly visible anchors should be the furthest one in
|
|
164
|
+
// the direction of scroll
|
|
165
|
+
anchors.push(changedAnchor);
|
|
166
|
+
this.wikiPageVisibleAnchors = anchors;
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.wikiPageVisibleAnchors = this.wikiPageVisibleAnchors.filter((anchor) => changedAnchor !== anchor);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
97
172
|
enableExpandedMode(val) {
|
|
98
173
|
this.isExpandedModeEnabled = val;
|
|
99
174
|
}
|
|
@@ -112,31 +187,31 @@ class DataSpaceLayoutState {
|
|
|
112
187
|
unsetWikiPageAnchor(anchorKey) {
|
|
113
188
|
this.wikiPageAnchorIndex.delete(anchorKey);
|
|
114
189
|
}
|
|
115
|
-
|
|
116
|
-
this.
|
|
190
|
+
setWikiPageAnchorToNavigate(val) {
|
|
191
|
+
this.wikiPageNavigationCommand = val;
|
|
117
192
|
}
|
|
118
|
-
|
|
119
|
-
if (this.
|
|
120
|
-
|
|
193
|
+
navigateWikiPageAnchor() {
|
|
194
|
+
if (this.frame &&
|
|
195
|
+
this.wikiPageNavigationCommand &&
|
|
196
|
+
this.isWikiPageFullyRendered) {
|
|
197
|
+
const anchor = this.wikiPageNavigationCommand.anchor;
|
|
121
198
|
const matchingWikiPageSection = this.wikiPageAnchorIndex.get(anchor);
|
|
122
199
|
const anchorChunks = anchor.split(NAVIGATION_ZONE_SEPARATOR);
|
|
123
200
|
if (matchingWikiPageSection) {
|
|
124
|
-
this.frame
|
|
125
|
-
|
|
126
|
-
(this.header?.getBoundingClientRect().height ?? 0)
|
|
127
|
-
behavior: this.wikiNavigationCommand.useSmoothScroll
|
|
128
|
-
? 'smooth'
|
|
129
|
-
: 'auto',
|
|
130
|
-
});
|
|
201
|
+
this.frame.scrollTop =
|
|
202
|
+
matchingWikiPageSection.offsetTop -
|
|
203
|
+
(this.header?.getBoundingClientRect().height ?? 0);
|
|
131
204
|
}
|
|
132
205
|
else if (getNullableFirstEntry(anchorChunks) ===
|
|
133
206
|
generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DIAGRAM_VIEWER)) {
|
|
207
|
+
this.frame.scrollTop =
|
|
208
|
+
guaranteeNonNullable(this.wikiPageAnchorIndex.get(generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DIAGRAM_VIEWER))).offsetTop - (this.header?.getBoundingClientRect().height ?? 0);
|
|
134
209
|
const matchingDiagram = this.dataSpaceViewerState.dataSpaceAnalysisResult.diagrams.find((diagram) => generateAnchorForDiagram(diagram) === anchor);
|
|
135
210
|
if (matchingDiagram) {
|
|
136
211
|
this.dataSpaceViewerState.setCurrentDiagram(matchingDiagram);
|
|
137
212
|
}
|
|
138
213
|
}
|
|
139
|
-
this.
|
|
214
|
+
this.setWikiPageAnchorToNavigate(undefined);
|
|
140
215
|
}
|
|
141
216
|
}
|
|
142
217
|
}
|
|
@@ -265,11 +340,8 @@ export class DataSpaceViewerState {
|
|
|
265
340
|
const matchingActivity = Object.values(DATA_SPACE_VIEWER_ACTIVITY_MODE).find((activity) => generateAnchorForActivity(activity) === activityChunk);
|
|
266
341
|
if (activityChunk && matchingActivity) {
|
|
267
342
|
if (DATA_SPACE_WIKI_PAGE_SECTIONS.includes(matchingActivity)) {
|
|
268
|
-
this.layoutState.
|
|
343
|
+
this.layoutState.setWikiPageAnchorToNavigate({
|
|
269
344
|
anchor: zone,
|
|
270
|
-
// NOTE: if we are already on the wiki page, use smooth scroll to suggest the scrollability of the page
|
|
271
|
-
// if we are navigating from a different section, go directly to the section within the page to avoid the wait
|
|
272
|
-
useSmoothScroll: DATA_SPACE_WIKI_PAGE_SECTIONS.includes(this.currentActivity),
|
|
273
345
|
});
|
|
274
346
|
}
|
|
275
347
|
this.setCurrentActivity(matchingActivity);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"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AC,QAAQ,CAAC,gBAAgB,CAAC,EAAE;oBAC5D,IAAI,CAAC,WAAW,CAAC,2BAA2B,CAAC;wBAC3C,MAAM,EAAE,IAAI;qBACb,CAAC,CAAC;iBACJ;gBACD,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;gBAC1C,IAAI,CAAC,YAAY,EAAE,CAAC,IAAI,CAAC,CAAC;gBAC1B,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;aACjD;iBAAM;gBACL,IAAI,CAAC,kBAAkB,CAAC,+BAA+B,CAAC,WAAW,CAAC,CAAC;gBACrE,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;aAC/C;SACF;IACH,CAAC;CACF"}
|
|
@@ -18,7 +18,7 @@ import { guaranteeNonNullable, ActionState, assertErrorThrown, } from '@finos/le
|
|
|
18
18
|
import { action, flow, makeObservable, observable } from 'mobx';
|
|
19
19
|
import { DSL_DataSpace_getGraphManagerExtension } from '../../graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
20
20
|
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
21
|
-
import {
|
|
21
|
+
import { InMemoryGraphData } from '@finos/legend-graph';
|
|
22
22
|
export class DataSpacePreviewState extends EditorExtensionState {
|
|
23
23
|
editorStore;
|
|
24
24
|
loadDataSpaceState = ActionState.create();
|
|
@@ -58,7 +58,7 @@ export class DataSpacePreviewState extends EditorExtensionState {
|
|
|
58
58
|
.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))
|
|
59
59
|
.concat(this.editorStore.graphManagerState.graph.dependencyManager.allOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))), undefined, this.loadDataSpaceState));
|
|
60
60
|
this.dataSpaceViewerState = new DataSpaceViewerState(this.editorStore.applicationStore, this.editorStore.graphManagerState, groupId, artifactId, versionId, analysisResult, {
|
|
61
|
-
retriveGraphData: () => new
|
|
61
|
+
retriveGraphData: () => new InMemoryGraphData(this.editorStore.graphManagerState.graph),
|
|
62
62
|
viewProject: () => {
|
|
63
63
|
this.editorStore.applicationStore.notificationService.notifyWarning('This feature is not supported in preview mode');
|
|
64
64
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpacePreviewState.js","sourceRoot":"","sources":["../../../src/stores/studio/DataSpacePreviewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,oBAAoB,EACpB,UAAU,GAEX,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAEL,oBAAoB,EACpB,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,EAAE,sCAAsC,EAAE,MAAM,8EAA8E,CAAC;AACtI,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DataSpacePreviewState.js","sourceRoot":"","sources":["../../../src/stores/studio/DataSpacePreviewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,oBAAoB,EACpB,UAAU,GAEX,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAEL,oBAAoB,EACpB,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,EAAE,sCAAsC,EAAE,MAAM,8EAA8E,CAAC;AACtI,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,OAAO,qBAAsB,SAAQ,oBAAoB;IACpD,WAAW,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CAAC,CAAC,KAAK,CACvD,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACtD,CAAC;gBACJ,CAAC;aACF,CACF,CAAC;YACF,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;SAChC;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;YAC/B,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1E;gBAAS;YACR,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;SAC/C;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.7",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"test:watch": "jest --watch"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@finos/legend-application": "15.0.
|
|
48
|
-
"@finos/legend-application-query": "12.0.
|
|
49
|
-
"@finos/legend-application-studio": "24.
|
|
50
|
-
"@finos/legend-art": "7.0.
|
|
51
|
-
"@finos/legend-extension-dsl-diagram": "8.0.
|
|
52
|
-
"@finos/legend-graph": "28.
|
|
53
|
-
"@finos/legend-lego": "0.1.
|
|
54
|
-
"@finos/legend-query-builder": "3.0.
|
|
55
|
-
"@finos/legend-server-depot": "6.0.
|
|
56
|
-
"@finos/legend-shared": "10.0.
|
|
57
|
-
"@finos/legend-storage": "3.0.
|
|
58
|
-
"@types/react": "18.0.
|
|
47
|
+
"@finos/legend-application": "15.0.4",
|
|
48
|
+
"@finos/legend-application-query": "12.0.7",
|
|
49
|
+
"@finos/legend-application-studio": "24.1.1",
|
|
50
|
+
"@finos/legend-art": "7.0.5",
|
|
51
|
+
"@finos/legend-extension-dsl-diagram": "8.0.7",
|
|
52
|
+
"@finos/legend-graph": "28.1.1",
|
|
53
|
+
"@finos/legend-lego": "0.1.10",
|
|
54
|
+
"@finos/legend-query-builder": "3.0.7",
|
|
55
|
+
"@finos/legend-server-depot": "6.0.2",
|
|
56
|
+
"@finos/legend-shared": "10.0.2",
|
|
57
|
+
"@finos/legend-storage": "3.0.52",
|
|
58
|
+
"@types/react": "18.0.38",
|
|
59
59
|
"mobx": "6.9.0",
|
|
60
60
|
"mobx-react-lite": "3.4.3",
|
|
61
61
|
"react": "18.2.0",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"serializr": "3.0.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@finos/legend-dev-utils": "2.0.
|
|
66
|
+
"@finos/legend-dev-utils": "2.0.56",
|
|
67
67
|
"@jest/globals": "29.5.0",
|
|
68
68
|
"cross-env": "7.0.3",
|
|
69
|
-
"eslint": "8.
|
|
69
|
+
"eslint": "8.39.0",
|
|
70
70
|
"jest": "29.5.0",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "5.0.0",
|
|
@@ -69,7 +69,7 @@ export const DataSpaceDescription = observer(
|
|
|
69
69
|
</div>
|
|
70
70
|
)}
|
|
71
71
|
{analysisResult.description === undefined && (
|
|
72
|
-
<DataSpaceWikiPlaceholder message="
|
|
72
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
73
73
|
)}
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
@@ -222,7 +222,7 @@ export const DataSpaceDiagramViewer = observer(
|
|
|
222
222
|
</div>
|
|
223
223
|
)}
|
|
224
224
|
{analysisResult.diagrams.length <= 0 && (
|
|
225
|
-
<DataSpaceWikiPlaceholder message="
|
|
225
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
226
226
|
)}
|
|
227
227
|
</div>
|
|
228
228
|
</div>
|
|
@@ -1111,7 +1111,7 @@ export const DataSpaceModelsDocumentation = observer(
|
|
|
1111
1111
|
</div>
|
|
1112
1112
|
)}
|
|
1113
1113
|
{documentationEntries.length === 0 && (
|
|
1114
|
-
<DataSpaceWikiPlaceholder message="
|
|
1114
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
1115
1115
|
)}
|
|
1116
1116
|
</div>
|
|
1117
1117
|
</div>
|
|
@@ -432,19 +432,21 @@ export const DataSpaceQuickStart = observer(
|
|
|
432
432
|
)}
|
|
433
433
|
</div>
|
|
434
434
|
<div className="data-space__viewer__wiki__section__content">
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
435
|
+
{analysisResult.executables.length !== 0 && (
|
|
436
|
+
<div className="data-space__viewer__quickstart">
|
|
437
|
+
{analysisResult.executables.map((executable) => (
|
|
438
|
+
<DataSpaceExecutableAnalysisResultView
|
|
439
|
+
key={executable.uuid}
|
|
440
|
+
dataSpaceViewerState={dataSpaceViewerState}
|
|
441
|
+
executableAnalysisResult={executable}
|
|
442
|
+
/>
|
|
443
|
+
))}
|
|
444
|
+
</div>
|
|
445
|
+
)}
|
|
446
|
+
{analysisResult.executables.length === 0 && (
|
|
447
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
448
|
+
)}
|
|
444
449
|
</div>
|
|
445
|
-
{analysisResult.executables.length === 0 && (
|
|
446
|
-
<DataSpaceWikiPlaceholder message="No quick start provided" />
|
|
447
|
-
)}
|
|
448
450
|
</div>
|
|
449
451
|
);
|
|
450
452
|
},
|
|
@@ -29,15 +29,26 @@ export const DataSpaceWiki = observer(
|
|
|
29
29
|
|
|
30
30
|
useEffect(() => {
|
|
31
31
|
if (
|
|
32
|
-
dataSpaceViewerState.layoutState.
|
|
33
|
-
dataSpaceViewerState.layoutState.
|
|
32
|
+
dataSpaceViewerState.layoutState.wikiPageNavigationCommand &&
|
|
33
|
+
dataSpaceViewerState.layoutState.isWikiPageFullyRendered
|
|
34
34
|
) {
|
|
35
|
-
dataSpaceViewerState.layoutState.
|
|
35
|
+
dataSpaceViewerState.layoutState.navigateWikiPageAnchor();
|
|
36
36
|
}
|
|
37
37
|
}, [
|
|
38
38
|
dataSpaceViewerState,
|
|
39
|
-
dataSpaceViewerState.layoutState.
|
|
40
|
-
dataSpaceViewerState.layoutState.
|
|
39
|
+
dataSpaceViewerState.layoutState.wikiPageNavigationCommand,
|
|
40
|
+
dataSpaceViewerState.layoutState.isWikiPageFullyRendered,
|
|
41
|
+
]);
|
|
42
|
+
|
|
43
|
+
useEffect(() => {
|
|
44
|
+
if (dataSpaceViewerState.layoutState.isWikiPageFullyRendered) {
|
|
45
|
+
dataSpaceViewerState.layoutState.registerWikiPageScrollObserver();
|
|
46
|
+
}
|
|
47
|
+
return () =>
|
|
48
|
+
dataSpaceViewerState.layoutState.unregisterWikiPageScrollObserver();
|
|
49
|
+
}, [
|
|
50
|
+
dataSpaceViewerState,
|
|
51
|
+
dataSpaceViewerState.layoutState.isWikiPageFullyRendered,
|
|
41
52
|
]);
|
|
42
53
|
|
|
43
54
|
return (
|
|
@@ -16,11 +16,12 @@
|
|
|
16
16
|
|
|
17
17
|
import {
|
|
18
18
|
type V1_Multiplicity,
|
|
19
|
-
V1_PureModelContextData,
|
|
19
|
+
type V1_PureModelContextData,
|
|
20
20
|
V1_multiplicityModelSchema,
|
|
21
21
|
type V1_DatasetSpecification,
|
|
22
22
|
type PureProtocolProcessorPlugin,
|
|
23
23
|
V1_deserializeDatasetSpecification,
|
|
24
|
+
V1_pureModelContextDataPropSchema,
|
|
24
25
|
} from '@finos/legend-graph';
|
|
25
26
|
import {
|
|
26
27
|
SerializationFactory,
|
|
@@ -398,7 +399,7 @@ const V1_dataSpaceAnalysisResultModelSchema = (
|
|
|
398
399
|
(val) => V1_deserializeSupportInfo(val),
|
|
399
400
|
),
|
|
400
401
|
|
|
401
|
-
model:
|
|
402
|
+
model: V1_pureModelContextDataPropSchema,
|
|
402
403
|
|
|
403
404
|
executionContexts: customListWithSchema(
|
|
404
405
|
V1_dataSpaceExecutionContextAnalysisResultModelSchema(plugins),
|