@finos/legend-application-query 13.5.2 → 13.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
  2. package/lib/components/Core_LegendQueryApplicationPlugin.js +29 -0
  3. package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
  4. package/lib/components/QueryEditor.d.ts.map +1 -1
  5. package/lib/components/QueryEditor.js +4 -1
  6. package/lib/components/QueryEditor.js.map +1 -1
  7. package/lib/components/data-space/DataSpaceInfo.d.ts +27 -0
  8. package/lib/components/data-space/DataSpaceInfo.d.ts.map +1 -0
  9. package/lib/components/data-space/DataSpaceInfo.js +44 -0
  10. package/lib/components/data-space/DataSpaceInfo.js.map +1 -0
  11. package/lib/index.css +2 -2
  12. package/lib/index.css.map +1 -1
  13. package/lib/package.json +1 -1
  14. package/lib/stores/EditExistingQuerySetupStore.d.ts.map +1 -1
  15. package/lib/stores/EditExistingQuerySetupStore.js +11 -2
  16. package/lib/stores/EditExistingQuerySetupStore.js.map +1 -1
  17. package/lib/stores/QueryEditorStore.d.ts +7 -1
  18. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  19. package/lib/stores/QueryEditorStore.js +77 -4
  20. package/lib/stores/QueryEditorStore.js.map +1 -1
  21. package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts +3 -2
  22. package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts.map +1 -1
  23. package/lib/stores/data-space/DataSpaceQueryCreatorStore.js +27 -2
  24. package/lib/stores/data-space/DataSpaceQueryCreatorStore.js.map +1 -1
  25. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts +3 -2
  26. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts.map +1 -1
  27. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js +23 -2
  28. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
  29. package/package.json +6 -6
  30. package/src/components/Core_LegendQueryApplicationPlugin.tsx +37 -0
  31. package/src/components/QueryEditor.tsx +12 -0
  32. package/src/components/data-space/DataSpaceInfo.tsx +174 -0
  33. package/src/stores/EditExistingQuerySetupStore.ts +21 -8
  34. package/src/stores/QueryEditorStore.ts +103 -6
  35. package/src/stores/data-space/DataSpaceQueryCreatorStore.ts +39 -2
  36. package/src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts +32 -1
  37. package/tsconfig.json +1 -0
@@ -15,14 +15,14 @@
15
15
  */
16
16
  import { action, computed, flow, flowResult, makeObservable, observable, override, } from 'mobx';
17
17
  import { LogEvent, assertErrorThrown, uuid, assertType, guaranteeNonNullable, ActionState, StopWatch, guaranteeType, quantifyList, assertNonNullable, returnUndefOnError, UnsupportedOperationError, } from '@finos/legend-shared';
18
- import { GraphManagerState, Query, PureExecution, PackageableElementExplicitReference, RuntimePointer, GRAPH_MANAGER_EVENT, extractElementNameFromPath, Mapping, createGraphBuilderReport, LegendSDLC, QuerySearchSpecification, toLightQuery, QueryParameterValue, reportGraphAnalytics, cloneQueryStereotype, cloneQueryTaggedValue, QueryDataSpaceExecutionContext, QueryExplicitExecutionContext, } from '@finos/legend-graph';
18
+ import { GraphManagerState, Query, PureExecution, PackageableElementExplicitReference, RuntimePointer, GRAPH_MANAGER_EVENT, extractElementNameFromPath, Mapping, createGraphBuilderReport, LegendSDLC, QuerySearchSpecification, toLightQuery, QueryParameterValue, reportGraphAnalytics, cloneQueryStereotype, cloneQueryTaggedValue, QueryDataSpaceExecutionContext, QueryExplicitExecutionContext, QueryProjectCoordinates, } from '@finos/legend-graph';
19
19
  import { generateExistingQueryEditorRoute, generateMappingQueryCreatorRoute, generateServiceQueryCreatorRoute, } from '../__lib__/LegendQueryNavigation.js';
