@finos/legend-extension-dsl-data-space 10.0.10 → 10.0.12

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 (131) hide show
  1. package/lib/__lib__/DSL_DataSpace_LegendApplicationCommand.d.ts +28 -0
  2. package/lib/__lib__/DSL_DataSpace_LegendApplicationCommand.d.ts.map +1 -0
  3. package/lib/__lib__/DSL_DataSpace_LegendApplicationCommand.js +70 -0
  4. package/lib/__lib__/DSL_DataSpace_LegendApplicationCommand.js.map +1 -0
  5. package/lib/__lib__/DSL_DataSpace_LegendApplicationNavigation.d.ts +20 -0
  6. package/lib/__lib__/DSL_DataSpace_LegendApplicationNavigation.d.ts.map +1 -0
  7. package/lib/__lib__/DSL_DataSpace_LegendApplicationNavigation.js +21 -0
  8. package/lib/__lib__/DSL_DataSpace_LegendApplicationNavigation.js.map +1 -0
  9. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts +5 -2
  10. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
  11. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +47 -1
  12. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
  13. package/lib/components/DataSpaceDataAccess.d.ts.map +1 -1
  14. package/lib/components/DataSpaceDataAccess.js +5 -76
  15. package/lib/components/DataSpaceDataAccess.js.map +1 -1
  16. package/lib/components/DataSpaceDescription.d.ts.map +1 -1
  17. package/lib/components/DataSpaceDescription.js +2 -1
  18. package/lib/components/DataSpaceDescription.js.map +1 -1
  19. package/lib/components/DataSpaceDiagramViewer.d.ts.map +1 -1
  20. package/lib/components/DataSpaceDiagramViewer.js +110 -39
  21. package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
  22. package/lib/components/DataSpaceExecutionContextViewer.d.ts.map +1 -1
  23. package/lib/components/DataSpaceExecutionContextViewer.js +3 -3
  24. package/lib/components/DataSpaceExecutionContextViewer.js.map +1 -1
  25. package/lib/components/DataSpaceInfoPanel.d.ts.map +1 -1
  26. package/lib/components/DataSpaceInfoPanel.js +6 -6
  27. package/lib/components/DataSpaceInfoPanel.js.map +1 -1
  28. package/lib/components/DataSpaceModelsDocumentation.d.ts.map +1 -1
  29. package/lib/components/DataSpaceModelsDocumentation.js +18 -8
  30. package/lib/components/DataSpaceModelsDocumentation.js.map +1 -1
  31. package/lib/components/DataSpacePlaceholder.d.ts +4 -0
  32. package/lib/components/DataSpacePlaceholder.d.ts.map +1 -1
  33. package/lib/components/DataSpacePlaceholder.js +6 -1
  34. package/lib/components/DataSpacePlaceholder.js.map +1 -1
  35. package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
  36. package/lib/components/DataSpaceQuickStart.js +24 -11
  37. package/lib/components/DataSpaceQuickStart.js.map +1 -1
  38. package/lib/components/DataSpaceSupportPanel.d.ts.map +1 -1
  39. package/lib/components/DataSpaceSupportPanel.js +17 -8
  40. package/lib/components/DataSpaceSupportPanel.js.map +1 -1
  41. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  42. package/lib/components/DataSpaceViewer.js +34 -13
  43. package/lib/components/DataSpaceViewer.js.map +1 -1
  44. package/lib/components/DataSpaceViewerActivityBar.d.ts.map +1 -1
  45. package/lib/components/DataSpaceViewerActivityBar.js +15 -12
  46. package/lib/components/DataSpaceViewerActivityBar.js.map +1 -1
  47. package/lib/components/index.d.ts +1 -0
  48. package/lib/components/index.d.ts.map +1 -1
  49. package/lib/components/index.js +1 -0
  50. package/lib/components/index.js.map +1 -1
  51. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
  52. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +1 -0
  53. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
  54. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +1 -1
  55. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  56. package/lib/index.css +2 -2
  57. package/lib/index.css.map +1 -1
  58. package/lib/package.json +1 -1
  59. package/lib/stores/DataSpaceLayoutState.d.ts +48 -0
  60. package/lib/stores/DataSpaceLayoutState.d.ts.map +1 -0
  61. package/lib/stores/DataSpaceLayoutState.js +185 -0
  62. package/lib/stores/DataSpaceLayoutState.js.map +1 -0
  63. package/lib/stores/DataSpaceModelsDocumentationState.d.ts +11 -2
  64. package/lib/stores/DataSpaceModelsDocumentationState.d.ts.map +1 -1
  65. package/lib/stores/DataSpaceModelsDocumentationState.js +41 -0
  66. package/lib/stores/DataSpaceModelsDocumentationState.js.map +1 -1
  67. package/lib/stores/DataSpaceQuickStartState.d.ts +24 -0
  68. package/lib/stores/DataSpaceQuickStartState.d.ts.map +1 -0
  69. package/lib/stores/DataSpaceQuickStartState.js +48 -0
  70. package/lib/stores/DataSpaceQuickStartState.js.map +1 -0
  71. package/lib/stores/DataSpaceViewerDiagramViewerState.d.ts +44 -0
  72. package/lib/stores/DataSpaceViewerDiagramViewerState.d.ts.map +1 -0
  73. package/lib/stores/DataSpaceViewerDiagramViewerState.js +194 -0
  74. package/lib/stores/DataSpaceViewerDiagramViewerState.js.map +1 -0
  75. package/lib/stores/DataSpaceViewerNavigation.d.ts +36 -0
  76. package/lib/stores/DataSpaceViewerNavigation.d.ts.map +1 -0
  77. package/lib/stores/DataSpaceViewerNavigation.js +47 -0
  78. package/lib/stores/DataSpaceViewerNavigation.js.map +1 -0
  79. package/lib/stores/DataSpaceViewerState.d.ts +22 -74
  80. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  81. package/lib/stores/DataSpaceViewerState.js +34 -259
  82. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  83. package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.map +1 -1
  84. package/lib/stores/query/DataSpaceAdvancedSearchState.js +8 -5
  85. package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
  86. package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts +8 -8
  87. package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +1 -1
  88. package/lib/stores/query/DataSpaceQueryCreatorStore.js +1 -1
  89. package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
  90. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts +1 -1
  91. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts.map +1 -1
  92. package/lib/stores/query/DataSpaceQuerySetupStore.js +1 -1
  93. package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
  94. package/lib/stores/studio/DataSpacePreviewState.d.ts.map +1 -1
  95. package/lib/stores/studio/DataSpacePreviewState.js +15 -3
  96. package/lib/stores/studio/DataSpacePreviewState.js.map +1 -1
  97. package/package.json +13 -13
  98. package/src/__lib__/DSL_DataSpace_LegendApplicationCommand.ts +74 -0
  99. package/src/__lib__/DSL_DataSpace_LegendApplicationNavigation.ts +33 -0
  100. package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +116 -0
  101. package/src/components/DataSpaceDataAccess.tsx +9 -122
  102. package/src/components/DataSpaceDescription.tsx +5 -5
  103. package/src/components/DataSpaceDiagramViewer.tsx +449 -69
  104. package/src/components/DataSpaceExecutionContextViewer.tsx +47 -40
  105. package/src/components/DataSpaceInfoPanel.tsx +107 -117
  106. package/src/components/DataSpaceModelsDocumentation.tsx +31 -12
  107. package/src/components/DataSpacePlaceholder.tsx +22 -0
  108. package/src/components/DataSpaceQuickStart.tsx +95 -15
  109. package/src/components/DataSpaceSupportPanel.tsx +146 -14
  110. package/src/components/DataSpaceViewer.tsx +153 -23
  111. package/src/components/DataSpaceViewerActivityBar.tsx +40 -20
  112. package/src/components/index.ts +1 -0
  113. package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +1 -0
  114. package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +1 -1
  115. package/src/stores/DataSpaceLayoutState.ts +272 -0
  116. package/src/stores/DataSpaceModelsDocumentationState.ts +61 -2
  117. package/src/stores/DataSpaceQuickStartState.ts +91 -0
  118. package/src/stores/DataSpaceViewerDiagramViewerState.ts +245 -0
  119. package/src/stores/DataSpaceViewerNavigation.ts +64 -0
  120. package/src/stores/DataSpaceViewerState.ts +88 -401
  121. package/src/stores/query/DataSpaceAdvancedSearchState.ts +30 -6
  122. package/src/stores/query/DataSpaceQueryCreatorStore.ts +8 -8
  123. package/src/stores/query/DataSpaceQuerySetupStore.ts +1 -1
  124. package/src/stores/studio/DataSpacePreviewState.ts +27 -5
  125. package/tsconfig.json +7 -2
  126. package/lib/stores/DataSpaceViewerDataAccessState.d.ts +0 -35
  127. package/lib/stores/DataSpaceViewerDataAccessState.d.ts.map +0 -1
  128. package/lib/stores/DataSpaceViewerDataAccessState.js +0 -98
  129. package/lib/stores/DataSpaceViewerDataAccessState.js.map +0 -1
  130. package/src/components/DSL_DataSpace_LegendApplicationPlugin.ts +0 -45
  131. package/src/stores/DataSpaceViewerDataAccessState.ts +0 -143
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -14,79 +14,150 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
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';
17
+ import { AnchorLinkIcon, CaretDownIcon, CenterFocusIcon, CircleIcon, CloseIcon, ContextMenu, CustomSelectorInput, DescriptionIcon, DropdownMenu, MenuContent, MenuContentDivider, MenuContentItem, MousePointerIcon, MoveIcon, ShapesIcon, ThinChevronDownIcon, ThinChevronLeftIcon, ThinChevronRightIcon, ThinChevronUpIcon, ZoomInIcon, ZoomOutIcon, clsx, useResizeDetector, } from '@finos/legend-art';
18
+ import {} from '../stores/DataSpaceViewerState.js';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { forwardRef, useEffect, useRef } from 'react';
21
21
  import {} from '@finos/legend-extension-dsl-diagram/graph';
