@finos/legend-extension-dsl-data-space 10.0.3 → 10.0.5

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.
Files changed (74) hide show
  1. package/lib/components/DataSpaceDataAccess.d.ts.map +1 -1
  2. package/lib/components/DataSpaceDataAccess.js +11 -3
  3. package/lib/components/DataSpaceDataAccess.js.map +1 -1
  4. package/lib/components/DataSpaceDescription.d.ts +1 -1
  5. package/lib/components/DataSpaceDescription.d.ts.map +1 -1
  6. package/lib/components/DataSpaceDescription.js +8 -3
  7. package/lib/components/DataSpaceDescription.js.map +1 -1
  8. package/lib/components/DataSpaceDiagramViewer.d.ts +1 -1
  9. package/lib/components/DataSpaceDiagramViewer.d.ts.map +1 -1
  10. package/lib/components/DataSpaceDiagramViewer.js +22 -6
  11. package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
  12. package/lib/components/DataSpaceModelsDocumentation.d.ts.map +1 -1
  13. package/lib/components/DataSpaceModelsDocumentation.js +11 -3
  14. package/lib/components/DataSpaceModelsDocumentation.js.map +1 -1
  15. package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
  16. package/lib/components/DataSpaceQuickStart.js +75 -61
  17. package/lib/components/DataSpaceQuickStart.js.map +1 -1
  18. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  19. package/lib/components/DataSpaceViewer.js +36 -14
  20. package/lib/components/DataSpaceViewer.js.map +1 -1
  21. package/lib/components/DataSpaceViewerActivityBar.d.ts.map +1 -1
  22. package/lib/components/DataSpaceViewerActivityBar.js +6 -7
  23. package/lib/components/DataSpaceViewerActivityBar.js.map +1 -1
  24. package/lib/components/DataSpaceWiki.d.ts.map +1 -1
  25. package/lib/components/DataSpaceWiki.js +11 -0
  26. package/lib/components/DataSpaceWiki.js.map +1 -1
  27. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts +3 -1
  28. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
  29. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js +3 -0
  30. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js.map +1 -1
  31. package/lib/graph-manager/action/analytics/DataSpaceAnalysisHelper.d.ts +2 -2
  32. package/lib/graph-manager/action/analytics/DataSpaceAnalysisHelper.d.ts.map +1 -1
  33. package/lib/graph-manager/action/analytics/DataSpaceAnalysisHelper.js.map +1 -1
  34. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  35. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +7 -4
  36. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  37. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +4 -5
  38. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
  39. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +64 -62
  40. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
  41. package/lib/index.css +2 -2
  42. package/lib/index.css.map +1 -1
  43. package/lib/package.json +1 -1
  44. package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts +1 -0
  45. package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  46. package/lib/stores/DataSpaceModelsDocumentationState.d.ts.map +1 -1
  47. package/lib/stores/DataSpaceModelsDocumentationState.js +1 -1
  48. package/lib/stores/DataSpaceModelsDocumentationState.js.map +1 -1
  49. package/lib/stores/DataSpaceViewerState.d.ts +38 -15
  50. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  51. package/lib/stores/DataSpaceViewerState.js +132 -62
  52. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  53. package/lib/stores/query/DataSpaceAdvancedSearchState.js +2 -2
  54. package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
  55. package/lib/stores/query/DataSpaceQueryBuilderState.js +2 -2
  56. package/lib/stores/query/DataSpaceQueryBuilderState.js.map +1 -1
  57. package/package.json +13 -13
  58. package/src/components/DataSpaceDataAccess.tsx +27 -5
  59. package/src/components/DataSpaceDescription.tsx +22 -5
  60. package/src/components/DataSpaceDiagramViewer.tsx +49 -15
  61. package/src/components/DataSpaceModelsDocumentation.tsx +29 -5
  62. package/src/components/DataSpaceQuickStart.tsx +223 -211
  63. package/src/components/DataSpaceViewer.tsx +66 -12
  64. package/src/components/DataSpaceViewerActivityBar.tsx +6 -3
  65. package/src/components/DataSpaceWiki.tsx +14 -0
  66. package/src/graph-manager/action/analytics/DataSpaceAnalysis.ts +4 -0
  67. package/src/graph-manager/action/analytics/DataSpaceAnalysisHelper.ts +2 -2
  68. package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +15 -3
  69. package/src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +112 -89
  70. package/src/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.ts +5 -0
  71. package/src/stores/DataSpaceModelsDocumentationState.ts +1 -1
  72. package/src/stores/DataSpaceViewerState.ts +193 -73
  73. package/src/stores/query/DataSpaceAdvancedSearchState.ts +3 -3
  74. package/src/stores/query/DataSpaceQueryBuilderState.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceDataAccess.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AA+G9E,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA+CvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceDataAccess.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AA+G3C,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiEvD,CAAC"}
@@ -16,10 +16,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
18
  import { AnchorLinkIcon, PanelLoadingIndicator, QuestionCircleIcon, } from '@finos/legend-art';
19
- import {} from '../stores/DataSpaceViewerState.js';
19
+ import { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, } from '../stores/DataSpaceViewerState.js';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
21
  import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
22
- import { useEffect } from 'react';
22
+ import { useEffect, useRef } from 'react';
23
23
  import { flowResult } from 'mobx';
24
24
  import { DatasetEntitlementAccessApprovedReport, DatasetEntitlementAccessGrantedReport, DatasetEntitlementAccessNotGrantedReport, DatasetEntitlementAccessRequestedReport, DatasetEntitlementUnsupportedReport, } from '@finos/legend-graph';
25
25
  import { DataGrid } from '@finos/legend-lego/data-grid';