20
20
  import { LEGEND_QUERY_APP_EVENT } from '../__lib__/LegendQueryEvent.js';
21
- import {} from '@finos/legend-storage';
21
+ import { parseGACoordinates, } from '@finos/legend-storage';
22
22
  import { resolveVersion, StoreProjectData, LATEST_VERSION_ALIAS, VersionedProjectData, } from '@finos/legend-server-depot';
23
23
  import { ActionAlertActionType, ActionAlertType, DEFAULT_TAB_SIZE, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
24
24
  import { LegendQueryEventHelper } from '../__lib__/LegendQueryEventHelper.js';
25
- import { ClassQueryBuilderState, MappingQueryBuilderState, ServiceQueryBuilderState, QueryLoaderState, QueryBuilderDataBrowserWorkflow, QueryBuilderActionConfig, } from '@finos/legend-query-builder';
25
+ import { ClassQueryBuilderState, MappingQueryBuilderState, ServiceQueryBuilderState, QueryLoaderState, QueryBuilderDataBrowserWorkflow, QueryBuilderActionConfig, QUERY_LOADER_DEFAULT_QUERY_SEARCH_LIMIT, } from '@finos/legend-query-builder';
26
26
  import { LegendQueryUserDataHelper } from '../__lib__/LegendQueryUserDataHelper.js';
27
27
  import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
28
28
  import { DataSpaceQueryBuilderState, } from '@finos/legend-extension-dsl-data-space/application';
@@ -122,6 +122,7 @@ export class QueryEditorStore {
122
122
  existingQueryName;
123
123
  showRegisterServiceModal = false;
124
124
  showAppInfo = false;
125
+ showDataspaceInfo = false;
125
126
  constructor(applicationStore, depotServerClient) {
126
127
  makeObservable(this, {
127
128
  queryCreatorState: observable,
@@ -129,11 +130,13 @@ export class QueryEditorStore {
129
130
  existingQueryName: observable,
130
131
  showRegisterServiceModal: observable,
131
132
  showAppInfo: observable,
133
+ showDataspaceInfo: observable,
132
134
  queryBuilderState: observable,
133
135
  isPerformingBlockingAction: computed,
134
136
  setExistingQueryName: action,
135
137
  setShowRegisterServiceModal: action,
136
138
  setShowAppInfo: action,
139
+ setShowDataspaceInfo: action,
137
140
  initialize: flow,
138
141
  buildGraph: flow,
139
142
  searchExistingQueryName: flow,
@@ -149,7 +152,15 @@ export class QueryEditorStore {
149
152
  applicationStore.navigationService.navigator.goToLocation(generateExistingQueryEditorRoute(query.id), { ignoreBlocking: true });
150
153
  });
151
154
  },
152
- fetchDefaultQueries: () => this.graphManagerState.graphManager.getQueries(LegendQueryUserDataHelper.getRecentlyViewedQueries(this.applicationStore.userDataService)),
155
+ fetchDefaultQueries: async () => {
156
+ const recentReviewedQueries = await this.graphManagerState.graphManager.getQueries(LegendQueryUserDataHelper.getRecentlyViewedQueries(this.applicationStore.userDataService));
157
+ if (recentReviewedQueries.length <= 0) {
158
+ const searchSpecification = new QuerySearchSpecification();
159
+ searchSpecification.limit = QUERY_LOADER_DEFAULT_QUERY_SEARCH_LIMIT;
160
+ return this.graphManagerState.graphManager.searchQueries(this.decorateSearchSpecification(searchSpecification));
161
+ }
162
+ return recentReviewedQueries;
163
+ },
153
164
  generateDefaultQueriesSummaryText: (queries) => queries.length
154
165
  ? `Showing ${quantifyList(queries, 'recently viewed query', 'recently viewed queries')}`
155
166
  : `No recently viewed queries`,
@@ -181,12 +192,18 @@ export class QueryEditorStore {
181
192
  setShowAppInfo(val) {
182
193
  this.showAppInfo = val;
183
194
  }
195
+ setShowDataspaceInfo(val) {
196
+ this.showDataspaceInfo = val;
197
+ }
184
198
  setShowRegisterServiceModal(val) {
185
199
  this.showRegisterServiceModal = val;
186
200
  }
187
201
  get isPerformingBlockingAction() {
188
202
  return this.queryCreatorState.createQueryState.isInProgress;
189
203
  }
204
+ decorateSearchSpecification(val) {
205
+ return val;
206
+ }
190
207
  /**
191
208
  * Set up the editor state before building the graph
192
209
  */
@@ -391,6 +408,24 @@ export class MappingQueryCreatorStore extends QueryEditorStore {
391
408
  },
392
409
  };
393
410
  }
411
+ decorateSearchSpecification(val) {
412
+ const currentProjectCoordinates = new QueryProjectCoordinates();
413
+ currentProjectCoordinates.groupId = this.groupId;
414
+ currentProjectCoordinates.artifactId = this.artifactId;
415
+ val.projectCoordinates = [
416
+ // either get queries for the current project
417
+ currentProjectCoordinates,
418
+ // or any of its dependencies
419
+ ...Array.from(this.graphManagerState.graph.dependencyManager.projectDependencyModelsIndex.keys()).map((dependencyKey) => {
420
+ const { groupId, artifactId } = parseGACoordinates(dependencyKey);
421
+ const coordinates = new QueryProjectCoordinates();
422
+ coordinates.groupId = groupId;
423
+ coordinates.artifactId = artifactId;
424
+ return coordinates;
425
+ }),
426
+ ];
427
+ return val;
428
+ }
394
429
  }
395
430
  export class ServiceQueryCreatorStore extends QueryEditorStore {
396
431
  groupId;
@@ -445,6 +480,24 @@ export class ServiceQueryCreatorStore extends QueryEditorStore {
445
480
  },
446
481
  };
447
482
  }
483
+ decorateSearchSpecification(val) {
484
+ const currentProjectCoordinates = new QueryProjectCoordinates();
485
+ currentProjectCoordinates.groupId = this.groupId;
486
+ currentProjectCoordinates.artifactId = this.artifactId;
487
+ val.projectCoordinates = [
488
+ // either get queries for the current project
489
+ currentProjectCoordinates,
490
+ // or any of its dependencies
491
+ ...Array.from(this.graphManagerState.graph.dependencyManager.projectDependencyModelsIndex.keys()).map((dependencyKey) => {
492
+ const { groupId, artifactId } = parseGACoordinates(dependencyKey);
493
+ const coordinates = new QueryProjectCoordinates();
494
+ coordinates.groupId = groupId;
495
+ coordinates.artifactId = artifactId;
496
+ return coordinates;
497
+ }),
498
+ ];
499
+ return val;
500
+ }
448
501
  }