22
- import { DiagramRenderer } from '@finos/legend-extension-dsl-diagram/application';
23
- import { getNullableFirstEntry, getNullableLastEntry, guaranteeNonNullable, } from '@finos/legend-shared';
22
+ import { DIAGRAM_INTERACTION_MODE, DIAGRAM_RELATIONSHIP_EDIT_MODE, DIAGRAM_ZOOM_LEVELS, DiagramRenderer, } from '@finos/legend-extension-dsl-diagram/application';
24
23
  import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
24
+ import { getNonNullableEntry } from '@finos/legend-shared';
25
+ import { DataSpaceMarkdownTextViewer } from './DataSpaceMarkdownTextViewer.js';
26
+ import { useCommands } from '@finos/legend-application';
27
+ import { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, generateAnchorForDiagram, } from '../stores/DataSpaceViewerNavigation.js';
25
28
  const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanvas(props, ref) {
26
29
  const { dataSpaceViewerState, diagram } = props;
30
+ const diagramViewerState = dataSpaceViewerState.diagramViewerState;
27
31
  const diagramCanvasRef = ref;
32
+ const descriptionText = diagramViewerState.currentDiagram?.description;
28
33
  const { width, height } = useResizeDetector({
29
34
  refreshMode: 'debounce',
30
35
  refreshRate: 50,
31
36
  targetRef: diagramCanvasRef,
32
37
  });
38
+ useEffect(() => {
39
+ diagramViewerState.setExpandDescription(false);
40
+ }, [diagramViewerState, diagramViewerState.currentDiagram]);
33
41
  useEffect(() => {
34
42
  const renderer = new DiagramRenderer(diagramCanvasRef.current, diagram);
35
- dataSpaceViewerState.setDiagramRenderer(renderer);
36
- dataSpaceViewerState.setupDiagramRenderer();
43
+ diagramViewerState.setDiagramRenderer(renderer);
44
+ diagramViewerState.setupDiagramRenderer();
37
45
  renderer.render({ initial: true });
38
- }, [diagramCanvasRef, dataSpaceViewerState, diagram]);
46
+ }, [diagramCanvasRef, diagramViewerState, diagram]);
39
47
  useEffect(() => {
40
- if (dataSpaceViewerState.isDiagramRendererInitialized) {
41
- dataSpaceViewerState.diagramRenderer.refresh();
48
+ if (diagramViewerState.isDiagramRendererInitialized) {
49
+ diagramViewerState.diagramRenderer.refresh();
50
+ }
51
+ }, [diagramViewerState, width, height]);
52
+ // actions
53
+ const queryClass = () => {
54
+ if (diagramViewerState.contextMenuClassView) {
55
+ dataSpaceViewerState.queryClass(diagramViewerState.contextMenuClassView.class.value);
56
+ }
57
+ };
58
+ const viewClassDocumentation = () => {
59
+ if (diagramViewerState.contextMenuClassView &&
60
+ dataSpaceViewerState.modelsDocumentationState.hasClassDocumentation(diagramViewerState.contextMenuClassView.class.value.path)) {
61
+ dataSpaceViewerState.modelsDocumentationState.viewClassDocumentation(diagramViewerState.contextMenuClassView.class.value.path);
62
+ dataSpaceViewerState.changeZone(generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_DOCUMENTATION));
42
63
  }
43
- }, [dataSpaceViewerState, width, height]);
44
- return (_jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas ', dataSpaceViewerState.diagramCursorClass), tabIndex: 0 }));
64
+ };
65
+ return (_jsxs(ContextMenu, { className: "data-space__viewer__diagram-viewer__canvas", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: queryClass, disabled: !diagramViewerState.contextMenuClassView, children: "Query" }), _jsx(MenuContentItem, { onClick: viewClassDocumentation, disabled: !diagramViewerState.contextMenuClassView ||
66
+ !dataSpaceViewerState.modelsDocumentationState.hasClassDocumentation(diagramViewerState.contextMenuClassView.class.value.path), children: "View Documentation" })] }), disabled: !diagramViewerState.contextMenuClassView, menuProps: { elevation: 7 }, onClose: () => diagramViewerState.setContextMenuClassView(undefined), children: [diagramViewerState.showDescription && (_jsxs("div", { className: clsx('data-space__viewer__diagram-viewer__description', {
67
+ 'data-space__viewer__diagram-viewer__description--expanded': diagramViewerState.expandDescription,
68
+ }), children: [_jsx("button", { className: "data-space__viewer__diagram-viewer__description__close-btn", tabIndex: -1, title: "Hide Description", onClick: () => diagramViewerState.setShowDescription(false), children: _jsx(CloseIcon, {}) }), _jsx("div", { className: "data-space__viewer__diagram-viewer__description__title", children: diagramViewerState.currentDiagram?.title
69
+ ? diagramViewerState.currentDiagram.title
70
+ : 'Untitled' }), _jsx("div", { className: "data-space__viewer__diagram-viewer__description__content", children: descriptionText ? (_jsx(DataSpaceMarkdownTextViewer, { value: descriptionText })) : (_jsx("div", { className: "data-space__viewer__diagram-viewer__description__content__placeholder", children: "(not specified)" })) }), _jsx("button", { className: "data-space__viewer__diagram-viewer__description__expand-btn", tabIndex: -1, title: diagramViewerState.expandDescription ? 'Collapse' : 'Expand', onClick: () => diagramViewerState.setExpandDescription(!diagramViewerState.expandDescription), children: diagramViewerState.expandDescription ? (_jsx(ThinChevronUpIcon, {})) : (_jsx(ThinChevronDownIcon, {})) })] })), _jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas', diagramViewerState.diagramCursorClass), tabIndex: 0 })] }));
45
71
  }));