@@ -97,11 +97,19 @@ export const DataSpaceDataAccess = observer((props) => {
97
97
  const applicationStore = useApplicationStore();
98
98
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
99
99
  const documentationUrl = analysisResult.supportInfo?.documentationUrl;
100
+ const sectionRef = useRef(null);
101
+ const anchor = generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_ACCESS);
102
+ useEffect(() => {
103
+ if (sectionRef.current) {
104
+ dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
105
+ }
106
+ return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
107
+ }, [dataSpaceViewerState, anchor]);
100
108
  const seeDocumentation = () => {
101
109
  if (documentationUrl) {
102
110
  applicationStore.navigationService.navigator.visitAddress(documentationUrl);
103
111
  }
104
112
  };
105
- return (_jsxs("div", { className: "data-space__viewer__wiki__section", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Data Access", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }), Boolean(documentationUrl) && (_jsx("button", { className: "data-space__viewer__wiki__section__header__documentation", tabIndex: -1, onClick: seeDocumentation, title: "See Documentation", children: _jsx(QuestionCircleIcon, {}) }))] }), _jsx("div", { className: "data-space__viewer__wiki__section__content", children: _jsxs("div", { className: "data-space__viewer__data-access", children: [!dataSpaceViewerState.TEMPORARY__enableExperimentalFeatures && (_jsx(DataSpaceWikiPlaceholder, { message: "View Data Access (Work in Progress)" })), dataSpaceViewerState.TEMPORARY__enableExperimentalFeatures && (_jsx(DataAccessOverview, { dataSpaceViewerState: dataSpaceViewerState }))] }) })] }));
113
+ return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Data Access", _jsx("button", { className: "data-space__viewer__wiki__section__header__anchor", tabIndex: -1, onClick: () => dataSpaceViewerState.changeZone(anchor, true), children: _jsx(AnchorLinkIcon, {}) })] }), Boolean(documentationUrl) && (_jsx("button", { className: "data-space__viewer__wiki__section__header__documentation", tabIndex: -1, onClick: seeDocumentation, title: "See Documentation", children: _jsx(QuestionCircleIcon, {}) }))] }), _jsx("div", { className: "data-space__viewer__wiki__section__content", children: _jsxs("div", { className: "data-space__viewer__data-access", children: [!dataSpaceViewerState.TEMPORARY__enableExperimentalFeatures && (_jsx(DataSpaceWikiPlaceholder, { message: "View Data Access (Work in Progress)" })), dataSpaceViewerState.TEMPORARY__enableExperimentalFeatures && (_jsx(DataAccessOverview, { dataSpaceViewerState: dataSpaceViewerState }))] }) })] }));
106
114
  });
107
115
  //# sourceMappingURL=DataSpaceDataAccess.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceDataAccess.js","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,sCAAsC,EACtC,qCAAqC,EACrC,wCAAwC,EACxC,uCAAuC,EACvC,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAExD,MAAM,kBAAkB,GAAG,QAAQ,CACjC,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACvC,MAAM,eAAe,GAAG,oBAAoB,CAAC,eAAe,CAAC;IAC7D,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,eAAe,CAAC,0BAA0B,EAAE,CAAC;aACrD,IAAI,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,8BAA8B,EAAE,CAAC;aAC5D,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACjD,CAAC,EAAE;QACD,gBAAgB;QAChB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AqC,IAAI,CAC7D,KAAC,kBAAkB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,CACnE,IACG,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  /// <reference types="react" resolution-mode="require"/>
17
- import type { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
17
+ import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
18
18
  export declare const DataSpaceDescription: ((props: {
19
19
  dataSpaceViewerState: DataSpaceViewerState;
20
20
  }) => JSX.Element) & {
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceDescription.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAM9E,eAAO,MAAM,oBAAoB,WACvB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoCvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceDescription.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AAM3C,eAAO,MAAM,oBAAoB,WACvB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiDvD,CAAC"}
@@ -15,6 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { AnchorLinkIcon } from '@finos/legend-art';
18
+ import { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, } from '../stores/DataSpaceViewerState.js';
18
19
  import { observer } from 'mobx-react-lite';
19
20
  import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
20
21
  import { DataSpaceMarkdownTextViewer } from './DataSpaceMarkdownTextViewer.js';
@@ -23,9 +24,13 @@ export const DataSpaceDescription = observer((props) => {
23
24
  const { dataSpaceViewerState } = props;
24
25
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
25
26
  const sectionRef = useRef(null);
27
+ const anchor = generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DESCRIPTION);
26
28
  useEffect(() => {
27
- // do
28
- }, [dataSpaceViewerState]);
29
- return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Description", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [analysisResult.description !== undefined && (_jsx("div", { className: "data-space__viewer__description", children: _jsx("div", { className: "data-space__viewer__description__content", children: _jsx(DataSpaceMarkdownTextViewer, { value: analysisResult.description }) }) })), analysisResult.description === undefined && (_jsx(DataSpaceWikiPlaceholder, { message: "No description provided" }))] })] }));
29
+ if (sectionRef.current) {
30
+ dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
31
+ }
32
+ return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
33
+ }, [dataSpaceViewerState, anchor]);
34
+ return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Description", _jsx("button", { className: "data-space__viewer__wiki__section__header__anchor", tabIndex: -1, onClick: () => dataSpaceViewerState.changeZone(anchor, true), children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [analysisResult.description !== undefined && (_jsx("div", { className: "data-space__viewer__description", children: _jsx("div", { className: "data-space__viewer__description__content", children: _jsx(DataSpaceMarkdownTextViewer, { value: analysisResult.description }) }) })), analysisResult.description === undefined && (_jsx(DataSpaceWikiPlaceholder, { message: "No description provided" }))] })] }));
30
35
  });
31
36
  //# sourceMappingURL=DataSpaceDescription.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceDescription.js","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAC1C,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACvC,MAAM,cAAc,GAAG,oBAAoB,CAAC,uBAAuB,CAAC;IACpE,MAAM,UAAU,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAEhD,SAAS,CAAC,GAAG,EAAE;QACb,KAAK;IACP,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAE3B,OAAO,CACL,eAAK,GAAG,EAAE,UAAU,EAAE,SAAS,EAAC,mCAAmC,aACjE,cAAK,SAAS,EAAC,2CAA2C,YACxD,eAAK,SAAS,EAAC,kDAAkD,4BAE/D,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,cAAc,KAAG,GACd,IACF,GACF,EACN,eAAK,SAAS,EAAC,4CAA4C,aACxD,cAAc,CAAC,WAAW,KAAK,SAAS,IAAI,CAC3C,cAAK,SAAS,EAAC,iCAAiC,YAC9C,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,2BAA2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AAE,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC,CAAC;IAEnC,OAAO,CACL,eAAK,GAAG,EAAE,UAAU,EAAE,SAAS,EAAC,mCAAmC,aACjE,cAAK,SAAS,EAAC,2CAA2C,YACxD,eAAK,SAAS,EAAC,kDAAkD,4BAE/D,iBACE,SAAS,EAAC,mDAAmD,EAC7D,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,YAE5D,KAAC,cAAc,KAAG,GACX,IACL,GACF,EACN,eAAK,SAAS,EAAC,4CAA4C,aACxD,cAAc,CAAC,WAAW,KAAK,SAAS,IAAI,CAC3C,cAAK,SAAS,EAAC,iCAAiC,YAC9C,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,2BAA2B,IAC1B,KAAK,EAAE,cAAc,CAAC,WAAW,GACjC,GACE,GACF,CACP,EACA,cAAc,CAAC,WAAW,KAAK,SAAS,IAAI,CAC3C,KAAC,wBAAwB,IAAC,OAAO,EAAC,yBAAyB,GAAG,CAC/D,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  /// <reference types="react" resolution-mode="require"/>
17
- import type { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
17
+ import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
18
18
  export declare const DataSpaceDiagramViewer: ((props: {
19
19
  dataSpaceViewerState: DataSpaceViewerState;
20
20
  }) => JSX.Element) & {
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceDiagramViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAuD9E,eAAO,MAAM,sBAAsB,WACzB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoHvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceDiagramViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EAGL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAuD3C,eAAO,MAAM,sBAAsB,WACzB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiJvD,CAAC"}
@@ -15,11 +15,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { AnchorLinkIcon, CircleIcon, ThinChevronLeftIcon, ThinChevronRightIcon, clsx, useResizeDetector, } from '@finos/legend-art';
18
+ import { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, generateAnchorForDiagram, } from '../stores/DataSpaceViewerState.js';
18
19
  import { observer } from 'mobx-react-lite';
19
20
  import { forwardRef, useEffect, useRef } from 'react';
20
21
  import {} from '@finos/legend-extension-dsl-diagram/graph';
21
22
  import { DiagramRenderer } from '@finos/legend-extension-dsl-diagram/application';
22
- import { getNullableFirstElement, getNullableLastElement, guaranteeNonNullable, } from '@finos/legend-shared';
23
+ import { getNullableFirstEntry, getNullableLastEntry, guaranteeNonNullable, } from '@finos/legend-shared';
23
24
  import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
24
25
  const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanvas(props, ref) {
25
26
  const { dataSpaceViewerState, diagram } = props;
@@ -45,6 +46,14 @@ const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanv
45
46
  export const DataSpaceDiagramViewer = observer((props) => {
46
47
  const { dataSpaceViewerState } = props;
47
48
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
49
+ const sectionRef = useRef(null);
50
+ const anchor = generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DIAGRAM_VIEWER);
51
+ useEffect(() => {
52
+ if (sectionRef.current) {
53
+ dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
54
+ }
55
+ return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
56
+ }, [dataSpaceViewerState, anchor]);
48
57
  // diagram selector
49
58
  const diagramCanvasRef = useRef(null);
50
59
  const showPreviousDiagram = () => {
@@ -55,7 +64,9 @@ export const DataSpaceDiagramViewer = observer((props) => {
55
64
  if (idx === 0 || idx === -1) {
56
65
  return;
57
66
  }
58
- dataSpaceViewerState.setCurrentDiagram(guaranteeNonNullable(analysisResult.diagrams[idx - 1]));
67
+ const previousDiagram = guaranteeNonNullable(analysisResult.diagrams[idx - 1]);
68
+ dataSpaceViewerState.setCurrentDiagram(previousDiagram);
69
+ dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(previousDiagram));
59
70
  };
60
71
  const showNextDiagram = () => {
61
72
  if (!dataSpaceViewerState.currentDiagram) {
@@ -65,12 +76,17 @@ export const DataSpaceDiagramViewer = observer((props) => {
65
76
  if (idx === analysisResult.diagrams.length - 1 || idx === -1) {
66
77
  return;
67
78
  }
68
- dataSpaceViewerState.setCurrentDiagram(guaranteeNonNullable(analysisResult.diagrams[idx + 1]));
79
+ const nextDiagram = guaranteeNonNullable(analysisResult.diagrams[idx + 1]);
80
+ dataSpaceViewerState.setCurrentDiagram(nextDiagram);
81
+ dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(nextDiagram));
69
82
  };
70
- return (_jsxs("div", { className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Diagrams", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [analysisResult.diagrams.length > 0 && (_jsx("div", { className: "data-space__viewer__diagram-viewer", children: _jsx("div", { className: "data-space__viewer__diagram-viewer__carousel", children: _jsxs("div", { className: "data-space__viewer__diagram-viewer__carousel__frame", children: [_jsx("div", { className: "data-space__viewer__diagram-viewer__carousel__frame__display", children: dataSpaceViewerState.currentDiagram && (_jsx(DataSpaceDiagramCanvas, { dataSpaceViewerState: dataSpaceViewerState, diagram: dataSpaceViewerState.currentDiagram.diagram, ref: diagramCanvasRef })) }), _jsx("button", { className: "data-space__viewer__diagram-viewer__carousel__frame__navigator data-space__viewer__diagram-viewer__carousel__frame__navigator--back", tabIndex: -1, title: "Previous", disabled: getNullableFirstElement(analysisResult.diagrams) ===
71
- dataSpaceViewerState.currentDiagram, onClick: showPreviousDiagram, children: _jsx(ThinChevronLeftIcon, {}) }), _jsx("button", { className: "data-space__viewer__diagram-viewer__carousel__frame__navigator data-space__viewer__diagram-viewer__carousel__frame__navigator--next", tabIndex: -1, title: "Next", disabled: getNullableLastElement(analysisResult.diagrams) ===
83
+ return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Diagrams", _jsx("button", { className: "data-space__viewer__wiki__section__header__anchor", tabIndex: -1, onClick: () => dataSpaceViewerState.changeZone(anchor, true), children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [analysisResult.diagrams.length > 0 && (_jsx("div", { className: "data-space__viewer__diagram-viewer", children: _jsx("div", { className: "data-space__viewer__diagram-viewer__carousel", children: _jsxs("div", { className: "data-space__viewer__diagram-viewer__carousel__frame", children: [_jsx("div", { className: "data-space__viewer__diagram-viewer__carousel__frame__display", children: dataSpaceViewerState.currentDiagram && (_jsx(DataSpaceDiagramCanvas, { dataSpaceViewerState: dataSpaceViewerState, diagram: dataSpaceViewerState.currentDiagram.diagram, ref: diagramCanvasRef })) }), _jsx("button", { className: "data-space__viewer__diagram-viewer__carousel__frame__navigator data-space__viewer__diagram-viewer__carousel__frame__navigator--back", tabIndex: -1, title: "Previous", disabled: getNullableFirstEntry(analysisResult.diagrams) ===
84
+ dataSpaceViewerState.currentDiagram, onClick: showPreviousDiagram, children: _jsx(ThinChevronLeftIcon, {}) }), _jsx("button", { className: "data-space__viewer__diagram-viewer__carousel__frame__navigator data-space__viewer__diagram-viewer__carousel__frame__navigator--next", tabIndex: -1, title: "Next", disabled: getNullableLastEntry(analysisResult.diagrams) ===
72
85
  dataSpaceViewerState.currentDiagram, onClick: showNextDiagram, children: _jsx(ThinChevronRightIcon, {}) }), _jsx("div", { className: "data-space__viewer__diagram-viewer__carousel__frame__indicators", children: _jsx("div", { className: "data-space__viewer__diagram-viewer__carousel__frame__indicators__notch", children: analysisResult.diagrams.map((diagram) => (_jsx("button", { className: clsx('data-space__viewer__diagram-viewer__carousel__frame__indicator', {
73
86
  'data-space__viewer__diagram-viewer__carousel__frame__indicator--active': dataSpaceViewerState.currentDiagram === diagram,
74
- }), onClick: () => dataSpaceViewerState.setCurrentDiagram(diagram), children: _jsx(CircleIcon, {}) }, diagram.uuid))) }) })] }) }) })), analysisResult.diagrams.length <= 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No diagrams provided" }))] })] }));
87
+ }), onClick: () => {
88
+ dataSpaceViewerState.setCurrentDiagram(diagram);
89
+ dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(diagram));
90
+ }, children: _jsx(CircleIcon, {}) }, diagram.uuid))) }) })] }) }) })), analysisResult.diagrams.length <= 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No diagrams provided" }))] })] }));
75
91
  });