449
502
  export class ExistingQueryUpdateState {
450
503
  editorStore;
@@ -815,5 +868,25 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
815
868
  },
816
869
  };
817
870
  }
871
+ decorateSearchSpecification(val) {
872
+ const currentProjectCoordinates = new QueryProjectCoordinates();
873
+ if (this.query) {
874
+ currentProjectCoordinates.groupId = this.query.groupId;
875
+ currentProjectCoordinates.artifactId = this.query.artifactId;
876
+ }
877
+ val.projectCoordinates = [
878
+ // either get queries for the current project
879
+ currentProjectCoordinates,
880
+ // or any of its dependencies
881
+ ...Array.from(this.graphManagerState.graph.dependencyManager.projectDependencyModelsIndex.keys()).map((dependencyKey) => {
882
+ const { groupId, artifactId } = parseGACoordinates(dependencyKey);
883
+ const coordinates = new QueryProjectCoordinates();
884
+ coordinates.groupId = groupId;
885
+ coordinates.artifactId = artifactId;
886
+ return coordinates;
887
+ }),
888
+ ];
889
+ return val;
890
+ }
818
891
  }
819
892
  //# sourceMappingURL=QueryEditorStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorStore.js","sourceRoot":"","sources":["../../src/stores/QueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,EACV,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAGL,QAAQ,EACR,iBAAiB,EACjB,IAAI,EACJ,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EASL,iBAAiB,EACjB,KAAK,EACL,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,mBAAmB,EACnB,0BAA0B,EAC1B,OAAO,EACP,wBAAwB,EACxB,UAAU,EACV,wBAAwB,EACxB,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,8BAA8B,EAC9B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAIN,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,sBAAsB,EAA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ACpC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;gBACxC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"QueryEditorStore.js","sourceRoot":"","sources":["../../src/stores/QueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,EACV,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAGL,QAAQ,EACR,iBAAiB,EACjB,IAAI,EACJ,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EASL,iBAAiB,EACjB,KAAK,EACL,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,mBAAmB,EACnB,0BAA0B,EAC1B,OAAO,EACP,wBAAwB,EACxB,UAAU,EACV,wBAAwB,EACxB,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,8BAA8B,EAC9B,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,8CAA8C,GAC/C,MAAM,2B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AI,CAAC,KAAK,CAAC,OAAO,CAAC;YACvD,yBAAyB,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC;QAC/D,CAAC;QACD,GAAG,CAAC,kBAAkB,GAAG;YACvB,6CAA6C;YAC7C,yBAAyB;YACzB,6BAA6B;YAC7B,GAAG,KAAK,CAAC,IAAI,CACX,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,IAAI,EAAE,CACnF,CAAC,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE;gBACtB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC;gBAClE,MAAM,WAAW,GAAG,IAAI,uBAAuB,EAAE,CAAC;gBAClD,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC;gBAC9B,WAAW,CAAC,UAAU,GAAG,UAAU,CAAC;gBACpC,OAAO,WAAW,CAAC;YACrB,CAAC,CAAC;SACH,CAAC;QACF,OAAO,GAAG,CAAC;IACb,CAAC;CACF"}
