@finos/legend-extension-dsl-data-space 6.0.0 → 6.1.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 +13 -10
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +9 -4
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +2 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +1 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +1 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +2 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js +31 -3
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +1 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +2 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +2 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/DataSpaceViewerState.d.ts +1 -1
- package/lib/stores/DataSpaceViewerState.js +1 -1
- package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQueryEditorStore.js +7 -6
- package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +2 -0
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +6 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +10 -10
- package/src/components/DataSpaceViewer.tsx +87 -24
- package/src/components/query/DataSpaceQuerySetup.tsx +22 -2
- package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +2 -0
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +1 -0
- package/src/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +2 -0
- package/src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts +38 -1
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +2 -0
- package/src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +2 -0
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -0
- package/src/stores/DataSpaceViewerState.ts +1 -1
- package/src/stores/query/DataSpaceQueryEditorStore.ts +9 -7
- package/src/stores/query/DataSpaceQuerySetupState.ts +8 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/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,EACL,sBAAsB,EACtB,oBAAoB,EACpB,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAEhF,MAAM,CAAC,MAAM,mCAAmC,GAAG,WAAW,CAAC;AAC/D,MAAM,CAAC,MAAM,gCA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,EAAE,KAAK,CAAC,EACjD;QACE,WAAW,EAAE,IAAI;QACjB,gCAAgC,EAAE,IAAI;KACvC,CACF,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAAE;QACpE,WAAW,EAAE,KAAK;KACnB,CAAC,CACL;
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/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,EACL,sBAAsB,EACtB,oBAAoB,EACpB,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAEhF,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,wBAA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AC,SAAS,EAAE,CAAC;CAC7B,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license @finos/legend-extension-dsl-data-space v6.
|
|
1
|
+
/** @license @finos/legend-extension-dsl-data-space v6.1.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: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__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__title{display:flex;align-items:center;justify-content:center;height:3.4rem;max-width:100%;background:var(--color-blue-150)}.data-space__viewer__title__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 3.4rem);font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0);line-height:3.4rem;text-align:left}.data-space__viewer__title__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__title__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__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__info{padding:2rem}.data-space__viewer__info__project-info__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__info__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support-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__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);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,
|
|
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,2BCTA,aACA,mBACA,uBDUE,cACA,eACA,iCAEA,qDCCF,uBACA,gBACA,sBACA,gBDDI,YACA,0BACA,oCACA,iBACA,eACA,iBACA,gCACA,mBACA,gBAGF,iCC9BF,aACA,mBACA,uBD+BI,cACA,aACA,oDAEA,qCACE,iBACA,gCAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCC1DF,aACA,mBACA,uBD2DI,gBACA,iCAIJ,6BClEA,aACA,mBACA,uBDmEE,0BACA,oBAGF,0BCzEA,aACA,mBACA,uBD0EE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCC7FF,aACA,mBACA,uBD8FI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCChIF,aACA,mBDkII,cACA,WAGF,sCCvIF,aACA,mBDyII,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CCvJJ,aACA,mBACA,uBDwJM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAKN,+BACE,aAEA,6CACE,kCAGF,sCC3LF,aACA,mBD6LI,cACA,WAEA,4CCvMJ,aACA,mBACA,uBDwMM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CC9MJ,aACA,mBDgNM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iEClOR,aACA,mBDqOQ,sECtOR,aACA,mBDwOU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDC9QJ,aACA,mBACA,uBD+QM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,+CC9QF,mBACA,uBACA,gBACA,sBACA,gBD6QI,YACA,YACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CC3RF,mBACA,uBACA,gBACA,sBACA,gBD0RI,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CCvTF,aACA,mBACA,uBDwTI,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CCrUF,aACA,mBDuUI,gBACA,iCACA,mBACA,iBACA,eAGF,0CC/UF,aACA,mBDiVI,cACA,eACA,WAGF,6CC7UF,mBACA,uBACA,gBACA,sBACA,gBD4UI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC1VF,mBACA,uBACA,gBACA,sBACA,gBDyVI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCChXF,aACA,mBDkXI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDClYF,aACA,mBACA,uBDmYI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CC5YF,aACA,mBD8YI,cACA,WAEA,gDCxZJ,aACA,mBACA,uBDyZM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDChaJ,aACA,mBDkaM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBExbR,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,uCACE,iBACA,iCACA,kBACA,mBAGF,sCACE,iBACA,2BACA,kBACA,mBAGF,+BACE,2BACA,WAEA,uCDxDF,aACA,mBC0DI,cAEA,6CDnEJ,aACA,mBACA,uBCoEM,YAGF,6CACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBCpFR,MACE,yCAGF,kBACE","file":"index.css"}
|
package/lib/package.json
CHANGED
|
@@ -22,7 +22,7 @@ export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
|
|
|
22
22
|
ENTITLEMENT = "ENTITLEMENT",
|
|
23
23
|
TEST_DATA = "TEST_DATA",
|
|
24
24
|
TEST_COVERAGE = "TEST_COVERAGE",
|
|
25
|
-
|
|
25
|
+
INFO = "INFO",
|
|
26
26
|
SUPPORT = "SUPPORT"
|
|
27
27
|
}
|
|
28
28
|
export declare class DataSpaceViewerState {
|
|
@@ -23,7 +23,7 @@ export var DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
|
23
23
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["ENTITLEMENT"] = "ENTITLEMENT";
|
|
24
24
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["TEST_DATA"] = "TEST_DATA";
|
|
25
25
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["TEST_COVERAGE"] = "TEST_COVERAGE";
|
|
26
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["
|
|
26
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["INFO"] = "INFO";
|
|
27
27
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["SUPPORT"] = "SUPPORT";
|
|
28
28
|
})(DATA_SPACE_VIEWER_ACTIVITY_MODE = DATA_SPACE_VIEWER_ACTIVITY_MODE || (DATA_SPACE_VIEWER_ACTIVITY_MODE = {}));
|
|
29
29
|
export class DataSpaceViewerState {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryEditorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EACL,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EACjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AAkBpC,qBAAa,yBAA0B,SAAQ,gBAAgB;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG5B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,wBAAwB,EACvC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS;IAalC,cAAc,IAAI,qBAAqB;IAQjC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryEditorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EACL,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EACjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AAkBpC,qBAAa,yBAA0B,SAAQ,gBAAgB;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG5B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,wBAAwB,EACvC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS;IAalC,cAAc,IAAI,qBAAqB;IAQjC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAsClC,sBAAsB,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAgBlE"}
|
|
@@ -60,14 +60,15 @@ export class DataSpaceQueryEditorStore extends QueryEditorStore {
|
|
|
60
60
|
? this.graphManagerState.graph.getRuntime(this.runtimePath)
|
|
61
61
|
: executionContext.defaultRuntime.value).runtimeValue);
|
|
62
62
|
if (this.classPath) {
|
|
63
|
-
this.queryBuilderState.
|
|
64
|
-
this.queryBuilderState.graphManagerState.graph.getClass(this.classPath);
|
|
63
|
+
this.queryBuilderState.changeClass(this.queryBuilderState.graphManagerState.graph.getClass(this.classPath));
|
|
65
64
|
this.queryBuilderState.querySetupState.setClassIsReadOnly(true);
|
|
66
65
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
else {
|
|
67
|
+
// TODO?: should we set the class here automatically?
|
|
68
|
+
// initialize query builder state after setting up
|
|
69
|
+
this.queryBuilderState.resetQueryBuilder();
|
|
70
|
+
this.queryBuilderState.resetQuerySetup();
|
|
71
|
+
}
|
|
71
72
|
}
|
|
72
73
|
async getExportConfiguration() {
|
|
73
74
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,GAIjB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAErF,MAAM,+BAA+B,GAAG,CACtC,aAAqB,EACH,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAC;IACzC,WAAW,CAAC,GAAG,GAAG,4BAA4B,CAAC;IAC/C,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC;IAClC,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,OAAO,yBAA0B,SAAQ,gBAAgB;IAC7D,OAAO,CAAS;IAChB,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,aAAa,CAAS;IACtB,gBAAgB,CAAS;IACzB,WAAW,CAAqB;IAChC,SAAS,CAAqB;IAE9B,YACE,gBAA6C,EAC7C,iBAAoC,EACpC,aAAuC,EACvC,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,gBAAwB,EACxB,WAA+B,EAC/B,YAAgC;QAEhC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAE1D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,C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AC,KAAK,CACxC,CAAC,YAAY,CACf,CAAC;QAEF,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,GAIjB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAErF,MAAM,+BAA+B,GAAG,CACtC,aAAqB,EACH,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAC;IACzC,WAAW,CAAC,GAAG,GAAG,4BAA4B,CAAC;IAC/C,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC;IAClC,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,OAAO,yBAA0B,SAAQ,gBAAgB;IAC7D,OAAO,CAAS;IAChB,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,aAAa,CAAS;IACtB,gBAAgB,CAAS;IACzB,WAAW,CAAqB;IAChC,SAAS,CAAqB;IAE9B,YACE,gBAA6C,EAC7C,iBAAoC,EACpC,aAAuC,EACvC,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,gBAAwB,EACxB,WAA+B,EAC/B,YAAgC;QAEhC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAE1D,IAAI,CAAC,OA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AAW,CAAC,IAAI,CAAC;IAmCrD,aAAa,CAAC,SAAS,EAAE,gBAAgB,GAAG,WAAW,CAAC,IAAI,CAAC;IA8E7D,oBAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAmBzD"}
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { extractEntityNameFromPath } from '@finos/legend-storage';
|
|
16
17
|
import { QuerySetupState, generateStudioProjectViewUrl, } from '@finos/legend-application-query';
|
|
17
18
|
import { DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
|
18
|
-
import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
|
19
|
+
import { ActionState, assertErrorThrown, isString, } from '@finos/legend-shared';
|
|
19
20
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
20
21
|
import { getDSLDataSpaceGraphManagerExtension } from '../../graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js';
|
|
21
22
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
@@ -69,6 +70,10 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
69
70
|
? SNAPSHOT_VERSION_ALIAS
|
|
70
71
|
: storedEntity.versionId,
|
|
71
72
|
path: storedEntity.entity.path,
|
|
73
|
+
name: extractEntityNameFromPath(storedEntity.entity.path),
|
|
74
|
+
title: isString(storedEntity.entity.content.title)
|
|
75
|
+
? storedEntity.entity.content.title
|
|
76
|
+
: undefined,
|
|
72
77
|
}));
|
|
73
78
|
this.loadDataSpacesState.pass();
|
|
74
79
|
}
|
|
@@ -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;AAIH,OAAO,EAAe,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAEL,eAAe,EACf,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,EACjB,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE5E,OAAO,EAAE,oCAAoC,EAAE,MAAM,4EAA4E,CAAC;AAClI,OAAO,EAAE,kCAAkC,EAAE,MAAM,8EAA8E,CAAC;AAClI,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAWxF,MAAM,OAAO,wBAAyB,SAAQ,eAAe;IAC3D,UAAU,GAAuB,EAAE,CAAC;IACpC,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC3C,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC1C,gBAAgB,CAAgC;IAChD,oBAAoB,CAAoC;IACxD,aAAa,GAAG,KAAK,CAAC;IAEtB,YAAY,UAA2B;QACrC,KAAK,CAAC,UAAU,CAAC,CAAC;QAElB,cAAc,CAAC,IAAI,EAAE;YACnB,UAAU,EAAE,UAAU;YACtB,gBAAgB,EAAE,UAAU,CAAC,GAAG;YAChC,oBAAoB,EAAE,UAAU;YAChC,aAAa,EAAE,UAAU;YACzB,mBAAmB,EAA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BAAS;YACR,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;SAC/C;IACH,CAAC;IAED,CAAC,oBAAoB,CAAC,MAAc;QAClC,IAAI,IAAI,CAAC,oBAAoB,EAAE;YAC7B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAC7C,iCAAiC,CAC/B,IAAI,CAAC,oBAAoB,CAAC,OAAO,EACjC,IAAI,CAAC,oBAAoB,CAAC,UAAU,EACpC,IAAI,CAAC,oBAAoB,CAAC,SAAS,EACnC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,cAAc;gBACtC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,cAAc;gBAChE,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EACjD,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": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"test:watch": "jest --watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@finos/legend-application": "7.0.
|
|
47
|
-
"@finos/legend-application-query": "5.0.
|
|
48
|
-
"@finos/legend-application-studio": "13.0.
|
|
49
|
-
"@finos/legend-art": "2.0.
|
|
50
|
-
"@finos/legend-extension-dsl-diagram": "5.0.
|
|
51
|
-
"@finos/legend-graph": "
|
|
52
|
-
"@finos/legend-server-depot": "3.0.
|
|
46
|
+
"@finos/legend-application": "7.0.2",
|
|
47
|
+
"@finos/legend-application-query": "5.0.1",
|
|
48
|
+
"@finos/legend-application-studio": "13.0.1",
|
|
49
|
+
"@finos/legend-art": "2.0.11",
|
|
50
|
+
"@finos/legend-extension-dsl-diagram": "5.0.1",
|
|
51
|
+
"@finos/legend-graph": "13.0.0",
|
|
52
|
+
"@finos/legend-server-depot": "3.0.2",
|
|
53
53
|
"@finos/legend-shared": "5.0.1",
|
|
54
|
-
"@finos/legend-storage": "3.0.
|
|
54
|
+
"@finos/legend-storage": "3.0.1",
|
|
55
55
|
"@types/react": "18.0.15",
|
|
56
56
|
"mobx": "6.6.1",
|
|
57
57
|
"mobx-react-lite": "3.4.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"serializr": "2.0.5"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@finos/legend-dev-utils": "2.0.
|
|
65
|
+
"@finos/legend-dev-utils": "2.0.7",
|
|
66
66
|
"@jest/globals": "28.1.3",
|
|
67
67
|
"cross-env": "7.0.3",
|
|
68
68
|
"eslint": "8.20.0",
|
|
@@ -32,8 +32,9 @@ import {
|
|
|
32
32
|
FlaskIcon,
|
|
33
33
|
ExternalLinkSquareIcon,
|
|
34
34
|
ShieldIcon,
|
|
35
|
-
TagsIcon,
|
|
36
35
|
LightBulbIcon,
|
|
36
|
+
InfoCircleIcon,
|
|
37
|
+
ExternalLinkIcon,
|
|
37
38
|
} from '@finos/legend-art';
|
|
38
39
|
import {
|
|
39
40
|
type Diagram,
|
|
@@ -49,6 +50,7 @@ import {
|
|
|
49
50
|
DATA_SPACE_VIEWER_ACTIVITY_MODE,
|
|
50
51
|
} from '../stores/DataSpaceViewerState.js';
|
|
51
52
|
import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
53
|
+
import { generateGAVCoordinates } from '@finos/legend-server-depot';
|
|
52
54
|
|
|
53
55
|
interface DataSpaceViewerActivityConfig {
|
|
54
56
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
@@ -306,54 +308,106 @@ const DataSpaceExecutionViewer = observer(
|
|
|
306
308
|
},
|
|
307
309
|
);
|
|
308
310
|
|
|
309
|
-
const
|
|
311
|
+
const DataSpaceInfo = observer(
|
|
310
312
|
(props: { dataSpaceViewerState: DataSpaceViewerState }) => {
|
|
311
313
|
const { dataSpaceViewerState } = props;
|
|
312
314
|
const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
|
|
315
|
+
const viewProject = (): void =>
|
|
316
|
+
dataSpaceViewerState.viewProject?.(
|
|
317
|
+
dataSpaceViewerState.groupId,
|
|
318
|
+
dataSpaceViewerState.artifactId,
|
|
319
|
+
dataSpaceViewerState.versionId,
|
|
320
|
+
undefined,
|
|
321
|
+
);
|
|
322
|
+
const viewDataSpaceInProject = (): void =>
|
|
323
|
+
dataSpaceViewerState.viewProject?.(
|
|
324
|
+
dataSpaceViewerState.groupId,
|
|
325
|
+
dataSpaceViewerState.artifactId,
|
|
326
|
+
dataSpaceViewerState.versionId,
|
|
327
|
+
analysisResult.path,
|
|
328
|
+
);
|
|
313
329
|
|
|
314
330
|
return (
|
|
315
|
-
<div className="data-
|
|
316
|
-
<div className="data-
|
|
317
|
-
<div className="data-
|
|
331
|
+
<div className="data-space__viewer__info">
|
|
332
|
+
<div className="data-space__viewer__info__section">
|
|
333
|
+
<div className="data-space__viewer__info__section__entry">
|
|
334
|
+
<div className="data-space__viewer__info__project-info__label">
|
|
335
|
+
Project
|
|
336
|
+
</div>
|
|
337
|
+
<button
|
|
338
|
+
className="data-space__viewer__info__project-info__value"
|
|
339
|
+
tabIndex={-1}
|
|
340
|
+
title="View Project"
|
|
341
|
+
onClick={viewProject}
|
|
342
|
+
>
|
|
343
|
+
{generateGAVCoordinates(
|
|
344
|
+
dataSpaceViewerState.groupId,
|
|
345
|
+
dataSpaceViewerState.artifactId,
|
|
346
|
+
dataSpaceViewerState.versionId,
|
|
347
|
+
)}
|
|
348
|
+
</button>
|
|
349
|
+
<div className="data-space__viewer__info__project-info__link">
|
|
350
|
+
<ExternalLinkIcon />
|
|
351
|
+
</div>
|
|
352
|
+
</div>
|
|
353
|
+
<div className="data-space__viewer__info__section__entry">
|
|
354
|
+
<div className="data-space__viewer__info__project-info__label">
|
|
355
|
+
Data Space
|
|
356
|
+
</div>
|
|
357
|
+
<button
|
|
358
|
+
className="data-space__viewer__info__project-info__value"
|
|
359
|
+
tabIndex={-1}
|
|
360
|
+
title="View Data Space"
|
|
361
|
+
onClick={viewDataSpaceInProject}
|
|
362
|
+
>
|
|
363
|
+
{analysisResult.path}
|
|
364
|
+
</button>
|
|
365
|
+
<div className="data-space__viewer__info__project-info__link">
|
|
366
|
+
<ExternalLinkIcon />
|
|
367
|
+
</div>
|
|
368
|
+
</div>
|
|
369
|
+
</div>
|
|
370
|
+
<div className="data-space__viewer__info__section">
|
|
371
|
+
<div className="data-space__viewer__info__section__title">
|
|
318
372
|
Tagged Values
|
|
319
373
|
</div>
|
|
320
374
|
{analysisResult.taggedValues.length !== 0 &&
|
|
321
375
|
analysisResult.taggedValues.map((taggedValue) => (
|
|
322
376
|
<div
|
|
323
377
|
key={taggedValue._UUID}
|
|
324
|
-
className="data-
|
|
378
|
+
className="data-space__viewer__info__section__entry"
|
|
325
379
|
>
|
|
326
380
|
<div
|
|
327
|
-
className="data-
|
|
381
|
+
className="data-space__viewer__info__tagged-value__tag"
|
|
328
382
|
title={`${taggedValue.profile}.${taggedValue.tag}`}
|
|
329
383
|
>
|
|
330
384
|
{`${extractElementNameFromPath(taggedValue.profile)}.${
|
|
331
385
|
taggedValue.tag
|
|
332
386
|
}`}
|
|
333
387
|
</div>
|
|
334
|
-
<div className="data-
|
|
388
|
+
<div className="data-space__viewer__info__tagged-value__value">
|
|
335
389
|
{taggedValue.value}
|
|
336
390
|
</div>
|
|
337
391
|
</div>
|
|
338
392
|
))}
|
|
339
393
|
{analysisResult.taggedValues.length === 0 && (
|
|
340
|
-
<div className="data-
|
|
394
|
+
<div className="data-space__viewer__info__section__placeholder">
|
|
341
395
|
(empty)
|
|
342
396
|
</div>
|
|
343
397
|
)}
|
|
344
398
|
</div>
|
|
345
|
-
<div className="data-
|
|
346
|
-
<div className="data-
|
|
399
|
+
<div className="data-space__viewer__info__section">
|
|
400
|
+
<div className="data-space__viewer__info__section__title">
|
|
347
401
|
Stereotypes
|
|
348
402
|
</div>
|
|
349
403
|
{analysisResult.stereotypes.length !== 0 &&
|
|
350
404
|
analysisResult.stereotypes.map((stereotype) => (
|
|
351
405
|
<div
|
|
352
406
|
key={stereotype._UUID}
|
|
353
|
-
className="data-
|
|
407
|
+
className="data-space__viewer__info__section__entry"
|
|
354
408
|
title={`${stereotype.profile}.${stereotype.value}`}
|
|
355
409
|
>
|
|
356
|
-
<div className="data-
|
|
410
|
+
<div className="data-space__viewer__info__steoreotype">
|
|
357
411
|
{`${extractElementNameFromPath(stereotype.profile)}.${
|
|
358
412
|
stereotype.value
|
|
359
413
|
}`}
|
|
@@ -361,7 +415,7 @@ const DataSpaceTags = observer(
|
|
|
361
415
|
</div>
|
|
362
416
|
))}
|
|
363
417
|
{analysisResult.stereotypes.length === 0 && (
|
|
364
|
-
<div className="data-
|
|
418
|
+
<div className="data-space__viewer__info__section__placeholder">
|
|
365
419
|
(empty)
|
|
366
420
|
</div>
|
|
367
421
|
)}
|
|
@@ -454,9 +508,9 @@ export const DataSpaceViewer = observer(
|
|
|
454
508
|
icon: <ShieldIcon />,
|
|
455
509
|
},
|
|
456
510
|
{
|
|
457
|
-
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.
|
|
458
|
-
title: '
|
|
459
|
-
icon: <
|
|
511
|
+
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.INFO,
|
|
512
|
+
title: 'Info',
|
|
513
|
+
icon: <InfoCircleIcon />,
|
|
460
514
|
},
|
|
461
515
|
{
|
|
462
516
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT,
|
|
@@ -477,15 +531,24 @@ export const DataSpaceViewer = observer(
|
|
|
477
531
|
<div className="data-space__viewer">
|
|
478
532
|
<div className="data-space__viewer__header">
|
|
479
533
|
<button
|
|
480
|
-
className="data-
|
|
534
|
+
className="data-space__viewer__title"
|
|
481
535
|
tabIndex={-1}
|
|
482
|
-
title=
|
|
536
|
+
title={`View Project (${generateGAVCoordinates(
|
|
537
|
+
dataSpaceViewerState.groupId,
|
|
538
|
+
dataSpaceViewerState.artifactId,
|
|
539
|
+
dataSpaceViewerState.versionId,
|
|
540
|
+
)})`}
|
|
483
541
|
onClick={viewProject}
|
|
484
542
|
>
|
|
485
|
-
<div
|
|
486
|
-
|
|
543
|
+
<div
|
|
544
|
+
className="data-space__viewer__title__label"
|
|
545
|
+
title={`${analysisResult.title ?? analysisResult.name} - ${
|
|
546
|
+
analysisResult.path
|
|
547
|
+
}`}
|
|
548
|
+
>
|
|
549
|
+
{analysisResult.title ?? analysisResult.name}
|
|
487
550
|
</div>
|
|
488
|
-
<div className="data-
|
|
551
|
+
<div className="data-space__viewer__title__link">
|
|
489
552
|
<ExternalLinkSquareIcon />
|
|
490
553
|
</div>
|
|
491
554
|
</button>
|
|
@@ -552,8 +615,8 @@ export const DataSpaceViewer = observer(
|
|
|
552
615
|
</BlankPanelContent>
|
|
553
616
|
)}
|
|
554
617
|
{dataSpaceViewerState.currentActivity ===
|
|
555
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.
|
|
556
|
-
<
|
|
618
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.INFO && (
|
|
619
|
+
<DataSpaceInfo dataSpaceViewerState={dataSpaceViewerState} />
|
|
557
620
|
)}
|
|
558
621
|
{dataSpaceViewerState.currentActivity ===
|
|
559
622
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT && (
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
ArrowLeftIcon,
|
|
27
27
|
CustomSelectorInput,
|
|
28
28
|
SearchIcon,
|
|
29
|
+
createFilter,
|
|
29
30
|
} from '@finos/legend-art';
|
|
30
31
|
import { useQuerySetupStore } from '@finos/legend-application-query';
|
|
31
32
|
import { generateGAVCoordinates } from '@finos/legend-server-depot';
|
|
@@ -41,7 +42,7 @@ import { DataSpaceViewer } from '../DataSpaceViewer.js';
|
|
|
41
42
|
|
|
42
43
|
type DataSpaceOption = { label: string; value: DataSpaceContext };
|
|
43
44
|
const buildDataSpaceOption = (value: DataSpaceContext): DataSpaceOption => ({
|
|
44
|
-
label: value.
|
|
45
|
+
label: value.title ?? value.name,
|
|
45
46
|
value: value,
|
|
46
47
|
});
|
|
47
48
|
|
|
@@ -86,13 +87,31 @@ export const DataspaceQuerySetup = observer(
|
|
|
86
87
|
querySetupState.setDataSpaceViewerState(undefined);
|
|
87
88
|
}
|
|
88
89
|
};
|
|
90
|
+
const filterOption = createFilter({
|
|
91
|
+
ignoreCase: true,
|
|
92
|
+
ignoreAccents: false,
|
|
93
|
+
stringify: (option: DataSpaceOption): string =>
|
|
94
|
+
`${option.label} - ${option.value.path}`,
|
|
95
|
+
});
|
|
89
96
|
const formatQueryOptionLabel = (
|
|
90
97
|
option: DataSpaceOption,
|
|
91
98
|
): React.ReactNode => (
|
|
92
|
-
<div
|
|
99
|
+
<div
|
|
100
|
+
className="query-setup__data-space__option"
|
|
101
|
+
title={`${option.label} - ${
|
|
102
|
+
option.value.path
|
|
103
|
+
} - ${generateGAVCoordinates(
|
|
104
|
+
option.value.groupId,
|
|
105
|
+
option.value.artifactId,
|
|
106
|
+
option.value.versionId,
|
|
107
|
+
)}`}
|
|
108
|
+
>
|
|
93
109
|
<div className="query-setup__data-space__option__label">
|
|
94
110
|
{option.label}
|
|
95
111
|
</div>
|
|
112
|
+
<div className="query-setup__data-space__option__path">
|
|
113
|
+
{option.value.path}
|
|
114
|
+
</div>
|
|
96
115
|
<div className="query-setup__data-space__option__gav">
|
|
97
116
|
{generateGAVCoordinates(
|
|
98
117
|
option.value.groupId,
|
|
@@ -181,6 +200,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
181
200
|
isClearable={true}
|
|
182
201
|
escapeClearsValue={true}
|
|
183
202
|
darkMode={true}
|
|
203
|
+
filterOption={filterOption}
|
|
184
204
|
formatOptionLabel={formatQueryOptionLabel}
|
|
185
205
|
/>
|
|
186
206
|
<button
|
package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts
CHANGED
|
@@ -64,6 +64,7 @@ export class DataSpace extends PackageableElement implements Hashable {
|
|
|
64
64
|
executionContexts: DataSpaceExecutionContext[] = [];
|
|
65
65
|
defaultExecutionContext!: DataSpaceExecutionContext;
|
|
66
66
|
featuredDiagrams?: PackageableElementReference<Diagram>[] | undefined;
|
|
67
|
+
title?: string | undefined;
|
|
67
68
|
description?: string | undefined;
|
|
68
69
|
supportInfo?: DataSpaceSupportInfo | undefined;
|
|
69
70
|
|
|
@@ -81,6 +82,7 @@ export class DataSpace extends PackageableElement implements Hashable {
|
|
|
81
82
|
(diagram) => diagram.valueForSerialization ?? '',
|
|
82
83
|
),
|
|
83
84
|
),
|
|
85
|
+
this.title ?? '',
|
|
84
86
|
this.description ?? '',
|
|
85
87
|
this.supportInfo ?? '',
|
|
86
88
|
]);
|
|
@@ -52,6 +52,7 @@ export class DataSpaceAnalysisResult {
|
|
|
52
52
|
path!: string;
|
|
53
53
|
taggedValues: DataSpaceTaggedValueInfo[] = [];
|
|
54
54
|
stereotypes: DataSpaceStereotypeInfo[] = [];
|
|
55
|
+
title?: string | undefined;
|
|
55
56
|
description?: string | undefined;
|
|
56
57
|
supportInfo?: DataSpaceSupportInfo | undefined;
|
|
57
58
|
|
|
@@ -147,6 +147,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
147
147
|
),
|
|
148
148
|
`Can't find default execution context '${elementProtocol.defaultExecutionContext}'`,
|
|
149
149
|
);
|
|
150
|
+
element.title = elementProtocol.title;
|
|
150
151
|
element.description = elementProtocol.description;
|
|
151
152
|
if (elementProtocol.featuredDiagrams) {
|
|
152
153
|
element.featuredDiagrams = elementProtocol.featuredDiagrams.map(
|
|
@@ -254,6 +255,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
254
255
|
);
|
|
255
256
|
protocol.defaultExecutionContext =
|
|
256
257
|
metamodel.defaultExecutionContext.name;
|
|
258
|
+
protocol.title = metamodel.title;
|
|
257
259
|
protocol.description = metamodel.description;
|
|
258
260
|
protocol.featuredDiagrams = metamodel.featuredDiagrams?.map(
|
|
259
261
|
(diagramPath) =>
|