76
92
  //# sourceMappingURL=DataSpaceDiagramViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceDiagramViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;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AExB,KAAC,oBAAoB,KAAG,GACjB,EACT,cAAK,SAAS,EAAC,iEAAiE,YAC9E,cAAK,SAAS,EAAC,wEAAwE,YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACxC,iBAEE,SAAS,EAAE,IAAI,CACb,gEAAgE,EAChE;oDACE,wEAAwE,EACtE,oBAAoB,CAAC,cAAc,KAAK,OAAO;iDAClD,CACF,EACD,OAAO,EAAE,GAAG,EAAE,CACZ,oBAAoB,CAAC,iBAAiB,CAAC,OAAO,CAAC,YAGjD,KAAC,UAAU,KAAG,IAZT,OAAO,CAAC,IAAI,CAaV,CACV,CAAC,GACE,GACF,IACF,GACF,GACF,CACP,EACA,cAAc,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,CACtC,KAAC,wBAAwB,IAAC,OAAO,EAAC,sBAAsB,GAAG,CAC5D,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceDiagramViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACpB,IAAI,EACJ,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EAEzB,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAgB,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAClF,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,sBAAsB,CAA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AC,CAAC,EACZ,KAAK,EAAC,UAAU,EAChB,QAAQ,EACN,qBAAqB,CAAC,cAAc,CAAC,QAAQ,CAAC;4CAC9C,oBAAoB,CAAC,cAAc,EAErC,OAAO,EAAE,mBAAmB,YAE5B,KAAC,mBAAmB,KAAG,GAChB,EACT,iBACE,SAAS,EAAC,qIAAqI,EAC/I,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,MAAM,EACZ,QAAQ,EACN,oBAAoB,CAAC,cAAc,CAAC,QAAQ,CAAC;4CAC7C,oBAAoB,CAAC,cAAc,EAErC,OAAO,EAAE,eAAe,YAExB,KAAC,oBAAoB,KAAG,GACjB,EACT,cAAK,SAAS,EAAC,iEAAiE,YAC9E,cAAK,SAAS,EAAC,wEAAwE,YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACxC,iBAEE,SAAS,EAAE,IAAI,CACb,gEAAgE,EAChE;oDACE,wEAAwE,EACtE,oBAAoB,CAAC,cAAc,KAAK,OAAO;iDAClD,CACF,EACD,OAAO,EAAE,GAAG,EAAE;oDACZ,oBAAoB,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;oDAChD,oBAAoB,CAAC,sBAAsB,CACzC,wBAAwB,CAAC,OAAO,CAAC,CAClC,CAAC;gDACJ,CAAC,YAED,KAAC,UAAU,KAAG,IAfT,OAAO,CAAC,IAAI,CAgBV,CACV,CAAC,GACE,GACF,IACF,GACF,GACF,CACP,EACA,cAAc,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,CACtC,KAAC,wBAAwB,IAAC,OAAO,EAAC,sBAAsB,GAAG,CAC5D,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceModelsDocumentation.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA6BH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AA29B9E,eAAO,MAAM,4BAA4B,WAC/B;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAgEvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceModelsDocumentation.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA6BH,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AA29B3C,eAAO,MAAM,4BAA4B,WAC/B;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoFvD,CAAC"}