@@ -13,11 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type RawLambda } from '@finos/legend-graph';
16
+ import { type QuerySearchSpecification, type RawLambda } from '@finos/legend-graph';
17
17
  import { type DepotServerClient } from '@finos/legend-server-depot';
18
18
  import { type GeneratorFn } from '@finos/legend-shared';
19
19
  import { type QueryBuilderState } from '@finos/legend-query-builder';
20
- import type { Entity, ProjectGAVCoordinates } from '@finos/legend-storage';
20
+ import { type Entity, type ProjectGAVCoordinates } from '@finos/legend-storage';
21
21
  import { QueryEditorStore, type QueryPersistConfiguration } from '../QueryEditorStore.js';
22
22
  import type { LegendQueryApplicationStore } from '../LegendQueryBaseStore.js';
23
23
  import { DataSpaceQueryBuilderState, type DataSpaceInfo } from '@finos/legend-extension-dsl-data-space/application';
@@ -57,6 +57,7 @@ export declare class DataSpaceQueryCreatorStore extends QueryEditorStore {
57
57
  update?: boolean | undefined;
58
58
  }): QueryPersistConfiguration | undefined;
59
59
  onInitializeFailure(): void;
60
+ decorateSearchSpecification(val: QuerySearchSpecification): QuerySearchSpecification;
60
61
  }
61
62
  export {};
62
63
  //# sourceMappingURL=DataSpaceQueryCreatorStore.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAOL,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAO3E,OAAO,EAEL,gBAAgB,EAChB,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EACL,0BAA0B,EAE1B,KAAK,aAAa,EACnB,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,iDAAiD,CAAC;AAiBzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,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,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,KAAK,sBAAsB,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5B"}
@@ -13,13 +13,14 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { extractElementNameFromPath, RuntimePointer, PackageableElementExplicitReference, } from '@finos/legend-graph';
16
+ import { extractElementNameFromPath, RuntimePointer, PackageableElementExplicitReference, QueryProjectCoordinates, } from '@finos/legend-graph';
17
17
  import { StoreProjectData, LATEST_VERSION_ALIAS, } from '@finos/legend-server-depot';