72
+ const buildDiagramOption = (diagram) => ({
73
+ label: (_jsxs("div", { className: "data-space__viewer__diagram-viewer__header__navigation__selector__label", children: [_jsx(ShapesIcon, { className: "data-space__viewer__diagram-viewer__header__navigation__selector__icon" }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__navigation__selector__title", children: diagram.title ? diagram.title : 'Untitled' })] })),
74
+ value: diagram,
75
+ });
76
+ const DataSpaceDiagramViewerHeader = observer((props) => {
77
+ const { dataSpaceViewerState } = props;
78
+ const diagramViewerState = dataSpaceViewerState.diagramViewerState;
79
+ const diagramOptions = dataSpaceViewerState.dataSpaceAnalysisResult.diagrams.map(buildDiagramOption);
80
+ const selectedDiagramOption = diagramViewerState.currentDiagram
81
+ ? buildDiagramOption(diagramViewerState.currentDiagram)
82
+ : null;
83
+ const onDiagramOptionChange = (option) => {
84
+ if (option.value !== diagramViewerState.currentDiagram) {
85
+ diagramViewerState.setCurrentDiagram(option.value);
86
+ }
87
+ };
88
+ const createModeSwitcher = (editMode, relationshipMode) => () => diagramViewerState.diagramRenderer.changeMode(editMode, relationshipMode);
89
+ const createCenterZoomer = (zoomLevel) => () => {
90
+ diagramViewerState.diagramRenderer.zoomCenter(zoomLevel / 100);
91
+ };
92
+ const zoomToFit = () => diagramViewerState.diagramRenderer.zoomToFit();
93
+ return (_jsxs("div", { className: "data-space__viewer__diagram-viewer__header", children: [_jsxs("div", { className: "data-space__viewer__diagram-viewer__header__navigation", children: [_jsx(CustomSelectorInput, { className: "data-space__viewer__diagram-viewer__header__navigation__selector", options: diagramOptions, onChange: onDiagramOptionChange, value: selectedDiagramOption, placeholder: "Search for a diagram", darkMode: true }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__navigation__pager", children: _jsx("input", { className: "data-space__viewer__diagram-viewer__header__navigation__pager__input input--dark", value: diagramViewerState.currentDiagramIndex, type: "number", onChange: (event) => {
94
+ const value = parseInt(event.target.value, 10);
95
+ if (isNaN(value) ||
96
+ value < 1 ||
97
+ value >
98
+ dataSpaceViewerState.dataSpaceAnalysisResult.diagrams.length) {
99
+ return;
100
+ }
101
+ diagramViewerState.setCurrentDiagram(getNonNullableEntry(dataSpaceViewerState.dataSpaceAnalysisResult.diagrams, value - 1));
102
+ } }) }), _jsxs("div", { className: "data-space__viewer__diagram-viewer__header__navigation__pager__count", children: ["/", dataSpaceViewerState.dataSpaceAnalysisResult.diagrams.length] })] }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__actions", children: diagramViewerState.isDiagramRendererInitialized && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "data-space__viewer__diagram-viewer__header__group", children: [_jsx("button", { className: "data-space__viewer__diagram-viewer__header__tool", tabIndex: -1, onClick: () => {
103
+ if (diagramViewerState.currentDiagram) {
104
+ dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(diagramViewerState.currentDiagram));
105
+ }
106
+ }, title: "Copy Link", children: _jsx(AnchorLinkIcon, {}) }), _jsx("button", { className: "data-space__viewer__diagram-viewer__header__tool", tabIndex: -1, onClick: () => diagramViewerState.diagramRenderer.recenter(), title: "Recenter (R)", children: _jsx(CenterFocusIcon, { className: "data-space__viewer__diagram-viewer__icon--recenter" }) }), _jsx("button", { className: clsx('data-space__viewer__diagram-viewer__header__tool', {
107
+ 'data-space__viewer__diagram-viewer__header__tool--active': diagramViewerState.showDescription,
108
+ }), tabIndex: -1, onClick: () => diagramViewerState.setShowDescription(!diagramViewerState.showDescription), title: "Toggle Description (D)", children: _jsx(DescriptionIcon, { className: "data-space__viewer__diagram-viewer__icon--description" }) })] }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__group__separator" }), _jsxs("div", { className: "data-space__viewer__diagram-viewer__header__group", children: [_jsx("button", { className: clsx('data-space__viewer__diagram-viewer__header__tool', {
109
+ 'data-space__viewer__diagram-viewer__header__tool--active': diagramViewerState.diagramRenderer.interactionMode ===
110
+ DIAGRAM_INTERACTION_MODE.LAYOUT,
111
+ }), tabIndex: -1, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.LAYOUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), title: "View Tool (V)", children: _jsx(MousePointerIcon, { className: "data-space__viewer__diagram-viewer__icon--layout" }) }), _jsx("button", { className: clsx('data-space__viewer__diagram-viewer__header__tool', {
112
+ 'data-space__viewer__diagram-viewer__header__tool--active': diagramViewerState.diagramRenderer.interactionMode ===
113
+ DIAGRAM_INTERACTION_MODE.PAN,
114
+ }), tabIndex: -1, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.PAN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), title: "Pan Tool (M)", children: _jsx(MoveIcon, { className: "data-space__viewer__diagram-viewer__icon--pan" }) }), _jsx("button", { className: clsx('data-space__viewer__diagram-viewer__header__tool', {
115
+ 'data-space__viewer__diagram-viewer__header__tool--active': diagramViewerState.diagramRenderer.interactionMode ===
116
+ DIAGRAM_INTERACTION_MODE.ZOOM_IN,
117
+ }), tabIndex: -1, title: "Zoom In (Z)", onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ZOOM_IN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(ZoomInIcon, { className: "data-space__viewer__diagram-viewer__icon--zoom-in" }) }), _jsx("button", { className: clsx('data-space__viewer__diagram-viewer__header__tool', {
118
+ 'data-space__viewer__diagram-viewer__header__tool--active': diagramViewerState.diagramRenderer.interactionMode ===
119
+ DIAGRAM_INTERACTION_MODE.ZOOM_OUT,
120
+ }), tabIndex: -1, title: "Zoom Out (Z)", onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ZOOM_OUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(ZoomOutIcon, { className: "data-space__viewer__diagram-viewer__icon--zoom-out" }) })] }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__group__separator" }), _jsxs(DropdownMenu, { className: "data-space__viewer__diagram-viewer__header__group data-space__viewer__diagram-viewer__header__dropdown", title: "Zoom...", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "data-space__viewer__diagram-viewer__header__zoomer__dropdown__menu__item", onClick: zoomToFit, children: "Fit" }), _jsx(MenuContentDivider, {}), DIAGRAM_ZOOM_LEVELS.map((zoomLevel) => (_jsxs(MenuContentItem, { className: "data-space__viewer__diagram-viewer__header__zoomer__dropdown__menu__item", onClick: createCenterZoomer(zoomLevel), children: [zoomLevel, "%"] }, zoomLevel)))] }), menuProps: {
121
+ anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
122
+ transformOrigin: { vertical: 'top', horizontal: 'right' },
123
+ elevation: 7,
124
+ }, children: [_jsxs("div", { className: "data-space__viewer__diagram-viewer__header__dropdown__label data-space__viewer__diagram-viewer__header__zoomer__dropdown__label", children: [Math.round(diagramViewerState.diagramRenderer.zoom * 100), "%"] }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__dropdown__trigger data-space__viewer__diagram-viewer__header__zoomer__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] })] })) })] }));
125
+ });
46
126
  export const DataSpaceDiagramViewer = observer((props) => {
47
127
  const { dataSpaceViewerState } = props;
128
+ const diagramViewerState = dataSpaceViewerState.diagramViewerState;
48
129
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
49
130
  const sectionRef = useRef(null);
50
131
  const anchor = generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DIAGRAM_VIEWER);
132
+ useCommands(diagramViewerState);
51
133
  useEffect(() => {
52
134
  if (sectionRef.current) {
53
135
  dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
54
136
  }
55
137
  return () => dataSpaceViewerState.layoutState.unsetWikiPageAnchor(anchor);
56
138
  }, [dataSpaceViewerState, anchor]);
57
- // diagram selector
58
139
  const diagramCanvasRef = useRef(null);
140
+ const previousDiagram = diagramViewerState.previousDiagram;
141
+ const nextDiagram = diagramViewerState.nextDiagram;
59
142
  const showPreviousDiagram = () => {
60
- if (!dataSpaceViewerState.currentDiagram) {
61
- return;
62
- }
63
- const idx = analysisResult.diagrams.indexOf(dataSpaceViewerState.currentDiagram);
64
- if (idx === 0 || idx === -1) {
65
- return;
143
+ if (previousDiagram) {
144
+ diagramViewerState.setCurrentDiagram(previousDiagram);
145
+ dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(previousDiagram));
66
146
  }
67
- const previousDiagram = guaranteeNonNullable(analysisResult.diagrams[idx - 1]);
68
- dataSpaceViewerState.setCurrentDiagram(previousDiagram);
69
- dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(previousDiagram));
70
147
  };