@@ -16,13 +16,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
18
  import { AnchorLinkIcon, BasePopover, ChevronDownIcon, ChevronRightIcon, ClockIcon, CogIcon, DropdownMenu, FilterIcon, InfoCircleIcon, MenuContent, MenuContentItem, MoreVerticalIcon, SearchIcon, TimesIcon, Tooltip, clsx, TreeView, PackageIcon, CheckSquareIcon, MinusSquareIcon, EmptySquareIcon, CaretRightIcon, CaretLeftIcon, } from '@finos/legend-art';
19
- import {} from '../stores/DataSpaceViewerState.js';
19
+ import { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, } from '../stores/DataSpaceViewerState.js';
20
20
  import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
21
21
  import { DataSpaceAssociationDocumentationEntry, DataSpaceBasicDocumentationEntry, DataSpaceClassDocumentationEntry, DataSpaceEnumerationDocumentationEntry, DataSpaceModelDocumentationEntry, DataSpacePropertyDocumentationEntry, } from '../graph-manager/action/analytics/DataSpaceAnalysis.js';
22
22
  import { debounce, isNonNullable, prettyCONSTName } from '@finos/legend-shared';
23
23
  import { useApplicationStore } from '@finos/legend-application';
24
24
  import { CORE_PURE_PATH, ELEMENT_PATH_DELIMITER, MILESTONING_STEREOTYPE, PROPERTY_ACCESSOR, getMultiplicityDescription, } from '@finos/legend-graph';