18
18
  import { LogEvent, assertErrorThrown, assertTrue, guaranteeNonNullable, returnUndefOnError, uuid, } from '@finos/legend-shared';
19
19
  import { QueryBuilderDataBrowserWorkflow, } from '@finos/legend-query-builder';
20
+ import { parseGACoordinates, } from '@finos/legend-storage';
20
21
  import { DSL_DataSpace_getGraphManagerExtension, getDataSpace, retrieveAnalyticsResultCache, } from '@finos/legend-extension-dsl-data-space/graph';
21
22
  import { QueryBuilderActionConfig_QueryApplication, QueryEditorStore, } from '../QueryEditorStore.js';
22
- import { DataSpaceQueryBuilderState, createQueryClassTaggedValue, } from '@finos/legend-extension-dsl-data-space/application';
23
+ import { DataSpaceQueryBuilderState, createQueryClassTaggedValue, createQueryDataSpaceTaggedValue, } from '@finos/legend-extension-dsl-data-space/application';
23
24
  import { LegendQueryUserDataHelper } from '../../__lib__/LegendQueryUserDataHelper.js';
24
25
  import { createVisitedDataSpaceId, hasDataSpaceInfoBeenVisited, createSimpleVisitedDataspace, } from '../../__lib__/LegendQueryUserDataSpaceHelper.js';
25
26
  import { LEGEND_QUERY_APP_EVENT } from '../../__lib__/LegendQueryEvent.js';
@@ -245,5 +246,29 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
245
246
  LegendQueryUserDataHelper.removeRecentlyViewedDataSpace(this.applicationStore.userDataService, createVisitedDataSpaceId(this.queryableDataSpace.groupId, this.queryableDataSpace.artifactId, this.queryableDataSpace.dataSpacePath));
246
247
  }
247
248
  }
249
+ decorateSearchSpecification(val) {
250
+ if (this.queryableDataSpace) {
251
+ const currentProjectCoordinates = new QueryProjectCoordinates();
252
+ currentProjectCoordinates.groupId = this.queryableDataSpace.groupId;
253
+ currentProjectCoordinates.artifactId = this.queryableDataSpace.artifactId;
254
+ val.projectCoordinates = [
255
+ // either get queries for the current project
256
+ currentProjectCoordinates,
257
+ // or any of its dependencies
258
+ ...Array.from(this.graphManagerState.graph.dependencyManager.projectDependencyModelsIndex.keys()).map((dependencyKey) => {
259
+ const { groupId, artifactId } = parseGACoordinates(dependencyKey);
260
+ const coordinates = new QueryProjectCoordinates();
261
+ coordinates.groupId = groupId;
262
+ coordinates.artifactId = artifactId;
263
+ return coordinates;
264
+ }),
265
+ ];
266
+ val.taggedValues = [
267
+ createQueryDataSpaceTaggedValue(this.queryableDataSpace.dataSpacePath),
268
+ ];
269
+ val.combineTaggedValuesCondition = true;
270
+ }
271
+ return val;
272
+ }
248
273
  }