71
148
  const showNextDiagram = () => {
72
- if (!dataSpaceViewerState.currentDiagram) {
73
- return;
74
- }
75
- const idx = analysisResult.diagrams.indexOf(dataSpaceViewerState.currentDiagram);
76
- if (idx === analysisResult.diagrams.length - 1 || idx === -1) {
77
- return;
149
+ if (nextDiagram) {
150
+ diagramViewerState.setCurrentDiagram(nextDiagram);
151
+ dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(nextDiagram));
78
152
  }
79
- const nextDiagram = guaranteeNonNullable(analysisResult.diagrams[idx + 1]);
80
- dataSpaceViewerState.setCurrentDiagram(nextDiagram);
81
- dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(nextDiagram));
82
153
  };
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) ===
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', {
86
- 'data-space__viewer__diagram-viewer__carousel__frame__indicator--active': dataSpaceViewerState.currentDiagram === diagram,
87
- }), onClick: () => {
88
- dataSpaceViewerState.setCurrentDiagram(diagram);
89
- dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(diagram));
90
- }, children: _jsx(CircleIcon, {}) }, diagram.uuid))) }) })] }) }) })), analysisResult.diagrams.length <= 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "(not specified)" }))] })] }));
154
+ 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 && (_jsxs("div", { className: "data-space__viewer__diagram-viewer", children: [_jsx(DataSpaceDiagramViewerHeader, { dataSpaceViewerState: dataSpaceViewerState }), _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: diagramViewerState.currentDiagram && (_jsx(DataSpaceDiagramCanvas, { dataSpaceViewerState: dataSpaceViewerState, diagram: diagramViewerState.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 - ${previousDiagram?.title
155
+ ? previousDiagram.title
156
+ : '(untitled)'} (⇦)`, disabled: !previousDiagram, 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 - ${nextDiagram?.title ? nextDiagram.title : '(untitled)'} (⇨)`, disabled: !nextDiagram, 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', {
157
+ 'data-space__viewer__diagram-viewer__carousel__frame__indicator--active': diagramViewerState.currentDiagram === diagram,
158
+ }), title: `View Diagram - ${diagram.title ? diagram.title : '(untitled)'}`, onClick: () => {
159
+ diagramViewerState.setCurrentDiagram(diagram);
160
+ dataSpaceViewerState.syncZoneWithNavigation(generateAnchorForDiagram(diagram));
161
+ }, children: _jsx(CircleIcon, {}) }, diagram.uuid))) }) })] }) })] })), analysisResult.diagrams.length <= 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "(not specified)" }))] })] }));
91
162
  });
