@finos/legend-extension-dsl-data-space 9.2.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/DataSpaceDataAccess.d.ts.map +1 -1
- package/lib/components/DataSpaceDataAccess.js +71 -3
- package/lib/components/DataSpaceDataAccess.js.map +1 -1
- package/lib/components/DataSpaceDescription.d.ts.map +1 -1
- package/lib/components/DataSpaceDescription.js +6 -1
- package/lib/components/DataSpaceDescription.js.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.js +3 -3
- package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
- package/lib/components/DataSpaceViewer.js +2 -2
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/DataSpaceViewerActivityBar.d.ts.map +1 -1
- package/lib/components/DataSpaceViewerActivityBar.js +7 -3
- package/lib/components/DataSpaceViewerActivityBar.js.map +1 -1
- package/lib/components/DataSpaceWiki.d.ts.map +1 -1
- package/lib/components/DataSpaceWiki.js +1 -0
- package/lib/components/DataSpaceWiki.js.map +1 -1
- package/lib/components/query/DataSpaceQueryCreator.js +1 -1
- package/lib/components/query/DataSpaceQueryCreator.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +2 -2
- package/lib/stores/DataSpaceViewerDataAccessState.d.ts +35 -0
- package/lib/stores/DataSpaceViewerDataAccessState.d.ts.map +1 -0
- package/lib/stores/DataSpaceViewerDataAccessState.js +100 -0
- package/lib/stores/DataSpaceViewerDataAccessState.js.map +1 -0
- package/lib/stores/DataSpaceViewerState.d.ts +34 -21
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +100 -30
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js +2 -0
- package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
- package/lib/stores/studio/DataSpacePreviewState.d.ts.map +1 -1
- package/lib/stores/studio/DataSpacePreviewState.js +2 -0
- package/lib/stores/studio/DataSpacePreviewState.js.map +1 -1
- package/package.json +12 -12
- package/src/components/DataSpaceDataAccess.tsx +116 -2
- package/src/components/DataSpaceDescription.tsx +7 -1
- package/src/components/DataSpaceDiagramViewer.tsx +3 -3
- package/src/components/DataSpaceViewer.tsx +2 -2
- package/src/components/DataSpaceViewerActivityBar.tsx +6 -5
- package/src/components/DataSpaceWiki.tsx +2 -0
- package/src/components/query/DataSpaceQueryCreator.tsx +1 -1
- package/src/stores/DataSpaceViewerDataAccessState.ts +146 -0
- package/src/stores/DataSpaceViewerState.ts +126 -34
- package/src/stores/query/DataSpaceAdvancedSearchState.ts +14 -1
- package/src/stores/studio/DataSpacePreviewState.ts +3 -0
- package/tsconfig.json +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDataAccess.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"DataSpaceDataAccess.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAe9E,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA6IvD,CAAC"}
|
|
@@ -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
|
*
|
|
@@ -15,12 +15,18 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { AnchorLinkIcon, QuestionCircleIcon } from '@finos/legend-art';
|
|
18
|
+
import { AnchorLinkIcon, PanelLoadingIndicator, QuestionCircleIcon, } from '@finos/legend-art';
|
|
19
19
|
import {} from '../stores/DataSpaceViewerState.js';
|
|
20
20
|
import { useApplicationStore } from '@finos/legend-application';
|
|
21
21
|
import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
|
|
22
|
+
import { useEffect } from 'react';
|
|
23
|
+
import { flowResult } from 'mobx';
|
|
24
|
+
import { AgGridReact } from '@ag-grid-community/react';
|
|
25
|
+
import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model';
|
|
26
|
+
import { DatasetEntitlementAccessApprovedReport, DatasetEntitlementAccessGrantedReport, DatasetEntitlementAccessNotGrantedReport, DatasetEntitlementAccessRequestedReport, DatasetEntitlementUnsupportedReport, } from '@finos/legend-graph';
|
|
22
27
|
export const DataSpaceDataAccess = observer((props) => {
|
|
23
28
|
const { dataSpaceViewerState } = props;
|
|
29
|
+
const dataAccessState = dataSpaceViewerState.dataAccessState;
|
|
24
30
|
const applicationStore = useApplicationStore();
|
|
25
31
|
const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
|
|
26
32
|
const documentationUrl = analysisResult.supportInfo?.documentationUrl;
|
|
@@ -29,6 +35,68 @@ export const DataSpaceDataAccess = observer((props) => {
|
|
|
29
35
|
applicationStore.navigationService.navigator.visitAddress(documentationUrl);
|
|
30
36
|
}
|
|
31
37
|
};
|
|
32
|
-
|
|
38
|
+
useEffect(() => {
|
|
39
|
+
flowResult(dataAccessState.fetchDatasetSpecifications()).catch(applicationStore.alertUnhandledError);
|
|
40
|
+
flowResult(dataAccessState.fetchDatasetEntitlementReports()).catch(applicationStore.alertUnhandledError);
|
|
41
|
+
}, [
|
|
42
|
+
applicationStore,
|
|
43
|
+
dataAccessState,
|
|
44
|
+
dataSpaceViewerState.currentExecutionContext,
|
|
45
|
+
]);
|
|
46
|
+
return (_jsxs("div", { className: "data-space__viewer__wiki__section", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header", children: [_jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Data Access", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }), Boolean(documentationUrl) && (_jsx("button", { className: "data-space__viewer__wiki__section__header__documentation", tabIndex: -1, onClick: seeDocumentation, title: "See Documentation", children: _jsx(QuestionCircleIcon, {}) }))] }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [_jsx(PanelLoadingIndicator, { isLoading: dataAccessState.fetchDatasetSpecificationsState.isInProgress ||
|
|
47
|
+
dataAccessState.fetchDatasetEntitlementReportsState.isInProgress }), _jsxs("div", { className: "data-space__viewer__data-access", children: [dataAccessState.datasets.length > 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "View Data Access (Work in Progress)" })), dataAccessState.datasets.length === 0 && (_jsxs(_Fragment, { children: [_jsx("div", { className: "data-space__viewer__data-access__chart" }), _jsx("div", { className: "data-space__viewer__data-access__grid data-space__viewer__grid ag-theme-balham-dark", children: _jsx(AgGridReact, { rowData: dataAccessState.datasets, gridOptions: {
|
|
48
|
+
suppressScrollOnNewData: true,
|
|
49
|
+
getRowId: (rowData) => rowData.data.uuid,
|
|
50
|
+
}, modules: [ClientSideRowModelModule], suppressFieldDotNotation: true, columnDefs: [
|
|
51
|
+
{
|
|
52
|
+
minWidth: 50,
|
|
53
|
+
sortable: true,
|
|
54
|
+
resizable: true,
|
|
55
|
+
valueGetter: (params) => params.data?.specification.name,
|
|
56
|
+
headerName: 'Dataset',
|
|
57
|
+
flex: 1,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
minWidth: 50,
|
|
61
|
+
sortable: true,
|
|
62
|
+
resizable: true,
|
|
63
|
+
valueGetter: (params) => params.data?.specification.type,
|
|
64
|
+
headerName: 'Type',
|
|
65
|
+
flex: 1,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
minWidth: 50,
|
|
69
|
+
sortable: true,
|
|
70
|
+
resizable: true,
|
|
71
|
+
headerName: 'Access Status',
|
|
72
|
+
valueGetter: (params) => {
|
|
73
|
+
const entitlementReport = params.data?.entitlementReport;
|
|
74
|
+
if (entitlementReport instanceof
|
|
75
|
+
DatasetEntitlementAccessGrantedReport) {
|
|
76
|
+
return 'Access Granted';
|
|
77
|
+
}
|
|
78
|
+
else if (entitlementReport instanceof
|
|
79
|
+
DatasetEntitlementAccessApprovedReport) {
|
|
80
|
+
return 'Access Approved';
|
|
81
|
+
}
|
|
82
|
+
else if (entitlementReport instanceof
|
|
83
|
+
DatasetEntitlementAccessRequestedReport) {
|
|
84
|
+
return 'Access Requested';
|
|
85
|
+
}
|
|
86
|
+
else if (entitlementReport instanceof
|
|
87
|
+
DatasetEntitlementAccessNotGrantedReport) {
|
|
88
|
+
return '(x) Access Not Granted';
|
|
89
|
+
}
|
|
90
|
+
else if (entitlementReport instanceof
|
|
91
|
+
DatasetEntitlementUnsupportedReport) {
|
|
92
|
+
return '(unsupported)';
|
|
93
|
+
}
|
|
94
|
+
return '';
|
|
95
|
+
},
|
|
96
|
+
flex: 1,
|
|
97
|
+
wrapText: true,
|
|
98
|
+
autoHeight: true,
|
|
99
|
+
},
|
|
100
|
+
] }) }), _jsx(DataSpaceWikiPlaceholder, { message: "No documentation provided" })] }))] })] })] }));
|
|
33
101
|
});
|
|
34
102
|
//# sourceMappingURL=DataSpaceDataAccess.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDataAccess.js","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,E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nC;4DACA,OAAO,eAAe,CAAC;yDACxB;wDACD,OAAO,EAAE,CAAC;oDACZ,CAAC;oDACD,IAAI,EAAE,CAAC;oDACP,QAAQ,EAAE,IAAI;oDACd,UAAU,EAAE,IAAI;iDACjB;6CACF,GACD,GACE,EACN,KAAC,wBAAwB,IAAC,OAAO,EAAC,2BAA2B,GAAG,IAC/D,CACJ,IACG,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDescription.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceDescription.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAM9E,eAAO,MAAM,oBAAoB,WACvB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoCvD,CAAC"}
|
|
@@ -18,9 +18,14 @@ import { AnchorLinkIcon } from '@finos/legend-art';
|
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
|
|
20
20
|
import { DataSpaceMarkdownTextViewer } from './DataSpaceMarkdownTextViewer.js';
|
|
21
|
+
import { useEffect, useRef } from 'react';
|
|
21
22
|
export const DataSpaceDescription = observer((props) => {
|
|
22
23
|
const { dataSpaceViewerState } = props;
|
|
23
24
|
const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
|
|
24
|
-
|
|
25
|
+
const sectionRef = useRef(null);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
// do
|
|
28
|
+
}, [dataSpaceViewerState]);
|
|
29
|
+
return (_jsxs("div", { ref: sectionRef, className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Description", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [analysisResult.description !== undefined && (_jsx("div", { className: "data-space__viewer__description", children: _jsx("div", { className: "data-space__viewer__description__content", children: _jsx(DataSpaceMarkdownTextViewer, { value: analysisResult.description }) }) })), analysisResult.description === undefined && (_jsx(DataSpaceWikiPlaceholder, { message: "No description provided" }))] })] }));
|
|
25
30
|
});
|
|
26
31
|
//# sourceMappingURL=DataSpaceDescription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDescription.js","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceDescription.js","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAC1C,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACvC,MAAM,cAAc,GAAG,oBAAoB,CAAC,uBAAuB,CAAC;IACpE,MAAM,UAAU,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAEhD,SAAS,CAAC,GAAG,EAAE;QACb,KAAK;IACP,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAE3B,OAAO,CACL,eAAK,GAAG,EAAE,UAAU,EAAE,SAAS,EAAC,mCAAmC,aACjE,cAAK,SAAS,EAAC,2CAA2C,YACxD,eAAK,SAAS,EAAC,kDAAkD,4BAE/D,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,cAAc,KAAG,GACd,IACF,GACF,EACN,eAAK,SAAS,EAAC,4CAA4C,aACxD,cAAc,CAAC,WAAW,KAAK,SAAS,IAAI,CAC3C,cAAK,SAAS,EAAC,iCAAiC,YAC9C,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,2BAA2B,IAC1B,KAAK,EAAE,cAAc,CAAC,WAAW,GACjC,GACE,GACF,CACP,EACA,cAAc,CAAC,WAAW,KAAK,SAAS,IAAI,CAC3C,KAAC,wBAAwB,IAAC,OAAO,EAAC,yBAAyB,GAAG,CAC/D,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -30,13 +30,13 @@ const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanv
|
|
|
30
30
|
});
|
|
31
31
|
useEffect(() => {
|
|
32
32
|
const renderer = new DiagramRenderer(diagramCanvasRef.current, diagram);
|
|
33
|
-
dataSpaceViewerState.
|
|
34
|
-
dataSpaceViewerState.
|
|
33
|
+
dataSpaceViewerState.setDiagramRenderer(renderer);
|
|
34
|
+
dataSpaceViewerState.setupDiagramRenderer();
|
|
35
35
|
renderer.render({ initial: true });
|
|
36
36
|
}, [diagramCanvasRef, dataSpaceViewerState, diagram]);
|
|
37
37
|
useEffect(() => {
|
|
38
38
|
if (dataSpaceViewerState.isDiagramRendererInitialized) {
|
|
39
|
-
dataSpaceViewerState.
|
|
39
|
+
dataSpaceViewerState.diagramRenderer.refresh();
|
|
40
40
|
}
|
|
41
41
|
}, [dataSpaceViewerState, width, height]);
|
|
42
42
|
return (_jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas ', dataSpaceViewerState.diagramCursorClass), tabIndex: 0 }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDiagramViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACpB,IAAI,EACJ,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EACL,eAAe,GAEhB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErE,MAAM,sBAAsB,GAAG,QAAQ,CACrC,UAAU,CAMR,SAAS,sBAAsB,CAAC,KAAK,EAAE,GAAG;IAC1C,MAAM,EAAE,oBAAoB,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAChD,MAAM,gBAAgB,GAAG,GAA6C,CAAC;IAEvE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,iBAAiB,CAAiB;QAC1D,WAAW,EAAE,UAAU;QACvB,WAAW,EAAE,EAAE;QACf,SAAS,EA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,EAAE,mBAAmB,YAE5B,KAAC,mBAAmB,KAAG,GAChB,EACT,iBACE,SAAS,EAAC,qIAAqI,EAC/I,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,MAAM,EACZ,QAAQ,EACN,sBAAsB,CAAC,cAAc,CAAC,QAAQ,CAAC;4CAC/C,oBAAoB,CAAC,cAAc,EAErC,OAAO,EAAE,eAAe,YAExB,KAAC,oBAAoB,KAAG,GACjB,EACT,cAAK,SAAS,EAAC,iEAAiE,YAC9E,cAAK,SAAS,EAAC,wEAAwE,YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACxC,iBAEE,SAAS,EAAE,IAAI,CACb,gEAAgE,EAChE;oDACE,wEAAwE,EACtE,oBAAoB,CAAC,cAAc,KAAK,OAAO;iDAClD,CACF,EACD,OAAO,EAAE,GAAG,EAAE,CACZ,oBAAoB,CAAC,iBAAiB,CAAC,OAAO,CAAC,YAGjD,KAAC,UAAU,KAAG,IAZT,OAAO,CAAC,OAAO,CAAC,IAAI,CAalB,CACV,CAAC,GACE,GACF,IACF,GACF,GACF,CACP,EACA,cAAc,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,CACtC,KAAC,wBAAwB,IAAC,OAAO,EAAC,sBAAsB,GAAG,CAC5D,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -29,7 +29,7 @@ const DataSpaceHeader = observer((props) => {
|
|
|
29
29
|
return (_jsx("div", { className: clsx('data-space__viewer__header', {
|
|
30
30
|
'data-space__viewer__header--floating': showFullHeader,
|
|
31
31
|
}), children: _jsx("div", { className: clsx('data-space__viewer__header__content', {
|
|
32
|
-
'data-space__viewer__header__content--expanded': dataSpaceViewerState.isExpandedModeEnabled,
|
|
32
|
+
'data-space__viewer__header__content--expanded': dataSpaceViewerState.layoutState.isExpandedModeEnabled,
|
|
33
33
|
}), children: _jsxs("div", { className: "data-space__viewer__header__title", title: `${analysisResult.title ?? analysisResult.name} - ${analysisResult.path}`, children: [_jsx("div", { className: "data-space__viewer__header__title__label", children: analysisResult.title ?? analysisResult.name }), dataSpaceViewerState.isVerified && (_jsx(VerifiedIcon, { className: "data-space__viewer__header__title__verified-badge", title: "Verified Data Space" }))] }) }) }));
|
|
34
34
|
});
|
|
35
35
|
const DataSpacePlaceholderPanel = (props) => {
|
|
@@ -52,7 +52,7 @@ export const DataSpaceViewer = observer((props) => {
|
|
|
52
52
|
].includes(dataSpaceViewerState.currentActivity);
|
|
53
53
|
return (_jsxs("div", { className: "data-space__viewer", children: [_jsx(DataSpaceViewerActivityBar, { dataSpaceViewerState: dataSpaceViewerState }), _jsxs("div", { ref: bodyElement, className: "data-space__viewer__body", onScroll: onScroll, children: [_jsx(DataSpaceHeader, { dataSpaceViewerState: dataSpaceViewerState, showFullHeader: showFullHeader }), _jsx("div", { className: clsx('data-space__viewer__frame', {
|
|
54
54
|
'data-space__viewer__frame--boundless': isShowingWiki,
|
|
55
|
-
'data-space__viewer__frame--expanded': dataSpaceViewerState.isExpandedModeEnabled,
|
|
55
|
+
'data-space__viewer__frame--expanded': dataSpaceViewerState.layoutState.isExpandedModeEnabled,
|
|
56
56
|
}), children: _jsxs("div", { className: "data-space__viewer__content", children: [isShowingWiki && (_jsx(DataSpaceWiki, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
|
|
57
57
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION_CONTEXT && (_jsx(DataSpaceExecutionContextViewer, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
|
|
58
58
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_STORES && (_jsx(DataSpacePlaceholderPanel, { message: "View all data stores (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpace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oB,GAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,iBAAiB,IAAI,CACrD,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,yBAAyB,IAAC,OAAO,EAAC,yCAAyC,GAAG,CAChF,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,iBAAiB,IAAI,CACrD,KAAC,yBAAyB,IAAC,OAAO,EAAC,2CAA2C,GAAG,CAClF,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,cAAc,IAAI,CAClD,KAAC,yBAAyB,IAAC,OAAO,EAAC,wCAAwC,GAAG,CAC/E,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,yBAAyB,IAAC,OAAO,EAAC,mCAAmC,GAAG,CAC1E,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,eAAe,IAAI,CACnD,KAAC,yBAAyB,IAAC,OAAO,EAAC,uDAAuD,GAAG,CAC9F,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,kBAAkB,IACjB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,KAAC,qBAAqB,IACpB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,IACG,GACF,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerActivityBar.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewerActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAuBH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerActivityBar.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewerActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAuBH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AA6C3C,eAAO,MAAM,0BAA0B,WAC7B;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAyIvD,CAAC"}
|
|
@@ -19,19 +19,23 @@ import { ShapesIcon, PlayIcon, QuestionCircleIcon, clsx, InfoCircleIcon, Documen
|
|
|
19
19
|
import { DATA_SPACE_VIEWER_ACTIVITY_MODE, } from '../stores/DataSpaceViewerState.js';
|
|
20
20
|
const ActivityBarMenu = observer((props) => {
|
|
21
21
|
const { dataSpaceViewerState } = props;
|
|
22
|
+
const layoutState = dataSpaceViewerState.layoutState;
|
|
22
23
|
// actions
|
|
23
|
-
const toggleExpandedMode = () =>
|
|
24
|
+
const toggleExpandedMode = () => layoutState.enableExpandedMode(!layoutState.isExpandedModeEnabled);
|
|
24
25
|
return (_jsx(_Fragment, { children: _jsx("div", { className: "data-space__viewer__activity-bar__menu", children: _jsx(DropdownMenu, { className: "data-space__viewer__activity-bar__menu-item", menuProps: {
|
|
25
26
|
anchorOrigin: { vertical: 'top', horizontal: 'right' },
|
|
26
27
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
|
27
28
|
elevation: 7,
|
|
28
|
-
}, content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: toggleExpandedMode, children: [
|
|
29
|
+
}, content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: toggleExpandedMode, children: [layoutState.isExpandedModeEnabled
|
|
29
30
|
? 'Disable Expanded Mode'
|
|
30
31
|
: 'Enable Expanded Mode', ' '] }) }), children: _jsx(MenuIcon, {}) }) }) }));
|
|
31
32
|
});
|
|
32
33
|
export const DataSpaceViewerActivityBar = observer((props) => {
|
|
33
34
|
const { dataSpaceViewerState } = props;
|
|
34
|
-
const changeActivity = (activity) => () =>
|
|
35
|
+
const changeActivity = (activity) => () => {
|
|
36
|
+
dataSpaceViewerState.setCurrentActivity(activity);
|
|
37
|
+
dataSpaceViewerState.onZoneChange?.(activity);
|
|
38
|
+
};
|
|
35
39
|
const wikiActivities = [
|
|
36
40
|
{
|
|
37
41
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.DESCRIPTION,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerActivityBar.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewerActivityBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,IAAI,EACJ,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAE3C,MAAM,eAAe,GAAG,QAAQ,CAC9B,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerActivityBar.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewerActivityBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,IAAI,EACJ,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,cAAc,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,CAAC,IAAI,IATT,QAAQ,CAAC,IAAI,CAUX,CACV,CAAC,EACF,cAAK,SAAS,EAAC,2CAA2C,GAAG,EAC5D,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAC5B,iBAEE,SAAS,EAAE,IAAI,CAAC,wCAAwC,EAAE;4BACxD,gDAAgD,EAC9C,oBAAoB,CAAC,eAAe,KAAK,QAAQ,CAAC,IAAI;yBACzD,CAAC,EACF,OAAO,EAAE,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,EACtC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,QAAQ,CAAC,KAAK,YAEpB,QAAQ,CAAC,IAAI,IATT,QAAQ,CAAC,IAAI,CAUX,CACV,CAAC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceWiki.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceWiki.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAQ9E,eAAO,MAAM,aAAa,WAChB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;
|
|
1
|
+
{"version":3,"file":"DataSpaceWiki.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceWiki.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAQ9E,eAAO,MAAM,aAAa,WAChB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiBvD,CAAC"}
|
|
@@ -7,6 +7,7 @@ import { DataSpaceDataAccess } from './DataSpaceDataAccess.js';
|
|
|
7
7
|
import { DataSpaceDescription } from './DataSpaceDescription.js';
|
|
8
8
|
export const DataSpaceWiki = observer((props) => {
|
|
9
9
|
const { dataSpaceViewerState } = props;
|
|
10
|
+
// const a = new IntersectionObserver(() => {});
|
|
10
11
|
return (_jsxs("div", { className: "data-space__viewer__wiki", children: [_jsx(DataSpaceDescription, { dataSpaceViewerState: dataSpaceViewerState }), _jsx(DataSpaceDiagramViewer, { dataSpaceViewerState: dataSpaceViewerState }), _jsx(DataSpaceModelsDocumentation, { dataSpaceViewerState: dataSpaceViewerState }), _jsx(DataSpaceQuickStart, { dataSpaceViewerState: dataSpaceViewerState }), _jsx(DataSpaceDataAccess, { dataSpaceViewerState: dataSpaceViewerState })] }));
|
|
11
12
|
});
|
|
12
13
|
//# sourceMappingURL=DataSpaceWiki.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceWiki.js","sourceRoot":"","sources":["../../src/components/DataSpaceWiki.tsx"],"names":[],"mappings":";AAiBA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CACnC,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IAEvC,OAAO,CACL,eAAK,SAAS,EAAC,0BAA0B,aACvC,KAAC,oBAAoB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,EACpE,KAAC,sBAAsB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,EACtE,KAAC,4BAA4B,IAC3B,oBAAoB,EAAE,oBAAoB,GAC1C,EACF,KAAC,mBAAmB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,EACnE,KAAC,mBAAmB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,IAC/D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"DataSpaceWiki.js","sourceRoot":"","sources":["../../src/components/DataSpaceWiki.tsx"],"names":[],"mappings":";AAiBA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CACnC,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IAEvC,gDAAgD;IAEhD,OAAO,CACL,eAAK,SAAS,EAAC,0BAA0B,aACvC,KAAC,oBAAoB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,EACpE,KAAC,sBAAsB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,EACtE,KAAC,4BAA4B,IAC3B,oBAAoB,EAAE,oBAAoB,GAC1C,EACF,KAAC,mBAAmB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,EACnE,KAAC,mBAAmB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,IAC/D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -35,7 +35,7 @@ export const DataSpaceQueryCreator = observer(() => {
|
|
|
35
35
|
const dataSpacePath = parameters[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH];
|
|
36
36
|
const executionContext = parameters[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT];
|
|
37
37
|
const runtimePath = parameters[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH];
|
|
38
|
-
const classPath = applicationStore.navigationService.navigator.
|
|
38
|
+
const classPath = applicationStore.navigationService.navigator.getCurrentLocationParameterValue(DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH);
|
|
39
39
|
return (_jsx(DataSpaceQueryCreatorStoreProvider, { gav: gav, dataSpacePath: dataSpacePath, executionContext: executionContext, runtimePath: runtimePath, classPath: classPath, children: _jsx(QueryEditor, {}) }));
|
|
40
40
|
});
|
|
41
41
|
//# sourceMappingURL=DataSpaceQueryCreator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryCreator.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAEL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,gEAAgE,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,kCAAkC,GAOnC,CAAC,EACJ,QAAQ,EACR,GAAG,EACH,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,SAAS,GACV,EAAE,EAAE;IACH,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,GAA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,UAAU,CAAC,4CAA4C,CAAC,iBAAiB,CAAC,CAAC;IAC7E,MAAM,WAAW,GACf,UAAU,CAAC,4CAA4C,CAAC,YAAY,CAAC,CAAC;IACxE,MAAM,SAAS,GACb,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,gCAAgC,CAC3E,0CAA0C,CAAC,UAAU,CACtD,CAAC;IAEJ,OAAO,CACL,KAAC,kCAAkC,IACjC,GAAG,EAAE,GAAG,EACR,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,YAEpB,KAAC,WAAW,KAAG,GACoB,CACtC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license @finos/legend-extension-dsl-data-space v9.2.
|
|
1
|
+
/** @license @finos/legend-extension-dsl-data-space v9.2.1
|
|
2
2
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
@import"@ag-grid-community/styles/ag-grid.css";@import"@ag-grid-community/styles/ag-theme-balham.css";@import"@finos/legend-extension-dsl-diagram/lib/index.css";.data-space__viewer{height:100%;width:100%;position:relative;background:var(--color-dark-grey-80);color:var(--color-light-grey-200);font-family:Roboto,sans-serif}.data-space__viewer__header{display:flex;justify-content:center;position:absolute;top:0;height:9rem;width:100%;z-index:1;background:rgba(0,0,0,0);transition:all .5s ease}.data-space__viewer__header--floating{background:var(--color-dark-grey-85);box-shadow:var(--color-dark-shade-280) 0 0 .5rem 0}.data-space__viewer__header__content{width:min(140rem,80vw);position:relative}.data-space__viewer__header__content--expanded{width:80vw}.data-space__viewer__header__title{display:flex;align-items:center;justify-content:center;position:absolute;left:8rem;top:2rem;height:5rem;border-radius:.5rem;padding:0 3rem;user-select:none;background:var(--color-blue-200)}.data-space__viewer__header__title__label{font-size:2.4rem;font-weight:500;color:var(--color-light-grey-0)}.data-space__viewer__header__title__verified-badge{margin-left:1rem;font-size:3rem;color:var(--color-light-grey-0)}.data-space__viewer__body{display:flex;align-items:center;flex-direction:column;height:100%;width:100%;overflow:overlay}.data-space__viewer__frame{display:flex;width:min(140rem,80vw);height:100%;padding:4rem;position:relative}.data-space__viewer__frame--expanded{width:80vw}.data-space__viewer__frame--boundless{height:initial}.data-space__viewer__content{display:flex;width:100%;padding:4rem;box-shadow:var(--color-dark-shade-280) 0 .1rem .5rem 0}.data-space__viewer__panel{height:100%;width:100%;overflow:auto;padding:2rem 0}.data-space__viewer__grid.ag-theme-balham-dark{--ag-font-family: "Roboto";--ag-border-color: var(--color-dark-grey-200);--ag-background-color: var(--color-dark-grey-50);--ag-foreground-color: var(--color-light-grey-200);--ag-header-background-color: var(--color-dark-grey-100);--ag-header-foreground-color: var(--color-light-grey-50);--ag-balham-active-color: var(--color-blue-200);--ag-odd-row-background-color: var(--color-dark-grey-50);--ag-even-row-background-color: var(--color-dark-grey-50);--ag-row-hover-color: var(--color-dark-blue-shade-100);--ag-row-border-color: var(--color-dark-grey-200)}.data-space__viewer__grid .ag-header-cell-text{font-weight:700}.data-space__viewer__grid .ag-cell-value{word-break:break-word}.data-space__viewer__activity-bar{width:5rem;position:absolute;left:2rem;top:11rem;overflow-x:hidden;overflow-y:hidden;border-radius:.2rem;background:var(--color-dark-grey-100)}.data-space__viewer__activity-bar__menu{height:3.4rem;border-bottom:.1rem solid var(--color-dark-grey-200)}.data-space__viewer__activity-bar__menu-item{display:flex;align-items:center;justify-content:center;height:3.4rem;width:100%;color:var(--color-dark-grey-400)}.data-space__viewer__activity-bar__menu-item svg{font-size:2.4rem}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2.2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__activity-bar__divider{flex-grow:0;flex-shrink:0;border-radius:.1rem;height:.1rem;background:var(--color-dark-grey-300);margin:.5rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--home{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--launch{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--access{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--dataset{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--availability{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--readiness{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--cost{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--governance{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--info{font-size:2.4rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--support{font-size:2.4rem}.data-space__viewer__wiki{display:flex;flex-direction:column;width:100%}.data-space__viewer__wiki__section{flex-direction:column}.data-space__viewer__wiki__section__header{display:flex;align-items:center;justify-content:space-between;height:3rem;border-bottom:.2rem solid var(--color-blue-100);margin-bottom:2rem;margin-top:4rem;user-select:none;color:var(--color-blue-100)}.data-space__viewer__wiki__section__header__label{display:flex;align-items:center;font-size:2.4rem;text-transform:uppercase;font-weight:500}.data-space__viewer__wiki__section__header__anchor{display:flex;align-items:center;margin-left:.5rem;cursor:pointer}.data-space__viewer__wiki__section__header__anchor svg{color:var(--color-dark-grey-300)}.data-space__viewer__wiki__section__header__anchor:hover svg{color:var(--color-dark-grey-400)}.data-space__viewer__wiki__section__header__documentation{color:var(--color-blue-100)}.data-space__viewer__wiki__section__content{margin-bottom:3rem}.data-space__viewer__wiki__placeholder{display:flex;align-items:center;justify-content:center;height:15rem;width:100%;font-weight:500;border-radius:.2rem;color:var(--color-dark-grey-300);background:var(--color-dark-grey-100);user-select:none}.data-space__viewer__markdown-text-viewer{color:var(--color-light-grey-200);padding:0}.data-space__viewer__description{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.data-space__viewer__description__content{width:100%}.data-space__viewer__diagram-viewer{height:70rem}.data-space__viewer__diagram-viewer__carousel{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagram-viewer__carousel .diagram-canvas{border-radius:.2rem}.data-space__viewer__diagram-viewer__carousel__frame{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__display{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__navigator{display:flex;align-items:center;justify-content:center;height:100%;width:5rem;background:rgba(0,0,0,0);position:absolute;top:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back{left:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back:hover{background-image:linear-gradient(90deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next{right:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next:hover{background-image:linear-gradient(270deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator svg{color:var(--color-dark-shade-800);font-size:2.6rem}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover{cursor:pointer}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover svg{color:var(--color-dark-shade-800)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]{cursor:not-allowed}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover{background:rgba(0,0,0,0)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled] svg,.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover svg{color:var(--color-dark-shade-200)}.data-space__viewer__diagram-viewer__carousel__frame__indicators{display:flex;align-items:center;justify-content:center;height:3rem;width:100%;position:absolute;bottom:0;background:rgba(0,0,0,0);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagram-viewer__carousel__frame__indicators__notch{display:flex;align-items:center;justify-content:center;height:100%;background:var(--color-dark-shade-0);padding:0 3rem;border-radius:1rem 1rem 0 0}.data-space__viewer__diagram-viewer__carousel__frame__indicator{margin:0 .5rem}.data-space__viewer__diagram-viewer__carousel__frame__indicator svg{font-size:1.2rem;color:var(--color-dark-shade-50)}.data-space__viewer__diagram-viewer__carousel__frame__indicator--active svg{color:var(--color-blue-150)}.data-space__viewer__diagram-viewer__carousel__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown{width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown__container{padding:.3rem}.data-space__viewer__models-documentation{height:70rem}.data-space__viewer__models-documentation__search{display:flex;align-items:center;height:3.8rem;justify-content:flex-end}.data-space__viewer__models-documentation__search__input-group{display:flex;align-items:center;position:relative;width:20rem}.data-space__viewer__models-documentation__search__input-group__input{width:100%;height:2.8rem;padding-left:2.8rem}.data-space__viewer__models-documentation__search__input-group__icon{display:flex;align-items:center;justify-content:center;position:absolute;height:2.8rem;width:2.8rem}.data-space__viewer__models-documentation__grid{height:calc(100% - 3.8rem);width:100%}.data-space__viewer__quickstart__item{margin:3rem 0}.data-space__viewer__quickstart__item__header{display:flex;align-items:center;height:3rem;margin-bottom:1rem}.data-space__viewer__quickstart__item__header__title{color:var(--color-light-grey-400);font-size:2rem;font-weight:500;user-select:none}.data-space__viewer__quickstart__item__header__type{display:flex;align-items:center;height:2rem;padding:0 .5rem;border-radius:.5rem;background:var(--color-dark-grey-300);color:var(--color-light-grey-150);user-select:none;margin-left:.5rem;font-size:1.2rem;font-weight:700}.data-space__viewer__quickstart__item__header__anchor{display:flex;align-items:center;margin-left:.5rem;cursor:pointer}.data-space__viewer__quickstart__item__header__anchor svg{color:var(--color-dark-grey-300)}.data-space__viewer__quickstart__item__header__anchor:hover svg{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__description{margin-bottom:1rem}.data-space__viewer__quickstart__item__content{display:flex;flex-direction:column;margin-top:1rem}.data-space__viewer__quickstart__item__content__tab__header{display:flex;align-items:center;justify-content:space-between;height:3.4rem;padding-bottom:1rem;border-bottom:.1rem solid var(--color-dark-grey-280)}.data-space__viewer__quickstart__item__content__tabs{display:flex;align-items:center}.data-space__viewer__quickstart__item__content__tab{display:flex;align-items:center;padding:0 1rem;color:var(--color-dark-grey-300)}.data-space__viewer__quickstart__item__content__tab__icon--query{font-size:1.6rem}.data-space__viewer__quickstart__item__content__tab__icon+.data-space__viewer__quickstart__item__content__tab__label{margin-left:.5rem}.data-space__viewer__quickstart__item__content__tab:hover .data-space__viewer__quickstart__item__content__tab__label{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__content__tab:hover .data-space__viewer__quickstart__item__content__tab__icon svg{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__content__tab--active:hover .data-space__viewer__quickstart__item__content__tab__label,.data-space__viewer__quickstart__item__content__tab--active .data-space__viewer__quickstart__item__content__tab__label{color:var(--color-blue-200);font-weight:500}.data-space__viewer__quickstart__item__content__tab--active:hover .data-space__viewer__quickstart__item__content__tab__icon svg,.data-space__viewer__quickstart__item__content__tab--active .data-space__viewer__quickstart__item__content__tab__icon svg{color:var(--color-blue-200)}.data-space__viewer__quickstart__item__content__tab__content{margin-top:1rem;height:40rem}.data-space__viewer__quickstart__tds__column-specs{height:100%}.data-space__viewer__quickstart__tds__query{display:flex;align-items:center;justify-content:center;height:100%;border:.1rem solid var(--color-dark-grey-200)}.data-space__viewer__quickstart__tds__query__actions{display:flex;flex-direction:column}.data-space__viewer__quickstart__tds__query__action{display:flex;align-items:center;justify-content:center;height:2.8rem;width:25rem;border-radius:.2rem}.data-space__viewer__quickstart__tds__query__action+.data-space__viewer__quickstart__tds__query__action{margin-top:.5rem}.data-space__viewer__quickstart__tds__query-text{display:flex;flex-direction:column;height:100%}.data-space__viewer__quickstart__tds__query-text__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-200);position:relative}.data-space__viewer__quickstart__tds__query-text__actions{display:flex;align-items:center;justify-content:flex-end;height:3.8rem}.data-space__viewer__quickstart__tds__query-text__action{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem}.data-space__viewer__quickstart__tds__query-text__action svg{color:var(--color-dark-grey-500)}.data-space__viewer__quickstart__tds__query-text__action:hover svg{color:var(--color-light-grey-400)}.data-space__viewer__execution-context__context-icon{color:var(--color-lime-75)}.data-space__viewer__execution-context__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution-context__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution-context__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution-context__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution-context__entry__content__dropdown{width:100%}.data-space__viewer__execution-context__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution-context__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution-context__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution-context__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution-context__mapping{margin-bottom:.5rem}.data-space__viewer__info__project-info__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__info__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support__email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support__email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support__email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support__email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space-preview__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-preview__dialog__container__content{max-height:100vh !important}.data-space-preview__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-preview__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-preview__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-preview__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-preview__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-preview__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-preview__dialog__content--failed{display:flex;align-items:center;height:2.8rem}.data-space-preview__dialog__content--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-preview__dialog__content--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-setup__landing-page__action--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-builder__setup__data-space-setup .query-builder__setup.panel{height:9.8rem}.query-builder__setup__data-space-setup .query-builder__side-bar__content{height:calc(100% - 9.8rem)}.query-builder__setup__data-space--with-runtime .query-builder__setup.panel{height:16.4rem}.query-builder__setup__data-space--with-runtime .query-builder__side-bar__content{height:calc(100% - 16.4rem)}.query-builder__setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-builder__setup__data-space__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__icon__execution-context{color:var(--color-lime-75)}.query-builder__setup__data-space-searcher__btn{flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem;margin-left:.5rem}.data-space-advanced-search__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-advanced-search__dialog__container__content{max-height:100vh !important}.data-space-advanced-search__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-advanced-search__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-advanced-search__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-advanced-search__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-advanced-search__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-advanced-search__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-advanced-search__dialog__input{display:flex;align-items:center;padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.data-space-advanced-search__dialog__input__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;margin-right:.5rem}.data-space-advanced-search__dialog__input__selector{width:calc(100% - 3.3rem)}.data-space-advanced-search__dialog__input__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.data-space-advanced-search__dialog__input__use-snapshot-btn svg{color:var(--color-light-grey-50)}.data-space-advanced-search__dialog__input__use-snapshot-btn--active{background:var(--color-blue-100)}.data-space-advanced-search__dialog__input__proceed-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;height:2.8rem;color:var(--color-light-grey-200);margin-left:.5rem}.data-space-advanced-search__dialog__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.data-space-advanced-search__dialog__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__view{height:calc(100% - 3.8rem);width:100%}.data-space-advanced-search__dialog__view--failed{display:flex;align-items:center;height:2.8rem}.data-space-advanced-search__dialog__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-advanced-search__dialog__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-builder__setup__mapping-execution .query-builder__setup.panel{height:9.8rem}.query-builder__setup__mapping-execution .query-builder__side-bar__content{height:calc(100% - 9.8rem)}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
|
|
17
|
+
@import"@ag-grid-community/styles/ag-grid.css";@import"@ag-grid-community/styles/ag-theme-balham.css";@import"@finos/legend-extension-dsl-diagram/lib/index.css";.data-space__viewer{height:100%;width:100%;position:relative;background:var(--color-dark-grey-80);color:var(--color-light-grey-200);font-family:Roboto,sans-serif}.data-space__viewer__header{display:flex;justify-content:center;position:absolute;top:0;height:9rem;width:100%;z-index:1;background:rgba(0,0,0,0);transition:all .5s ease}.data-space__viewer__header--floating{background:var(--color-dark-grey-85);box-shadow:var(--color-dark-shade-280) 0 0 .5rem 0;z-index:10}.data-space__viewer__header__content{width:min(140rem,80vw);position:relative}.data-space__viewer__header__content--expanded{width:80vw}.data-space__viewer__header__title{display:flex;align-items:center;justify-content:center;position:absolute;left:8rem;top:2rem;height:5rem;border-radius:.5rem;padding:0 3rem;user-select:none;background:var(--color-blue-200)}.data-space__viewer__header__title__label{font-size:2.4rem;font-weight:500;color:var(--color-light-grey-0)}.data-space__viewer__header__title__verified-badge{margin-left:1rem;font-size:3rem;color:var(--color-light-grey-0)}.data-space__viewer__body{display:flex;align-items:center;flex-direction:column;height:100%;width:100%;overflow:overlay;scroll-behavior:smooth}.data-space__viewer__frame{display:flex;width:min(140rem,80vw);height:100%;padding:4rem;position:relative}.data-space__viewer__frame--expanded{width:80vw}.data-space__viewer__frame--boundless{height:initial}.data-space__viewer__content{display:flex;width:100%;padding:4rem;box-shadow:var(--color-dark-shade-280) 0 .1rem .5rem 0}.data-space__viewer__panel{height:100%;width:100%;overflow:auto;padding:2rem 0}.data-space__viewer__grid.ag-theme-balham-dark{--ag-font-family: "Roboto";--ag-border-color: var(--color-dark-grey-200);--ag-background-color: var(--color-dark-grey-50);--ag-foreground-color: var(--color-light-grey-200);--ag-header-background-color: var(--color-dark-grey-100);--ag-header-foreground-color: var(--color-light-grey-50);--ag-balham-active-color: var(--color-blue-200);--ag-odd-row-background-color: var(--color-dark-grey-50);--ag-even-row-background-color: var(--color-dark-grey-50);--ag-row-hover-color: var(--color-dark-blue-shade-100);--ag-row-border-color: var(--color-dark-grey-200)}.data-space__viewer__grid .ag-header-cell-text{font-weight:700}.data-space__viewer__grid .ag-cell-value{word-break:break-word}.data-space__viewer__activity-bar{width:5rem;position:absolute;left:2rem;top:11rem;overflow-x:hidden;overflow-y:hidden;border-radius:.2rem;background:var(--color-dark-grey-100)}.data-space__viewer__activity-bar__menu{height:3.4rem;border-bottom:.1rem solid var(--color-dark-grey-200)}.data-space__viewer__activity-bar__menu-item{display:flex;align-items:center;justify-content:center;height:3.4rem;width:100%;color:var(--color-dark-grey-400)}.data-space__viewer__activity-bar__menu-item svg{font-size:2.4rem}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2.2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__activity-bar__divider{flex-grow:0;flex-shrink:0;border-radius:.1rem;height:.1rem;background:var(--color-dark-grey-300);margin:.5rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--home{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--launch{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--access{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--dataset{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--availability{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--readiness{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--cost{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--governance{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--info{font-size:2.4rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--support{font-size:2.4rem}.data-space__viewer__wiki{display:flex;flex-direction:column;width:100%}.data-space__viewer__wiki__section{flex-direction:column}.data-space__viewer__wiki__section__header{display:flex;align-items:center;justify-content:space-between;height:3rem;border-bottom:.2rem solid var(--color-blue-100);margin-bottom:2rem;margin-top:4rem;user-select:none;color:var(--color-blue-100)}.data-space__viewer__wiki__section__header__label{display:flex;align-items:center;font-size:2.4rem;text-transform:uppercase;font-weight:500}.data-space__viewer__wiki__section__header__anchor{display:flex;align-items:center;margin-left:.5rem;cursor:pointer}.data-space__viewer__wiki__section__header__anchor svg{color:var(--color-dark-grey-300)}.data-space__viewer__wiki__section__header__anchor:hover svg{color:var(--color-dark-grey-400)}.data-space__viewer__wiki__section__header__documentation{color:var(--color-blue-100)}.data-space__viewer__wiki__section__content{margin-bottom:3rem}.data-space__viewer__wiki__placeholder{display:flex;align-items:center;justify-content:center;height:15rem;width:100%;font-weight:500;border-radius:.2rem;color:var(--color-dark-grey-300);background:var(--color-dark-grey-100);user-select:none}.data-space__viewer__markdown-text-viewer{color:var(--color-light-grey-200);padding:0}.data-space__viewer__description{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.data-space__viewer__description__content{width:100%}.data-space__viewer__diagram-viewer{height:70rem}.data-space__viewer__diagram-viewer__carousel{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagram-viewer__carousel .diagram-canvas{border-radius:.2rem}.data-space__viewer__diagram-viewer__carousel__frame{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__display{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__navigator{display:flex;align-items:center;justify-content:center;height:100%;width:5rem;background:rgba(0,0,0,0);position:absolute;top:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back{left:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back:hover{background-image:linear-gradient(90deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next{right:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next:hover{background-image:linear-gradient(270deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator svg{color:var(--color-dark-shade-800);font-size:2.6rem}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover{cursor:pointer}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover svg{color:var(--color-dark-shade-800)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]{cursor:not-allowed}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover{background:rgba(0,0,0,0)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled] svg,.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover svg{color:var(--color-dark-shade-200)}.data-space__viewer__diagram-viewer__carousel__frame__indicators{display:flex;align-items:center;justify-content:center;height:3rem;width:100%;position:absolute;bottom:0;background:rgba(0,0,0,0);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagram-viewer__carousel__frame__indicators__notch{display:flex;align-items:center;justify-content:center;height:100%;background:var(--color-dark-shade-0);padding:0 3rem;border-radius:1rem 1rem 0 0}.data-space__viewer__diagram-viewer__carousel__frame__indicator{margin:0 .5rem}.data-space__viewer__diagram-viewer__carousel__frame__indicator svg{font-size:1.2rem;color:var(--color-dark-shade-50)}.data-space__viewer__diagram-viewer__carousel__frame__indicator--active svg{color:var(--color-blue-150)}.data-space__viewer__diagram-viewer__carousel__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown{width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown__container{padding:.3rem}.data-space__viewer__models-documentation{height:70rem}.data-space__viewer__models-documentation__search{display:flex;align-items:center;height:3.8rem;justify-content:flex-end}.data-space__viewer__models-documentation__search__input-group{display:flex;align-items:center;position:relative;width:20rem}.data-space__viewer__models-documentation__search__input-group__input{width:100%;height:2.8rem;padding-left:2.8rem}.data-space__viewer__models-documentation__search__input-group__icon{display:flex;align-items:center;justify-content:center;position:absolute;height:2.8rem;width:2.8rem}.data-space__viewer__models-documentation__grid{height:calc(100% - 3.8rem);width:100%}.data-space__viewer__quickstart__item{margin:3rem 0}.data-space__viewer__quickstart__item__header{display:flex;align-items:center;height:3rem;margin-bottom:1rem}.data-space__viewer__quickstart__item__header__title{color:var(--color-light-grey-400);font-size:2rem;font-weight:500;user-select:none}.data-space__viewer__quickstart__item__header__type{display:flex;align-items:center;height:2rem;padding:0 .5rem;border-radius:.5rem;background:var(--color-dark-grey-300);color:var(--color-light-grey-150);user-select:none;margin-left:.5rem;font-size:1.2rem;font-weight:700}.data-space__viewer__quickstart__item__header__anchor{display:flex;align-items:center;margin-left:.5rem;cursor:pointer}.data-space__viewer__quickstart__item__header__anchor svg{color:var(--color-dark-grey-300)}.data-space__viewer__quickstart__item__header__anchor:hover svg{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__description{margin-bottom:1rem}.data-space__viewer__quickstart__item__content{display:flex;flex-direction:column;margin-top:1rem}.data-space__viewer__quickstart__item__content__tab__header{display:flex;align-items:center;justify-content:space-between;height:3.4rem;padding-bottom:1rem;border-bottom:.1rem solid var(--color-dark-grey-280)}.data-space__viewer__quickstart__item__content__tabs{display:flex;align-items:center}.data-space__viewer__quickstart__item__content__tab{display:flex;align-items:center;padding:0 1rem;color:var(--color-dark-grey-300)}.data-space__viewer__quickstart__item__content__tab__icon--query{font-size:1.6rem}.data-space__viewer__quickstart__item__content__tab__icon+.data-space__viewer__quickstart__item__content__tab__label{margin-left:.5rem}.data-space__viewer__quickstart__item__content__tab:hover .data-space__viewer__quickstart__item__content__tab__label{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__content__tab:hover .data-space__viewer__quickstart__item__content__tab__icon svg{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__content__tab--active:hover .data-space__viewer__quickstart__item__content__tab__label,.data-space__viewer__quickstart__item__content__tab--active .data-space__viewer__quickstart__item__content__tab__label{color:var(--color-blue-200);font-weight:500}.data-space__viewer__quickstart__item__content__tab--active:hover .data-space__viewer__quickstart__item__content__tab__icon svg,.data-space__viewer__quickstart__item__content__tab--active .data-space__viewer__quickstart__item__content__tab__icon svg{color:var(--color-blue-200)}.data-space__viewer__quickstart__item__content__tab__content{margin-top:1rem;height:40rem}.data-space__viewer__quickstart__tds__column-specs{height:100%}.data-space__viewer__quickstart__tds__query{display:flex;align-items:center;justify-content:center;height:100%;border:.1rem solid var(--color-dark-grey-200)}.data-space__viewer__quickstart__tds__query__actions{display:flex;flex-direction:column}.data-space__viewer__quickstart__tds__query__action{display:flex;align-items:center;justify-content:center;height:2.8rem;width:25rem;border-radius:.2rem}.data-space__viewer__quickstart__tds__query__action+.data-space__viewer__quickstart__tds__query__action{margin-top:.5rem}.data-space__viewer__quickstart__tds__query-text{display:flex;flex-direction:column;height:100%}.data-space__viewer__quickstart__tds__query-text__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-200);position:relative}.data-space__viewer__quickstart__tds__query-text__actions{display:flex;align-items:center;justify-content:flex-end;height:3.8rem}.data-space__viewer__quickstart__tds__query-text__action{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem}.data-space__viewer__quickstart__tds__query-text__action svg{color:var(--color-dark-grey-500)}.data-space__viewer__quickstart__tds__query-text__action:hover svg{color:var(--color-light-grey-400)}.data-space__viewer__data-access__chart{height:15rem}.data-space__viewer__data-access__grid{height:20rem;width:100%}.data-space__viewer__execution-context__context-icon{color:var(--color-lime-75)}.data-space__viewer__execution-context__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution-context__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution-context__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution-context__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution-context__entry__content__dropdown{width:100%}.data-space__viewer__execution-context__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution-context__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution-context__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution-context__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution-context__mapping{margin-bottom:.5rem}.data-space__viewer__info__project-info__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__info__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support__email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support__email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support__email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support__email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space-preview__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-preview__dialog__container__content{max-height:100vh !important}.data-space-preview__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-preview__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-preview__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-preview__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-preview__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-preview__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-preview__dialog__content--failed{display:flex;align-items:center;height:2.8rem}.data-space-preview__dialog__content--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-preview__dialog__content--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-setup__landing-page__action--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-builder__setup__data-space-setup .query-builder__setup.panel{height:9.8rem}.query-builder__setup__data-space-setup .query-builder__side-bar__content{height:calc(100% - 9.8rem)}.query-builder__setup__data-space--with-runtime .query-builder__setup.panel{height:16.4rem}.query-builder__setup__data-space--with-runtime .query-builder__side-bar__content{height:calc(100% - 16.4rem)}.query-builder__setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-builder__setup__data-space__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__icon__execution-context{color:var(--color-lime-75)}.query-builder__setup__data-space-searcher__btn{flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem;margin-left:.5rem}.data-space-advanced-search__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-advanced-search__dialog__container__content{max-height:100vh !important}.data-space-advanced-search__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-advanced-search__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-advanced-search__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-advanced-search__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-advanced-search__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-advanced-search__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-advanced-search__dialog__input{display:flex;align-items:center;padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.data-space-advanced-search__dialog__input__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;margin-right:.5rem}.data-space-advanced-search__dialog__input__selector{width:calc(100% - 3.3rem)}.data-space-advanced-search__dialog__input__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.data-space-advanced-search__dialog__input__use-snapshot-btn svg{color:var(--color-light-grey-50)}.data-space-advanced-search__dialog__input__use-snapshot-btn--active{background:var(--color-blue-100)}.data-space-advanced-search__dialog__input__proceed-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;height:2.8rem;color:var(--color-light-grey-200);margin-left:.5rem}.data-space-advanced-search__dialog__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.data-space-advanced-search__dialog__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__view{height:calc(100% - 3.8rem);width:100%}.data-space-advanced-search__dialog__view--failed{display:flex;align-items:center;height:2.8rem}.data-space-advanced-search__dialog__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-advanced-search__dialog__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-builder__setup__mapping-execution .query-builder__setup.panel{height:9.8rem}.query-builder__setup__mapping-execution .query-builder__side-bar__content{height:calc(100% - 9.8rem)}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
|
package/lib/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-studio-plugin.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,+CACA,uDAEA,2DCDR,oBACE,YACA,WACA,kBACA,qCACA,kCACA,8BAEA,4BCSA,aACA,uBDPE,kBACA,MACA,YACA,WACA,UACA,yBACA,wBAEA,sCACE,qCACA,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-studio-plugin.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,+CACA,uDAEA,2DCDR,oBACE,YACA,WACA,kBACA,qCACA,kCACA,8BAEA,4BCSA,aACA,uBDPE,kBACA,MACA,YACA,WACA,UACA,yBACA,wBAEA,sCACE,qCACA,mDACA,WAGF,qCACE,uBACA,kBAGF,+CACE,WAGF,mCC5BF,aACA,mBACA,uBD6BI,kBACA,UACA,SACA,YACA,oBACA,eACA,iBACA,iCAEA,0CACE,iBACA,gBACA,gCAGF,mDACE,iBACA,eACA,gCAKN,0BACE,aACA,mBACA,sBACA,YACA,WACA,iBACA,uBAGF,2BACE,aACA,uBACA,YACA,aACA,kBAGF,qCACE,WAGF,sCACE,eAGF,6BACE,aACA,WACA,aACA,uDAGF,2BACE,YACA,WACA,cACA,eAMA,+CACE,2BAIA,8CACA,iDACA,mDACA,yDACA,yDACA,gDACA,yDACA,0DACA,uDACA,kDAGF,+CACE,gBAGF,yCACE,sBAKN,kCACE,WACA,kBACA,UACA,UACA,kBACA,kBACA,oBACA,sCAEA,wCACE,cACA,qDAGF,6CC3IA,aACA,mBACA,uBD4IE,cACA,WACA,iCAEA,iDACE,iBAIJ,yCACE,YACA,gBACA,kBACA,aACA,sBAGF,wCC/JA,aACA,mBACA,uBDgKE,YACA,WACA,iCACA,eAGF,4CACE,iBAGF,8CACE,kCACA,eAGF,gDACE,kCAGF,2CCxJA,YACA,cD0JE,oBACA,aACA,sCACA,aAIA,sFACE,iBAGF,wFACE,iBAGF,wFACE,iBAGF,yFACE,iBAGF,8FACE,eAGF,2FACE,iBAGF,sFACE,eAGF,4FACE,iBAGF,sFACE,iBAGF,yFACE,iBAKN,0BACE,aACA,sBACA,WAEA,mCACE,sBAEA,2CC3OF,aACA,mBD6OI,8BACA,YACA,gDACA,mBACA,gBACA,iBACA,4BAEA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D8hBI,8BACA,cACA,oBACA,qDAGF,qDCriBF,aACA,mBDwiBE,oDCziBF,aACA,mBD2iBI,eACA,iCAIA,iEACE,iBAIJ,qHACE,kBAGF,qHACE,iCAIA,wHACE,iCAIJ,oPAEE,4BACA,gBAKA,0PACE,4BAIJ,6DACE,gBACA,aAIJ,mDACE,YAGF,4CCjmBA,aACA,mBACA,uBDkmBE,YACA,8CAEA,qDACE,aACA,sBAGF,oDC5mBF,aACA,mBACA,uBD6mBI,cACA,YACA,oBAEA,wGACE,iBAKN,iDACE,aACA,sBACA,YAEA,0DACE,2BACA,8CACA,kBAGF,0DC9nBF,aACA,mBDgoBI,yBACA,cAGF,yDC3oBF,aACA,mBACA,uBD4oBI,cACA,aAEA,6DACE,iCAGF,mEACE,kCAON,wCACE,aAGF,uCACE,aACA,WAKF,qDACE,2BAGF,8CCtqBA,aACA,mBDwqBE,cACA,WAEA,oDClrBF,aACA,mBACA,uBDmrBI,cACA,aACA,8BACA,sCAEA,wDACE,iBAIJ,uDCzrBF,aACA,mBD2rBI,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,iEACE,WAEA,4EACE,cAGF,yEC7sBN,aACA,mBDgtBM,8ECjtBN,aACA,mBDmtBQ,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,6DACE,oCAKN,gDACE,oBAKF,+CChuBA,mBACA,uBACA,gBACA,sBACA,gBD+tBE,YACA,YACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CC7uBA,mBACA,uBACA,gBACA,sBACA,gBD4uBE,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CCzwBA,aACA,mBACA,uBD0wBE,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CCvxBA,aACA,mBDyxBE,gBACA,iCACA,mBACA,iBACA,eAGF,0CCjyBA,aACA,mBDmyBE,cACA,eACA,WAGF,6CC/xBA,mBACA,uBACA,gBACA,sBACA,gBD8xBE,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC5yBA,mBACA,uBACA,gBACA,sBACA,gBD2yBE,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCCl0BA,aACA,mBDo0BE,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDCp1BA,aACA,mBACA,uBDq1BE,YACA,WACA,iCACA,gBACA,+CAMA,2CC31BF,aACA,mBD61BI,cACA,WAEA,iDCv2BJ,aACA,mBACA,uBDw2BM,cACA,aACA,8BACA,sCAEA,qDACE,iBACA,kCAIJ,oDC/2BJ,aACA,mBDi3BM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBEv4BR,4BACE,0BACA,yBACA,uBAEA,gDACE,4BAGF,oCDGA,aACA,mBCDE,cAGF,6CDHA,aACA,mBCKE,YAGF,4CDfA,aACA,mBACA,uBCgBE,YACA,aAEA,gDACE,iBACA,kCAGF,sDACE,kCAIJ,qCACE,2BACA,6CAEA,6CD7BF,aACA,mBC+BI,cAEA,mDDxCJ,aACA,mBACA,uBCyCM,YAGF,mDACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBC3DR,qDACE,mCAGF,6CACE,iBAIA,oEACE,cAGF,0EACE,2BAMA,4EACE,eAGF,kFACE,4BAIJ,0CFPA,mBACA,uBACA,gBACA,sBACA,gBEME,oBAGF,gDACE,iBACA,iCACA,kBACA,mBAGF,+CACE,iBACA,2BACA,kBACA,mBAGF,2DACE,2BAKF,gDFpBA,YACA,cEsBE,cACA,aACA,kBAIJ,oCACE,0BACA,yBACA,uBAEA,wDACE,4BAGF,4CF7DA,aACA,mBE+DE,cAGF,qDFnEA,aACA,mBEqEE,YAGF,oDF/EA,aACA,mBACA,uBEgFE,YACA,aAEA,wDACE,iBACA,kCAGF,8DACE,kCAIJ,6CACE,2BACA,6CAGF,2CF9FA,aACA,mBEgGE,cACA,WACA,cACA,sCAGF,iDF7GA,aACA,mBACA,uBA2BA,YACA,cEmFE,aACA,mBAGF,qDACE,0BAGF,6DFzHA,aACA,mBACA,uBE0HE,cACA,aACA,8BACA,sCAEA,iEACE,iCAGF,qEACE,iCAIJ,wDF1IA,aACA,mBACA,uBA2BA,YACA,cEgHE,aACA,cACA,kCACA,kBAGF,4CFpIA,mBACA,uBACA,gBACA,sBACA,gBEmIE,oBAGF,kDACE,iBACA,iCACA,kBACA,mBAGF,iDACE,iBACA,2BACA,kBACA,mBAGF,0CACE,2BACA,WAEA,kDFtKF,aACA,mBEwKI,cAEA,wDFjLJ,aACA,mBACA,uBEkLM,YAGF,wDACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBAON,qEACE,cAGF,2EACE,2BC7MJ,MACE,yCAGF,kBACE","file":"index.css"}
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@finos/legend-server-depot": "workspace:*",
|
|
58
58
|
"@finos/legend-shared": "workspace:*",
|
|
59
59
|
"@finos/legend-storage": "workspace:*",
|
|
60
|
-
"@types/react": "18.0.
|
|
60
|
+
"@types/react": "18.0.33",
|
|
61
61
|
"mobx": "6.9.0",
|
|
62
62
|
"mobx-react-lite": "3.4.3",
|
|
63
63
|
"react": "18.2.0",
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
|
|
17
|
+
import type { DataSpaceViewerState } from './DataSpaceViewerState.js';
|
|
18
|
+
import type { DatasetSpecification, DatasetEntitlementReport } from '@finos/legend-graph';
|
|
19
|
+
export declare class DataSpaceDatasetInfo {
|
|
20
|
+
readonly uuid: string;
|
|
21
|
+
readonly specification: DatasetSpecification;
|
|
22
|
+
entitlementReport?: DatasetEntitlementReport | undefined;
|
|
23
|
+
constructor(specification: DatasetSpecification);
|
|
24
|
+
setEntitlementReport(val: DatasetEntitlementReport | undefined): void;
|
|
25
|
+
}
|
|
26
|
+
export declare class DataSpaceViewerDataAccessState {
|
|
27
|
+
readonly dataSpaceViewerState: DataSpaceViewerState;
|
|
28
|
+
readonly fetchDatasetSpecificationsState: ActionState;
|
|
29
|
+
readonly fetchDatasetEntitlementReportsState: ActionState;
|
|
30
|
+
datasets: DataSpaceDatasetInfo[];
|
|
31
|
+
constructor(dataSpaceViewerState: DataSpaceViewerState);
|
|
32
|
+
fetchDatasetSpecifications(): GeneratorFn<void>;
|
|
33
|
+
fetchDatasetEntitlementReports(): GeneratorFn<void>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=DataSpaceViewerDataAccessState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerDataAccessState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerDataAccessState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,IAAI,SAAU;IACvB,QAAQ,CAAC,aAAa,EAAG,oBAAoB,CAAC;IAE9C,iBAAiB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;gBAE7C,aAAa,EAAE,oBAAoB;IAS/C,oBAAoB,CAAC,GAAG,EAAE,wBAAwB,GAAG,SAAS,GAAG,IAAI;CAGtE;AAED,qBAAa,8BAA8B;IACzC,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEpD,QAAQ,CAAC,+BAA+B,cAAwB;IAChE,QAAQ,CAAC,mCAAmC,cAAwB;IAEpE,QAAQ,EAAE,oBAAoB,EAAE,CAAM;gBAE1B,oBAAoB,EAAE,oBAAoB;IAUrD,0BAA0B,IAAI,WAAW,CAAC,IAAI,CAAC;IA8B/C,8BAA8B,IAAI,WAAW,CAAC,IAAI,CAAC;CAgDrD"}
|