249
274
  //# sourceMappingURL=DataSpaceQueryCreatorStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,cAAc,EACd,mCAAmC,GAEpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,+BAA+B,GAEhC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAEL,sCAAsC,EACtC,YAAY,EACZ,4BAA4B,GAC7B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,yCAAyC,EACzC,gBAAgB,GAEjB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAE5B,M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iBAAiB,EAAE,KAAK,EAAE,CAAC;wBAClC,KAAK,CAAC,YAAY,GAAG;4BACnB,2BAA2B,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC;yBAC/D,CAAC;oBACJ,CAAC;gBACH,CAAC;aACF,CAAC;QACJ,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAEQ,mBAAmB;QAC1B,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC5B,yBAAyB,CAAC,6BAA6B,CACrD,IAAI,CAAC,gBAAgB,CAAC,eAAe,EACrC,wBAAwB,CACtB,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAC/B,IAAI,CAAC,kBAAkB,CAAC,UAAU,EAClC,IAAI,CAAC,kBAAkB,CAAC,aAAa,CACtC,CACF,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,cAAc,EACd,mCAAmC,EACnC,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,+BAA+B,GAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kBAAkB,GAGnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,sCAAsC,EACtC,YAAY,EACZ,4BAA4B,GAC7B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,yCAAyC,EACzC,gBAAgB,GAEjB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,0BAA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ClD,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC;oBAC9B,WAAW,CAAC,UAAU,GAAG,UAAU,CAAC;oBACpC,OAAO,WAAW,CAAC;gBACrB,CAAC,CAAC;aACH,CAAC;YACF,GAAG,CAAC,YAAY,GAAG;gBACjB,+BAA+B,CAAC,IAAI,CAAC,kBAAkB,CAAC,aAAa,CAAC;aACvE,CAAC;YACF,GAAG,CAAC,4BAA4B,GAAG,IAAI,CAAC;QAC1C,CAAC;QAED,OAAO,GAAG,CAAC;IACb,CAAC;CACF"}
@@ -13,10 +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 RawLambda } from '@finos/legend-graph';
16
+ import { type RawLambda, type QuerySearchSpecification } from '@finos/legend-graph';
17
17
  import { type DepotServerClient } from '@finos/legend-server-depot';
18
18
  import { type QueryBuilderState } from '@finos/legend-query-builder';
19
- import type { ProjectGAVCoordinates } from '@finos/legend-storage';
19
+ import { type ProjectGAVCoordinates } from '@finos/legend-storage';
20
20
  import { QueryEditorStore, type QueryPersistConfiguration } from '../QueryEditorStore.js';
21
21
  import type { LegendQueryApplicationStore } from '../LegendQueryBaseStore.js';
22
22
  export declare class DataSpaceTemplateQueryCreatorStore extends QueryEditorStore {
@@ -32,5 +32,6 @@ export declare class DataSpaceTemplateQueryCreatorStore extends QueryEditorStore
32
32
  getPersistConfiguration(lambda: RawLambda, options?: {
33
33
  update?: boolean | undefined;
34
34
  }): QueryPersistConfiguration;
35
+ decorateSearchSpecification(val: QuerySearchSpecification): QuerySearchSpecification;
35
36
  }
36
37
  //# sourceMappingURL=DataSpaceTemplateQueryCreatorStore.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceTemplateQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,SAAS,EACf,MA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MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,gBAAgB,EAChB,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAe9E,qBAAa,kCAAmC,SAAQ,gBAAgB;IACtE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;gBAG1B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM;IAWzB,cAAc,IAAI,qBAAqB;IAQjC,2BAA2B,IAAI,OAAO,CAAC,iBAAiB,CAAC;IA4E/D,uBAAuB,CACrB,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,GACzC,yBAAyB;IAqBnB,2BAA2B,CAClC,GAAG,EAAE,wBAAwB,GAC5B,wBAAwB;CAsB5B"}
@@ -13,13 +13,14 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { extractElementNameFromPath, } from '@finos/legend-graph';
16
+ import { QueryProjectCoordinates, extractElementNameFromPath, } from '@finos/legend-graph';
17
17
  import { StoreProjectData, } from '@finos/legend-server-depot';
18
18
  import { filterByType, guaranteeNonNullable, uuid } from '@finos/legend-shared';
19
19
  import { QueryBuilderDataBrowserWorkflow, } from '@finos/legend-query-builder';
20
+ import { parseGACoordinates, } from '@finos/legend-storage';
20
21
  import { QueryBuilderActionConfig_QueryApplication, QueryEditorStore, } from '../QueryEditorStore.js';
21
22
  import { DSL_DataSpace_getGraphManagerExtension, DataSpaceExecutableTemplate, getDataSpace, retrieveAnalyticsResultCache, } from '@finos/legend-extension-dsl-data-space/graph';
