@finos/legend-extension-dsl-data-space 1.0.2 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/components/DataSpaceViewer.d.ts +2 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +6 -6
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts +1 -3
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js +1 -4
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts +1 -0
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +2 -1
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts +1 -3
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js +0 -3
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts +1 -3
- package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts.map +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +0 -3
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +1 -3
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +1 -4
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DataSpace.d.ts +2 -3
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DataSpace.d.ts.map +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DataSpace.js +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DataSpace.js.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +3 -5
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +0 -3
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.d.ts +2 -3
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_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.map +1 -1
- package/lib/stores/DataSpaceViewerState.d.ts +1 -2
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +5 -5
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +23 -3
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +23 -21
- package/src/components/DataSpaceViewer.tsx +25 -11
- package/src/components/query/DSLDataSpace_LegendQueryPlugin.tsx +6 -11
- package/src/components/query/DataSpaceQuerySetup.tsx +5 -2
- package/src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx +9 -16
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -9
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +4 -9
- package/src/models/metamodels/pure/model/packageableElements/dataSpace/DataSpace.ts +6 -7
- package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +16 -23
- package/src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.ts +7 -8
- package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +3 -3
- package/src/stores/DataSpaceViewerState.ts +2 -4
- package/src/stores/query/DataSpaceQuerySetupState.ts +43 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAEL,IAAI,EACJ,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,GACX,MAAM,s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,EACrB,EAAE;IACZ,MAAM,uBAAuB,GAAG,kCAAkC,CAAC;IACnE,MAAM,kBAAkB,GAAG,eAAe,CAAC;IAC3C,MAAM,kCAAkC,GAAG,GAAG,CAAC;IAE/C,MAAM,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;IACxC,IAAI,IAAI,CAAC,KAAK,KAAK,mCAAmC,EAAE;QACtD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;YACpC,MAAM,YAAY,GAChB,IAAI,CAAC,YACN,CAAC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE,CACxB,WAAW,CAAC,oBAAoB,EAAE,eAAe,CAAC,CACnD,CAAC;YACF,YAAY;iBACT,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,kBAAkB,CAC/C;iBACA,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type
|
|
17
|
-
import type
|
|
18
|
-
import { V1_PackageableElement } from '@finos/legend-graph';
|
|
16
|
+
import { type Hashable } from '@finos/legend-shared';
|
|
17
|
+
import { V1_PackageableElement, type V1_PackageableElementPointer, type V1_PackageableElementVisitor, type V1_StereotypePtr, type V1_TaggedValue } from '@finos/legend-graph';
|
|
19
18
|
export declare abstract class V1_DataSpaceSupportInfo implements Hashable {
|
|
20
19
|
abstract get hashCode(): string;
|
|
21
20
|
}
|
package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"V1_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAE7B,8BAAsB,uBAAwB,YAAW,QAAQ;IAC/D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,wBACX,SAAQ,uBACR,YAAW,QAAQ;IAEnB,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF;AAED,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,4BAA4B,CAAC;IACvC,cAAc,EAAG,4BAA4B,CAAC;IAE9C,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,YAAa,SAAQ,qBAAsB,YAAW,QAAQ;IACzE,WAAW,EAAE,gBAAgB,EAAE,CAAM;IACrC,YAAY,EAAE,cAAc,EAAE,CAAM;IACpC,OAAO,EAAG,MAAM,CAAC;IACjB,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,EAAG,MAAM,CAAC;IACnB,iBAAiB,EAAG,4BAA4B,EAAE,CAAC;IACnD,uBAAuB,EAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,GAAG,SAAS,CAAC;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,IAAa,QAAQ,IAAI,MAAM,CAc9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
|
17
17
|
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../DSLDataSpace_ModelUtils';
|
|
18
|
-
import { V1_PackageableElement } from '@finos/legend-graph';
|
|
18
|
+
import { V1_PackageableElement, } from '@finos/legend-graph';
|
|
19
19
|
export class V1_DataSpaceSupportInfo {
|
|
20
20
|
}
|
|
21
21
|
export class V1_DataSpaceSupportEmail extends V1_DataSpaceSupportInfo {
|
package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"V1_DataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EACL,qBAAqB,GAKtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAgB,uBAAuB;CAE5C;AAED,MAAM,OAAO,wBACX,SAAQ,uBAAuB;IAG/B,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,4BAA4B;IACvC,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAgC;IACvC,cAAc,CAAgC;IAE9C,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,IAAI;YACjB,IAAI,CAAC,cAAc,CAAC,IAAI;SACzB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,YAAa,SAAQ,qBAAqB;IACrD,WAAW,GAAuB,EAAE,CAAC;IACrC,YAAY,GAAqB,EAAE,CAAC;IACpC,OAAO,CAAU;IACjB,UAAU,CAAU;IACpB,SAAS,CAAU;IACnB,iBAAiB,CAAkC;IACnD,uBAAuB,CAAU;IACjC,gBAAgB,CAA8C;IAC9D,WAAW,CAAsB;IACjC,WAAW,CAAuC;IAElD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,UAAU;YACpC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3B,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC;YAC5B,IAAI,CAAC,OAAO;YACZ,IAAI,CAAC,UAAU;YACf,IAAI,CAAC,SAAS;YACd,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,uBAAuB;YAC5B,SAAS,CAAC,CAAC,IAAI,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACvE,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2BH,OAAO,EAEL,YAAY,EAGb,MAAM,wDAAwD,CAAC;AAEhE,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAC/D,eAAO,MAAM,gCAAgC,UAAU,CAAC;AAgDxD,eAAO,MAAM,uBAAuB,+CA0DlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AACnB,OAAO,EAEL,sBAAsB,EACtB,oBAAoB,EACpB,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wDAAwD,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,WAAW,CAAC;AAC/D,MAAM,CAAC,MAAM,gCAAgC,GAAG,OAAO,CAAC;AAExD,MAAM,uCAAuC,GAAG,iBAAiB,CAC/D,4BAA4B,EAC5B;IACE,cAAc,EAAE,gBAAgB,CAC9B,8CAA8C,CAC/C;IACD,WAAW,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;IAClC,OAAO,EAAE,gBAAgB,CAAC,8CAA8C,CAAC;IACzE,IAAI,EAAE,SAAS,EAAE;CAClB,CACF,CAAC;AAEF,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,wBAAwB,EAAE;IAC3E,KAAK,EAAE,wBAAwB,CAAC,gCAAgC,CAAC;IACjE,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WAAW,CAAC,8CAA8C,EAAE,KAAK,CAAC,EACpE,KAAK,CACN,CACJ;IACD,OAAO,EAAE,SAAS,EAAE;IACpB,IAAI,EAAE,SAAS,EAAE;IACjB,OAAO,EAAE,SAAS,EAAE;IACpB,WAAW,EAAE,MAAM,CACjB,CAAC,MAAM,EAAE,EAAE,CACT,cAAc,CACZ,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,sBAAsB,EAAE,KAAK,CAAC,EACnD,IAAI,CACL,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CACd,MAAM,EACN,CAAC,CAAmB,EAAE,EAAE,CAAC,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,EAC/D,KAAK,CACN,CACJ;IACD,WAAW,EAAE,MAAM,CACjB,CAAC,GAAG,EAAE,EAAE,CAAC,uBAAuB,CAAC,GAAG,CAAC,EACrC,CAAC,GAAG,EAAE,EAAE,CAAC,yBAAyB,CAAC,GAAG,CAAC,CACxC;IACD,YAAY,EAAE,MAAM,CAClB,CAAC,MAAM,EAAE,EAAE,CACT,cAAc,CACZ,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,oBAAoB,EAAE,KAAK,CAAC,EACjD,IAAI,CACL,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CACd,MAAM,EACN,CAAC,CAAmB,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAC7D,KAAK,CACN,CACJ;IACD,SAAS,EAAE,SAAS,EAAE;CACvB,CAAC,CAAC"}
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type
|
|
17
|
-
import { Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
16
|
+
import { type ClassView, type DiagramRenderer, Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
18
17
|
import type { GraphManagerState, PackageableRuntime } from '@finos/legend-graph';
|
|
19
18
|
import type { ResolvedDataSpace, ResolvedDataSpaceExecutionContext } from '../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
20
19
|
export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,OAAO,EAER,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EACV,iBAAiB,EAEjB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,iBAAiB,EACjB,iCAAiC,EAClC,MAAM,mEAAmE,CAAC;AAE3E,oBAAY,+BAA+B;IACzC,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,qBAAa,oBAAoB;IAC/B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACxC,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,eAAe,kCAAmD;IAClE,uBAAuB,EAAE,iCAAiC,CAAC;IAC3D,cAAc,EAAE,kBA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|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,OAAO,EACP,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAM7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,MAAM,CAAN,IAAY,+BAQX;AARD,WAAY,+BAA+B;IACzC,sEAAmC,CAAA;IACnC,0DAAuB,CAAA;IACvB,8DAA2B,CAAA;IAC3B,0DAAuB,CAAA;IACvB,kEAA+B,CAAA;IAC/B,gDAAa,CAAA;IACb,sDAAmB,CAAA;AACrB,CAAC,EARW,+BAA+B,KAA/B,+BAA+B,QAQ1C;AAED,MAAM,OAAO,oBAAoB;IAC/B,iBAAiB,CAAoB;IACrC,gBAAgB,CAAS;IACzB,mBAAmB,CAAS;IAC5B,kBAAkB,CAAS;IAC3B,SAAS,CAAoB;IAC7B,SAAS,CAA+B;IACxC,cAAc,CAAuB;IACrC,eAAe,GAAG,+BAA+B,CAAC,eAAe,CAAC;IAClE,uBAAuB,CAAoC;IAC3D,cAAc,CAAqB;IACnC,WAAW,CAOG;IACd,yBAAyB,CAAgD;IAEzE,YACE,iBAAoC,EACpC,gBAAwB,EACxB,mBAA2B,EAC3B,kBAA0B,EAC1B,SAA4B,EAC5B,OAQC;QAED,cAAc,CAAC,IAAI,EAAE;YACnB,SAAS,EAAE,UAAU;YACrB,cAAc,EAAE,UAAU;YAC1B,eAAe,EAAE,UAAU;YAC3B,uBAAuB,EAAE,UAAU;YACnC,cAAc,EAAE,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AAC;SACb;IACH,CAAC;IAED,WAAW,CAAC,GAAoB;QAC9B,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;IACvB,CAAC;IAED,iBAAiB,CAAC,GAAY;QAC5B,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,kBAAkB,CAAC,GAAoC;QACrD,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;IAC7B,CAAC;IAED,0BAA0B,CAAC,GAAsC;QAC/D,IAAI,CAAC,uBAAuB,GAAG,GAAG,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC,KAAK,CAAC;IACjD,CAAC;IAED,iBAAiB,CAAC,GAAuB;QACvC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,aAAa;QACX,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,QAAQ,CAAC,sBAAsB,GAAG,CAAC,SAAoB,EAAQ,EAAE,CACpE,IAAI,CAAC,yBAAyB,EAAE,CAAC,SAAS,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -13,12 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type
|
|
16
|
+
import { type Class, QueryTaggedValue } from '@finos/legend-graph';
|
|
17
17
|
import type { Entity } from '@finos/legend-model-storage';
|
|
18
|
-
import type
|
|
19
|
-
import {
|
|
20
|
-
import type { GeneratorFn } from '@finos/legend-shared';
|
|
21
|
-
import { ActionState } from '@finos/legend-shared';
|
|
18
|
+
import { type QuerySetupStore, QuerySetupState } from '@finos/legend-query';
|
|
19
|
+
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
|
|
22
20
|
import { DataSpaceViewerState } from '../DataSpaceViewerState';
|
|
23
21
|
export declare type LightDataSpace = Entity & {
|
|
24
22
|
groupId: string;
|
|
@@ -31,10 +29,12 @@ export declare type LightDataSpace = Entity & {
|
|
|
31
29
|
versionId: string;
|
|
32
30
|
};
|
|
33
31
|
};
|
|
32
|
+
export declare const createQueryDataSpaceTaggedValue: (dataSpacePath: string, groupId: string, artifactId: string, versionId: string) => QueryTaggedValue;
|
|
34
33
|
export declare class DataSpaceQuerySetupState extends QuerySetupState {
|
|
35
34
|
dataSpaces: LightDataSpace[];
|
|
36
35
|
loadDataSpacesState: ActionState;
|
|
37
36
|
setUpDataSpaceState: ActionState;
|
|
37
|
+
setUpDataSpaceStatusText?: string | undefined;
|
|
38
38
|
currentDataSpace?: LightDataSpace | undefined;
|
|
39
39
|
dataSpaceViewerState?: DataSpaceViewerState | undefined;
|
|
40
40
|
toGetSnapShot: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,KAAK,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACL,KAAK,eAAe,EAEpB,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EACL,KAAK,WAAW,EAEhB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAM9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,oBAAY,cAAc,GAAG,MAAM,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAMF,eAAO,MAAM,+BAA+B,kBAC3B,MAAM,WACZ,MAAM,cACH,MAAM,aACP,MAAM,KAChB,gBAUF,CAAC;AAEF,qBAAa,wBAAyB,SAAQ,eAAe;IAC3D,UAAU,EAAE,cAAc,EAAE,CAAM;IAClC,mBAAmB,cAAwB;IAC3C,mBAAmB,cAAwB;IAC3C,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,gBAAgB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxD,aAAa,UAAS;gBAEV,UAAU,EAAE,eAAe;IAkBvC,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,SAAS,GAAG,IAAI;IAI1D,uBAAuB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;IAIpE,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAInC,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAuDrD,cAAc,CAAC,SAAS,EAAE,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC;IA4D5D,oBAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAuCzD"}
|
|
@@ -13,16 +13,28 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { QueryTaggedValue } from '@finos/legend-graph';
|
|
16
17
|
import { CreateQueryInfoState, QuerySetupState, generateCreateQueryRoute, } from '@finos/legend-query';
|
|
17
|
-
import { DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
|
18
|
+
import { generateGAVCoordinates, DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
|
18
19
|
import { ActionState, assertErrorThrown, guaranteeNonNullable, } from '@finos/legend-shared';
|
|
19
20
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
20
21
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, getResolvedDataSpace, } from '../../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
21
22
|
import { DataSpaceViewerState } from '../DataSpaceViewerState';
|
|
23
|
+
const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
|
|
24
|
+
const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
|
|
25
|
+
const DATA_SPACE_ID_DELIMITER = '@';
|
|
26
|
+
export const createQueryDataSpaceTaggedValue = (dataSpacePath, groupId, artifactId, versionId) => {
|
|
27
|
+
const taggedValue = new QueryTaggedValue();
|
|
28
|
+
taggedValue.profile = QUERY_PROFILE_PATH;
|
|
29
|
+
taggedValue.tag = QUERY_PROFILE_TAG_DATA_SPACE;
|
|
30
|
+
taggedValue.value = `${generateGAVCoordinates(groupId, artifactId, versionId)}${DATA_SPACE_ID_DELIMITER}${dataSpacePath}`;
|
|
31
|
+
return taggedValue;
|
|
32
|
+
};
|
|
22
33
|
export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
23
34
|
dataSpaces = [];
|
|
24
35
|
loadDataSpacesState = ActionState.create();
|
|
25
36
|
setUpDataSpaceState = ActionState.create();
|
|
37
|
+
setUpDataSpaceStatusText;
|
|
26
38
|
currentDataSpace;
|
|
27
39
|
dataSpaceViewerState;
|
|
28
40
|
toGetSnapShot = false;
|
|
@@ -32,6 +44,7 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
32
44
|
dataSpaces: observable,
|
|
33
45
|
currentDataSpace: observable.ref,
|
|
34
46
|
dataSpaceViewerState: observable,
|
|
47
|
+
setUpDataSpaceStatusText: observable,
|
|
35
48
|
toGetSnapShot: observable,
|
|
36
49
|
setCurrentDataSpace: action,
|
|
37
50
|
setDataSpaceViewerState: action,
|
|
@@ -98,7 +111,9 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
98
111
|
}
|
|
99
112
|
this.setUpDataSpaceState.inProgress();
|
|
100
113
|
try {
|
|
114
|
+
this.setUpDataSpaceStatusText = `Fetching information for data space...`;
|
|
101
115
|
const projectData = ProjectData.serialization.fromJson((yield flowResult(this.queryStore.depotServerClient.getProject(dataSpace.content.groupId, dataSpace.content.artifactId))));
|
|
116
|
+
this.setUpDataSpaceStatusText = `Building graph...`;
|
|
102
117
|
yield flowResult(this.queryStore.buildGraph(projectData, dataSpace.content.versionId));
|
|
103
118
|
const resolvedDataSpace = getResolvedDataSpace(dataSpace.content, this.queryStore.graphManagerState.graph);
|
|
104
119
|
this.dataSpaceViewerState = new DataSpaceViewerState(this.queryStore.graphManagerState, dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, resolvedDataSpace, {
|
|
@@ -114,14 +129,19 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
114
129
|
this.setUpDataSpaceState.fail();
|
|
115
130
|
this.queryStore.applicationStore.notifyError(error);
|
|
116
131
|
}
|
|
132
|
+
finally {
|
|
133
|
+
this.setUpDataSpaceStatusText = undefined;
|
|
134
|
+
}
|
|
117
135
|
}
|
|
118
136
|
*proceedToCreateQuery(_class) {
|
|
119
137
|
if (this.dataSpaceViewerState) {
|
|
120
138
|
const projectData = ProjectData.serialization.fromJson((yield flowResult(this.queryStore.depotServerClient.getProject(this.dataSpaceViewerState.dataSpace.groupId, this.dataSpaceViewerState.dataSpace.artifactId))));
|
|
121
139
|
const queryInfoState = new CreateQueryInfoState(this.queryStore, projectData, this.dataSpaceViewerState.dataSpace.versionId, this.dataSpaceViewerState.currentExecutionContext.mapping.value, this.dataSpaceViewerState.currentRuntime);
|
|
122
|
-
queryInfoState.
|
|
140
|
+
queryInfoState.taggedValues = [
|
|
141
|
+
createQueryDataSpaceTaggedValue(this.dataSpaceViewerState.dataSpace.path, this.dataSpaceViewerState.dataSpaceGroupId, this.dataSpaceViewerState.dataSpaceArtifactId, this.dataSpaceViewerState.dataSpaceVersionId),
|
|
142
|
+
];
|
|
123
143
|
this.queryStore.setQueryInfoState(queryInfoState);
|
|
124
|
-
this.queryStore.applicationStore.navigator.goTo(generateCreateQueryRoute(this.dataSpaceViewerState.dataSpace.groupId, this.dataSpaceViewerState.dataSpace.artifactId, this.dataSpaceViewerState.dataSpace.versionId, this.dataSpaceViewerState.currentExecutionContext.mapping.value.path, this.dataSpaceViewerState.currentRuntime.path));
|
|
144
|
+
this.queryStore.applicationStore.navigator.goTo(generateCreateQueryRoute(this.dataSpaceViewerState.dataSpace.groupId, this.dataSpaceViewerState.dataSpace.artifactId, this.dataSpaceViewerState.dataSpace.versionId, this.dataSpaceViewerState.currentExecutionContext.mapping.value.path, this.dataSpaceViewerState.currentRuntime.path, _class?.path));
|
|
125
145
|
this.setupStore.setSetupState(undefined);
|
|
126
146
|
}
|
|
127
147
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAc,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,EAEL,oBAAoB,EACpB,eAAe,EACf,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,sBAAsB,EACtB,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,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AAU,EAC9C,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,SAAS,EAC7C,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EACpE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EAC7C,MAAM,EAAE,IAAI,CACb,CACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"build": "yarn clean && yarn build:sass && yarn build:tsc",
|
|
28
28
|
"build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
|
|
29
29
|
"build:tsc": "tsc --project ./tsconfig.build.json",
|
|
30
|
-
"clean": "
|
|
30
|
+
"clean": "npm-run-all clean:cache clean:lib",
|
|
31
|
+
"clean:cache": "rimraf \"build\"",
|
|
32
|
+
"clean:lib": "rimraf \"lib\"",
|
|
31
33
|
"dev": "npm-run-all --parallel dev:sass dev:tsc",
|
|
32
34
|
"dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
|
|
33
35
|
"dev:tsc": "tsc --watch --preserveWatchOutput",
|
|
@@ -38,36 +40,36 @@
|
|
|
38
40
|
"test:watch": "jest --watch"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"@finos/legend-application": "
|
|
42
|
-
"@finos/legend-art": "0.
|
|
43
|
-
"@finos/legend-extension-dsl-diagram": "1.0.
|
|
44
|
-
"@finos/legend-graph": "0.
|
|
45
|
-
"@finos/legend-model-storage": "0.0.
|
|
46
|
-
"@finos/legend-query": "0.
|
|
47
|
-
"@finos/legend-server-depot": "0.0.
|
|
48
|
-
"@finos/legend-shared": "
|
|
49
|
-
"@finos/legend-studio": "2.0
|
|
50
|
-
"@types/react": "17.0.
|
|
43
|
+
"@finos/legend-application": "1.1.0",
|
|
44
|
+
"@finos/legend-art": "0.3.0",
|
|
45
|
+
"@finos/legend-extension-dsl-diagram": "1.0.7",
|
|
46
|
+
"@finos/legend-graph": "1.0.0",
|
|
47
|
+
"@finos/legend-model-storage": "0.0.13",
|
|
48
|
+
"@finos/legend-query": "0.4.0",
|
|
49
|
+
"@finos/legend-server-depot": "0.0.16",
|
|
50
|
+
"@finos/legend-shared": "1.1.0",
|
|
51
|
+
"@finos/legend-studio": "2.3.0",
|
|
52
|
+
"@types/react": "17.0.38",
|
|
51
53
|
"@types/react-router-dom": "5.3.2",
|
|
52
|
-
"mobx": "6.3.
|
|
53
|
-
"mobx-react-lite": "3.2.
|
|
54
|
-
"monaco-editor": "0.
|
|
54
|
+
"mobx": "6.3.12",
|
|
55
|
+
"mobx-react-lite": "3.2.3",
|
|
56
|
+
"monaco-editor": "0.31.1",
|
|
55
57
|
"react": "17.0.2",
|
|
56
58
|
"react-dom": "17.0.2",
|
|
57
|
-
"react-resize-detector": "
|
|
59
|
+
"react-resize-detector": "7.0.0",
|
|
58
60
|
"react-router": "5.2.1",
|
|
59
61
|
"react-router-dom": "5.3.0",
|
|
60
62
|
"serializr": "2.0.5"
|
|
61
63
|
},
|
|
62
64
|
"devDependencies": {
|
|
63
|
-
"@finos/legend-dev-utils": "0.
|
|
65
|
+
"@finos/legend-dev-utils": "0.3.4",
|
|
64
66
|
"cross-env": "7.0.3",
|
|
65
|
-
"eslint": "8.
|
|
66
|
-
"jest": "27.
|
|
67
|
+
"eslint": "8.7.0",
|
|
68
|
+
"jest": "27.4.7",
|
|
67
69
|
"npm-run-all": "4.1.5",
|
|
68
70
|
"rimraf": "3.0.2",
|
|
69
|
-
"sass": "1.
|
|
70
|
-
"typescript": "4.5.
|
|
71
|
+
"sass": "1.49.0",
|
|
72
|
+
"typescript": "4.5.4"
|
|
71
73
|
},
|
|
72
74
|
"peerDependencies": {
|
|
73
75
|
"react": "^17.0.0"
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
EnvelopIcon,
|
|
26
26
|
clsx,
|
|
27
27
|
CustomSelectorInput,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
PURE_MappingIcon,
|
|
29
|
+
PURE_RuntimeIcon,
|
|
30
30
|
CogIcon,
|
|
31
31
|
KeyIcon,
|
|
32
32
|
FlaskIcon,
|
|
@@ -34,15 +34,22 @@ import {
|
|
|
34
34
|
ExternalLinkIcon,
|
|
35
35
|
ShieldIcon,
|
|
36
36
|
TagsIcon,
|
|
37
|
+
LightBulbIcon,
|
|
37
38
|
} from '@finos/legend-art';
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
import {
|
|
40
|
+
type Diagram,
|
|
41
|
+
DiagramRenderer,
|
|
42
|
+
} from '@finos/legend-extension-dsl-diagram';
|
|
43
|
+
import {
|
|
44
|
+
DataSpaceSupportEmail,
|
|
45
|
+
type DataSpaceSupportInfo,
|
|
46
|
+
} from '../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
42
47
|
import type { ResolvedDataSpaceExecutionContext } from '../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
43
48
|
import type { PackageableRuntime } from '@finos/legend-graph';
|
|
44
|
-
import
|
|
45
|
-
|
|
49
|
+
import {
|
|
50
|
+
type DataSpaceViewerState,
|
|
51
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE,
|
|
52
|
+
} from '../stores/DataSpaceViewerState';
|
|
46
53
|
|
|
47
54
|
interface DataSpaceViewerActivityConfig {
|
|
48
55
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
@@ -166,7 +173,14 @@ const DataSpaceModelsOverview = observer(
|
|
|
166
173
|
/>
|
|
167
174
|
)}
|
|
168
175
|
</div>
|
|
169
|
-
<div className="data-space__viewer__diagrams__footer"
|
|
176
|
+
<div className="data-space__viewer__diagrams__footer">
|
|
177
|
+
<div className="data-space__viewer__diagrams__footer__icon">
|
|
178
|
+
<LightBulbIcon />
|
|
179
|
+
</div>
|
|
180
|
+
<div className="data-space__viewer__diagrams__footer__text">
|
|
181
|
+
Double-click a class to start a query for that class
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
170
184
|
</div>
|
|
171
185
|
);
|
|
172
186
|
},
|
|
@@ -283,7 +297,7 @@ const DataSpaceExecutionViewer = observer(
|
|
|
283
297
|
</div>
|
|
284
298
|
<div className="data-space__viewer__execution__entry data-space__viewer__execution__mapping">
|
|
285
299
|
<div className="data-space__viewer__execution__entry__icon">
|
|
286
|
-
<
|
|
300
|
+
<PURE_MappingIcon />
|
|
287
301
|
</div>
|
|
288
302
|
<div className="data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__text">
|
|
289
303
|
{dataSpaceViewerState.currentExecutionContext.mapping.value.path}
|
|
@@ -291,7 +305,7 @@ const DataSpaceExecutionViewer = observer(
|
|
|
291
305
|
</div>
|
|
292
306
|
<div className="data-space__viewer__execution__entry">
|
|
293
307
|
<div className="data-space__viewer__execution__entry__icon">
|
|
294
|
-
<
|
|
308
|
+
<PURE_RuntimeIcon />
|
|
295
309
|
</div>
|
|
296
310
|
<div className="data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__dropdown__container">
|
|
297
311
|
<CustomSelectorInput
|
|
@@ -15,14 +15,13 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
QuerySetupOptionRendererConfiguration,
|
|
21
|
-
QuerySetupRenderer,
|
|
22
|
-
QuerySetupState,
|
|
23
|
-
QuerySetupStore,
|
|
18
|
+
import {
|
|
19
|
+
LegendQueryPlugin,
|
|
20
|
+
type QuerySetupOptionRendererConfiguration,
|
|
21
|
+
type QuerySetupRenderer,
|
|
22
|
+
type QuerySetupState,
|
|
23
|
+
type QuerySetupStore,
|
|
24
24
|
} from '@finos/legend-query';
|
|
25
|
-
import { LegendQueryPlugin } from '@finos/legend-query';
|
|
26
25
|
import { SquareIcon } from '@finos/legend-art';
|
|
27
26
|
import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState';
|
|
28
27
|
import { DataspaceQuerySetup } from './DataSpaceQuerySetup';
|
|
@@ -32,10 +31,6 @@ export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
|
32
31
|
super(packageJson.extensions.queryPlugin, packageJson.version);
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
install(pluginManager: LegendQueryPluginManager): void {
|
|
36
|
-
pluginManager.registerQueryPlugin(this);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
34
|
override getExtraQuerySetupOptionRendererConfigurations(): QuerySetupOptionRendererConfiguration[] {
|
|
40
35
|
return [
|
|
41
36
|
{
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
|
18
|
-
import type { SelectComponent } from '@finos/legend-art';
|
|
19
18
|
import {
|
|
19
|
+
type SelectComponent,
|
|
20
20
|
BoltIcon,
|
|
21
21
|
ArrowRightIcon,
|
|
22
22
|
clsx,
|
|
@@ -211,7 +211,10 @@ export const DataspaceQuerySetup = observer(
|
|
|
211
211
|
)}
|
|
212
212
|
{!querySetupState.dataSpaceViewerState &&
|
|
213
213
|
querySetupState.setUpDataSpaceState.isInProgress && (
|
|
214
|
-
<BlankPanelContent>
|
|
214
|
+
<BlankPanelContent>
|
|
215
|
+
{querySetupState.setUpDataSpaceStatusText ??
|
|
216
|
+
`Setting up data space...`}
|
|
217
|
+
</BlankPanelContent>
|
|
215
218
|
)}
|
|
216
219
|
{!querySetupState.dataSpaceViewerState &&
|
|
217
220
|
querySetupState.setUpDataSpaceState.hasFailed && (
|
|
@@ -15,19 +15,16 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
|
-
import type {
|
|
19
|
-
LegendStudioPluginManager,
|
|
20
|
-
NewElementFromStateCreator,
|
|
21
|
-
ElementTypeGetter,
|
|
22
|
-
ElementProjectExplorerDnDTypeGetter,
|
|
23
|
-
ElementIconGetter,
|
|
24
|
-
DSL_LegendStudioPlugin_Extension,
|
|
25
|
-
NewElementState,
|
|
26
|
-
ElementEditorStateCreator,
|
|
27
|
-
EditorStore,
|
|
28
|
-
ElementEditorState,
|
|
29
|
-
} from '@finos/legend-studio';
|
|
30
18
|
import {
|
|
19
|
+
type NewElementFromStateCreator,
|
|
20
|
+
type ElementTypeGetter,
|
|
21
|
+
type ElementProjectExplorerDnDTypeGetter,
|
|
22
|
+
type ElementIconGetter,
|
|
23
|
+
type DSL_LegendStudioPlugin_Extension,
|
|
24
|
+
type NewElementState,
|
|
25
|
+
type ElementEditorStateCreator,
|
|
26
|
+
type EditorStore,
|
|
27
|
+
type ElementEditorState,
|
|
31
28
|
UnsupportedElementEditorState,
|
|
32
29
|
LegendStudioPlugin,
|
|
33
30
|
} from '@finos/legend-studio';
|
|
@@ -51,10 +48,6 @@ export class DSLDataSpace_LegendStudioPlugin
|
|
|
51
48
|
super(packageJson.extensions.studioPlugin, packageJson.version);
|
|
52
49
|
}
|
|
53
50
|
|
|
54
|
-
install(pluginManager: LegendStudioPluginManager): void {
|
|
55
|
-
pluginManager.registerStudioPlugin(this);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
51
|
getExtraSupportedElementTypes(): string[] {
|
|
59
52
|
return [DATA_SPACE_ELEMENT_TYPE];
|
|
60
53
|
}
|
|
@@ -17,21 +17,13 @@
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
18
|
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
19
19
|
import type { Clazz } from '@finos/legend-shared';
|
|
20
|
-
import type
|
|
21
|
-
GraphPluginManager,
|
|
22
|
-
PackageableElement,
|
|
23
|
-
} from '@finos/legend-graph';
|
|
24
|
-
import { PureGraphPlugin } from '@finos/legend-graph';
|
|
20
|
+
import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
|
|
25
21
|
|
|
26
22
|
export class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
27
23
|
constructor() {
|
|
28
24
|
super(packageJson.extensions.pureGraphPlugin, packageJson.version);
|
|
29
25
|
}
|
|
30
26
|
|
|
31
|
-
install(pluginManager: GraphPluginManager): void {
|
|
32
|
-
pluginManager.registerPureGraphPlugin(this);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
27
|
override getExtraPureGraphExtensionClasses(): Clazz<PackageableElement>[] {
|
|
36
28
|
return [DataSpace];
|
|
37
29
|
}
|
|
@@ -16,12 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
18
|
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
PackageableElement,
|
|
22
|
-
PureGrammarElementLabeler,
|
|
19
|
+
import {
|
|
20
|
+
PureGraphManagerPlugin,
|
|
21
|
+
type PackageableElement,
|
|
22
|
+
type PureGrammarElementLabeler,
|
|
23
23
|
} from '@finos/legend-graph';
|
|
24
|
-
import { PureGraphManagerPlugin } from '@finos/legend-graph';
|
|
25
24
|
|
|
26
25
|
const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
|
|
27
26
|
const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
|
|
@@ -31,10 +30,6 @@ export class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin
|
|
|
31
30
|
super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
|
|
32
31
|
}
|
|
33
32
|
|
|
34
|
-
install(pluginManager: GraphPluginManager): void {
|
|
35
|
-
pluginManager.registerPureGraphManagerPlugin(this);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
33
|
override getExtraPureGrammarParserNames(): string[] {
|
|
39
34
|
return [PURE_GRAMMAR_DATA_SPACE_PARSER_NAME];
|
|
40
35
|
}
|
|
@@ -15,14 +15,13 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { makeObservable, override } from 'mobx';
|
|
18
|
-
import { hashArray } from '@finos/legend-shared';
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
PackageableElementVisitor,
|
|
22
|
-
StereotypeReference,
|
|
23
|
-
TaggedValue,
|
|
18
|
+
import { hashArray, type Hashable } from '@finos/legend-shared';
|
|
19
|
+
import {
|
|
20
|
+
PackageableElement,
|
|
21
|
+
type PackageableElementVisitor,
|
|
22
|
+
type StereotypeReference,
|
|
23
|
+
type TaggedValue,
|
|
24
24
|
} from '@finos/legend-graph';
|
|
25
|
-
import { PackageableElement } from '@finos/legend-graph';
|
|
26
25
|
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_ModelUtils';
|
|
27
26
|
|
|
28
27
|
export abstract class DataSpaceSupportInfo implements Hashable {
|