92
163
  //# sourceMappingURL=DataSpaceDiagramViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceDiagramViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,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B,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,iBAAiB,GAAG,CACvD,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,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,IAAI,EACJ,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,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,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,EACnB,eAAe,GAChB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AA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AC,OAAO,CAAC,CAAC;wDAC9C,oBAAoB,CAAC,sBAAsB,CACzC,wBAAwB,CAAC,OAAO,CAAC,CAClC,CAAC;oDACJ,CAAC,YAED,KAAC,UAAU,KAAG,IAlBT,OAAO,CAAC,IAAI,CAmBV,CACV,CAAC,GACE,GACF,IACF,GACF,IACF,CACP,EACA,cAAc,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,CACtC,KAAC,wBAAwB,IAAC,OAAO,EAAC,iBAAiB,GAAG,CACvD,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceExecutionContextViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceExecutionContextViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAwB9E,eAAO,MAAM,+BAA+B,WAClC;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAqHvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceExecutionContextViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceExecutionContextViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAwB9E,eAAO,MAAM,+BAA+B,WAClC;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA4HvD,CAAC"}
@@ -51,8 +51,8 @@ export const DataSpaceExecutionContextViewer = observer((props) => {
51
51
  };
52
52
  const formatRuntimeOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__execution-context__entry__content__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__execution-context__entry__content__dropdown__option__label", children: option.label }), option.value ===
53
53
  dataSpaceViewerState.currentExecutionContext.defaultRuntime && (_jsx("div", { className: "data-space__viewer__execution-context__entry__content__dropdown__option__tag", children: "default" }))] }));
54
- return (_jsx("div", { className: "data-space__viewer__panel", children: _jsxs("div", { className: "data-space__viewer__execution-context", children: [_jsxs("div", { className: "data-space__viewer__execution-context__entry", children: [_jsx("div", { className: "data-space__viewer__execution-context__entry__icon", children: _jsx(PlayIcon, { className: "data-space__viewer__execution-context__context-icon" }) }), _jsx("div", { className: "data-space__viewer__execution-context__entry__content data-space__viewer__execution-context__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution-context__entry__content__dropdown", options: executionContextOptions, onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.layoutService
55
- .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatExecutionContextOptionLabel }) })] }), _jsxs("div", { className: "data-space__viewer__execution-context__entry data-space__viewer__execution-context__mapping", children: [_jsx("div", { className: "data-space__viewer__execution-context__entry__icon", children: _jsx(PURE_MappingIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution-context__entry__content data-space__viewer__execution-context__entry__content__text", children: dataSpaceViewerState.currentExecutionContext.mapping.path })] }), _jsxs("div", { className: "data-space__viewer__execution-context__entry", children: [_jsx("div", { className: "data-space__viewer__execution-context__entry__icon", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution-context__entry__content data-space__viewer__execution-context__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution-context__entry__content__dropdown", options: runtimeOptions, onChange: onRuntimeOptionChange, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
56
- .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatRuntimeOptionLabel }) })] })] }) }));
54
+ return (_jsxs("div", { className: "data-space__viewer__panel", children: [_jsx("div", { className: "data-space__viewer__panel__header", children: _jsx("div", { className: "data-space__viewer__panel__header__label", children: "Execution Context" }) }), _jsx("div", { className: "data-space__viewer__panel__content", children: _jsxs("div", { className: "data-space__viewer__execution-context", children: [_jsxs("div", { className: "data-space__viewer__execution-context__entry", children: [_jsx("div", { className: "data-space__viewer__execution-context__entry__icon", children: _jsx(PlayIcon, { className: "data-space__viewer__execution-context__context-icon" }) }), _jsx("div", { className: "data-space__viewer__execution-context__entry__content data-space__viewer__execution-context__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution-context__entry__content__dropdown", options: executionContextOptions, onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.layoutService
55
+ .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatExecutionContextOptionLabel }) })] }), _jsxs("div", { className: "data-space__viewer__execution-context__entry data-space__viewer__execution-context__mapping", children: [_jsx("div", { className: "data-space__viewer__execution-context__entry__icon", children: _jsx(PURE_MappingIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution-context__entry__content data-space__viewer__execution-context__entry__content__text", children: dataSpaceViewerState.currentExecutionContext.mapping.path })] }), _jsxs("div", { className: "data-space__viewer__execution-context__entry", children: [_jsx("div", { className: "data-space__viewer__execution-context__entry__icon", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution-context__entry__content data-space__viewer__execution-context__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution-context__entry__content__dropdown", options: runtimeOptions, onChange: onRuntimeOptionChange, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
56
+ .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatRuntimeOptionLabel }) })] })] }) })] }));
57
57
  });
58
58
  //# sourceMappingURL=DataSpaceExecutionContextViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceExecutionContextViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceExecutionContextViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB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BAA8B,EACrC,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;qCAC5B,mCAAmC,EAExC,iBAAiB,EAAE,iCAAiC,GACpD,GACE,IACF,EACN,eAAK,SAAS,EAAC,6FAA6F,aAC1G,cAAK,SAAS,EAAC,oDAAoD,YACjE,KAAC,gBAAgB,KAAG,GAChB,EACN,cAAK,SAAS,EAAC,mHAAmH,YAC/H,oBAAoB,CAAC,uBAAuB,CAAC,OAAO,CAAC,IAAI,GACtD,IACF,EACN,eAAK,SAAS,EAAC,8CAA8C,aAC3D,cAAK,SAAS,EAAC,oDAAoD,YACjE,KAAC,gBAAgB,KAAG,GAChB,EACN,cAAK,SAAS,EAAC,kIAAkI,YAC/I,KAAC,mBAAmB,IAClB,SAAS,EAAC,iEAAiE,EAC3E,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,qBAAqB,EAC/B,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;qCAC5B,mCAAmC,EAExC,iBAAiB,EAAE,wBAAwB,GAC3C,GACE,IACF,IACF,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceExecutionContextViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceExecutionContextViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA2B,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAMhE,MAAM,2BAA2B,GAAG,CAClC,KAA8C,EACtB,EAAE,CAAC,CAAC;IAC5B,KAAK,EAAE,KAAK,CAAC,IAAI;IAC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AAC,oDAAoD,YACjE,KAAC,gBAAgB,KAAG,GAChB,EACN,cAAK,SAAS,EAAC,mHAAmH,YAC/H,oBAAoB,CAAC,uBAAuB,CAAC,OAAO,CAAC,IAAI,GACtD,IACF,EACN,eAAK,SAAS,EAAC,8CAA8C,aAC3D,cAAK,SAAS,EAAC,oDAAoD,YACjE,KAAC,gBAAgB,KAAG,GAChB,EACN,cAAK,SAAS,EAAC,kIAAkI,YAC/I,KAAC,mBAAmB,IAClB,SAAS,EAAC,iEAAiE,EAC3E,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,qBAAqB,EAC/B,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,iBAAiB,EAAE,wBAAwB,GAC3C,GACE,IACF,IACF,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceInfoPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceInfoPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAI9E,eAAO,MAAM,kBAAkB,WACrB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiJvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceInfoPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceInfoPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAI9E,eAAO,MAAM,kBAAkB,WACrB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAuIvD,CAAC"}