22
- import { DataSpaceQueryBuilderState, createQueryClassTaggedValue, } from '@finos/legend-extension-dsl-data-space/application';
23
+ import { DataSpaceQueryBuilderState, createQueryClassTaggedValue, createQueryDataSpaceTaggedValue, } from '@finos/legend-extension-dsl-data-space/application';
23
24
  import { createDataSpaceDepoRepo } from './DataSpaceQueryBuilderHelper.js';
24
25
  export class DataSpaceTemplateQueryCreatorStore extends QueryEditorStore {
25
26
  groupId;
@@ -92,5 +93,25 @@ export class DataSpaceTemplateQueryCreatorStore extends QueryEditorStore {
92
93
  },
93
94
  };
94
95
  }
96
+ decorateSearchSpecification(val) {
97
+ const currentProjectCoordinates = new QueryProjectCoordinates();
98
+ currentProjectCoordinates.groupId = this.groupId;
99
+ currentProjectCoordinates.artifactId = this.artifactId;
100
+ val.projectCoordinates = [
101
+ // either get queries for the current project
102
+ currentProjectCoordinates,
103
+ // or any of its dependencies
104
+ ...Array.from(this.graphManagerState.graph.dependencyManager.projectDependencyModelsIndex.keys()).map((dependencyKey) => {
105
+ const { groupId, artifactId } = parseGACoordinates(dependencyKey);
106
+ const coordinates = new QueryProjectCoordinates();
107
+ coordinates.groupId = groupId;
108
+ coordinates.artifactId = artifactId;
109
+ return coordinates;
110
+ }),
111
+ ];
112
+ val.taggedValues = [createQueryDataSpaceTaggedValue(this.dataSpacePath)];
113
+ val.combineTaggedValuesCondition = true;
114
+ return val;
115
+ }
95
116
  }
96
117
  //# sourceMappingURL=DataSpaceTemplateQueryCreatorStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceTemplateQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,GAG3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAEL,+BAA+B,GAChC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,yCAAyC,EACzC,gBAAgB,GAEjB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,sCAAsC,EACtC,2BAA2B,EAC3B,YAAY,EACZ,4BAA4B,GAC7B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAE5B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,OAAO,kCAAmC,SAAQ,gBAAgB;IAC7D,OAAO,CAAS;IAChB,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,aAAa,CAAS;IACtB,eAAe,CAAS;IACjC,kBAAkB,CAAU;IAE5B,YACE,gBAA6C,EAC7C,iBAAoC,EACpC,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,eAAuB;QAEvB,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG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E,OAAO,EAAE,MAAM;gBAC1B,CAAC,CAAC,GAAG,0BAA0B,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE;gBACrD,CAAC,CAAC,iBAAiB,0BAA0B,CAAC,IAAI,CAAC,aAAa,CAAC,IAC7D,IAAI,CAAC,eACP,GAAG;YACP,SAAS,EAAE,CAAC,KAAY,EAAQ,EAAE;gBAChC,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;gBAClB,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;gBAC7B,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBACnC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACjC,IAAI,IAAI,CAAC,iBAAiB,EAAE,KAAK,EAAE,CAAC;oBAClC,KAAK,CAAC,YAAY,GAAG;wBACnB,2BAA2B,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC;qBAC/D,CAAC;gBACJ,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceTemplateQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,0BAA0B,GAI3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAEL,+BAA+B,GAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kBAAkB,GAEnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yCAAyC,EACzC,gBAAgB,GAEjB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,sCAAsC,EACtC,2BAA2B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Y,GAAG;wBACnB,2BAA2B,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC;qBAC/D,CAAC;gBACJ,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,2BAA2B,CAClC,GAA6B;QAE7B,MAAM,yBAAyB,GAAG,IAAI,uBAAuB,EAAE,CAAC;QAChE,yBAAyB,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QACjD,yBAAyB,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QACvD,GAAG,CAAC,kBAAkB,GAAG;YACvB,6CAA6C;YAC7C,yBAAyB;YACzB,6BAA6B;YAC7B,GAAG,KAAK,CAAC,IAAI,CACX,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,IAAI,EAAE,CACnF,CAAC,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE;gBACtB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC;gBAClE,MAAM,WAAW,GAAG,IAAI,uBAAuB,EAAE,CAAC;gBAClD,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC;gBAC9B,WAAW,CAAC,UAAU,GAAG,UAAU,CAAC;gBACpC,OAAO,WAAW,CAAC;YACrB,CAAC,CAAC;SACH,CAAC;QACF,GAAG,CAAC,YAAY,GAAG,CAAC,+BAA+B,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;QACzE,GAAG,CAAC,4BAA4B,GAAG,IAAI,CAAC;QACxC,OAAO,GAAG,CAAC;IACb,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.5.2",