25
- import { useMemo, useRef } from 'react';
25
+ import { useEffect, useMemo, useRef } from 'react';
26
26
  import { ModelsDocumentationFilterTreeTypeNodeData, ModelsDocumentationFilterTreeElementNodeData, ModelsDocumentationFilterTreePackageNodeData, ModelsDocumentationFilterTreeNodeCheckType, uncheckFilterTreeNode, checkFilterTreeNode, uncheckAllFilterTree, ModelsDocumentationFilterTreeRootNodeData, } from '../stores/DataSpaceModelsDocumentationState.js';
27
27
  import { DataGrid, } from '@finos/legend-lego/data-grid';
28
28
  import { FuzzySearchAdvancedConfigMenu } from '@finos/legend-lego/application';
@@ -353,9 +353,17 @@ const DataSpaceModelsDocumentationSearchBar = observer((props) => {
353
353
  });
354
354
  export const DataSpaceModelsDocumentation = observer((props) => {
355
355
  const { dataSpaceViewerState } = props;
356
+ const sectionRef = useRef(null);
357
+ const anchor = generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_DOCUMENTATION);
358
+ useEffect(() => {
359
+ if (sectionRef.current) {
360
+ dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
361
+ }
362
+ return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
363
+ }, [dataSpaceViewerState, anchor]);
356
364
  const documentationEntries = dataSpaceViewerState.dataSpaceAnalysisResult.elementDocs;
357
365
  const documentationState = dataSpaceViewerState.modelsDocumentationState;
358
366
  const toggleFilterPanel = () => documentationState.setShowFilterPanel(!documentationState.showFilterPanel);
359
- return (_jsxs("div", { className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Models Documentation", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [documentationEntries.length > 0 && (_jsxs("div", { className: "data-space__viewer__models-documentation", children: [_jsxs("div", { className: "data-space__viewer__models-documentation__header", children: [_jsxs("button", { className: "data-space__viewer__models-documentation__filter__toggler", title: "Toggle Filter Panel", tabIndex: -1, onClick: toggleFilterPanel, children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__toggler__arrow", children: documentationState.showFilterPanel ? (_jsx(CaretLeftIcon, {})) : (_jsx(CaretRightIcon, {})) }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__toggler__icon", children: _jsx(FilterIcon, {}) })] }), _jsx(DataSpaceModelsDocumentationSearchBar, { dataSpaceViewerState: dataSpaceViewerState })] }), _jsxs("div", { className: "data-space__viewer__models-documentation__content", children: [documentationState.showFilterPanel && (_jsx(DataSpaceModelsDocumentationFilterPanel, { dataSpaceViewerState: dataSpaceViewerState })), _jsx(DataSpaceModelsDocumentationGridPanel, { dataSpaceViewerState: dataSpaceViewerState })] })] })), documentationEntries.length === 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No documentation provided" }))] })] }));
367
+ return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Models Documentation", _jsx("button", { className: "data-space__viewer__wiki__section__header__anchor", tabIndex: -1, onClick: () => dataSpaceViewerState.changeZone(anchor, true), children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [documentationEntries.length > 0 && (_jsxs("div", { className: "data-space__viewer__models-documentation", children: [_jsxs("div", { className: "data-space__viewer__models-documentation__header", children: [_jsxs("button", { className: "data-space__viewer__models-documentation__filter__toggler", title: "Toggle Filter Panel", tabIndex: -1, onClick: toggleFilterPanel, children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__toggler__arrow", children: documentationState.showFilterPanel ? (_jsx(CaretLeftIcon, {})) : (_jsx(CaretRightIcon, {})) }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__toggler__icon", children: _jsx(FilterIcon, {}) })] }), _jsx(DataSpaceModelsDocumentationSearchBar, { dataSpaceViewerState: dataSpaceViewerState })] }), _jsxs("div", { className: "data-space__viewer__models-documentation__content", children: [documentationState.showFilterPanel && (_jsx(DataSpaceModelsDocumentationFilterPanel, { dataSpaceViewerState: dataSpaceViewerState })), _jsx(DataSpaceModelsDocumentationGridPanel, { dataSpaceViewerState: dataSpaceViewerState })] })] })), documentationEntries.length === 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No documentation provided" }))] })] }));
360
368
  });