@@ -24,15 +24,15 @@ export const DataSpaceInfoPanel = observer((props) => {
24
24
  const { dataSpaceViewerState } = props;
25
25
  const applicationStore = useApplicationStore();
26
26
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
27
- const viewProject = () => dataSpaceViewerState.viewProject(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, undefined);
28
- const viewDataSpaceInProject = () => dataSpaceViewerState.viewProject(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, analysisResult.path);
27
+ const viewProject = () => dataSpaceViewerState.viewProject(undefined);
28
+ const viewDataSpaceInProject = () => dataSpaceViewerState.viewProject(analysisResult.path);
29
29
  const viewDataSpaceInSDLCProject = () => {
30
30
  dataSpaceViewerState
31
- .viewSDLCProject(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, analysisResult.path)
31
+ .viewSDLCProject(analysisResult.path)
32
32
  .catch(applicationStore.alertUnhandledError);
33
33
  };
34
- return (_jsx("div", { className: "data-space__viewer__panel", children: _jsxs("div", { className: "data-space__viewer__info", children: [_jsxs("div", { className: "data-space__viewer__info__section", children: [_jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__project-info__label", children: "Project" }), _jsx("button", { className: "data-space__viewer__info__project-info__value", tabIndex: -1, title: "Click to View Project", onClick: viewProject, children: generateGAVCoordinates(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId) }), _jsx("button", { className: "data-space__viewer__info__project-info__link", tabIndex: -1, title: "View Project", onClick: viewProject, children: _jsx(ExternalLinkIcon, {}) })] }), _jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__project-info__label", children: "Data Space" }), _jsx("button", { className: "data-space__viewer__info__project-info__value", tabIndex: -1, title: "Click to View Data Space", onClick: viewDataSpaceInProject, children: analysisResult.path }), _jsx("button", { className: "data-space__viewer__info__project-info__link", tabIndex: -1, title: "Edit Data Space", onClick: viewDataSpaceInSDLCProject, children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "data-space__viewer__info__project-info__link", tabIndex: -1, title: "View Data Space", onClick: viewDataSpaceInProject, children: _jsx(ExternalLinkIcon, {}) })] })] }), _jsxs("div", { className: "data-space__viewer__info__section", children: [_jsx("div", { className: "data-space__viewer__info__section__title", children: "Tagged Values" }), analysisResult.taggedValues.length !== 0 &&
35
- analysisResult.taggedValues.map((taggedValue) => (_jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__tagged-value__tag", title: `${taggedValue.profile}.${taggedValue.tag}`, children: `${extractElementNameFromPath(taggedValue.profile)}.${taggedValue.tag}` }), _jsx("div", { className: "data-space__viewer__info__tagged-value__value", children: taggedValue.value })] }, taggedValue._UUID))), analysisResult.taggedValues.length === 0 && (_jsx("div", { className: "data-space__viewer__info__section__placeholder", children: "(empty)" }))] }), _jsxs("div", { className: "data-space__viewer__info__section", children: [_jsx("div", { className: "data-space__viewer__info__section__title", children: "Stereotypes" }), analysisResult.stereotypes.length !== 0 &&
36
- analysisResult.stereotypes.map((stereotype) => (_jsx("div", { className: "data-space__viewer__info__section__entry", title: `${stereotype.profile}.${stereotype.value}`, children: _jsx("div", { className: "data-space__viewer__info__steoreotype", children: `${extractElementNameFromPath(stereotype.profile)}.${stereotype.value}` }) }, stereotype._UUID))), analysisResult.stereotypes.length === 0 && (_jsx("div", { className: "data-space__viewer__info__section__placeholder", children: "(empty)" }))] })] }) }));
34
+ return (_jsxs("div", { className: "data-space__viewer__panel", children: [_jsx("div", { className: "data-space__viewer__panel__header", children: _jsx("div", { className: "data-space__viewer__panel__header__label", children: "Info" }) }), _jsx("div", { className: "data-space__viewer__panel__content", children: _jsxs("div", { className: "data-space__viewer__info", children: [_jsxs("div", { className: "data-space__viewer__info__section", children: [_jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__project-info__label", children: "Project" }), _jsx("button", { className: "data-space__viewer__info__project-info__value", tabIndex: -1, title: "Click to View Project", onClick: viewProject, children: generateGAVCoordinates(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId) }), _jsx("button", { className: "data-space__viewer__info__project-info__link", tabIndex: -1, title: "View Project", onClick: viewProject, children: _jsx(ExternalLinkIcon, {}) })] }), _jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__project-info__label", children: "Data Space" }), _jsx("button", { className: "data-space__viewer__info__project-info__value", tabIndex: -1, title: "Click to View Data Space", onClick: viewDataSpaceInProject, children: analysisResult.path }), _jsx("button", { className: "data-space__viewer__info__project-info__link", tabIndex: -1, title: "Edit Data Space", onClick: viewDataSpaceInSDLCProject, children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "data-space__viewer__info__project-info__link", tabIndex: -1, title: "View Data Space", onClick: viewDataSpaceInProject, children: _jsx(ExternalLinkIcon, {}) })] })] }), _jsxs("div", { className: "data-space__viewer__info__section", children: [_jsx("div", { className: "data-space__viewer__info__section__title", children: "Tagged Values" }), analysisResult.taggedValues.length !== 0 &&
35
+ analysisResult.taggedValues.map((taggedValue) => (_jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__tagged-value__tag", title: `${taggedValue.profile}.${taggedValue.tag}`, children: `${extractElementNameFromPath(taggedValue.profile)}.${taggedValue.tag}` }), _jsx("div", { className: "data-space__viewer__info__tagged-value__value", children: taggedValue.value })] }, taggedValue._UUID))), analysisResult.taggedValues.length === 0 && (_jsx("div", { className: "data-space__viewer__info__section__placeholder", children: "(empty)" }))] }), _jsxs("div", { className: "data-space__viewer__info__section", children: [_jsx("div", { className: "data-space__viewer__info__section__title", children: "Stereotypes" }), analysisResult.stereotypes.length !== 0 &&
36
+ analysisResult.stereotypes.map((stereotype) => (_jsx("div", { className: "data-space__viewer__info__section__entry", title: `${stereotype.profile}.${stereotype.value}`, children: _jsx("div", { className: "data-space__viewer__info__steoreotype", children: `${extractElementNameFromPath(stereotype.profile)}.${stereotype.value}` }) }, stereotype._UUID))), analysisResult.stereotypes.length === 0 && (_jsx("div", { className: "data-space__viewer__info__section__placeholder", children: "(empty)" }))] })] }) })] }));
37
37
  });
