@finos/legend-extension-dsl-data-space 3.0.4 → 4.0.0
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/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +5 -6
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +3 -3
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_CodeSnippets.d.ts +1 -1
- package/lib/components/studio/DSLDataSpace_CodeSnippets.d.ts.map +1 -1
- package/lib/components/studio/DSLDataSpace_CodeSnippets.js +0 -3
- package/lib/components/studio/DSLDataSpace_CodeSnippets.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js +5 -8
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +5 -7
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +4 -10
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +1 -36
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +9 -93
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts +0 -3
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +0 -6
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +2 -5
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/DataSpaceViewerState.d.ts +8 -8
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +9 -9
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +6 -12
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +10 -17
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +13 -13
- package/src/components/DataSpaceViewer.tsx +18 -47
- package/src/components/query/DataSpaceQuerySetup.tsx +5 -5
- package/src/components/studio/DSLDataSpace_CodeSnippets.ts +0 -3
- package/src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx +12 -9
- package/src/index.ts +2 -1
- package/src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +14 -12
- package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +15 -170
- package/src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +0 -6
- package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +2 -4
- package/src/stores/DataSpaceViewerState.ts +18 -18
- package/src/stores/query/DataSpaceQuerySetupState.ts +30 -61
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAiCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AA8X3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoJvD,CAAC"}
|
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
17
17
|
import { useRef, useEffect, forwardRef } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { useResizeDetector } from 'react-resize-detector';
|
|
20
|
-
import { BlankPanelContent, ShapesIcon, PlayIcon, QuestionCircleIcon, EnvelopIcon, clsx, CustomSelectorInput, PURE_MappingIcon, PURE_RuntimeIcon, CogIcon, KeyIcon, FlaskIcon, ExternalLinkSquareIcon,
|
|
20
|
+
import { BlankPanelContent, ShapesIcon, PlayIcon, QuestionCircleIcon, EnvelopIcon, clsx, CustomSelectorInput, PURE_MappingIcon, PURE_RuntimeIcon, CogIcon, KeyIcon, FlaskIcon, ExternalLinkSquareIcon, 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/DSLDataSpace_DataSpace.js';
|
|
23
23
|
import { DATA_SPACE_VIEWER_ACTIVITY_MODE, } from '../stores/DataSpaceViewerState.js';
|
|
@@ -110,8 +110,8 @@ const DataSpaceTags = observer((props) => {
|
|
|
110
110
|
const { dataSpaceViewerState } = props;
|
|
111
111
|
const dataSpace = dataSpaceViewerState.dataSpace;
|
|
112
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((
|
|
114
|
-
dataSpace.stereotypes.map((
|
|
113
|
+
dataSpace.taggedValues.map((taggedValue) => (_jsxs("div", { className: "data-space__viewer__tags__section__entry", children: [_jsx("div", { className: "data-space__viewer__tags__tagged-value__tag", title: `${taggedValue.tag.ownerReference.value.name}.${taggedValue.tag.value.value}`, children: taggedValue.tag.value.value }), _jsx("div", { className: "data-space__viewer__tags__tagged-value__value", children: taggedValue.value })] }, taggedValue._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((stereotype) => (_jsx("div", { className: "data-space__viewer__tags__section__entry", title: `${stereotype.ownerReference.value.name}.${stereotype.value.value}`, children: _jsx("div", { className: "data-space__viewer__tags__steoreotype", children: stereotype.value.value }) }, stereotype.value._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;
|
|
@@ -168,9 +168,8 @@ export const DataSpaceViewer = observer((props) => {
|
|
|
168
168
|
icon: _jsx(QuestionCircleIcon, {}),
|
|
169
169
|
},
|
|
170
170
|
];
|
|
171
|
-
const
|
|
172
|
-
|
|
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', {
|
|
171
|
+
const viewProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, dataSpace.path);
|
|
172
|
+
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 Project", onClick: viewProject, children: [_jsx("div", { className: "data-space__viewer__path__label", children: dataSpace.path }), _jsx("div", { className: "data-space__viewer__path__link", children: _jsx(ExternalLinkSquareIcon, {}) })] }), _jsx("div", { className: clsx('data-space__viewer__description', {
|
|
174
173
|
'data-space__viewer__description--empty': !dataSpace.description,
|
|
175
174
|
}), 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
175
|
'data-space__viewer__activity-bar__item--active': dataSpaceViewerState.currentActivity === activity.mode,
|
|
@@ -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,UAAU,EAAE,MAAM,OAAO,CAAC;AACtD,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,yFAAyF,CAAC;AAGjG,OAAO,EAEL,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAQ3C,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,GACpB,GAAoD,CAAC;IAEvD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,iBAAiB,CAAiB;QAC1D,WAAW,EAAE,UAAU;QACvB,WAAW,EAAE,EAAE;QACf,SAAS,EAAE,gBAAgB;KAC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ACnD,KAAC,uBAAuB,IACtB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,wBAAwB,IACvB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,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"}
|
|
1
|
+
{"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtD,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,mBAA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AC,IAAI,IATT,QAAQ,CAAC,IAAI,CAUX,CACV,CAAC,GACE,GACF,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC5C,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,eAAe,IAAI,CACnD,KAAC,uBAAuB,IACtB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,wBAAwB,IACvB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,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"}
|
|
@@ -23,9 +23,9 @@ import { flowResult } from 'mobx';
|
|
|
23
23
|
import { observer } from 'mobx-react-lite';
|
|
24
24
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
25
25
|
import { DataSpaceViewer } from '../DataSpaceViewer.js';
|
|
26
|
-
const buildDataSpaceOption = (
|
|
27
|
-
label:
|
|
28
|
-
value:
|
|
26
|
+
const buildDataSpaceOption = (value) => ({
|
|
27
|
+
label: value.path,
|
|
28
|
+
value: value,
|
|
29
29
|
});
|
|
30
30
|
export const DataspaceQuerySetup = observer((props) => {
|
|
31
31
|
const { querySetupState } = props;
|
|
@@ -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,uBAAuB,CAAC;AAGxD,MAAM,oBAAoB,GAAG,CAAC,
|
|
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,mBAA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ACL,IACL,EACN,eAAK,SAAS,EAAC,+BAA+B,aAC5C,KAAC,qBAAqB,IACpB,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAAC,YAAY,GAC3D,EACD,eAAe,CAAC,oBAAoB,IAAI,CACvC,KAAC,eAAe,IACd,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,GAC1D,CACH,EACA,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,YAAY,IAAI,CAClD,KAAC,iBAAiB,cACf,eAAe,CAAC,UAAU,CAAC,eAAe,CAAC,OAAO;oCACjD,eAAe,CAAC,UAAU,CAAC,iBAAiB;yCACzC,gBAAgB,CAAC,OAAO;oCAC3B,eAAe,CAAC,UAAU,CAAC,iBAAiB;yCACzC,sBAAsB,CAAC,OAAO;oCACjC,eAAe,CAAC,UAAU,CAAC,iBAAiB;yCACzC,qBAAqB,CAAC,OAAO;oCAChC,eAAe,CAAC,UAAU,CAAC,iBAAiB,CAAC,eAAe;yCACzD,OAAO,GACM,CACrB,EACF,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,SAAS,IAAI,CAC/C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,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"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export declare const SIMPLE_DATA_SPACE_SNIPPET = "DataSpace ${1:model::NewDataSpace}\n{\n
|
|
16
|
+
export declare const SIMPLE_DATA_SPACE_SNIPPET = "DataSpace ${1:model::NewDataSpace}\n{\n executionContexts:\n [\n {\n name: '${5:Some Context}';\n description: 'some information about the execution context';\n mapping: ${6:model::SomeMapping};\n defaultRuntime: ${7:model::SomeRuntime};\n }\n ];\n defaultExecutionContext: '${5:Some Context}';\n // description: 'description of the data models';\n // featuredDiagrams:\n // [\n // model::SomeDiagram\n // ];\n // supportInfo: Email {\n // address: 'someEmail@test.org';\n // };\n}";
|
|
17
17
|
//# sourceMappingURL=DSLDataSpace_CodeSnippets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_CodeSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_CodeSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,yBAAyB,ghBAoBpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_CodeSnippets.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_CodeSnippets.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;EAoBvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,gCAAgC,EAErC,KAAK,yBAAyB,EAG9B,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EAErD,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,gCAAgC,EAErC,KAAK,yBAAyB,EAG9B,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EAErD,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAwB9B,qBAAa,+BACX,SAAQ,kBACR,YAAW,gCAAgC;;IAMlC,iCAAiC,IAAI,MAAM,EAAE;IAOtD,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA0BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qCAAqC,IAAI,MAAM,EAAE;IAIjD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgBhH"}
|
|
@@ -17,8 +17,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
18
|
import { UnsupportedElementEditorState, LegendStudioPlugin, } from '@finos/legend-studio';
|
|
19
19
|
import { SquareIcon } from '@finos/legend-art';
|
|
20
|
+
import { PackageableElementExplicitReference, stub_Mapping, stub_PackageableRuntime, } from '@finos/legend-graph';
|
|
20
21
|
import { DataSpace, DataSpaceExecutionContext, } from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
21
|
-
import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
|
|
22
22
|
import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLDataSpace_LegendStudioDocumentation.js';
|
|
23
23
|
import { PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_DATA_SPACE_PARSER_NAME, } from '../../graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
|
|
24
24
|
import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets.js';
|
|
@@ -62,15 +62,12 @@ export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
|
|
|
62
62
|
(type, name, state) => {
|
|
63
63
|
if (type === DATA_SPACE_ELEMENT_TYPE) {
|
|
64
64
|
const dataSpace = new DataSpace(name);
|
|
65
|
-
dataSpace.groupId =
|
|
66
|
-
state.editorStore.projectConfigurationEditorState.currentProjectConfiguration.groupId;
|
|
67
|
-
dataSpace.artifactId =
|
|
68
|
-
state.editorStore.projectConfigurationEditorState.currentProjectConfiguration.artifactId;
|
|
69
|
-
dataSpace.versionId = LATEST_VERSION_ALIAS;
|
|
70
65
|
const dataSpaceExecutionContext = new DataSpaceExecutionContext();
|
|
71
66
|
dataSpaceExecutionContext.name = 'dummyContext';
|
|
72
|
-
dataSpaceExecutionContext.mapping =
|
|
73
|
-
|
|
67
|
+
dataSpaceExecutionContext.mapping =
|
|
68
|
+
PackageableElementExplicitReference.create(stub_Mapping());
|
|
69
|
+
dataSpaceExecutionContext.defaultRuntime =
|
|
70
|
+
PackageableElementExplicitReference.create(stub_PackageableRuntime());
|
|
74
71
|
dataSpace.executionContexts = [dataSpaceExecutionContext];
|
|
75
72
|
dataSpace.defaultExecutionContext = dataSpaceExecutionContext;
|
|
76
73
|
return dataSpace;
|
|
@@ -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,EAeL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
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,EAeL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mCAAmC,EACnC,YAAY,EACZ,uBAAuB,GAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,4FAA4F,CAAC;AACpG,OAAO,EAAE,8CAA8C,EAAE,MAAM,6CAA6C,CAAC;AAC7G,OAAO,EACL,0CAA0C,EAC1C,mCAAmC,GACpC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAG3E,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAC7C,MAAM,4CAA4C,GAChD,6BAA6B,CAAC;AAEhC,MAAM,OAAO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CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,mCAAmC;oBACzC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,8CAA8C,CAAC,cAAc,CAC9D;oBACH,UAAU,EAAE,mCAAmC;iBAChD;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,mCAAmC;gBACnD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,0CAA0C;wBAChD,UAAU,EAAE,yBAAyB;qBACtC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license @finos/legend-extension-dsl-data-space
|
|
1
|
+
/** @license @finos/legend-extension-dsl-data-space v4.0.0
|
|
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'@finos/legend-extension-dsl-diagram/lib/index.css';.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:17rem}.data-space__viewer__path{display:flex;align-items:center;justify-content:center;height:3.4rem;background:var(--color-blue-150)}.data-space__viewer__path__label{display:flex;align-items:center;justify-content:center;height:100%;font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0)}.data-space__viewer__path__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__path__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__gav{display:flex;align-items:center;justify-content:center;user-select:none;height:2.8rem;font-size:1.4rem;color:var(--color-dark-grey-400);border:.1rem solid var(--color-dark-grey-85);padding:.5rem 1rem;margin:1rem;font-family:"Roboto Mono",monospace}.data-space__viewer__gav__artifact-id{color:var(--color-light-grey-400);white-space:nowrap}.data-space__viewer__gav__version-id{color:var(--color-blue-50);font-weight:700}.data-space__viewer__gav__link{display:flex;align-items:center;justify-content:center;margin-left:.5rem}.data-space__viewer__gav__link svg{color:var(--color-blue-50)}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 17rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.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: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__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__diagrams__dropdown__option{display:flex;align-items:center}.data-space__viewer__diagrams__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{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__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__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__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__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__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__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__tags{padding:2rem}.data-space__viewer__tags__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__tags__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__tags__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__tags__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__tags__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__tags__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__tags__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-info{padding:2rem}.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}.query-setup__landing-page__option--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-setup__data-space{width:calc(100% - 10rem);height:calc(100% - 10rem)}.query-setup__data-space__header{background:var(--color-yellow-100)}.query-setup__data-space__input-group{padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.query-setup__data-space__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)}.query-setup__data-space__use-snapshot-btn svg{color:var(--color-light-grey-50)}.query-setup__data-space__use-snapshot-btn--active{background:var(--color-blue-100)}.query-setup__data-space .query-setup__wizard__selector{width:100%}.query-setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__view{height:calc(100% - 3.8rem);width:100%}.query-setup__data-space__view--failed{display:flex;align-items:center;height:2.8rem}.query-setup__data-space__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.query-setup__data-space__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}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
|
|
17
|
+
@import'@finos/legend-extension-dsl-diagram/lib/index.css';.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:13rem}.data-space__viewer__path{display:flex;align-items:center;justify-content:center;height:3.4rem;background:var(--color-blue-150)}.data-space__viewer__path__label{display:flex;align-items:center;justify-content:center;height:100%;font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0)}.data-space__viewer__path__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__path__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;margin-top:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 13rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.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: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__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__diagrams__dropdown__option{display:flex;align-items:center}.data-space__viewer__diagrams__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{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__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__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__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__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__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__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__tags{padding:2rem}.data-space__viewer__tags__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__tags__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__tags__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__tags__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__tags__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__tags__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__tags__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-info{padding:2rem}.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}.query-setup__landing-page__option--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-setup__data-space{width:calc(100% - 10rem);height:calc(100% - 10rem)}.query-setup__data-space__header{background:var(--color-yellow-100)}.query-setup__data-space__input-group{padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.query-setup__data-space__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)}.query-setup__data-space__use-snapshot-btn svg{color:var(--color-light-grey-50)}.query-setup__data-space__use-snapshot-btn--active{background:var(--color-blue-100)}.query-setup__data-space .query-setup__wizard__selector{width:100%}.query-setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__view{height:calc(100% - 3.8rem);width:100%}.query-setup__data-space__view--failed{display:flex;align-items:center;height:2.8rem}.query-setup__data-space__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.query-setup__data-space__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}: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-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,0BCTA,aACA,mBACA,uBDUE,cACA,iCAEA,iCCfF,aACA,mBACA,uBDgBI,YACA,oCACA,iBACA,eACA,iBACA,gCAGF,gCC1BF,aACA,mBACA,uBD2BI,cACA,aACA,oDAEA,oCACE,iBACA,gCAKN,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,0BCTA,aACA,mBACA,uBDUE,cACA,iCAEA,iCCfF,aACA,mBACA,uBDgBI,YACA,oCACA,iBACA,eACA,iBACA,gCAGF,gCC1BF,aACA,mBACA,uBD2BI,cACA,aACA,oDAEA,oCACE,iBACA,gCAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCCtDF,aACA,mBACA,uBDuDI,gBACA,iCAIJ,6BC9DA,aACA,mBACA,uBD+DE,0BACA,oBAGF,0BCrEA,aACA,mBACA,uBDsEE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCCzFF,aACA,mBACA,uBD0FI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCC5HF,aACA,mBD8HI,cACA,WAGF,sCCnIF,aACA,mBDqII,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CCnJJ,aACA,mBACA,uBDoJM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAGF,gDC9KJ,aACA,mBDiLI,qDClLJ,aACA,mBDoLM,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAKN,+BACE,aAEA,6CACE,kCAGF,sCCvMF,aACA,mBDyMI,cACA,WAEA,4CCnNJ,aACA,mBACA,uBDoNM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CC1NJ,aACA,mBD4NM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iEC9OR,aACA,mBDiPQ,sEClPR,aACA,mBDoPU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDC1RJ,aACA,mBACA,uBD2RM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,mCACE,eACA,oBAGF,0CCzSF,aACA,mBD2SI,gBACA,iCACA,mBACA,iBACA,eAGF,0CCnTF,aACA,mBDqTI,cACA,eACA,WAGF,6CCjTF,mBACA,uBACA,gBACA,sBACA,gBDgTI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC9TF,mBACA,uBACA,gBACA,sBACA,gBD6TI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCCpVF,aACA,mBDsVI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDCtWF,aACA,mBACA,uBDuWI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CChXF,aACA,mBDkXI,cACA,WAEA,gDC5XJ,aACA,mBACA,uBD6XM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDCpYJ,aACA,mBDsYM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBE5ZR,qDACE,mCAGF,6CACE,iBAGF,yBACE,yBACA,0BAEA,iCACE,mCAGF,sCACE,cACA,WACA,cACA,sCAGF,2CDjBA,aACA,mBACA,uBCkBE,cACA,aACA,8BACA,sCAEA,+CACE,iCAGF,mDACE,iCAIJ,wDACE,WAGF,iCDtBA,mBACA,uBACA,gBACA,sBACA,gBCqBE,oBAGF,sCACE,iBACA,iCACA,kBACA,mBAGF,+BACE,2BACA,WAEA,uCDjDF,aACA,mBCmDI,cAEA,6CD5DJ,aACA,mBACA,uBC6DM,YAGF,6CACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBC7ER,MACE,yCAGF,kBACE","file":"index.css"}
|
package/lib/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './DSLDataSpace_Extension.js';
|
|
|
17
17
|
export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin.js';
|
|
18
18
|
export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin.js';
|
|
19
19
|
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
20
|
-
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes,
|
|
20
|
+
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
21
21
|
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
|
|
22
|
+
export * from './graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AAEtG,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AAEtG,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,qEAAqE,CAAC;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -17,6 +17,7 @@ export * from './DSLDataSpace_Extension.js';
|
|
|
17
17
|
export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin.js';
|
|
18
18
|
export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin.js';
|
|
19
19
|
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
20
|
-
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes,
|
|
20
|
+
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
21
21
|
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
|
|
22
|
+
export * from './graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AAEtG,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AAEtG,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,qEAAqE,CAAC;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC"}
|
package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts
CHANGED
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
|
17
|
-
import { PackageableElement, type PackageableElementVisitor } from '@finos/legend-graph';
|
|
17
|
+
import { PackageableElement, type PackageableElementReference, type Mapping, type PackageableRuntime, type PackageableElementVisitor } from '@finos/legend-graph';
|
|
18
|
+
import type { Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
18
19
|
export declare abstract class DataSpaceSupportInfo implements Hashable {
|
|
19
20
|
abstract get hashCode(): string;
|
|
20
21
|
}
|
|
@@ -25,17 +26,14 @@ export declare class DataSpaceSupportEmail extends DataSpaceSupportInfo implemen
|
|
|
25
26
|
export declare class DataSpaceExecutionContext implements Hashable {
|
|
26
27
|
name: string;
|
|
27
28
|
description?: string | undefined;
|
|
28
|
-
mapping:
|
|
29
|
-
defaultRuntime:
|
|
29
|
+
mapping: PackageableElementReference<Mapping>;
|
|
30
|
+
defaultRuntime: PackageableElementReference<PackageableRuntime>;
|
|
30
31
|
get hashCode(): string;
|
|
31
32
|
}
|
|
32
33
|
export declare class DataSpace extends PackageableElement implements Hashable {
|
|
33
|
-
groupId: string;
|
|
34
|
-
artifactId: string;
|
|
35
|
-
versionId: string;
|
|
36
34
|
executionContexts: DataSpaceExecutionContext[];
|
|
37
35
|
defaultExecutionContext: DataSpaceExecutionContext;
|
|
38
|
-
featuredDiagrams
|
|
36
|
+
featuredDiagrams?: PackageableElementReference<Diagram>[] | undefined;
|
|
39
37
|
description?: string | undefined;
|
|
40
38
|
supportInfo?: DataSpaceSupportInfo | undefined;
|
|
41
39
|
protected get _elementHashCode(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC/B,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../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C,CAAC;CAGL"}
|
package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js
CHANGED
|
@@ -37,18 +37,15 @@ export class DataSpaceExecutionContext {
|
|
|
37
37
|
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE_EXECUTION_CONTEXT,
|
|
38
38
|
this.name,
|
|
39
39
|
this.description ?? '',
|
|
40
|
-
this.mapping,
|
|
41
|
-
this.defaultRuntime,
|
|
40
|
+
this.mapping.valueForSerialization ?? '',
|
|
41
|
+
this.defaultRuntime.valueForSerialization ?? '',
|
|
42
42
|
]);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
export class DataSpace extends PackageableElement {
|
|
46
|
-
groupId;
|
|
47
|
-
artifactId;
|
|
48
|
-
versionId;
|
|
49
46
|
executionContexts = [];
|
|
50
47
|
defaultExecutionContext;
|
|
51
|
-
featuredDiagrams
|
|
48
|
+
featuredDiagrams;
|
|
52
49
|
description;
|
|
53
50
|
supportInfo;
|
|
54
51
|
get _elementHashCode() {
|
|
@@ -56,12 +53,9 @@ export class DataSpace extends PackageableElement {
|
|
|
56
53
|
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE,
|
|
57
54
|
hashArray(this.stereotypes.map((stereotype) => stereotype.pointerHashCode)),
|
|
58
55
|
hashArray(this.taggedValues),
|
|
59
|
-
this.groupId,
|
|
60
|
-
this.artifactId,
|
|
61
|
-
this.versionId,
|
|
62
56
|
hashArray(this.executionContexts),
|
|
63
57
|
this.defaultExecutionContext.name,
|
|
64
|
-
hashArray(this.featuredDiagrams),
|
|
58
|
+
hashArray((this.featuredDiagrams ?? []).map((diagram) => diagram.valueForSerialization ?? '')),
|
|
65
59
|
this.description ?? '',
|
|
66
60
|
this.supportInfo ?? '',
|
|
67
61
|
]);
|
package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,GAKnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAGtF,MAAM,OAAgB,oBAAoB;CAEzC;AAED,MAAM,OAAO,qBACX,SAAQ,oBAAoB;IAG5B,OAAO,CAAU;IAEjB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,wBAAwB;YAClD,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,yBAAyB;IACpC,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAwC;IAC/C,cAAc,CAAmD;IAEjE,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,4BAA4B;YACtD,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;YACxC,IAAI,CAAC,cAAc,CAAC,qBAAqB,IAAI,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAC/C,iBAAiB,GAAgC,EAAE,CAAC;IACpD,uBAAuB,CAA6B;IACpD,gBAAgB,CAAsD;IACtE,WAAW,CAAsB;IACjC,WAAW,CAAoC;IAE/C,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,UAAU;YACpC,SAAS,CACP,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,CACjE;YACD,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC;YAC5B,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,uBAAuB,CAAC,IAAI;YACjC,SAAS,CACP,CAAC,IAAI,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAC/B,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE,CACjD,CACF;YACD,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { V1_DataSpace } from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
|
|
17
17
|
import { type PlainObject } from '@finos/legend-shared';
|
|
18
|
-
import { type
|
|
19
|
-
import { type Mapping, type PackageableElementReference, type PackageableRuntime, type PureModel, type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_PureModelContextData, PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
|
|
20
|
-
import { type Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
18
|
+
import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_PureModelContextData, PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
|
|
21
19
|
export declare const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = "meta::pure::metamodel::dataSpace::DataSpace";
|
|
22
20
|
export declare class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
|
23
21
|
constructor();
|
|
@@ -28,38 +26,5 @@ export declare class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtoc
|
|
|
28
26
|
V1_getExtraElementProtocolDeserializers(): V1_ElementProtocolDeserializer[];
|
|
29
27
|
V1_getExtraElementTransformers(): V1_ElementTransformer[];
|
|
30
28
|
}
|
|
31
|
-
export declare class ResolvedDataSpaceExecutionContext {
|
|
32
|
-
name: string;
|
|
33
|
-
description?: string | undefined;
|
|
34
|
-
mapping: PackageableElementReference<Mapping>;
|
|
35
|
-
defaultRuntime: PackageableElementReference<PackageableRuntime>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* When we actually need to use the data space, we want to resolve all of its
|
|
39
|
-
* element pointers to actual reference, hence this model.
|
|
40
|
-
*/
|
|
41
|
-
export declare class ResolvedDataSpace {
|
|
42
|
-
taggedValues: {
|
|
43
|
-
uuid: string;
|
|
44
|
-
profile: string;
|
|
45
|
-
tag: string;
|
|
46
|
-
value: string;
|
|
47
|
-
}[];
|
|
48
|
-
stereotypes: {
|
|
49
|
-
uuid: string;
|
|
50
|
-
profile: string;
|
|
51
|
-
stereotype: string;
|
|
52
|
-
}[];
|
|
53
|
-
path: string;
|
|
54
|
-
groupId: string;
|
|
55
|
-
artifactId: string;
|
|
56
|
-
versionId: string;
|
|
57
|
-
executionContexts: ResolvedDataSpaceExecutionContext[];
|
|
58
|
-
defaultExecutionContext: ResolvedDataSpaceExecutionContext;
|
|
59
|
-
featuredDiagrams: PackageableElementReference<Diagram>[];
|
|
60
|
-
description?: string | undefined;
|
|
61
|
-
supportInfo?: DataSpaceSupportInfo | undefined;
|
|
62
|
-
}
|
|
63
|
-
export declare const getResolvedDataSpace: (json: PlainObject<V1_DataSpace>, graph: PureModel) => ResolvedDataSpace;
|
|
64
29
|
export declare const extractDataSpaceTaxonomyNodes: (json: PlainObject<V1_DataSpace>) => string[];
|
|
65
30
|
//# sourceMappingURL=DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EACL,KAAK,WAAW,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAM7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAmGxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;CA2DnE;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
|