361
369
  //# sourceMappingURL=DataSpaceModelsDocumentation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceModelsDocumentation.js","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,UAAU,EACV,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,OAAO,EACP,IAAI,EAEJ,QAAQ,EACR,WAAW,EACX,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EACL,sCAAsC,EACtC,gCAAgC,EAChC,gCAAgC,EAChC,sCAAsC,EACtC,gCAAgC,EAChC,mCAAmC,GAEpC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAA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,CAClB,CAAC,CAAC,CAAC,CACF,KAAC,cAAc,KAAG,CACnB,GACG,EACN,cAAK,SAAS,EAAC,iEAAiE,YAC9E,KAAC,UAAU,KAAG,GACV,IACC,EACT,KAAC,qCAAqC,IACpC,oBAAoB,EAAE,oBAAoB,GAC1C,IACE,EACN,eAAK,SAAS,EAAC,mDAAmD,aAC/D,kBAAkB,CAAC,eAAe,IAAI,CACrC,KAAC,uCAAuC,IACtC,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACD,KAAC,qCAAqC,IACpC,oBAAoB,EAAE,oBAAoB,GAC1C,IACE,IACF,CACP,EACA,oBAAoB,CAAC,MAAM,KAAK,CAAC,IAAI,CACpC,KAAC,wBAAwB,IAAC,OAAO,EAAC,2BAA2B,GAAG,CACjE,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceModelsDocumentation.js","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,UAAU,EACV,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,OAAO,EACP,IAAI,EAEJ,QAAQ,EACR,WAAW,EACX,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAE1B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EACL,sCAAsC,EACtC,gCAAgC,EAChC,gCAAgC,EAChC,sCAAsC,EACtC,gCAAgC,EAChC,mCAAmC,GAEp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J,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuickStart.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAYH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAwW9E,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAmDvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuickStart.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAYH,OAAO,EAGL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AA6V3C,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAqEvD,CAAC"}
@@ -16,11 +16,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
18
  import { AnchorLinkIcon, CodeIcon, CopyIcon, LegendLogo, MoreVerticalIcon, QuestionCircleIcon, clsx, } from '@finos/legend-art';
19
- import {} from '../stores/DataSpaceViewerState.js';
19
+ import { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, generateAnchorForQuickStart, } from '../stores/DataSpaceViewerState.js';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
21
  import { DataSpaceExecutableTDSResult, } from '../graph-manager/action/analytics/DataSpaceAnalysis.js';
22
22
  import { DataSpaceMarkdownTextViewer } from './DataSpaceMarkdownTextViewer.js';
23
- import { useState } from 'react';
23
+ import { useEffect, useRef, useState } from 'react';
24
24
  import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
25
25
  import { DataGrid, } from '@finos/legend-lego/data-grid';
26
26
  import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
@@ -30,7 +30,6 @@ var TDS_EXECUTABLE_ACTION_TAB;
30
30
  TDS_EXECUTABLE_ACTION_TAB["QUERY"] = "QUERY";
31
31
  TDS_EXECUTABLE_ACTION_TAB["QUERY_TEXT"] = "QUERY_TEXT";
32
32
  })(TDS_EXECUTABLE_ACTION_TAB || (TDS_EXECUTABLE_ACTION_TAB = {}));