38
38
  //# sourceMappingURL=DataSpaceInfoPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceInfoPanel.js","sourceRoot":"","sources":["../../src/components/DataSpaceInfoPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CACxC,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACvC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,cAAc,GAAG,oBAAoB,CAAC,uBAAuB,CAAC;IAEpE,MAAM,WAAW,GAAG,GAAS,EAAE,CAC7B,oBAAoB,CAAC,WAAW,CAC9B,oBAAoB,CAAC,OAAO,EAC5B,oBAAoB,CAAC,UAAU,EAC/B,oBAAoB,CAAC,SAAS,EAC9B,SAAS,CACV,CAAC;IACJ,MAAM,sBAAsB,GAAG,GAAS,EAAE,CACxC,oBAAoB,CAAC,WAAW,CAC9B,oBAAoB,CAAC,OAAO,EAC5B,oBAAoB,CAAC,UAAU,EAC/B,oBAAoB,CAAC,SAAS,EAC9B,cAAc,CAAC,IAAI,CACpB,CAAC;IACJ,MAAM,0BAA0B,GAAG,GAAS,EAAE;QAC5C,oBAAoB;aACjB,eAAe,CACd,oBAAoB,CA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,WAAW,CAAC,OAAO,IAAI,WAAW,CAAC,GAAG,EAAE,YAEjD,GAAG,0BAA0B,CAAC,WAAW,CAAC,OAAO,CAAC,IACjD,WAAW,CAAC,GACd,EAAE,GACE,EACN,cAAK,SAAS,EAAC,+CAA+C,YAC3D,WAAW,CAAC,KAAK,GACd,KAbD,WAAW,CAAC,KAAK,CAclB,CACP,CAAC,EACH,cAAc,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,IAAI,CAC3C,cAAK,SAAS,EAAC,gDAAgD,wBAEzD,CACP,IACG,EACN,eAAK,SAAS,EAAC,mCAAmC,aAChD,cAAK,SAAS,EAAC,0CAA0C,4BAEnD,EACL,cAAc,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC;oCACtC,cAAc,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC7C,cAEE,SAAS,EAAC,0CAA0C,EACpD,KAAK,EAAE,GAAG,UAAU,CAAC,OAAO,IAAI,UAAU,CAAC,KAAK,EAAE,YAElD,cAAK,SAAS,EAAC,uCAAuC,YACnD,GAAG,0BAA0B,CAAC,UAAU,CAAC,OAAO,CAAC,IAChD,UAAU,CAAC,KACb,EAAE,GACE,IARD,UAAU,CAAC,KAAK,CASjB,CACP,CAAC,EACH,cAAc,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,CAC1C,cAAK,SAAS,EAAC,gDAAgD,wBAEzD,CACP,IACG,IACF,GACF,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,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AA29B3C,eAAO,MAAM,4BAA4B,WAC/B;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoFvD,CAAC"}
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;AAg/B9E,eAAO,MAAM,4BAA4B,WAC/B;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAsFvD,CAAC"}
@@ -16,16 +16,17 @@ 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 { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, } from '../stores/DataSpaceViewerState.js';
19
+ import {} 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
- import { useApplicationStore } from '@finos/legend-application';
23
+ import { useApplicationStore, useCommands } from '@finos/legend-application';
24
24
  import { CORE_PURE_PATH, ELEMENT_PATH_DELIMITER, MILESTONING_STEREOTYPE, PROPERTY_ACCESSOR, getMultiplicityDescription, } from '@finos/legend-graph';