3
+ "version": "13.5.3",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,12 +43,12 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "15.1.7",
47
- "@finos/legend-art": "7.1.35",
48
- "@finos/legend-extension-dsl-data-space": "10.3.23",
46
+ "@finos/legend-application": "15.1.8",
47
+ "@finos/legend-art": "7.1.36",
48
+ "@finos/legend-extension-dsl-data-space": "10.3.24",
49
49
  "@finos/legend-graph": "31.10.3",
50
- "@finos/legend-lego": "1.2.37",
51
- "@finos/legend-query-builder": "4.14.47",
50
+ "@finos/legend-lego": "1.2.38",
51
+ "@finos/legend-query-builder": "4.14.48",
52
52
  "@finos/legend-server-depot": "6.0.44",
53
53
  "@finos/legend-shared": "10.0.39",
54
54
  "@finos/legend-storage": "3.0.89",
@@ -87,6 +87,7 @@ import { parseProjectIdentifier } from '@finos/legend-storage';
87
87
  import { QueryEditorExistingQueryHeader } from './QueryEditor.js';
88
88
  import { DataSpaceTemplateQueryCreatorStore } from '../stores/data-space/DataSpaceTemplateQueryCreatorStore.js';
89
89
  import { createViewSDLCProjectHandler } from '../stores/data-space/DataSpaceQueryBuilderHelper.js';
90
+ import { DataSpaceQueryCreatorStore } from '../stores/data-space/DataSpaceQueryCreatorStore.js';
90
91
 
91
92
  export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
92
93
  static NAME = packageJson.extensions.applicationQueryPlugin;
@@ -401,6 +402,42 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
401
402
  },
402
403
  icon: <InfoCircleIcon />,
403
404
  },
405
+ {
406
+ key: 'about-dataspace',
407
+ title: 'About Dataspace',
408
+ label: 'About Dataspace',
409
+ disableFunc: (queryBuilderState): boolean => {
410
+ if (
411
+ queryBuilderState.workflowState.actionConfig instanceof
412
+ QueryBuilderActionConfig_QueryApplication
413
+ ) {
414
+ const editorStore =
415
+ queryBuilderState.workflowState.actionConfig.editorStore;
416
+ if (
417
+ (editorStore instanceof ExistingQueryEditorStore &&
418
+ queryBuilderState instanceof DataSpaceQueryBuilderState) ||
419
+ editorStore instanceof DataSpaceTemplateQueryCreatorStore ||
420
+ editorStore instanceof DataSpaceQueryCreatorStore
421
+ ) {
422
+ return false;
423
+ }
424
+ }
425
+ return true;
426
+ },
427
+ onClick: (queryBuilderState): void => {
428
+ if (
429
+ queryBuilderState.workflowState.actionConfig instanceof
430
+ QueryBuilderActionConfig_QueryApplication
431
+ ) {
432
+ const editorStore =
433
+ queryBuilderState.workflowState.actionConfig.editorStore;
434
+ if (queryBuilderState instanceof DataSpaceQueryBuilderState) {
435
+ editorStore.setShowDataspaceInfo(true);
436
+ }
437
+ }
438
+ },
439
+ icon: <InfoCircleIcon />,
440
+ },
404
441
  ];
405
442
  }
406
443