33
- const MIN_NUMBER_OF_ROWS_FOR_AUTO_HEIGHT = 15;
34
33
  const TDSColumnDocumentationCellRenderer = (params) => {
35
34
  const data = params.data;
36
35
  if (!data) {
@@ -51,80 +50,95 @@ const DataSpaceExecutableTDSResultView = observer((props) => {
51
50
  const [selectedTab, setSelectedTab] = useState(TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS);
52
51
  const queryText = executableAnalysisResult.info?.query;
53
52
  const columnSpecifications = tdsResult.columns;
54
- const autoHeight = tdsResult.columns.length <= MIN_NUMBER_OF_ROWS_FOR_AUTO_HEIGHT;
55
53
  const extractTDSExecutableActionConfigurations = applicationStore.pluginManager
56
54
  .getApplicationPlugins()
57
- .flatMap((plugin) => plugin.getExtraDataSpaceTDSExecutableActionConfigurations?.() ?? []);
55
+ .flatMap((plugin) => plugin.getExtraDataSpaceTDSExecutableActionConfigurations?.() ?? [])
56
+ .filter((configuration) => configuration.isSupported(dataSpaceViewerState, executableAnalysisResult, tdsResult));
58
57
  const currentTabExtensionConfig = extractTDSExecutableActionConfigurations.find((config) => config.key === selectedTab);
59
- return (_jsxs("div", { className: "data-space__viewer__quickstart__item", children: [_jsxs("div", { className: "data-space__viewer__quickstart__item__header", children: [_jsx("div", { className: "data-space__viewer__quickstart__item__header__title", children: executableAnalysisResult.title }), _jsx("div", { className: "data-space__viewer__quickstart__item__header__type", children: "TDS" }), _jsx("div", { className: "data-space__viewer__quickstart__item__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }), executableAnalysisResult.description !== undefined && (_jsx("div", { className: "data-space__viewer__quickstart__item__description", children: _jsx(DataSpaceMarkdownTextViewer, { value: executableAnalysisResult.description }) })), _jsxs("div", { className: "data-space__viewer__quickstart__item__content", children: [_jsxs("div", { className: "data-space__viewer__quickstart__item__content__tab__header", children: [_jsxs("div", { className: "data-space__viewer__quickstart__item__content__tabs", children: [_jsx("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
60
- 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS,
61
- }), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS), children: _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: "Column Specifications" }) }), _jsxs("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
62
- 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY,
63
- }), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY), children: [_jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(LegendLogo, { className: "data-space__viewer__quickstart__item__content__tab__icon--query" }) }), _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: "Query" })] }), extractTDSExecutableActionConfigurations.map((config) => (_jsxs("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
64
- 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === config.key,
65
- }), tabIndex: -1, onClick: () => setSelectedTab(config.key), children: [config.icon !== undefined && (_jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: config.icon })), _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: config.title })] }, config.key)))] }), queryText !== undefined && (_jsx("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
66
- 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT,
67
- }), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT), children: _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(CodeIcon, { className: "data-space__viewer__quickstart__item__content__tab__icon--query" }) }) }))] }), _jsxs("div", { className: clsx('data-space__viewer__quickstart__item__content__tab__content', {
68
- 'data-space__viewer__quickstart__item__content__tab__content': autoHeight,
69
- }), children: [selectedTab === TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS && (_jsx("div", { className: "data-space__viewer__quickstart__tds__column-specs data-space__viewer__grid ag-theme-balham-dark", children: _jsx(DataGrid, { domLayout: autoHeight ? 'autoHeight' : 'normal', rowData: columnSpecifications, gridOptions: {
70
- suppressScrollOnNewData: true,
71
- getRowId: (rowData) => rowData.data.uuid,
72
- }, suppressFieldDotNotation: true, columnDefs: [
73
- {
74
- minWidth: 50,
75
- sortable: true,
76
- resizable: true,
77
- field: 'name',
78
- headerValueGetter: () => `Column ${columnSpecifications.length
79
- ? ` (${columnSpecifications.length})`
80
- : ''}`,
81
- flex: 1,
82
- },
83
- {
84
- minWidth: 50,
85
- sortable: false,
86
- resizable: true,
87
- cellRenderer: TDSColumnDocumentationCellRenderer,
88
- headerName: 'Documentation',
89
- flex: 1,
90
- wrapText: true,
91
- autoHeight: true,
92
- },
93
- {
94
- minWidth: 50,
95
- sortable: false,
96
- resizable: false,
97
- headerClass: 'data-space__viewer__grid__last-column-header',
98
- cellRenderer: TDSColumnSampleValuesCellRenderer,
99
- headerName: 'Sample Values',
100
- flex: 1,
101
- },
102
- ] }) })), selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY && (_jsx("div", { className: "data-space__viewer__quickstart__tds__query", children: _jsxs("div", { className: "data-space__viewer__quickstart__tds__query__actions", children: [_jsx("button", { className: "data-space__viewer__quickstart__tds__query__action btn--dark", tabIndex: -1, onClick: () => {
103
- // TODO: wire this so we can go to the query for the service
104
- }, children: "Open in Query" }), _jsx("button", { className: "data-space__viewer__quickstart__tds__query__action btn--dark", tabIndex: -1, disabled: true, children: "Open in Query with Test Data" })] }) })), selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT &&
105
- queryText !== undefined && (_jsxs("div", { className: "data-space__viewer__quickstart__tds__query-text", children: [_jsx("div", { className: "data-space__viewer__quickstart__tds__query-text__content", children: _jsx(CodeEditor, { inputValue: queryText, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, showMiniMap: false, hideGutter: true }) }), _jsxs("div", { className: "data-space__viewer__quickstart__tds__query-text__actions", children: [_jsx("button", { className: "data-space__viewer__quickstart__tds__query-text__action", tabIndex: -1, title: "Copy", onClick: () => {
106
- applicationStore.clipboardService
107
- .copyTextToClipboard(queryText)
108
- .catch(applicationStore.alertUnhandledError);
109
- }, children: _jsx(CopyIcon, {}) }), _jsx("button", { className: "data-space__viewer__quickstart__tds__query-text__action", tabIndex: -1, children: _jsx(MoreVerticalIcon, {}) })] })] })), currentTabExtensionConfig?.renderer(dataSpaceViewerState, executableAnalysisResult, tdsResult)] })] })] }));
58
+ return (_jsxs("div", { className: "data-space__viewer__quickstart__item__content", children: [_jsxs("div", { className: "data-space__viewer__quickstart__item__content__tab__header", children: [_jsxs("div", { className: "data-space__viewer__quickstart__item__content__tabs", children: [_jsx("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
59
+ 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS,
60
+ }), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS), children: _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: "Column Specifications" }) }), _jsxs("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
61
+ 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY,
62
+ }), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY), children: [_jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(LegendLogo, { className: "data-space__viewer__quickstart__item__content__tab__icon--query" }) }), _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: "Query" })] }), extractTDSExecutableActionConfigurations.map((config) => (_jsxs("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
63
+ 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === config.key,
64
+ }), tabIndex: -1, onClick: () => setSelectedTab(config.key), children: [config.icon !== undefined && (_jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: config.icon })), _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: config.title })] }, config.key)))] }), queryText !== undefined && (_jsx("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
65
+ 'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT,
66
+ }), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT), children: _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(CodeIcon, { className: "data-space__viewer__quickstart__item__content__tab__icon--query" }) }) }))] }), _jsxs("div", { className: "data-space__viewer__quickstart__item__content__tab__content", children: [selectedTab === TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS && (_jsx("div", { className: "data-space__viewer__quickstart__tds__column-specs data-space__viewer__grid ag-theme-balham-dark", children: _jsx(DataGrid, { rowData: columnSpecifications, gridOptions: {
67
+ suppressScrollOnNewData: true,
68
+ getRowId: (rowData) => rowData.data.uuid,
69
+ }, suppressFieldDotNotation: true, columnDefs: [
70
+ {
71
+ minWidth: 50,
72
+ sortable: true,
73
+ resizable: true,
74
+ field: 'name',
75
+ headerValueGetter: () => `Column ${columnSpecifications.length
76
+ ? ` (${columnSpecifications.length})`
77
+ : ''}`,
78
+ flex: 1,
79
+ },
80
+ {
81
+ minWidth: 50,
82
+ sortable: false,
83
+ resizable: true,
84
+ cellRenderer: TDSColumnDocumentationCellRenderer,
85
+ headerName: 'Documentation',
86
+ flex: 1,
87
+ wrapText: true,
88
+ autoHeight: true,
89
+ },
90
+ {
91
+ minWidth: 50,
92
+ sortable: false,
93
+ resizable: false,
94
+ headerClass: 'data-space__viewer__grid__last-column-header',
95
+ cellRenderer: TDSColumnSampleValuesCellRenderer,
96
+ headerName: 'Sample Values',
97
+ flex: 1,
98
+ },
99
+ ] }) })), selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY && (_jsx("div", { className: "data-space__viewer__quickstart__tds__query", children: _jsxs("div", { className: "data-space__viewer__quickstart__tds__query__actions", children: [_jsx("button", { className: "data-space__viewer__quickstart__tds__query__action btn--dark", tabIndex: -1, onClick: () => {
100
+ // TODO: wire this so we can go to the query for the service
101
+ }, children: "Open in Query" }), _jsx("button", { className: "data-space__viewer__quickstart__tds__query__action btn--dark", tabIndex: -1, disabled: true, children: "Open in Query with Test Data" })] }) })), selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT &&
102
+ queryText !== undefined && (_jsxs("div", { className: "data-space__viewer__quickstart__tds__query-text", children: [_jsx("div", { className: "data-space__viewer__quickstart__tds__query-text__content", children: _jsx(CodeEditor, { inputValue: queryText, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, showMiniMap: false, hideGutter: true }) }), _jsxs("div", { className: "data-space__viewer__quickstart__tds__query-text__actions", children: [_jsx("button", { className: "data-space__viewer__quickstart__tds__query-text__action", tabIndex: -1, title: "Copy", onClick: () => {
103
+ applicationStore.clipboardService
104
+ .copyTextToClipboard(queryText)
105
+ .catch(applicationStore.alertUnhandledError);
106
+ }, children: _jsx(CopyIcon, {}) }), _jsx("button", { className: "data-space__viewer__quickstart__tds__query-text__action", tabIndex: -1, children: _jsx(MoreVerticalIcon, {}) })] })] })), currentTabExtensionConfig?.renderer(dataSpaceViewerState, executableAnalysisResult, tdsResult)] })] }));
110
107
  });