25
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';
29
+ import { DATA_SPACE_VIEWER_ACTIVITY_MODE, generateAnchorForActivity, } from '../stores/DataSpaceViewerNavigation.js';
29
30
  const getMilestoningLabel = (val) => {
30
31
  switch (val) {
31
32
  case MILESTONING_STEREOTYPE.BITEMPORAL:
@@ -108,12 +109,14 @@ const SubElementDocContentCellRenderer = observer((params) => {
108
109
  if (!data) {
109
110
  return null;
110
111
  }
111
- const label = showHumanizedForm ? prettyCONSTName(data.text) : data.text;
112
+ let label = showHumanizedForm ? prettyCONSTName(data.text) : data.text;
113
+ const isDerivedProperty = label.endsWith('()');
114
+ label = isDerivedProperty ? label.slice(0, -2) : label;
112
115
  if (data.entry instanceof DataSpaceModelDocumentationEntry) {
113
116
  return null;
114
117
  }
115
118
  else if (data.entry instanceof DataSpacePropertyDocumentationEntry) {
116
- return (_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell", title: `Property: ${data.elementEntry.path}${PROPERTY_ACCESSOR}${data.entry.name}`, children: [_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__label", children: [_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__icon data-space__viewer__models-documentation__grid__cell__label__icon--property", children: "P" }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__text", children: label }), data.entry.milestoning && (_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__milestoning-badge", title: `Milestoning: ${getMilestoningLabel(data.entry.milestoning)}`, children: _jsx(ClockIcon, {}) }))] }), _jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__actions", children: [_jsx(PropertyInfoTooltip, { entry: data.entry, elementEntry: data.elementEntry, children: _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__action", children: _jsx(InfoCircleIcon, { className: "data-space__viewer__models-documentation__grid__cell__action__info" }) }) }), _jsx(DropdownMenu, { className: "data-space__viewer__models-documentation__grid__cell__action", menuProps: {
119
+ return (_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell", title: `${isDerivedProperty ? 'Derived property' : 'Property'}: ${data.elementEntry.path}${PROPERTY_ACCESSOR}${data.entry.name}`, children: [_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__label", children: [_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__icon data-space__viewer__models-documentation__grid__cell__label__icon--property", children: "P" }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__text", children: label }), isDerivedProperty && (_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__derived-property-badge", children: "()" })), data.entry.milestoning && (_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__milestoning-badge", title: `Milestoning: ${getMilestoningLabel(data.entry.milestoning)}`, children: _jsx(ClockIcon, {}) }))] }), _jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__actions", children: [_jsx(PropertyInfoTooltip, { entry: data.entry, elementEntry: data.elementEntry, children: _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__action", children: _jsx(InfoCircleIcon, { className: "data-space__viewer__models-documentation__grid__cell__action__info" }) }) }), _jsx(DropdownMenu, { className: "data-space__viewer__models-documentation__grid__cell__action", menuProps: {
117
120
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
118
121
  transformOrigin: { vertical: 'top', horizontal: 'right' },
119
122
  elevation: 7,
@@ -324,18 +327,24 @@ const DataSpaceModelsDocumentationSearchBar = observer((props) => {
324
327
  // actions
325
328
  const clearSearchText = () => {
326
329
  documentationState.resetSearch();
327
- searchInputRef.current?.focus();
330
+ documentationState.focusSearchInput();
328
331
  };
329
332
  const toggleSearchConfigMenu = () => documentationState.setShowSearchConfigurationMenu(!documentationState.showSearchConfigurationMenu);
330
333
  const onKeyDown = (event) => {
331
334
  if (event.code === 'Escape') {
332
- searchInputRef.current?.select();
335
+ documentationState.selectSearchInput();
333
336
  }
334
337
  };
335
338
  // search config menu
336
339
  const closeSearchConfigMenu = () => documentationState.setShowSearchConfigurationMenu(false);
337
- const onSearchConfigMenuOpen = () => searchInputRef.current?.focus();
338
- return (_jsxs("div", { className: "data-space__viewer__models-documentation__search", children: [_jsx("input", { ref: searchInputRef, onKeyDown: onKeyDown, className: "data-space__viewer__models-documentation__search__input input--dark", spellCheck: false, onChange: onSearchTextChange, value: searchText, placeholder: "Search documentation" }), _jsx("button", { ref: searchConfigTriggerRef, className: clsx('data-space__viewer__models-documentation__search__input__config__trigger', {
340
+ const onSearchConfigMenuOpen = () => documentationState.focusSearchInput();
341
+ useEffect(() => {
342
+ if (searchInputRef.current) {
343
+ documentationState.setSearchInput(searchInputRef.current);
344
+ }
345
+ return () => documentationState.setSearchInput(undefined);
346
+ }, [documentationState]);
347
+ return (_jsxs("div", { className: "data-space__viewer__models-documentation__search", children: [_jsx("input", { ref: searchInputRef, onKeyDown: onKeyDown, className: "data-space__viewer__models-documentation__search__input input--dark", spellCheck: false, onChange: onSearchTextChange, value: searchText, placeholder: "Search (Ctrl + Shift + F)" }), _jsx("button", { ref: searchConfigTriggerRef, className: clsx('data-space__viewer__models-documentation__search__input__config__trigger', {
339
348
  'data-space__viewer__models-documentation__search__input__config__trigger--toggled': documentationState.showSearchConfigurationMenu,
340
349
  'data-space__viewer__models-documentation__search__input__config__trigger--active': documentationState.searchConfigurationState
341
350
  .isAdvancedSearchActive,
@@ -355,6 +364,7 @@ export const DataSpaceModelsDocumentation = observer((props) => {
355
364
  const { dataSpaceViewerState } = props;
356
365
  const sectionRef = useRef(null);
357
366
  const anchor = generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_DOCUMENTATION);
367
+ useCommands(dataSpaceViewerState.modelsDocumentationState);
358
368
  useEffect(() => {
359
369
  if (sectionRef.current) {
360
370
  dataSpaceViewerState.layoutState.setWikiPageAnchor(anchor, sectionRef.current);
@@ -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,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,GAEpC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAGL,yCAAyC,EACzC,4CAA4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AK,SAAS,EAAC,4CAA4C,aACxD,oBAAoB,CAAC,MAAM,GAAG,CAAC,IAAI,CAClC,eAAK,SAAS,EAAC,0CAA0C,aACvD,eAAK,SAAS,EAAC,kDAAkD,aAC/D,kBACE,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAC,qBAAqB,EAC3B,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,iBAAiB,aAE1B,cAAK,SAAS,EAAC,kEAAkE,YAC9E,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAC,CACpC,KAAC,aAAa,KAAG,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,iBAAiB,GAAG,CACvD,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,SAA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AAmD,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,oBAAoB,CAAC,MAAM,GAAG,CAAC,IAAI,CAClC,eAAK,SAAS,EAAC,0CAA0C,aACvD,eAAK,SAAS,EAAC,kDAAkD,aAC/D,kBACE,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAC,qBAAqB,EAC3B,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,iBAAiB,aAE1B,cAAK,SAAS,EAAC,kEAAkE,YAC9E,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAC,CACpC,KAAC,aAAa,KAAG,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,iBAAiB,GAAG,CACvD,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -17,4 +17,8 @@
17
17
  export declare const DataSpaceWikiPlaceholder: React.FC<{
18
18
  message: string;
19
19
  }>;
20
+ export declare const DataSpacePlaceholderPanel: React.FC<{
21
+ header: string;
22
+ message: string;
23
+ }>;
20
24
  //# sourceMappingURL=DataSpacePlaceholder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpacePlaceholder.d.ts","sourceRoot":"","sources":["../../src/components/DataSpacePlaceholder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAIlE,CAAC"}
1
+ {"version":3,"file":"DataSpacePlaceholder.d.ts","sourceRoot":"","sources":["../../src/components/DataSpacePlaceholder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAIlE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAeA,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -14,5 +14,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ import { SparkleIcon } from '@finos/legend-art';
17
18
  export const DataSpaceWikiPlaceholder = (props) => (_jsx("div", { className: "data-space__viewer__wiki__placeholder", children: props.message }));
19
+ export const DataSpacePlaceholderPanel = (props) => {
20
+ const { header, message } = props;
21
+ return (_jsxs("div", { className: "data-space__viewer__panel", children: [_jsx("div", { className: "data-space__viewer__panel__header", children: _jsx("div", { className: "data-space__viewer__panel__header__label", children: header }) }), _jsx("div", { className: "data-space__viewer__panel__content", children: _jsxs("div", { className: "data-space__viewer__panel__content__placeholder", children: [_jsx(SparkleIcon, {}), " This is work in progress.", ` ${message}`] }) })] }));
22
+ };
18
23
  //# sourceMappingURL=DataSpacePlaceholder.js.map