@finos/legend-application-query 13.5.15 → 13.5.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAezE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AA6LrC,eAAO,MAAM,8BAA8B,WACjC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;;CAqHF,CAAC;AAsLF,eAAO,MAAM,WAAW;;CAyLtB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAS9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAmB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC"}
1
+ {"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAezE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AA6LrC,eAAO,MAAM,8BAA8B,WACjC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;;CAqHF,CAAC;AAsLF,eAAO,MAAM,WAAW;;CAyLtB,CAAC;AAqBH,eAAO,MAAM,mBAAmB;;CAqB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAmB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC"}
@@ -228,10 +228,33 @@ export const QueryEditor = observer(() => {
228
228
  editorStore.updateState.showQueryInfo &&
229
229
  editorStore.query && (_jsx(QueryEditorExistingQueryInfoModal, { existingEditorStore: editorStore, query: editorStore.query })), _jsx(ReleaseLogManager, {}), _jsx(ReleaseNotesManager, {})] }));
230
230
  });
231
+ const EXISTING_QUERY_PARAM_SUFFIX = 'p:';
232
+ const processQueryParams = (urlQuery) => {
233
+ const queryParamEntries = Array.from(Object.entries(urlQuery));
234
+ if (queryParamEntries.length) {
235
+ const paramValues = {};
236
+ queryParamEntries.forEach(([key, queryValue]) => {
237
+ if (queryValue && key.startsWith(EXISTING_QUERY_PARAM_SUFFIX)) {
238
+ paramValues[key.slice(EXISTING_QUERY_PARAM_SUFFIX.length)] = queryValue;
239
+ }
240
+ });
241
+ return Object.values(paramValues).length === 0 ? undefined : paramValues;
242
+ }
243
+ return undefined;
244
+ };
231
245
  export const ExistingQueryEditor = observer(() => {
246
+ const applicationStore = useApplicationStore();
232
247
  const params = useParams();
233
248
  const queryId = params[LEGEND_QUERY_ROUTE_PATTERN_TOKEN.QUERY_ID];
234
- return (_jsx(ExistingQueryEditorStoreProvider, { queryId: queryId, children: _jsx(QueryEditor, {}) }));
249
+ const queryParams = applicationStore.navigationService.navigator.getCurrentLocationParameters();
250
+ const processed = processQueryParams(queryParams);
251
+ useEffect(() => {
252
+ // clear params
253
+ if (processed && Object.keys(processed).length) {
254
+ applicationStore.navigationService.navigator.updateCurrentLocation(generateExistingQueryEditorRoute(queryId));
255
+ }
256
+ }, [applicationStore, queryId, processed]);
257
+ return (_jsx(ExistingQueryEditorStoreProvider, { queryId: queryId, params: processed, children: _jsx(QueryEditor, {}) }));
235
258
  });