111
108
  const DataSpaceExecutableAnalysisResultView = observer((props) => {
112
109
  const { dataSpaceViewerState, executableAnalysisResult } = props;
113
- if (executableAnalysisResult.result instanceof DataSpaceExecutableTDSResult) {
114
- return (_jsx(DataSpaceExecutableTDSResultView, { dataSpaceViewerState: dataSpaceViewerState, executableAnalysisResult: executableAnalysisResult, tdsResult: executableAnalysisResult.result }));
115
- }
116
- return (_jsxs("div", { className: "data-space__viewer__quickstart__item", children: [_jsxs("div", { className: "data-space__viewer__quickstart__item__header", children: [_jsx("div", { className: "data-space__viewer__quickstart__item__header__title", children: executableAnalysisResult.title }), _jsx("div", { className: "data-space__viewer__quickstart__item__header__type", children: "UNKNOWN" }), _jsx("div", { className: "data-space__viewer__quickstart__item__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }), executableAnalysisResult.description !== undefined && (_jsx("div", { className: "data-space__viewer__quickstart__item__description", children: _jsx(DataSpaceMarkdownTextViewer, { value: executableAnalysisResult.description }) }))] }));
110
+ const quickStartRef = useRef(null);
111
+ const anchor = generateAnchorForQuickStart(executableAnalysisResult);
112
+ useEffect(() => {
113
+ if (quickStartRef.current) {
114
+ dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, quickStartRef.current);
115
+ }
116
+ return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
117
+ }, [dataSpaceViewerState, anchor]);
118
+ return (_jsxs("div", { ref: quickStartRef, className: "data-space__viewer__quickstart__item", children: [_jsxs("div", { className: "data-space__viewer__quickstart__item__header", children: [_jsx("div", { className: "data-space__viewer__quickstart__item__header__title", children: executableAnalysisResult.title }), _jsx("div", { className: "data-space__viewer__quickstart__item__header__type", children: executableAnalysisResult.result instanceof
119
+ DataSpaceExecutableTDSResult
120
+ ? 'TDS'
121
+ : 'UNKNOWN' }), _jsx("button", { className: "data-space__viewer__quickstart__item__header__anchor", tabIndex: -1, onClick: () => dataSpaceViewerState.changeZone(anchor, true), children: _jsx(AnchorLinkIcon, {}) })] }), executableAnalysisResult.description !== undefined && (_jsx("div", { className: "data-space__viewer__quickstart__item__description", children: _jsx(DataSpaceMarkdownTextViewer, { value: executableAnalysisResult.description }) })), executableAnalysisResult.result instanceof
122
+ DataSpaceExecutableTDSResult && (_jsx(DataSpaceExecutableTDSResultView, { dataSpaceViewerState: dataSpaceViewerState, executableAnalysisResult: executableAnalysisResult, tdsResult: executableAnalysisResult.result }))] }));
117
123
  });
118
124
  export const DataSpaceQuickStart = observer((props) => {
119
125
  const { dataSpaceViewerState } = props;
120
126
  const applicationStore = useApplicationStore();
121
127
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
122
128
  const documentationUrl = analysisResult.supportInfo?.documentationUrl;
129
+ const sectionRef = useRef(null);
130
+ const anchor = generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.QUICK_START);
131
+ useEffect(() => {
132
+ if (sectionRef.current) {
133
+ dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
134
+ }
135
+ return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
136
+ }, [dataSpaceViewerState, anchor]);
123
137
  const seeDocumentation = () => {
124
138
  if (documentationUrl) {
125
139
  applicationStore.navigationService.navigator.visitAddress(documentationUrl);
126
140
  }
127
141
  };
128
- return (_jsxs("div", { className: "data-space__viewer__wiki__section", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Quick Start", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }), Boolean(documentationUrl) && (_jsx("button", { className: "data-space__viewer__wiki__section__header__documentation", tabIndex: -1, onClick: seeDocumentation, title: "See Documentation", children: _jsx(QuestionCircleIcon, {}) }))] }), _jsx("div", { className: "data-space__viewer__wiki__section__content", children: _jsx("div", { className: "data-space__viewer__quickstart", children: analysisResult.executables.map((executable) => (_jsx(DataSpaceExecutableAnalysisResultView, { dataSpaceViewerState: dataSpaceViewerState, executableAnalysisResult: executable }, executable.uuid))) }) }), analysisResult.executables.length === 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No quick start provided" }))] }));
142
+ return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Quick Start", _jsx("button", { className: "data-space__viewer__wiki__section__header__anchor", tabIndex: -1, onClick: () => dataSpaceViewerState.changeZone(anchor, true), children: _jsx(AnchorLinkIcon, {}) })] }), Boolean(documentationUrl) && (_jsx("button", { className: "data-space__viewer__wiki__section__header__documentation", tabIndex: -1, onClick: seeDocumentation, title: "See Documentation", children: _jsx(QuestionCircleIcon, {}) }))] }), _jsx("div", { className: "data-space__viewer__wiki__section__content", children: _jsx("div", { className: "data-space__viewer__quickstart", children: analysisResult.executables.map((executable) => (_jsx(DataSpaceExecutableAnalysisResultView, { dataSpaceViewerState: dataSpaceViewerState, executableAnalysisResult: executable }, executable.uuid))) }) }), analysisResult.executables.length === 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No quick start provided" }))] }));
129
143
  });
130
144
  //# sourceMappingURL=DataSpaceQuickStart.js.map