@finos/legend-extension-dsl-data-space 1.0.15 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +37 -37
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js +2 -2
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +11 -11
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +88 -0
- package/package.json +19 -19
- package/src/components/DataSpaceViewer.tsx +7 -8
- package/src/components/query/DataSpaceQuerySetup.tsx +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,gCAAgC,CAAC;AA8XxC,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAgLvD,CAAC"}
|
|
@@ -14,14 +14,14 @@ 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 { useRef, useEffect } from 'react';
|
|
17
|
+
import { useRef, useEffect, forwardRef } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { useResizeDetector } from 'react-resize-detector';
|
|
20
20
|
import { BlankPanelContent, ShapesIcon, PlayIcon, QuestionCircleIcon, EnvelopIcon, clsx, CustomSelectorInput, PURE_MappingIcon, PURE_RuntimeIcon, CogIcon, KeyIcon, FlaskIcon, ExternalLinkSquareIcon, ExternalLinkIcon, ShieldIcon, TagsIcon, LightBulbIcon, } from '@finos/legend-art';
|
|
21
21
|
import { DiagramRenderer, } from '@finos/legend-extension-dsl-diagram';
|
|
22
22
|
import { DataSpaceSupportEmail, } from '../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
23
23
|
import { DATA_SPACE_VIEWER_ACTIVITY_MODE, } from '../stores/DataSpaceViewerState';
|
|
24
|
-
const DataSpaceDiagramCanvas = observer((props, ref)
|
|
24
|
+
const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanvas(props, ref) {
|
|
25
25
|
const { dataSpaceViewerState, diagram } = props;
|
|
26
26
|
const diagramCanvasRef = ref;
|
|
27
27
|
const { width, height } = useResizeDetector({
|
|
@@ -43,8 +43,8 @@ const DataSpaceDiagramCanvas = observer((props, ref) => {
|
|
|
43
43
|
dataSpaceViewerState.renderer.refresh();
|
|
44
44
|
}
|
|
45
45
|
}, [dataSpaceViewerState, width, height]);
|
|
46
|
-
return (_jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas ', dataSpaceViewerState.diagramCursorClass), tabIndex: 0, onContextMenu: (event) => event.preventDefault() }
|
|
47
|
-
}
|
|
46
|
+
return (_jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas ', dataSpaceViewerState.diagramCursorClass), tabIndex: 0, onContextMenu: (event) => event.preventDefault() }));
|
|
47
|
+
}));
|
|
48
48
|
const buildDiagramOption = (diagram) => ({
|
|
49
49
|
label: diagram.name,
|
|
50
50
|
value: diagram,
|
|
@@ -64,11 +64,11 @@ const DataSpaceModelsOverview = observer((props) => {
|
|
|
64
64
|
dataSpaceViewerState.setCurrentDiagram(option.value);
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
const formatDiagramOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__diagrams__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__diagrams__dropdown__option__label", children: option.label }
|
|
67
|
+
const formatDiagramOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__diagrams__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__diagrams__dropdown__option__label", children: option.label }), dataSpaceViewerState.featuredDiagrams.includes(option.value) && (_jsx("div", { className: "data-space__viewer__diagrams__dropdown__option__tag", children: "featured" }))] }));
|
|
68
68
|
if (dataSpaceViewerState.diagrams.length === 0) {
|
|
69
|
-
return _jsx(BlankPanelContent, { children: "No diagrams available" }
|
|
69
|
+
return _jsx(BlankPanelContent, { children: "No diagrams available" });
|
|
70
70
|
}
|
|
71
|
-
return (_jsxs("div", { className: "data-space__viewer__main-panel__content data-space__viewer__diagrams", children: [_jsx("div", { className: "data-space__viewer__diagrams__header", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__diagrams__diagram-selector", options: diagramOptions, onChange: onDiagramOptionChange, value: selectedDiagramOption, placeholder: "Search for a diagram", darkMode: true, formatOptionLabel: formatDiagramOptionLabel }
|
|
71
|
+
return (_jsxs("div", { className: "data-space__viewer__main-panel__content data-space__viewer__diagrams", children: [_jsx("div", { className: "data-space__viewer__diagrams__header", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__diagrams__diagram-selector", options: diagramOptions, onChange: onDiagramOptionChange, value: selectedDiagramOption, placeholder: "Search for a diagram", darkMode: true, formatOptionLabel: formatDiagramOptionLabel }) }), _jsx("div", { className: "data-space__viewer__diagrams__content", children: dataSpaceViewerState.currentDiagram && (_jsx(DataSpaceDiagramCanvas, { dataSpaceViewerState: dataSpaceViewerState, diagram: dataSpaceViewerState.currentDiagram, ref: diagramCanvasRef })) }), _jsxs("div", { className: "data-space__viewer__diagrams__footer", children: [_jsx("div", { className: "data-space__viewer__diagrams__footer__icon", children: _jsx(LightBulbIcon, {}) }), _jsx("div", { className: "data-space__viewer__diagrams__footer__text", children: "Double-click a class to start a query for that class" })] })] }));
|
|
72
72
|
});
|
|
73
73
|
const buildExecutionContextOption = (value) => ({
|
|
74
74
|
label: value.name,
|
|
@@ -88,8 +88,8 @@ const DataSpaceExecutionViewer = observer((props) => {
|
|
|
88
88
|
dataSpaceViewerState.setCurrentExecutionContext(option.value);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
const formatExecutionContextOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__execution__entry__content__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__label", children: option.label }
|
|
92
|
-
dataSpaceViewerState.dataSpace.defaultExecutionContext && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }
|
|
91
|
+
const formatExecutionContextOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__execution__entry__content__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__label", children: option.label }), option.value ===
|
|
92
|
+
dataSpaceViewerState.dataSpace.defaultExecutionContext && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }))] }));
|
|
93
93
|
// runtime
|
|
94
94
|
const runtimeOptions = dataSpaceViewerState.runtimes.map(buildRuntimeOption);
|
|
95
95
|
const selectedRuntimeOption = buildRuntimeOption(dataSpaceViewerState.currentRuntime);
|
|
@@ -98,34 +98,34 @@ const DataSpaceExecutionViewer = observer((props) => {
|
|
|
98
98
|
dataSpaceViewerState.setCurrentRuntime(option.value);
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
const formatRuntimeOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__execution__entry__content__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__label", children: option.label }
|
|
102
|
-
dataSpaceViewerState.currentExecutionContext.defaultRuntime.value && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }
|
|
103
|
-
return (_jsxs("div", { className: "data-space__viewer__main-panel__content data-space__viewer__execution", children: [_jsxs("div", { className: "data-space__viewer__execution__entry", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(CogIcon, { className: "data-space__viewer__execution__context-icon" }
|
|
101
|
+
const formatRuntimeOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__execution__entry__content__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__label", children: option.label }), option.value ===
|
|
102
|
+
dataSpaceViewerState.currentExecutionContext.defaultRuntime.value && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }))] }));
|
|
103
|
+
return (_jsxs("div", { className: "data-space__viewer__main-panel__content data-space__viewer__execution", children: [_jsxs("div", { className: "data-space__viewer__execution__entry", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(CogIcon, { className: "data-space__viewer__execution__context-icon" }) }), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution__entry__content__dropdown", options: executionContextOptions, onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: true, formatOptionLabel: formatExecutionContextOptionLabel }) })] }), _jsx("div", { className: clsx('data-space__viewer__execution__description', {
|
|
104
104
|
'data-space__viewer__execution__description--empty': !dataSpaceViewerState.currentExecutionContext.description,
|
|
105
105
|
}), children: dataSpaceViewerState.currentExecutionContext.description
|
|
106
106
|
? dataSpaceViewerState.currentExecutionContext.description
|
|
107
|
-
: 'No description' }
|
|
107
|
+
: 'No description' }), _jsxs("div", { className: "data-space__viewer__execution__entry data-space__viewer__execution__mapping", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(PURE_MappingIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__text", children: dataSpaceViewerState.currentExecutionContext.mapping.value.path })] }), _jsxs("div", { className: "data-space__viewer__execution__entry", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution__entry__content__dropdown", options: runtimeOptions, onChange: onRuntimeOptionChange, value: selectedRuntimeOption, darkMode: true, formatOptionLabel: formatRuntimeOptionLabel }) })] })] }));
|
|
108
108
|
});
|
|
109
109
|
const DataSpaceTags = observer((props) => {
|
|
110
110
|
const { dataSpaceViewerState } = props;
|
|
111
111
|
const dataSpace = dataSpaceViewerState.dataSpace;
|
|
112
|
-
return (_jsxs("div", { className: "data-space__viewer__tags", children: [_jsxs("div", { className: "data-space__viewer__tags__section", children: [_jsx("div", { className: "data-space__viewer__tags__section__title", children: "Tagged Values" }
|
|
113
|
-
dataSpace.taggedValues.map((taggedValueData) => (_jsxs("div", { className: "data-space__viewer__tags__section__entry", children: [_jsx("div", { className: "data-space__viewer__tags__tagged-value__tag", title: `${taggedValueData.profile}.${taggedValueData.tag}`, children: taggedValueData.tag }
|
|
114
|
-
dataSpace.stereotypes.map((stereotypeData) => (_jsx("div", { className: "data-space__viewer__tags__section__entry", title: `${stereotypeData.profile}.${stereotypeData.stereotype}`, children: _jsx("div", { className: "data-space__viewer__tags__steoreotype", children: stereotypeData.stereotype }
|
|
112
|
+
return (_jsxs("div", { className: "data-space__viewer__tags", children: [_jsxs("div", { className: "data-space__viewer__tags__section", children: [_jsx("div", { className: "data-space__viewer__tags__section__title", children: "Tagged Values" }), dataSpace.taggedValues.length !== 0 &&
|
|
113
|
+
dataSpace.taggedValues.map((taggedValueData) => (_jsxs("div", { className: "data-space__viewer__tags__section__entry", children: [_jsx("div", { className: "data-space__viewer__tags__tagged-value__tag", title: `${taggedValueData.profile}.${taggedValueData.tag}`, children: taggedValueData.tag }), _jsx("div", { className: "data-space__viewer__tags__tagged-value__value", children: taggedValueData.value })] }, taggedValueData.uuid))), dataSpace.taggedValues.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }))] }), _jsxs("div", { className: "data-space__viewer__tags__section", children: [_jsx("div", { className: "data-space__viewer__tags__section__title", children: "Stereotypes" }), dataSpace.stereotypes.length !== 0 &&
|
|
114
|
+
dataSpace.stereotypes.map((stereotypeData) => (_jsx("div", { className: "data-space__viewer__tags__section__entry", title: `${stereotypeData.profile}.${stereotypeData.stereotype}`, children: _jsx("div", { className: "data-space__viewer__tags__steoreotype", children: stereotypeData.stereotype }) }, stereotypeData.uuid))), dataSpace.stereotypes.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }))] })] }));
|
|
115
115
|
});
|
|
116
116
|
const DataSpaceSupportEmailViewer = observer((props) => {
|
|
117
117
|
const { dataSpaceSupportEmail } = props;
|
|
118
|
-
return (_jsx("div", { className: "data-space__viewer__support-email", children: _jsxs("div", { className: "data-space__viewer__support-email__entry", children: [_jsx("div", { className: "data-space__viewer__support-email__entry__icon", children: _jsx(EnvelopIcon, {}
|
|
118
|
+
return (_jsx("div", { className: "data-space__viewer__support-email", children: _jsxs("div", { className: "data-space__viewer__support-email__entry", children: [_jsx("div", { className: "data-space__viewer__support-email__entry__icon", children: _jsx(EnvelopIcon, {}) }), _jsx("a", { href: `mailto:${dataSpaceSupportEmail.address}`, className: "data-space__viewer__support-email__entry__content", children: dataSpaceSupportEmail.address })] }) }));
|
|
119
119
|
});
|
|
120
120
|
const DataSpaceSupportInfoViewerInner = observer((props) => {
|
|
121
121
|
const { dataSpaceViewerState, dataSpaceSupportInfo } = props;
|
|
122
122
|
if (dataSpaceSupportInfo === undefined) {
|
|
123
|
-
return _jsx(BlankPanelContent, { children: "No support info available" }
|
|
123
|
+
return _jsx(BlankPanelContent, { children: "No support info available" });
|
|
124
124
|
}
|
|
125
125
|
else if (dataSpaceSupportInfo instanceof DataSpaceSupportEmail) {
|
|
126
|
-
return (_jsx(DataSpaceSupportEmailViewer, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportEmail: dataSpaceSupportInfo }
|
|
126
|
+
return (_jsx(DataSpaceSupportEmailViewer, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportEmail: dataSpaceSupportInfo }));
|
|
127
127
|
}
|
|
128
|
-
return (_jsx(BlankPanelContent, { children: "Can't display support info" }
|
|
128
|
+
return (_jsx(BlankPanelContent, { children: "Can't display support info" }));
|
|
129
129
|
});
|
|
130
130
|
export const DataSpaceViewer = observer((props) => {
|
|
131
131
|
const { dataSpaceViewerState } = props;
|
|
@@ -135,52 +135,52 @@ export const DataSpaceViewer = observer((props) => {
|
|
|
135
135
|
{
|
|
136
136
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_OVERVIEW,
|
|
137
137
|
title: 'Models Overview',
|
|
138
|
-
icon: _jsx(ShapesIcon, {}
|
|
138
|
+
icon: _jsx(ShapesIcon, {}),
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION,
|
|
142
142
|
title: 'Execution Context',
|
|
143
|
-
icon: _jsx(PlayIcon, {}
|
|
143
|
+
icon: _jsx(PlayIcon, {}),
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT,
|
|
147
147
|
title: 'Entitlement',
|
|
148
|
-
icon: _jsx(KeyIcon, {}
|
|
148
|
+
icon: _jsx(KeyIcon, {}),
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_DATA,
|
|
152
152
|
title: 'Test Data',
|
|
153
|
-
icon: _jsx(FlaskIcon, {}
|
|
153
|
+
icon: _jsx(FlaskIcon, {}),
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_COVERAGE,
|
|
157
157
|
title: 'Test Coverage',
|
|
158
|
-
icon: _jsx(ShieldIcon, {}
|
|
158
|
+
icon: _jsx(ShieldIcon, {}),
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.TAGS,
|
|
162
162
|
title: 'Tags',
|
|
163
|
-
icon: _jsx(TagsIcon, {}
|
|
163
|
+
icon: _jsx(TagsIcon, {}),
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT,
|
|
167
167
|
title: 'Support',
|
|
168
|
-
icon: _jsx(QuestionCircleIcon, {}
|
|
168
|
+
icon: _jsx(QuestionCircleIcon, {}),
|
|
169
169
|
},
|
|
170
170
|
];
|
|
171
171
|
const viewDataSpaceProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.dataSpaceGroupId, dataSpaceViewerState.dataSpaceArtifactId, dataSpaceViewerState.dataSpaceVersionId, dataSpace.path);
|
|
172
172
|
const viewProject = () => dataSpaceViewerState.viewProject?.(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, undefined);
|
|
173
|
-
return (_jsxs("div", { className: "data-space__viewer", children: [_jsxs("div", { className: "data-space__viewer__header", children: [_jsxs("button", { className: "data-space__viewer__path", tabIndex: -1, title: "View Data Space in Project", onClick: viewDataSpaceProject, children: [_jsx("div", { className: "data-space__viewer__path__label", children: dataSpace.path }
|
|
173
|
+
return (_jsxs("div", { className: "data-space__viewer", children: [_jsxs("div", { className: "data-space__viewer__header", children: [_jsxs("button", { className: "data-space__viewer__path", tabIndex: -1, title: "View Data Space in Project", onClick: viewDataSpaceProject, children: [_jsx("div", { className: "data-space__viewer__path__label", children: dataSpace.path }), _jsx("div", { className: "data-space__viewer__path__link", children: _jsx(ExternalLinkSquareIcon, {}) })] }), _jsxs("button", { className: "data-space__viewer__gav", tabIndex: -1, title: "View Project", onClick: viewProject, children: [_jsx("div", { className: "data-space__viewer__gav__group-id", children: dataSpace.groupId }), _jsx("div", { className: "data-space__viewer__gav__separator", children: ":" }), _jsx("div", { className: "data-space__viewer__gav__artifact-id", children: dataSpace.artifactId }), _jsx("div", { className: "data-space__viewer__gav__separator", children: ":" }), _jsx("div", { className: "data-space__viewer__gav__version-id", children: dataSpace.versionId }), _jsx("div", { className: "data-space__viewer__gav__link", children: _jsx(ExternalLinkIcon, {}) })] }), _jsx("div", { className: clsx('data-space__viewer__description', {
|
|
174
174
|
'data-space__viewer__description--empty': !dataSpace.description,
|
|
175
|
-
}), children: dataSpace.description ? dataSpace.description : 'No description' }
|
|
175
|
+
}), children: dataSpace.description ? dataSpace.description : 'No description' })] }), _jsx("div", { className: "data-space__viewer__content", children: _jsxs("div", { className: "data-space__viewer__body", children: [_jsx("div", { className: "data-space__viewer__activity-bar", children: _jsx("div", { className: "data-space__viewer__activity-bar__items", children: activities.map((activity) => (_jsx("button", { className: clsx('data-space__viewer__activity-bar__item', {
|
|
176
176
|
'data-space__viewer__activity-bar__item--active': dataSpaceViewerState.currentActivity === activity.mode,
|
|
177
|
-
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode))) }
|
|
178
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_OVERVIEW && (_jsx(DataSpaceModelsOverview, { dataSpaceViewerState: dataSpaceViewerState }
|
|
179
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION && (_jsx(DataSpaceExecutionViewer, { dataSpaceViewerState: dataSpaceViewerState }
|
|
180
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT && (_jsx(BlankPanelContent, { children: "Request entitlement(s) (Work in Progress)" }
|
|
181
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_DATA && (_jsx(BlankPanelContent, { children: "View test data (Work in Progress)" }
|
|
182
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_COVERAGE && (_jsx(BlankPanelContent, { children: "View test coverage (Work in Progress)" }
|
|
183
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.TAGS && (_jsx(DataSpaceTags, { dataSpaceViewerState: dataSpaceViewerState }
|
|
184
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT && (_jsx("div", { className: "data-space__viewer__main-panel__content data-space__viewer__support-info", children: _jsx(DataSpaceSupportInfoViewerInner, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportInfo: dataSpace.supportInfo }
|
|
177
|
+
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode))) }) }), _jsxs("div", { className: "data-space__viewer__main-panel", children: [dataSpaceViewerState.currentActivity ===
|
|
178
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_OVERVIEW && (_jsx(DataSpaceModelsOverview, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
|
|
179
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION && (_jsx(DataSpaceExecutionViewer, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
|
|
180
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT && (_jsx(BlankPanelContent, { children: "Request entitlement(s) (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
|
|
181
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_DATA && (_jsx(BlankPanelContent, { children: "View test data (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
|
|
182
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_COVERAGE && (_jsx(BlankPanelContent, { children: "View test coverage (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
|
|
183
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.TAGS && (_jsx(DataSpaceTags, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
|
|
184
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT && (_jsx("div", { className: "data-space__viewer__main-panel__content data-space__viewer__support-info", children: _jsx(DataSpaceSupportInfoViewerInner, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportInfo: dataSpace.supportInfo }) }))] })] }) })] }));
|
|
185
185
|
});
|
|
186
186
|
//# sourceMappingURL=DataSpaceViewer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,OAAO,EACP,SAAS,EACT,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,qBAAqB,GAEtB,MAAM,yEAAyE,CAAC;AAGjF,OAAO,EAEL,+BAA+B,GAChC,MAAM,gCAAgC,CAAC;AAQxC,MAAM,sBAAsB,GAAG,QAAQ,CACrC,CACE,KAGC,EACD,GAA8B,EAC9B,EAAE;IACF,MAAM,EAAE,oBAAoB,E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I,CAAC,EACtC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,QAAQ,CAAC,KAAK,YAEpB,QAAQ,CAAC,IAAI,IATT,QAAQ,CAAC,IAAI,CAUX,CACV,CAAC,WACE,WACF,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC5C,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,eAAe,IAAI,CACnD,KAAC,uBAAuB,IACtB,oBAAoB,EAAE,oBAAoB,WAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,wBAAwB,IACvB,oBAAoB,EAAE,oBAAoB,WAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,oEAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,gEAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,WAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,cAAK,SAAS,EAAC,0EAA0E,YACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,EAC1C,oBAAoB,EAAE,SAAS,CAAC,WAAW,WAC3C,WACE,CACP,YACG,YACF,WACF,YACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAA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I,CAC7C,KAAC,iBAAiB,oDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,wDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,cAAK,SAAS,EAAC,0EAA0E,YACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,EAC1C,oBAAoB,EAAE,SAAS,CAAC,WAAW,GAC3C,GACE,CACP,IACG,IACF,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -29,7 +29,7 @@ export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
|
29
29
|
key: 'data-space-query-option',
|
|
30
30
|
renderer: (setupStore) => {
|
|
31
31
|
const createQuery = () => setupStore.setSetupState(new DataSpaceQuerySetupState(setupStore));
|
|
32
|
-
return (_jsxs("button", { className: "query-setup__landing-page__option query-setup__landing-page__option--data-space", onClick: createQuery, children: [_jsx("div", { className: "query-setup__landing-page__option__icon", children: _jsx(SquareIcon, { className: "query-setup__landing-page__icon--data-space" }
|
|
32
|
+
return (_jsxs("button", { className: "query-setup__landing-page__option query-setup__landing-page__option--data-space", onClick: createQuery, children: [_jsx("div", { className: "query-setup__landing-page__option__icon", children: _jsx(SquareIcon, { className: "query-setup__landing-page__icon--data-space" }) }), _jsx("div", { className: "query-setup__landing-page__option__label", children: "Create query from data space" })] }));
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
];
|
|
@@ -38,7 +38,7 @@ export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
|
38
38
|
return [
|
|
39
39
|
(querySetupState) => {
|
|
40
40
|
if (querySetupState instanceof DataSpaceQuerySetupState) {
|
|
41
|
-
return _jsx(DataspaceQuerySetup, { querySetupState: querySetupState }
|
|
41
|
+
return _jsx(DataspaceQuerySetup, { querySetupState: querySetupState });
|
|
42
42
|
}
|
|
43
43
|
return undefined;
|
|
44
44
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,iBAAiB,GAKlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,8BAA+B,SAAQ,iBAAiB;IACnE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAEQ,8CAA8C;QACrD,OAAO;YACL;gBACE,GAAG,EAAE,yBAAyB;gBAC9B,QAAQ,EAAE,CACR,UAA2B,EACE,EAAE;oBAC/B,MAAM,WAAW,GAAG,GAAS,EAAE,CAC7B,UAAU,CAAC,aAAa,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;oBACrE,OAAO,CACL,kBACE,SAAS,EAAC,iFAAiF,EAC3F,OAAO,EAAE,WAAW,aAEpB,cAAK,SAAS,EAAC,yCAAyC,YACtD,KAAC,UAAU,IAAC,SAAS,EAAC,6CAA6C,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,iBAAiB,GAKlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,8BAA+B,SAAQ,iBAAiB;IACnE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAEQ,8CAA8C;QACrD,OAAO;YACL;gBACE,GAAG,EAAE,yBAAyB;gBAC9B,QAAQ,EAAE,CACR,UAA2B,EACE,EAAE;oBAC/B,MAAM,WAAW,GAAG,GAAS,EAAE,CAC7B,UAAU,CAAC,aAAa,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;oBACrE,OAAO,CACL,kBACE,SAAS,EAAC,iFAAiF,EAC3F,OAAO,EAAE,WAAW,aAEpB,cAAK,SAAS,EAAC,yCAAyC,YACtD,KAAC,UAAU,IAAC,SAAS,EAAC,6CAA6C,GAAG,GAClE,EACN,cAAK,SAAS,EAAC,0CAA0C,6CAEnD,IACC,CACV,CAAC;gBACJ,CAAC;aACF;SACF,CAAC;IACJ,CAAC;IAEQ,2BAA2B;QAClC,OAAO;YACL,CAAC,eAAgC,EAA+B,EAAE;gBAChE,IAAI,eAAe,YAAY,wBAAwB,EAAE;oBACvD,OAAO,KAAC,mBAAmB,IAAC,eAAe,EAAE,eAAe,GAAI,CAAC;iBAClE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -36,11 +36,11 @@ export const DataspaceQuerySetup = observer((props) => {
|
|
|
36
36
|
const [searchText, setSearchText] = useState('');
|
|
37
37
|
const toggleGetSnapshot = () => {
|
|
38
38
|
querySetupState.setToGetSnapShot(!querySetupState.toGetSnapShot);
|
|
39
|
-
flowResult(querySetupState.loadDataSpaces(searchText)).catch(applicationStore.
|
|
39
|
+
flowResult(querySetupState.loadDataSpaces(searchText)).catch(applicationStore.alertUnhandledError);
|
|
40
40
|
};
|
|
41
41
|
const next = () => {
|
|
42
42
|
if (querySetupState.dataSpaceViewerState) {
|
|
43
|
-
flowResult(querySetupState.proceedToCreateQuery()).catch(applicationStore.
|
|
43
|
+
flowResult(querySetupState.proceedToCreateQuery()).catch(applicationStore.alertUnhandledError);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
const canProceed = querySetupState.dataSpaceViewerState;
|
|
@@ -61,10 +61,10 @@ export const DataspaceQuerySetup = observer((props) => {
|
|
|
61
61
|
querySetupState.setDataSpaceViewerState(undefined);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
const formatQueryOptionLabel = (option) => (_jsxs("div", { className: "query-setup__data-space__option", children: [_jsx("div", { className: "query-setup__data-space__option__label", children: option.label }
|
|
64
|
+
const formatQueryOptionLabel = (option) => (_jsxs("div", { className: "query-setup__data-space__option", children: [_jsx("div", { className: "query-setup__data-space__option__label", children: option.label }), _jsx("div", { className: "query-setup__data-space__option__gav", children: generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId) })] }));
|
|
65
65
|
// search text
|
|
66
66
|
const debouncedLoadDataSpaces = useMemo(() => debounce((input) => {
|
|
67
|
-
flowResult(querySetupState.loadDataSpaces(input)).catch(applicationStore.
|
|
67
|
+
flowResult(querySetupState.loadDataSpaces(input)).catch(applicationStore.alertUnhandledError);
|
|
68
68
|
}, 500), [applicationStore, querySetupState]);
|
|
69
69
|
const onSearchTextChange = (value) => {
|
|
70
70
|
if (value !== searchText) {
|
|
@@ -74,23 +74,23 @@ export const DataspaceQuerySetup = observer((props) => {
|
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
useEffect(() => {
|
|
77
|
-
flowResult(querySetupState.loadDataSpaces('')).catch(applicationStore.
|
|
77
|
+
flowResult(querySetupState.loadDataSpaces('')).catch(applicationStore.alertUnhandledError);
|
|
78
78
|
}, [querySetupState, applicationStore]);
|
|
79
79
|
useEffect(() => {
|
|
80
80
|
if (querySetupState.currentDataSpace) {
|
|
81
|
-
flowResult(querySetupState.setUpDataSpace(querySetupState.currentDataSpace)).catch(applicationStore.
|
|
81
|
+
flowResult(querySetupState.setUpDataSpace(querySetupState.currentDataSpace)).catch(applicationStore.alertUnhandledError);
|
|
82
82
|
}
|
|
83
83
|
}, [querySetupState, applicationStore, querySetupState.currentDataSpace]);
|
|
84
84
|
useEffect(() => {
|
|
85
85
|
dataSpaceSearchRef.current?.focus();
|
|
86
86
|
}, []);
|
|
87
|
-
return (_jsxs("div", { className: "query-setup__wizard query-setup__data-space", children: [_jsxs("div", { className: "query-setup__wizard__header query-setup__data-space__header", children: [_jsx("button", { className: "query-setup__wizard__header__btn", onClick: back, title: "Back to Main Menu", children: _jsx(ArrowLeftIcon, {}
|
|
87
|
+
return (_jsxs("div", { className: "query-setup__wizard query-setup__data-space", children: [_jsxs("div", { className: "query-setup__wizard__header query-setup__data-space__header", children: [_jsx("button", { className: "query-setup__wizard__header__btn", onClick: back, title: "Back to Main Menu", children: _jsx(ArrowLeftIcon, {}) }), _jsx("div", { className: "query-setup__wizard__header__title", children: "Creating query from data space..." }), _jsx("button", { className: clsx('query-setup__wizard__header__btn', {
|
|
88
88
|
'query-setup__wizard__header__btn--ready': canProceed,
|
|
89
|
-
}), onClick: next, disabled: !canProceed, title: "Proceed", children: _jsx(ArrowRightIcon, {}
|
|
89
|
+
}), onClick: next, disabled: !canProceed, title: "Proceed", children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "query-setup__wizard__content", children: [_jsxs("div", { className: "query-setup__wizard__group query-setup__wizard__group--inline query-setup__data-space__input-group", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "query-setup__wizard__selector", options: dataSpaceOptions, isLoading: querySetupState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatQueryOptionLabel }), _jsx("button", { className: clsx('query-setup__data-space__use-snapshot-btn', {
|
|
90
90
|
'query-setup__data-space__use-snapshot-btn--active': querySetupState.toGetSnapShot,
|
|
91
|
-
}), tabIndex: -1, title: `[${querySetupState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}
|
|
91
|
+
}), tabIndex: -1, title: `[${querySetupState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) })] }), _jsxs("div", { className: "query-setup__data-space__view", children: [_jsx(PanelLoadingIndicator, { isLoading: querySetupState.setUpDataSpaceState.isInProgress }), querySetupState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: querySetupState.dataSpaceViewerState })), !querySetupState.dataSpaceViewerState &&
|
|
92
92
|
querySetupState.setUpDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: querySetupState.setUpDataSpaceStatusText ??
|
|
93
|
-
`Setting up data space...` }
|
|
94
|
-
querySetupState.setUpDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "query-setup__data-space__view--failed", children: [_jsx("div", { className: "query-setup__data-space__view--failed__icon", children: _jsx(TimesCircleIcon, {}
|
|
93
|
+
`Setting up data space...` })), !querySetupState.dataSpaceViewerState &&
|
|
94
|
+
querySetupState.setUpDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "query-setup__data-space__view--failed", children: [_jsx("div", { className: "query-setup__data-space__view--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "query-setup__data-space__view--failed__text", children: "Can't load data space" })] }) }))] })] })] }));
|
|
95
95
|
});
|
|
96
96
|
//# sourceMappingURL=DataSpaceQuerySetup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAK7D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,MAAM,oBAAoB,GAAG,CAAC,SAAyB,EAAmB,EAAE,CAAC,CAAC;IAC5E,KAAK,EAAE,SAAS,CAAC,IAAI;IACrB,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CACzC,CAAC,KAAoD,EAAE,EAAE;IACvD,MAAM,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAClC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC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,SAAS,EAAC,6CAA6C,YAC1D,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,sCAEtD,IACF,GACY,CACrB,IACC,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -42,7 +42,7 @@ export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
|
|
|
42
42
|
return [
|
|
43
43
|
(type) => {
|
|
44
44
|
if (type === DATA_SPACE_ELEMENT_TYPE) {
|
|
45
|
-
return (_jsx("div", { className: "icon icon--data-space", children: _jsx(SquareIcon, {}
|
|
45
|
+
return (_jsx("div", { className: "icon icon--data-space", children: _jsx(SquareIcon, {}) }));
|
|
46
46
|
}
|
|
47
47
|
return undefined;
|
|
48
48
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAUL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAC7C,MAAM,4CAA4C,GAChD,6BAA6B,CAAC;AAEhC,MAAM,OAAO,+BACX,SAAQ,kBAAkB;IAG1B;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,6BAA6B;QAC3B,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACnC,CAAC;IAED,0BAA0B;QACxB,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,uBAAuB,CAAC;iBAChC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,0BAA0B;QACxB,OAAO;YACL,CAAC,IAAY,EAA+B,EAAE;gBAC5C,IAAI,IAAI,KAAK,uBAAuB,EAAE;oBACpC,OAAO,CACL,cAAK,SAAS,EAAC,uBAAuB,YACpC,KAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAUL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAC7C,MAAM,4CAA4C,GAChD,6BAA6B,CAAC;AAEhC,MAAM,OAAO,+BACX,SAAQ,kBAAkB;IAG1B;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,6BAA6B;QAC3B,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACnC,CAAC;IAED,0BAA0B;QACxB,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,uBAAuB,CAAC;iBAChC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IA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gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,4CAA4C;QAC1C,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,4CAA4C,CAAC;iBACrD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iCAAiC;QAC/B,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACxD,CAAC;CACF"}
|
package/lib/index.css
CHANGED
package/lib/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
+
"version": "1.0.19",
|
|
4
|
+
"description": "Legend extension for Data Space DSL",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"legend",
|
|
7
|
+
"legend-extension",
|
|
8
|
+
"dsl",
|
|
9
|
+
"dsl-data-space"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/finos/legend-studio/tree/master/packages/legend-extension-dsl-data-space",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/finos/legend-studio/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/finos/legend-studio.git",
|
|
18
|
+
"directory": "packages/legend-extension-dsl-data-space"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"type": "module",
|
|
23
|
+
"main": "lib/index.js",
|
|
24
|
+
"module": "lib/index.js",
|
|
25
|
+
"types": "lib/index.d.ts",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn clean && yarn build:sass && yarn build:tsc",
|
|
28
|
+
"build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
|
|
29
|
+
"build:tsc": "tsc --project ./tsconfig.build.json",
|
|
30
|
+
"clean": "npm-run-all clean:cache clean:lib",
|
|
31
|
+
"clean:cache": "rimraf \"build\"",
|
|
32
|
+
"clean:lib": "rimraf \"lib\"",
|
|
33
|
+
"dev": "npm-run-all --parallel dev:sass dev:tsc",
|
|
34
|
+
"dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
|
|
35
|
+
"dev:tsc": "tsc --watch --preserveWatchOutput",
|
|
36
|
+
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
|
|
37
|
+
"publish:prepare": "node ../../scripts/release/preparePublishContent.js",
|
|
38
|
+
"publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
|
|
39
|
+
"test": "jest",
|
|
40
|
+
"test:watch": "jest --watch"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@finos/legend-application": "workspace:*",
|
|
44
|
+
"@finos/legend-art": "workspace:*",
|
|
45
|
+
"@finos/legend-extension-dsl-diagram": "workspace:*",
|
|
46
|
+
"@finos/legend-graph": "workspace:*",
|
|
47
|
+
"@finos/legend-model-storage": "workspace:*",
|
|
48
|
+
"@finos/legend-query": "workspace:*",
|
|
49
|
+
"@finos/legend-server-depot": "workspace:*",
|
|
50
|
+
"@finos/legend-shared": "workspace:*",
|
|
51
|
+
"@finos/legend-studio": "workspace:*",
|
|
52
|
+
"@types/react": "17.0.39",
|
|
53
|
+
"@types/react-router-dom": "5.3.2",
|
|
54
|
+
"mobx": "6.4.2",
|
|
55
|
+
"mobx-react-lite": "3.3.0",
|
|
56
|
+
"monaco-editor": "0.32.1",
|
|
57
|
+
"react": "17.0.2",
|
|
58
|
+
"react-dom": "17.0.2",
|
|
59
|
+
"react-resize-detector": "7.0.0",
|
|
60
|
+
"react-router": "5.2.1",
|
|
61
|
+
"react-router-dom": "5.3.0",
|
|
62
|
+
"serializr": "2.0.5"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@finos/legend-dev-utils": "workspace:*",
|
|
66
|
+
"cross-env": "7.0.3",
|
|
67
|
+
"eslint": "8.10.0",
|
|
68
|
+
"jest": "27.5.1",
|
|
69
|
+
"npm-run-all": "4.1.5",
|
|
70
|
+
"rimraf": "3.0.2",
|
|
71
|
+
"sass": "1.49.9",
|
|
72
|
+
"typescript": "4.6.2"
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"react": "^17.0.0"
|
|
76
|
+
},
|
|
77
|
+
"publishConfig": {
|
|
78
|
+
"directory": "build/publishContent"
|
|
79
|
+
},
|
|
80
|
+
"extensions": {
|
|
81
|
+
"graphPreset": "@finos/legend-graph-preset-dsl-data-space",
|
|
82
|
+
"pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-protocol-processor",
|
|
83
|
+
"pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph-manager",
|
|
84
|
+
"pureGraphPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph",
|
|
85
|
+
"studioPlugin": "@finos/legend-studio-plugin-dsl-data-space",
|
|
86
|
+
"queryPlugin": "@finos/legend-query-plugin-dsl-data-space"
|
|
87
|
+
}
|
|
88
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"test:watch": "jest --watch"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@finos/legend-application": "1.1
|
|
44
|
-
"@finos/legend-art": "0.3.
|
|
45
|
-
"@finos/legend-extension-dsl-diagram": "1.0.
|
|
46
|
-
"@finos/legend-graph": "1.1
|
|
47
|
-
"@finos/legend-model-storage": "0.0.
|
|
48
|
-
"@finos/legend-query": "0.
|
|
49
|
-
"@finos/legend-server-depot": "0.0.
|
|
50
|
-
"@finos/legend-shared": "1.2.
|
|
51
|
-
"@finos/legend-studio": "
|
|
52
|
-
"@types/react": "17.0.
|
|
43
|
+
"@finos/legend-application": "1.2.1",
|
|
44
|
+
"@finos/legend-art": "0.3.8",
|
|
45
|
+
"@finos/legend-extension-dsl-diagram": "1.0.19",
|
|
46
|
+
"@finos/legend-graph": "1.2.1",
|
|
47
|
+
"@finos/legend-model-storage": "0.0.21",
|
|
48
|
+
"@finos/legend-query": "1.0.1",
|
|
49
|
+
"@finos/legend-server-depot": "0.0.24",
|
|
50
|
+
"@finos/legend-shared": "1.2.3",
|
|
51
|
+
"@finos/legend-studio": "3.0.1",
|
|
52
|
+
"@types/react": "17.0.39",
|
|
53
53
|
"@types/react-router-dom": "5.3.2",
|
|
54
|
-
"mobx": "6.
|
|
55
|
-
"mobx-react-lite": "3.
|
|
56
|
-
"monaco-editor": "0.
|
|
54
|
+
"mobx": "6.4.2",
|
|
55
|
+
"mobx-react-lite": "3.3.0",
|
|
56
|
+
"monaco-editor": "0.32.1",
|
|
57
57
|
"react": "17.0.2",
|
|
58
58
|
"react-dom": "17.0.2",
|
|
59
59
|
"react-resize-detector": "7.0.0",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"serializr": "2.0.5"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@finos/legend-dev-utils": "0.3.
|
|
65
|
+
"@finos/legend-dev-utils": "0.3.12",
|
|
66
66
|
"cross-env": "7.0.3",
|
|
67
|
-
"eslint": "8.
|
|
68
|
-
"jest": "27.
|
|
67
|
+
"eslint": "8.10.0",
|
|
68
|
+
"jest": "27.5.1",
|
|
69
69
|
"npm-run-all": "4.1.5",
|
|
70
70
|
"rimraf": "3.0.2",
|
|
71
|
-
"sass": "1.49.
|
|
72
|
-
"typescript": "4.
|
|
71
|
+
"sass": "1.49.9",
|
|
72
|
+
"typescript": "4.6.2"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"react": "^17.0.0"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { useRef, useEffect } from 'react';
|
|
17
|
+
import { useRef, useEffect, forwardRef } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { useResizeDetector } from 'react-resize-detector';
|
|
20
20
|
import {
|
|
@@ -58,13 +58,13 @@ interface DataSpaceViewerActivityConfig {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
const DataSpaceDiagramCanvas = observer(
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
forwardRef<
|
|
62
|
+
HTMLDivElement,
|
|
63
|
+
{
|
|
63
64
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
64
65
|
diagram: Diagram;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
) => {
|
|
66
|
+
}
|
|
67
|
+
>(function DataSpaceDiagramCanvas(props, ref) {
|
|
68
68
|
const { dataSpaceViewerState, diagram } = props;
|
|
69
69
|
const diagramCanvasRef =
|
|
70
70
|
ref as React.MutableRefObject<HTMLDivElement | null>;
|
|
@@ -102,8 +102,7 @@ const DataSpaceDiagramCanvas = observer(
|
|
|
102
102
|
onContextMenu={(event): void => event.preventDefault()}
|
|
103
103
|
/>
|
|
104
104
|
);
|
|
105
|
-
},
|
|
106
|
-
{ forwardRef: true },
|
|
105
|
+
}),
|
|
107
106
|
);
|
|
108
107
|
|
|
109
108
|
type DiagramOption = { label: string; value: Diagram };
|
|
@@ -57,14 +57,14 @@ export const DataspaceQuerySetup = observer(
|
|
|
57
57
|
const toggleGetSnapshot = (): void => {
|
|
58
58
|
querySetupState.setToGetSnapShot(!querySetupState.toGetSnapShot);
|
|
59
59
|
flowResult(querySetupState.loadDataSpaces(searchText)).catch(
|
|
60
|
-
applicationStore.
|
|
60
|
+
applicationStore.alertUnhandledError,
|
|
61
61
|
);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
const next = (): void => {
|
|
65
65
|
if (querySetupState.dataSpaceViewerState) {
|
|
66
66
|
flowResult(querySetupState.proceedToCreateQuery()).catch(
|
|
67
|
-
applicationStore.
|
|
67
|
+
applicationStore.alertUnhandledError,
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
70
|
};
|
|
@@ -111,7 +111,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
111
111
|
() =>
|
|
112
112
|
debounce((input: string): void => {
|
|
113
113
|
flowResult(querySetupState.loadDataSpaces(input)).catch(
|
|
114
|
-
applicationStore.
|
|
114
|
+
applicationStore.alertUnhandledError,
|
|
115
115
|
);
|
|
116
116
|
}, 500),
|
|
117
117
|
[applicationStore, querySetupState],
|
|
@@ -126,7 +126,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
126
126
|
|
|
127
127
|
useEffect(() => {
|
|
128
128
|
flowResult(querySetupState.loadDataSpaces('')).catch(
|
|
129
|
-
applicationStore.
|
|
129
|
+
applicationStore.alertUnhandledError,
|
|
130
130
|
);
|
|
131
131
|
}, [querySetupState, applicationStore]);
|
|
132
132
|
|
|
@@ -134,7 +134,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
134
134
|
if (querySetupState.currentDataSpace) {
|
|
135
135
|
flowResult(
|
|
136
136
|
querySetupState.setUpDataSpace(querySetupState.currentDataSpace),
|
|
137
|
-
).catch(applicationStore.
|
|
137
|
+
).catch(applicationStore.alertUnhandledError);
|
|
138
138
|
}
|
|
139
139
|
}, [querySetupState, applicationStore, querySetupState.currentDataSpace]);
|
|
140
140
|
|