@finos/legend-extension-dsl-data-space 9.0.44 → 9.0.45

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.
@@ -0,0 +1,26 @@
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
+ /// <reference types="react" resolution-mode="require"/>
17
+ import { LegendApplicationPlugin, type LegendApplicationPluginManager } from '@finos/legend-application';
18
+ import type { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
19
+ export type CheckEntitlementEditorRender = (dataSpaceViewerState: DataSpaceViewerState) => React.ReactNode | undefined;
20
+ export declare class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlugin {
21
+ static NAME: string;
22
+ constructor();
23
+ install(pluginManager: LegendApplicationPluginManager<LegendApplicationPlugin>): void;
24
+ getCheckEntitlementsEditorRender(): CheckEntitlementEditorRender | undefined;
25
+ }
26
+ //# sourceMappingURL=DSL_DataSpace_LegendApplicationPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EACL,uBAAuB,EACvB,KAAK,8BAA8B,EACpC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,MAAM,MAAM,4BAA4B,GAAG,CACzC,oBAAoB,EAAE,oBAAoB,KACvC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,qCAAsC,SAAQ,uBAAuB;IAChF,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIP,gCAAgC,IAAI,4BAA4B,GAAG,SAAS;CAG7E"}
@@ -0,0 +1,30 @@
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 { LegendApplicationPlugin, } from '@finos/legend-application';
17
+ import packageJson from '../../package.json';
18
+ export class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlugin {
19
+ static NAME = packageJson.extensions.applicationPlugin;
20
+ constructor() {
21
+ super(DSL_DataSpace_LegendApplicationPlugin.NAME, packageJson.version);
22
+ }
23
+ install(pluginManager) {
24
+ pluginManager.registerApplicationPlugin(this);
25
+ }
26
+ getCheckEntitlementsEditorRender() {
27
+ return undefined;
28
+ }
29
+ }
30
+ //# sourceMappingURL=DSL_DataSpace_LegendApplicationPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,GAExB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAO7C,MAAM,OAAO,qCAAsC,SAAQ,uBAAuB;IAChF,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,qCAAqC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACzE,CAAC;IAED,OAAO,CACL,aAAsE;QAEtE,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAED,gCAAgC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAqa3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA2KvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AA0b3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAgLvD,CAAC"}
@@ -23,6 +23,7 @@ import { extractElementNameFromPath, } from '@finos/legend-graph';
23
23
  import { DATA_SPACE_VIEWER_ACTIVITY_MODE, } from '../stores/DataSpaceViewerState.js';
24
24
  import { generateGAVCoordinates } from '@finos/legend-storage';
25
25
  import { useApplicationStore } from '@finos/legend-application';
26
+ import { DSL_DataSpace_LegendApplicationPlugin } from './DSL_DataSpace_LegendApplicationPlugin.js';
26
27
  const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanvas(props, ref) {
27
28
  const { dataSpaceViewerState, diagram } = props;
28
29
  const diagramCanvasRef = ref;
@@ -129,6 +130,16 @@ const DataSpaceSupportInfoViewerInner = observer((props) => {
129
130
  }
130
131
  return (_jsx(BlankPanelContent, { children: "Can't display support info" }));
131
132
  });
133
+ const renderDataSpaceCheckEntitlementsEditor = (dataSpaceViewerState, plugins) => {
134
+ const checkEntitlementsEditorRenderers = plugins.flatMap((plugin) => plugin.getCheckEntitlementsEditorRender() ?? []);
135
+ for (const editorRenderer of checkEntitlementsEditorRenderers) {
136
+ const editor = editorRenderer(dataSpaceViewerState);
137
+ if (editor) {
138
+ return editor;
139
+ }
140
+ }
141
+ return (_jsx(BlankPanelContent, { children: "Check entitlement(s) (Work in Progress)" }));
142
+ };
132
143
  export const DataSpaceViewer = observer((props) => {
133
144
  const { dataSpaceViewerState } = props;
134
145
  const applicationStore = useApplicationStore();
@@ -186,7 +197,10 @@ export const DataSpaceViewer = observer((props) => {
186
197
  }), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode))) }) }), _jsxs("div", { className: "data-space__viewer__main-panel", children: [dataSpaceViewerState.currentActivity ===
187
198
  DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_OVERVIEW && (_jsx(DataSpaceModelsOverview, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
188
199
  DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION && (_jsx(DataSpaceExecutionViewer, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
189
- DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT && (_jsx(BlankPanelContent, { children: "Request entitlement(s) (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
200
+ DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT &&
201
+ renderDataSpaceCheckEntitlementsEditor(dataSpaceViewerState, applicationStore.pluginManager
202
+ .getApplicationPlugins()
203
+ .filter((plugin) => plugin instanceof DSL_DataSpace_LegendApplicationPlugin)), dataSpaceViewerState.currentActivity ===
190
204
  DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_DATA && (_jsx(BlankPanelContent, { children: "View test data (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
191
205
  DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_COVERAGE && (_jsx(BlankPanelContent, { children: "View test coverage (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
192
206
  DATA_SPACE_VIEWER_ACTIVITY_MODE.INFO && (_jsx(DataSpaceInfo, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
@@ -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,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,UAAU,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wFAAwF,CAAC;AAC/H,OAAO,EACL,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,m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;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,GAC1C,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,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,UAAU,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wFAAwF,CAAC;AAC/H,OAAO,EACL,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,+BAA+B,GAChC,MAAM,mCA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end-extension-dsl-data-space v9.0.44
1
+ /** @license @finos/legend-extension-dsl-data-space v9.0.45
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/index.d.ts CHANGED
@@ -16,6 +16,7 @@
16
16
  export * from './DSL_DataSpace_Extension.js';
17
17
  export { DSL_DataSpace_LegendStudioApplicationPlugin } from './components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js';
18
18
  export { DSL_DataSpace_LegendQueryApplicationPlugin } from './components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js';
19
+ export { DSL_DataSpace_LegendApplicationPlugin } from './components/DSL_DataSpace_LegendApplicationPlugin.js';
19
20
  export { DataSpaceViewer } from './components/DataSpaceViewer.js';
20
21
  export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
21
22
  export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAE9H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,2EAA2E,CAAC;AAEnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,oDAAoD,CAAC;AACnE,OAAO,EAAE,sCAAsC,EAAE,MAAM,yEAAyE,CAAC;AACjI,cAAc,sDAAsD,CAAC;AAErE,cAAc,4DAA4D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAC9H,OAAO,EAAE,qCAAqC,EAAE,MAAM,uDAAuD,CAAC;AAE9G,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,2EAA2E,CAAC;AAEnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,oDAAoD,CAAC;AACnE,OAAO,EAAE,sCAAsC,EAAE,MAAM,yEAAyE,CAAC;AACjI,cAAc,sDAAsD,CAAC;AAErE,cAAc,4DAA4D,CAAC"}
package/lib/index.js CHANGED
@@ -16,6 +16,7 @@
16
16
  export * from './DSL_DataSpace_Extension.js';
17
17
  export { DSL_DataSpace_LegendStudioApplicationPlugin } from './components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js';
18
18
  export { DSL_DataSpace_LegendQueryApplicationPlugin } from './components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js';
19
+ export { DSL_DataSpace_LegendApplicationPlugin } from './components/DSL_DataSpace_LegendApplicationPlugin.js';
19
20
  export { DataSpaceViewer } from './components/DataSpaceViewer.js';
20
21
  export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
21
22
  export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
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,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAE9H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,2EAA2E,CAAC;AAEnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,oDAAoD,CAAC;AACnE,OAAO,EAAE,sCAAsC,EAAE,MAAM,yEAAyE,CAAC;AACjI,cAAc,sDAAsD,CAAC;AAErE,cAAc,4DAA4D,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAC9H,OAAO,EAAE,qCAAqC,EAAE,MAAM,uDAAuD,CAAC;AAE9G,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,2EAA2E,CAAC;AAEnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,oDAAoD,CAAC;AACnE,OAAO,EAAE,sCAAsC,EAAE,MAAM,yEAAyE,CAAC;AACjI,cAAc,sDAAsD,CAAC;AAErE,cAAc,4DAA4D,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "9.0.44",
3
+ "version": "9.0.45",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -78,6 +78,7 @@
78
78
  "directory": "build/publishContent"
79
79
  },
80
80
  "extensions": {
81
+ "applicationPlugin": "@finos/legend-application-plugin-dsl-data-space",
81
82
  "graphManagerPreset": "@finos/legend-graph-manager-preset-dsl-data-space",
82
83
  "pureProtocolProcessorPlugin": "@finos/legend-pure-protocol-processor-plugin-dsl-data-space",
83
84
  "pureGraphManagerPlugin": "@finos/legend-pure-graph-manager-plugin-dsl-data-space",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "9.0.44",
3
+ "version": "9.0.45",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,16 +43,16 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "11.0.1",
47
- "@finos/legend-application-query": "10.0.1",
48
- "@finos/legend-application-studio": "22.4.6",
49
- "@finos/legend-art": "5.0.29",
50
- "@finos/legend-extension-dsl-diagram": "7.1.35",
51
- "@finos/legend-graph": "23.0.1",
52
- "@finos/legend-query-builder": "0.6.29",
53
- "@finos/legend-server-depot": "4.4.2",
54
- "@finos/legend-shared": "6.2.22",
55
- "@finos/legend-storage": "3.0.37",
46
+ "@finos/legend-application": "11.0.2",
47
+ "@finos/legend-application-query": "10.0.2",
48
+ "@finos/legend-application-studio": "22.4.7",
49
+ "@finos/legend-art": "5.0.30",
50
+ "@finos/legend-extension-dsl-diagram": "7.1.36",
51
+ "@finos/legend-graph": "23.0.2",
52
+ "@finos/legend-query-builder": "0.6.30",
53
+ "@finos/legend-server-depot": "4.4.3",
54
+ "@finos/legend-shared": "6.2.23",
55
+ "@finos/legend-storage": "3.0.38",
56
56
  "@types/react": "18.0.28",
57
57
  "mobx": "6.8.0",
58
58
  "mobx-react-lite": "3.4.0",
@@ -78,6 +78,7 @@
78
78
  "directory": "build/publishContent"
79
79
  },
80
80
  "extensions": {
81
+ "applicationPlugin": "@finos/legend-application-plugin-dsl-data-space",
81
82
  "graphManagerPreset": "@finos/legend-graph-manager-preset-dsl-data-space",
82
83
  "pureProtocolProcessorPlugin": "@finos/legend-pure-protocol-processor-plugin-dsl-data-space",
83
84
  "pureGraphManagerPlugin": "@finos/legend-pure-graph-manager-plugin-dsl-data-space",
@@ -0,0 +1,44 @@
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
+
17
+ import {
18
+ LegendApplicationPlugin,
19
+ type LegendApplicationPluginManager,
20
+ } from '@finos/legend-application';
21
+ import packageJson from '../../package.json';
22
+ import type { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
23
+
24
+ export type CheckEntitlementEditorRender = (
25
+ dataSpaceViewerState: DataSpaceViewerState,
26
+ ) => React.ReactNode | undefined;
27
+
28
+ export class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlugin {
29
+ static NAME = packageJson.extensions.applicationPlugin;
30
+
31
+ constructor() {
32
+ super(DSL_DataSpace_LegendApplicationPlugin.NAME, packageJson.version);
33
+ }
34
+
35
+ install(
36
+ pluginManager: LegendApplicationPluginManager<LegendApplicationPlugin>,
37
+ ): void {
38
+ pluginManager.registerApplicationPlugin(this);
39
+ }
40
+
41
+ getCheckEntitlementsEditorRender(): CheckEntitlementEditorRender | undefined {
42
+ return undefined;
43
+ }
44
+ }
@@ -55,6 +55,7 @@ import {
55
55
  import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
56
56
  import { generateGAVCoordinates } from '@finos/legend-storage';
57
57
  import { useApplicationStore } from '@finos/legend-application';
58
+ import { DSL_DataSpace_LegendApplicationPlugin } from './DSL_DataSpace_LegendApplicationPlugin.js';
58
59
 
59
60
  interface DataSpaceViewerActivityConfig {
60
61
  mode: DATA_SPACE_VIEWER_ACTIVITY_MODE;
@@ -472,6 +473,26 @@ const DataSpaceSupportInfoViewerInner = observer(
472
473
  },
473
474
  );
474
475
 
476
+ const renderDataSpaceCheckEntitlementsEditor = (
477
+ dataSpaceViewerState: DataSpaceViewerState,
478
+ plugins: DSL_DataSpace_LegendApplicationPlugin[],
479
+ ): React.ReactNode => {
480
+ const checkEntitlementsEditorRenderers = plugins.flatMap(
481
+ (plugin) => plugin.getCheckEntitlementsEditorRender() ?? [],
482
+ );
483
+ for (const editorRenderer of checkEntitlementsEditorRenderers) {
484
+ const editor = editorRenderer(dataSpaceViewerState);
485
+ if (editor) {
486
+ return editor;
487
+ }
488
+ }
489
+ return (
490
+ <BlankPanelContent>
491
+ Check entitlement(s) (Work in Progress)
492
+ </BlankPanelContent>
493
+ );
494
+ };
495
+
475
496
  export const DataSpaceViewer = observer(
476
497
  (props: { dataSpaceViewerState: DataSpaceViewerState }) => {
477
498
  const { dataSpaceViewerState } = props;
@@ -609,11 +630,16 @@ export const DataSpaceViewer = observer(
609
630
  />
610
631
  )}
611
632
  {dataSpaceViewerState.currentActivity ===
612
- DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT && (
613
- <BlankPanelContent>
614
- Request entitlement(s) (Work in Progress)
615
- </BlankPanelContent>
616
- )}
633
+ DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT &&
634
+ renderDataSpaceCheckEntitlementsEditor(
635
+ dataSpaceViewerState,
636
+ applicationStore.pluginManager
637
+ .getApplicationPlugins()
638
+ .filter(
639
+ (plugin) =>
640
+ plugin instanceof DSL_DataSpace_LegendApplicationPlugin,
641
+ ) as DSL_DataSpace_LegendApplicationPlugin[],
642
+ )}
617
643
  {dataSpaceViewerState.currentActivity ===
618
644
  DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_DATA && (
619
645
  <BlankPanelContent>
package/src/index.ts CHANGED
@@ -17,6 +17,7 @@
17
17
  export * from './DSL_DataSpace_Extension.js';
18
18
  export { DSL_DataSpace_LegendStudioApplicationPlugin } from './components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js';
19
19
  export { DSL_DataSpace_LegendQueryApplicationPlugin } from './components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js';
20
+ export { DSL_DataSpace_LegendApplicationPlugin } from './components/DSL_DataSpace_LegendApplicationPlugin.js';
20
21
 
21
22
  export { DataSpaceViewer } from './components/DataSpaceViewer.js';
22
23
 
package/tsconfig.json CHANGED
@@ -36,6 +36,7 @@
36
36
  "./src/DSL_DataSpace_Const.ts",
37
37
  "./src/DSL_DataSpace_Extension.ts",
38
38
  "./src/index.ts",
39
+ "./src/components/DSL_DataSpace_LegendApplicationPlugin.ts",
39
40
  "./src/components/studio/DSL_DataSpace_CodeSnippets.ts",
40
41
  "./src/components/studio/DSL_DataSpace_LegendStudioDocumentation.ts",
41
42
  "./src/graph/DSL_DataSpace_HashUtils.ts",