236
259
  export const ServiceQueryCreator = observer(() => {
237
260
  const applicationStore = useApplicationStore();
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,E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E,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -18,6 +18,7 @@ export declare const QueryEditorStoreContext: import("react").Context<QueryEdito
18
18
  export declare const ExistingQueryEditorStoreProvider: React.FC<{
19
19
  children: React.ReactNode;
20
20
  queryId: string;
21
+ params: Record<string, string> | undefined;
21
22
  }>;
22
23
  export declare const MappingQueryCreatorStoreProvider: React.FC<{
23
24
  children: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorStoreProvider.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditorStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EACL,KAAK,gBAAgB,EAItB,MAAM,+BAA+B,CAAC;AAOvC,eAAO,MAAM,uBAAuB,uDAExB,CAAC;AAEb,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;CACjB,CAgBA,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAqBA,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAqBA,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,gBAIpC,CAAC"}
1
+ {"version":3,"file":"QueryEditorStoreProvider.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditorStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EACL,KAAK,gBAAgB,EAItB,MAAM,+BAA+B,CAAC;AAOvC,eAAO,MAAM,uBAAuB,uDAExB,CAAC;AAEb,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;CAC5C,CAiBA,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAqBA,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAqBA,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,gBAIpC,CAAC"}
@@ -21,10 +21,10 @@ import { MappingQueryCreatorStore, ExistingQueryEditorStore, ServiceQueryCreator
21
21
  import { useLegendQueryApplicationStore, useLegendQueryBaseStore, } from './LegendQueryFrameworkProvider.js';
22
22
  import { parseGAVCoordinates } from '@finos/legend-storage';
23
23
  export const QueryEditorStoreContext = createContext(undefined);
24
- export const ExistingQueryEditorStoreProvider = ({ children, queryId }) => {
24
+ export const ExistingQueryEditorStoreProvider = ({ children, queryId, params }) => {
25
25
  const applicationStore = useLegendQueryApplicationStore();
26
26
  const baseStore = useLegendQueryBaseStore();
27
- const store = useLocalObservable(() => new ExistingQueryEditorStore(applicationStore, baseStore.depotServerClient, queryId));
27
+ const store = useLocalObservable(() => new ExistingQueryEditorStore(applicationStore, baseStore.depotServerClient, queryId, params));
28
28
  return (_jsx(QueryEditorStoreContext.Provider, { value: store, children: children }));
29
29
  };
30
30
  export const MappingQueryCreatorStoreProvider = ({ children, gav, mappingPath, runtimePath }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorStoreProvider.js","sourceRoot":"","sources":["../../src/components/QueryEditorStoreProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAEL,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAElD,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,gCAAgC,GAGxC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IAC7B,MAAM,gBAAgB,GAAG,8BAA8B,EAAE,CAAC;IAC1D,MAAM,SAAS,GAAG,uBAAuB,EAAE,CAAC;IAC5C,MAAM,KAAK,GAAG,kBAAkB,CAC9B,GAAG,EAAE,CACH,IAAI,wBAAwB,CAC1B,gBAAgB,EAChB,SAAS,CAAC,iBAAiB,EAC3B,OAAO,CACR,CACJ,CAAC;IACF,OAAO,CACL,KAAC,uBAAuB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAC3C,QA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AC,uBAAuB,CAAC,EACnC,0CAA0C,CAC3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryEditorComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,wBAAwB,CAAC;AAG5E,OAAO,EACL,KAAK,iBAAiB,EAGtB,SAAS,EAET,KAAK,qCAAqC,EAE3C,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C,eAAO,MAAM,mCAAmC,mBAAoB;IAClE,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;IAC/C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa,CAAC,EAAE,wBAAwB,CAAC;CAC1C,KAAG,wBAuBH,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBACd,wBAAwB,YACjC,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC,KAC5E,OAAO,CAAC;IACT,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAmGA,CAAC"}
1
+ {"version":3,"file":"QueryEditorComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryEditorComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,wBAAwB,CAAC;AAG5E,OAAO,EACL,KAAK,iBAAiB,EAGtB,SAAS,EAET,KAAK,qCAAqC,EAE3C,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C,eAAO,MAAM,mCAAmC,mBAAoB;IAClE,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;IAC/C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa,CAAC,EAAE,wBAAwB,CAAC;CAC1C,KAAG,wBAwBH,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBACd,wBAAwB,YACjC,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC,KAC5E,OAAO,CAAC;IACT,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAmGA,CAAC"}
@@ -38,7 +38,7 @@ export const TEST__provideMockedQueryEditorStore = (customization) => {
38
38
  const value = customization?.mock ??
39
39
  new ExistingQueryEditorStore(applicationStore, new DepotServerClient({
40
40
  serverUrl: applicationStore.config.depotServerUrl,
41
- }), TEST_QUERY_ID);
41
+ }), TEST_QUERY_ID, undefined);
42
42
  const MOCK__QueryEditorStoreProvider = require('../QueryEditorStoreProvider.js'); // eslint-disable-line @typescript-eslint/no-unsafe-assignment
43
43
  MOCK__QueryEditorStoreProvider.useQueryEditorStore = createMock();
44
44
  MOCK__QueryEditorStoreProvider.useQueryEditorStore.mockReturnValue(value);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryEditorComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAEL,KAAK,EACL,UAAU,EACV,SAAS,EACT,mCAAmC,EAEnC,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EACL,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yCAAyC,EAAE,MAAM,gEAAgE,CAAC;AAC3H,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAEL,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAE5F,MAAM,aAAa,GAAG,eAAe,CAAC;AACtC,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC;AAE7C,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,aAKnD,EAA4B,EAAE;IAC7B,MAAM,aAAa,G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,CACrC,iBAAiB,CAAC,iBAAiB,EACnC,kDAAkD,CACnD;KACF,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryEditorComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryEditorComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAEL,KAAK,EACL,UAAU,EACV,SAAS,EACT,mCAAmC,EAEnC,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EACL,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yCAAyC,EAAE,MAAM,gEAAgE,CAAC;AAC3H,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAEL,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAE5F,MAAM,aAAa,GAAG,eAAe,CAAC;AACtC,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC;AAE7C,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,aAKnD,EAA4B,EAAE;IAC7B,MAAM,aAAa,GACjB,aAAa,E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CACrC,iBAAiB,CAAC,iBAAiB,EACnC,kDAAkD,CACnD;KACF,CAAC;AACJ,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-query v13.5.15
1
+ /** @license @finos/legend-application-query v13.5.17
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.5.15",
3
+ "version": "13.5.17",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -69,7 +69,7 @@
69
69
  "eslint": "8.57.0",
70
70
  "jest": "29.7.0",
71
71
  "npm-run-all": "4.1.5",
72
- "rimraf": "6.0.0",
72
+ "rimraf": "6.0.1",
73
73
  "sass": "1.77.7",
74
74
  "typescript": "5.5.3"
75
75
  },
@@ -134,8 +134,9 @@ export declare class ExistingQueryEditorStore extends QueryEditorStore {
134
134
  private queryId;
135
135
  private _lightQuery?;
136
136
  query: Query | undefined;
137
+ urlQueryParamValues: Record<string, string> | undefined;
137
138
  updateState: ExistingQueryUpdateState;
138
- constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient, queryId: string);
139
+ constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient, queryId: string, urlQueryParamValues: Record<string, string> | undefined);
139
140
  get lightQuery(): LightQuery;
140
141
  get isPerformingBlockingAction(): boolean;
141
142
  logBuildGraphMetrics(graphBuilderReportData: GraphInitializationReport): void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorStore.d.ts","sourceRoot":"","sources":["../../src/stores/QueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,WAAW,EAOhB,WAAW,EACX,SAAS,EAMV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,UAAU,EAC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EAAE,iBAAiB,EACpC,OAAO,EAAE,MAAM,EACf,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS;IAmBzD,IAAI,UAAU,IAAI,UAAU,CAE3B;IAED,IAAa,0BAA0B,IAAI,OAAO,CAKjD;IAEQ,oBAAoB,CAC3B,sBAAsB,EAAE,yBAAyB,GAChD,IAAI;IAiBP,aAAa,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI;IAIpC,QAAQ,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAI1B,cAAc,IAAI,qBAAqB;IAQxB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAM1C,4BAA4B,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAyLtE,2BAA2B,CAC/B,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC,iBAAiB,CAAC;IA4F7B,uBAAuB,CACrB,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,GACzC,yBAAyB;IAmBnB,2BAA2B,CAClC,GAAG,EAAE,wBAAwB,GAC5B,wBAAwB;CAsB5B"}
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { action, computed, flow, flowResult, makeObservable, observable, override, } from 'mobx';
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, QueryProjectCoordinates, } from '@finos/legend-graph';
17
+ import { LogEvent, assertErrorThrown, uuid, assertType, guaranteeNonNullable, ActionState, StopWatch, guaranteeType, quantifyList, assertNonNullable, returnUndefOnError, UnsupportedOperationError, filterByType, } 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, QueryProjectCoordinates, buildLambdaVariableExpressions, VariableExpression, PrimitiveType, } 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
21
  import { parseGACoordinates, } from '@finos/legend-storage';
@@ -654,12 +654,33 @@ const resolveExecutionContext = (dataSpace, ex, queryMapping, queryRuntime) => {
654
654
  const matchingExecContexts = dataSpace.executionContexts.filter((ec) => ec.name === ex);
655
655
  return matchingExecContexts[0];
656
656
  };
657
+ const processQueryParams = (query, savedQueryParams, urlParams, graphManagerState) => {
658
+ const resolvedStringParams = new Map();
659
+ savedQueryParams?.forEach((e) => {
660
+ resolvedStringParams.set(e.name, e.content);
661
+ });
662
+ // here we overwrite any params coming from the url
663
+ if (urlParams && Object.values(urlParams).length > 0) {
664
+ const compiledParams = returnUndefOnError(() => buildLambdaVariableExpressions(query, graphManagerState))?.filter(filterByType(VariableExpression));
665
+ Object.entries(urlParams).forEach(([key, value]) => {
666
+ const cP = compiledParams?.find((e) => e.name === key);
667
+ if (cP?.genericType?.value.rawType === PrimitiveType.STRING) {
668
+ resolvedStringParams.set(key, `'${value}'`);
669
+ }
670
+ else {
671
+ resolvedStringParams.set(key, value);
672
+ }
673
+ });
674
+ }
675
+ return resolvedStringParams.size > 0 ? resolvedStringParams : undefined;
676
+ };
657
677
  export class ExistingQueryEditorStore extends QueryEditorStore {
658
678
  queryId;
659
679
  _lightQuery;
660
680
  query;
681
+ urlQueryParamValues;
661
682
  updateState;
662
- constructor(applicationStore, depotServerClient, queryId) {
683
+ constructor(applicationStore, depotServerClient, queryId, urlQueryParamValues) {
663
684
  super(applicationStore, depotServerClient);
664
685
  makeObservable(this, {
665
686
  query: observable,
@@ -671,6 +692,7 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
671
692
  isPerformingBlockingAction: override,
672
693
  });
673
694
  this.queryId = queryId;
695
+ this.urlQueryParamValues = urlQueryParamValues;
674
696
  this.updateState = new ExistingQueryUpdateState(this);
675
697
  }
676
698
  get lightQuery() {
@@ -810,19 +832,23 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
810
832
  LegendQueryUserDataHelper.addRecentlyViewedQuery(this.applicationStore.userDataService, query.id);
811
833
  // if no extension found, fall back to basic `class -> mapping -> runtime` mode
812
834
  const queryBuilderState = await this.initQueryBuildStateFromQuery(query);
835
+ const initailizeQueryStateStopWatch = new StopWatch();
836
+ const initailizeQueryStateReport = reportGraphAnalytics(this.graphManagerState.graph);
837
+ const existingQueryLambda = await this.graphManagerState.graphManager.pureCodeToLambda(query.content);
813
838
  // leverage initialization of query builder state to ensure we handle unsupported queries
814
839
  let defaultParameters = undefined;
815
- if (query.defaultParameterValues?.length) {
816
- const params = new Map();
817
- query.defaultParameterValues.forEach((e) => {
818
- params.set(e.name, e.content);
819
- });
820
- defaultParameters =
821
- await this.graphManagerState.graphManager.pureCodeToValueSpecifications(params, this.graphManagerState.graph);
840
+ const processedQueryParamValues = processQueryParams(existingQueryLambda, query.defaultParameterValues, this.urlQueryParamValues, this.graphManagerState);
841
+ if (processedQueryParamValues?.size) {
842
+ try {
843
+ defaultParameters =
844
+ await this.graphManagerState.graphManager.pureCodeToValueSpecifications(processedQueryParamValues, this.graphManagerState.graph);
845
+ }
846
+ catch (error) {
847
+ assertErrorThrown(error);
848
+ this.applicationStore.logService.error(LogEvent.create(LEGEND_QUERY_APP_EVENT.GENERIC_FAILURE), `Error resolving preset query param values: ${error.message}`);
849
+ }
822
850
  }
823
- const initailizeQueryStateStopWatch = new StopWatch();
824
- const initailizeQueryStateReport = reportGraphAnalytics(this.graphManagerState.graph);
825
- queryBuilderState.initializeWithQuery(await this.graphManagerState.graphManager.pureCodeToLambda(query.content), defaultParameters, query.gridConfig);
851
+ queryBuilderState.initializeWithQuery(existingQueryLambda, defaultParameters, query.gridConfig);
826
852
  initailizeQueryStateReport.timings =
827
853
  this.applicationStore.timeService.finalizeTimingsRecord(initailizeQueryStateStopWatch, initailizeQueryStateReport.timings);
828
854
  const report = reportGraphAnalytics(this.graphManagerState.graph);
@@ -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,EAC7B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gCA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AC,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.5.15",
3
+ "version": "13.5.17",
4
4
  "description": "Legend Query application core",
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": "15.1.15",
47
- "@finos/legend-art": "7.1.43",
48
- "@finos/legend-extension-dsl-data-space": "10.3.36",
49
- "@finos/legend-graph": "31.10.10",
50
- "@finos/legend-lego": "1.2.46",
51
- "@finos/legend-query-builder": "4.14.58",
52
- "@finos/legend-server-depot": "6.0.50",
53
- "@finos/legend-shared": "10.0.45",
54
- "@finos/legend-storage": "3.0.95",
46
+ "@finos/legend-application": "15.1.17",
47
+ "@finos/legend-art": "7.1.45",
48
+ "@finos/legend-extension-dsl-data-space": "10.3.38",
49
+ "@finos/legend-graph": "31.10.12",
50
+ "@finos/legend-lego": "1.2.48",
51
+ "@finos/legend-query-builder": "4.14.60",
52
+ "@finos/legend-server-depot": "6.0.52",
53
+ "@finos/legend-shared": "10.0.47",
54
+ "@finos/legend-storage": "3.0.97",
55
55
  "@testing-library/dom": "10.3.1",
56
56
  "@testing-library/react": "16.0.0",
57
57
  "@types/react": "18.3.3",
@@ -63,13 +63,13 @@
63
63
  "serializr": "3.0.2"
64
64
  },
65
65
  "devDependencies": {
66
- "@finos/legend-dev-utils": "2.1.13",
66
+ "@finos/legend-dev-utils": "2.1.14",
67
67
  "@jest/globals": "29.7.0",
68
68
  "cross-env": "7.0.3",
69
69
  "eslint": "8.57.0",
70
70
  "jest": "29.7.0",
71
71
  "npm-run-all": "4.1.5",
72
- "rimraf": "6.0.0",
72
+ "rimraf": "6.0.1",
73
73
  "sass": "1.77.7",
74
74
  "typescript": "5.5.3"
75
75
  },
@@ -755,12 +755,43 @@ export const QueryEditor = observer(() => {
755
755
  );
756
756
  });
757
757
 
758
+ const EXISTING_QUERY_PARAM_SUFFIX = 'p:';
759
+
760
+ const processQueryParams = (
761
+ urlQuery: Record<string, string | undefined>,
762
+ ): Record<string, string> | undefined => {
763
+ const queryParamEntries = Array.from(Object.entries(urlQuery));
764
+ if (queryParamEntries.length) {
765
+ const paramValues: Record<string, string> = {};
766
+ queryParamEntries.forEach(([key, queryValue]) => {
767
+ if (queryValue && key.startsWith(EXISTING_QUERY_PARAM_SUFFIX)) {
768
+ paramValues[key.slice(EXISTING_QUERY_PARAM_SUFFIX.length)] = queryValue;
769
+ }
770
+ });
771
+ return Object.values(paramValues).length === 0 ? undefined : paramValues;
772
+ }
773
+
774
+ return undefined;
775
+ };
776
+
758
777
  export const ExistingQueryEditor = observer(() => {
778
+ const applicationStore = useApplicationStore();
759
779
  const params = useParams<ExistingQueryEditorPathParams>();
760
780
  const queryId = params[LEGEND_QUERY_ROUTE_PATTERN_TOKEN.QUERY_ID];
781
+ const queryParams =
782
+ applicationStore.navigationService.navigator.getCurrentLocationParameters();
783
+ const processed = processQueryParams(queryParams);
784
+ useEffect(() => {
785
+ // clear params
786
+ if (processed && Object.keys(processed).length) {
787
+ applicationStore.navigationService.navigator.updateCurrentLocation(
788
+ generateExistingQueryEditorRoute(queryId),
789
+ );
790
+ }
791
+ }, [applicationStore, queryId, processed]);
761
792
 
762
793
  return (
763
- <ExistingQueryEditorStoreProvider queryId={queryId}>
794
+ <ExistingQueryEditorStoreProvider queryId={queryId} params={processed}>
764
795
  <QueryEditor />
765
796
  </ExistingQueryEditorStoreProvider>
766
797
  );
@@ -36,7 +36,8 @@ export const QueryEditorStoreContext = createContext<
36
36
  export const ExistingQueryEditorStoreProvider: React.FC<{
37
37
  children: React.ReactNode;
38
38
  queryId: string;
39
- }> = ({ children, queryId }) => {
39
+ params: Record<string, string> | undefined;
40
+ }> = ({ children, queryId, params }) => {
40
41
  const applicationStore = useLegendQueryApplicationStore();
41
42
  const baseStore = useLegendQueryBaseStore();
42
43
  const store = useLocalObservable(
@@ -45,6 +46,7 @@ export const ExistingQueryEditorStoreProvider: React.FC<{
45
46
  applicationStore,
46
47
  baseStore.depotServerClient,
47
48
  queryId,
49
+ params,
48
50
  ),
49
51
  );
50
52
  return (
@@ -71,6 +71,7 @@ export const TEST__provideMockedQueryEditorStore = (customization?: {
71
71
  serverUrl: applicationStore.config.depotServerUrl,
72
72
  }),
73
73
  TEST_QUERY_ID,
74
+ undefined,
74
75
  );
75
76
  const MOCK__QueryEditorStoreProvider = require('../QueryEditorStoreProvider.js'); // eslint-disable-line @typescript-eslint/no-unsafe-assignment
76
77
  MOCK__QueryEditorStoreProvider.useQueryEditorStore = createMock();
@@ -38,6 +38,7 @@ import {
38
38
  assertNonNullable,
39
39
  returnUndefOnError,
40
40
  UnsupportedOperationError,
41
+ filterByType,
41
42
  } from '@finos/legend-shared';
42
43
  import {
43
44
  type LightQuery,
@@ -67,6 +68,9 @@ import {
67
68
  QueryDataSpaceExecutionContext,
68
69
  QueryExplicitExecutionContext,
69
70
  QueryProjectCoordinates,
71
+ buildLambdaVariableExpressions,
72
+ VariableExpression,
73
+ PrimitiveType,
70
74
  } from '@finos/legend-graph';
71
75
  import {
72
76
  generateExistingQueryEditorRoute,
@@ -1147,16 +1151,45 @@ const resolveExecutionContext = (
1147
1151
  return matchingExecContexts[0];
1148
1152
  };
1149
1153
 
1154
+ const processQueryParams = (
1155
+ query: RawLambda,
1156
+ savedQueryParams: QueryParameterValue[] | undefined,
1157
+ urlParams: Record<string, string> | undefined,
1158
+ graphManagerState: GraphManagerState,
1159
+ ): Map<string, string> | undefined => {
1160
+ const resolvedStringParams = new Map<string, string>();
1161
+ savedQueryParams?.forEach((e) => {
1162
+ resolvedStringParams.set(e.name, e.content);
1163
+ });
1164
+ // here we overwrite any params coming from the url
1165
+ if (urlParams && Object.values(urlParams).length > 0) {
1166
+ const compiledParams = returnUndefOnError(() =>
1167
+ buildLambdaVariableExpressions(query, graphManagerState),
1168
+ )?.filter(filterByType(VariableExpression));
1169
+ Object.entries(urlParams).forEach(([key, value]) => {
1170
+ const cP = compiledParams?.find((e) => e.name === key);
1171
+ if (cP?.genericType?.value.rawType === PrimitiveType.STRING) {
1172
+ resolvedStringParams.set(key, `'${value}'`);
1173
+ } else {
1174
+ resolvedStringParams.set(key, value);
1175
+ }
1176
+ });
1177
+ }
1178
+ return resolvedStringParams.size > 0 ? resolvedStringParams : undefined;
1179
+ };
1180
+
1150
1181
  export class ExistingQueryEditorStore extends QueryEditorStore {
1151
1182
  private queryId: string;
1152
1183
  private _lightQuery?: LightQuery | undefined;
1153
1184
  query: Query | undefined;
1185
+ urlQueryParamValues: Record<string, string> | undefined;
1154
1186
  updateState: ExistingQueryUpdateState;
1155
1187
 
1156
1188
  constructor(
1157
1189
  applicationStore: LegendQueryApplicationStore,
1158
1190
  depotServerClient: DepotServerClient,
1159
1191
  queryId: string,
1192
+ urlQueryParamValues: Record<string, string> | undefined,
1160
1193
  ) {
1161
1194
  super(applicationStore, depotServerClient);
1162
1195
 
@@ -1171,6 +1204,7 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
1171
1204
  });
1172
1205
 
1173
1206
  this.queryId = queryId;
1207
+ this.urlQueryParamValues = urlQueryParamValues;
1174
1208
  this.updateState = new ExistingQueryUpdateState(this);
1175
1209
  }
1176
1210
 
@@ -1427,27 +1461,40 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
1427
1461
  // if no extension found, fall back to basic `class -> mapping -> runtime` mode
1428
1462
  const queryBuilderState = await this.initQueryBuildStateFromQuery(query);
1429
1463
 
1464
+ const initailizeQueryStateStopWatch = new StopWatch();
1465
+ const initailizeQueryStateReport = reportGraphAnalytics(
1466
+ this.graphManagerState.graph,
1467
+ );
1468
+ const existingQueryLambda =
1469
+ await this.graphManagerState.graphManager.pureCodeToLambda(query.content);
1470
+
1430
1471
  // leverage initialization of query builder state to ensure we handle unsupported queries
1431
1472
  let defaultParameters: Map<string, ValueSpecification> | undefined =
1432
1473
  undefined;
1433
- if (query.defaultParameterValues?.length) {
1434
- const params = new Map<string, string>();
1435
- query.defaultParameterValues.forEach((e) => {
1436
- params.set(e.name, e.content);
1437
- });
1438
- defaultParameters =
1439
- await this.graphManagerState.graphManager.pureCodeToValueSpecifications(
1440
- params,
1441
- this.graphManagerState.graph,
1474
+ const processedQueryParamValues = processQueryParams(
1475
+ existingQueryLambda,
1476
+ query.defaultParameterValues,
1477
+ this.urlQueryParamValues,
1478
+ this.graphManagerState,
1479
+ );
1480
+ if (processedQueryParamValues?.size) {
1481
+ try {
1482
+ defaultParameters =
1483
+ await this.graphManagerState.graphManager.pureCodeToValueSpecifications(
1484
+ processedQueryParamValues,
1485
+ this.graphManagerState.graph,
1486
+ );
1487
+ } catch (error) {
1488
+ assertErrorThrown(error);
1489
+ this.applicationStore.logService.error(
1490
+ LogEvent.create(LEGEND_QUERY_APP_EVENT.GENERIC_FAILURE),
1491
+ `Error resolving preset query param values: ${error.message}`,
1442
1492
  );
1493
+ }
1443
1494
  }
1444
1495
 
1445
- const initailizeQueryStateStopWatch = new StopWatch();
1446
- const initailizeQueryStateReport = reportGraphAnalytics(
1447
- this.graphManagerState.graph,
1448
- );
1449
1496
  queryBuilderState.initializeWithQuery(
1450
- await this.graphManagerState.graphManager.pureCodeToLambda(query.content),
1497
+ existingQueryLambda,
1451
1498
  defaultParameters,
1452
1499
  query.gridConfig,
1453
1500
  );