@finos/legend-application-query 13.4.13 → 13.4.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/lib/__lib__/LegendQueryUserDataHelper.js +1 -1
  2. package/lib/components/Core_LegendQueryApplicationPlugin.d.ts +3 -1
  3. package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
  4. package/lib/components/Core_LegendQueryApplicationPlugin.js +71 -118
  5. package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
  6. package/lib/components/QueryEditor.d.ts.map +1 -1
  7. package/lib/components/QueryEditor.js +25 -14
  8. package/lib/components/QueryEditor.js.map +1 -1
  9. package/lib/components/data-space/DataSpaceQuerySetup.d.ts.map +1 -1
  10. package/lib/components/data-space/DataSpaceQuerySetup.js +2 -2
  11. package/lib/components/data-space/DataSpaceQuerySetup.js.map +1 -1
  12. package/lib/index.css +2 -2
  13. package/lib/index.css.map +1 -1
  14. package/lib/index.d.ts +0 -1
  15. package/lib/index.d.ts.map +1 -1
  16. package/lib/index.js +0 -1
  17. package/lib/index.js.map +1 -1
  18. package/lib/package.json +1 -1
  19. package/lib/stores/EditExistingQuerySetupStore.js +1 -1
  20. package/lib/stores/EditExistingQuerySetupStore.js.map +1 -1
  21. package/lib/stores/LegendQueryApplicationPlugin.d.ts +0 -8
  22. package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
  23. package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
  24. package/lib/stores/QueryEditorStore.d.ts +2 -0
  25. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  26. package/lib/stores/QueryEditorStore.js +8 -2
  27. package/lib/stores/QueryEditorStore.js.map +1 -1
  28. package/lib/stores/QueryProductionizerSetupStore.js +1 -1
  29. package/lib/stores/QueryProductionizerSetupStore.js.map +1 -1
  30. package/package.json +7 -7
  31. package/src/__lib__/LegendQueryUserDataHelper.ts +1 -1
  32. package/src/components/Core_LegendQueryApplicationPlugin.tsx +136 -324
  33. package/src/components/QueryEditor.tsx +114 -66
  34. package/src/components/data-space/DataSpaceQuerySetup.tsx +2 -1
  35. package/src/index.ts +0 -1
  36. package/src/stores/EditExistingQuerySetupStore.ts +2 -2
  37. package/src/stores/LegendQueryApplicationPlugin.tsx +0 -12
  38. package/src/stores/QueryEditorStore.ts +10 -3
  39. package/src/stores/QueryProductionizerSetupStore.ts +2 -2
  40. package/tsconfig.json +0 -2
  41. package/lib/__lib__/LegendQueryTesting.d.ts +0 -19
  42. package/lib/__lib__/LegendQueryTesting.d.ts.map +0 -1
  43. package/lib/__lib__/LegendQueryTesting.js +0 -20
  44. package/lib/__lib__/LegendQueryTesting.js.map +0 -1
  45. package/lib/application/LegendQueryDocumentation.d.ts +0 -19
  46. package/lib/application/LegendQueryDocumentation.d.ts.map +0 -1
  47. package/lib/application/LegendQueryDocumentation.js +0 -20
  48. package/lib/application/LegendQueryDocumentation.js.map +0 -1
  49. package/src/__lib__/LegendQueryTesting.ts +0 -19
  50. package/src/application/LegendQueryDocumentation.ts +0 -19
@@ -38,7 +38,7 @@ export class LegendQueryUserDataHelper {
38
38
  static removeRecentlyViewedQuery(service, queryId) {
39
39
  const queries = LegendQueryUserDataHelper.getRecentlyViewedQueries(service);
40
40
  const idx = queries.findIndex((query) => query === queryId);
41
- if (idx !== -1) {
41
+ if (idx === -1) {
42
42
  return;
43
43
  }
44
44
  queries.splice(idx, 1);
@@ -15,13 +15,15 @@
15
15
  */
16
16
  import { LegendQueryApplicationPlugin, type QuerySetupActionConfiguration } from '../stores/LegendQueryApplicationPlugin.js';
17
17
  import { type ApplicationPageEntry, type LegendApplicationSetup } from '@finos/legend-application';
18
- import type { QueryBuilderHeaderActionConfiguration } from '@finos/legend-query-builder';
18
+ import type { QueryBuilderHeaderActionConfiguration, QueryBuilderMenuActionConfiguration } from '@finos/legend-query-builder';
19
19
  export declare class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
20
20
  static NAME: string;
21
21
  constructor();
22
22
  getExtraApplicationSetups(): LegendApplicationSetup[];
23
23
  getExtraApplicationPageEntries(): ApplicationPageEntry[];
24
24
  getExtraQuerySetupActionConfigurations(): QuerySetupActionConfiguration[];
25
+ getExtraQueryBuilderExportMenuActionConfigurations?(): QueryBuilderMenuActionConfiguration[];
26
+ getExtraQueryBuilderHelpMenuActionConfigurations?(): QueryBuilderMenuActionConfiguration[];
25
27
  getExtraQueryBuilderHeaderActionConfigurations?(): QueryBuilderHeaderActionConfiguration[];
26
28
  getExtraQueryBuilderHeaderTitleConfigurations?(): QueryBuilderHeaderActionConfiguration;
27
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AAiCnD,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAanC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,6BAA6B,CAAC;AAqBzF,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;IAyGlF,8CAA8C,CAAC,IAAI,qCAAqC,EAAE;IA0f1F,6CAA6C,CAAC,IAAI,qCAAqC;CAgDxF"}
1
+ {"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AA+BnD,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAanC,OAAO,KAAK,EACV,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,6BAA6B,CAAC;AAmBrC,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;IAwGlF,kDAAkD,CAAC,IAAI,mCAAmC,EAAE;IAuE5F,gDAAgD,CAAC,IAAI,mCAAmC,EAAE;IA0E1F,8CAA8C,CAAC,IAAI,qCAAqC,EAAE;IAmL1F,6CAA6C,CAAC,IAAI,qCAAqC;CA6CxF"}
@@ -16,9 +16,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
16
16
  */
17
17
  import { LegendQueryApplicationPlugin, QuerySetupActionTag, } from '../stores/LegendQueryApplicationPlugin.js';
18
18
  import packageJson from '../../package.json' assert { type: 'json' };
19
- import { ArrowCircleUpIcon, Button, CaretDownIcon, CheckIcon, DroidIcon, DropdownMenu, EmptyLightBulbIcon, LightBulbIcon, ManageSearchIcon, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, PlusIcon, RobotIcon, SaveAsIcon, SaveCurrIcon, SquareIcon, } from '@finos/legend-art';
19
+ import { ArrowCircleUpIcon, Button, CaretDownIcon, DroidIcon, DropdownMenu, InfoCircleIcon, ManageSearchIcon, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, PlusIcon, RobotIcon, SaveAsIcon, SaveCurrIcon, SquareIcon, } from '@finos/legend-art';
20
20
  import { generateCloneServiceQuerySetupRoute, generateCreateMappingQuerySetupRoute, generateEditExistingQuerySetupRoute, generateLoadProjectServiceQuerySetup, generateMappingQueryCreatorRoute, generateQueryProductionizerSetupRoute, generateUpdateExistingServiceQuerySetup, LEGEND_QUERY_ROUTE_PATTERN, } from '../__lib__/LegendQueryNavigation.js';
21
- import { LEGEND_APPLICATION_COLOR_THEME, } from '@finos/legend-application';
21
+ import {} from '@finos/legend-application';
22
22
  import { CloneQueryServiceSetup } from './CloneQueryServiceSetup.js';
23
23
  import { QueryProductionizerSetup } from './QueryProductionizerSetup.js';
24
24
  import { UpdateExistingServiceQuerySetup } from './UpdateExistingServiceQuerySetup.js';
@@ -28,12 +28,10 @@ import { generateDataSpaceQueryCreatorRoute, generateDataSpaceQuerySetupRoute, }
28
28
  import { ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, createViewProjectHandler, createViewSDLCProjectHandler, } from '../stores/QueryEditorStore.js';
29
29
  import { DataSpaceQueryBuilderState, generateDataSpaceTemplateQueryPromotionRoute, } from '@finos/legend-extension-dsl-data-space/application';
30
30
  import { RuntimePointer } from '@finos/legend-graph';
31
- import { QUERY_DOCUMENTATION_KEY } from '../application/LegendQueryDocumentation.js';
32
31
  import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
33
32
  import { StoreProjectData } from '@finos/legend-server-depot';
34
33
  import { buildUrl } from '@finos/legend-shared';
35
34
  import { parseProjectIdentifier } from '@finos/legend-storage';
36
- import { QUERY_EDITOR_TEST_ID } from '../__lib__/LegendQueryTesting.js';
37
35
  import { QueryEditorExistingQueryHeader } from './QueryEditor.js';
38
36
  import { DataSpaceTemplateQueryCreatorStore } from '../stores/data-space/DataSpaceTemplateQueryCreatorStore.js';
39
37
  export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
@@ -165,12 +163,13 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
165
163
  },
166
164
  ];
167
165
  }
168
- getExtraQueryBuilderHeaderActionConfigurations() {
166
+ getExtraQueryBuilderExportMenuActionConfigurations() {
169
167
  return [
170
168
  {
171
169
  key: 'promote-as-template-query',
172
- category: 0,
173
- renderer: (queryBuilderState) => {
170
+ title: 'Promote Curated Template query...',
171
+ label: 'Curated Template Query',
172
+ onClick: (queryBuilderState) => {
174
173
  if (queryBuilderState.workflowState.actionConfig instanceof
175
174
  QueryBuilderActionConfig_QueryApplication) {
176
175
  const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
@@ -194,19 +193,66 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
194
193
  editorStore.applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to productionize the query`);
195
194
  }
196
195
  };
197
- const proceedTemplate = () => {
198
- queryBuilderState.changeDetectionState.alertUnsavedChanges(() => {
199
- proceedCuratedTemplateQueryPromotion().catch(editorStore.applicationStore.alertUnhandledError);
200
- });
201
- };
202
- return (_jsx(_Fragment, { children: editorStore instanceof ExistingQueryEditorStore &&
203
- queryBuilderState instanceof DataSpaceQueryBuilderState && (_jsxs("button", { className: "query-editor__header__action btn--dark", tabIndex: -1, onClick: proceedTemplate, title: !(editorStore instanceof ExistingQueryEditorStore)
204
- ? 'Please save your query first before promoting'
205
- : 'Promote Curated Template query...', children: [_jsx(ArrowCircleUpIcon, { className: "query-editor__header__action__icon--productionize" }), _jsx("div", { className: "query-editor__header__action__label", children: "Promote as Template Query" })] })) }));
196
+ queryBuilderState.changeDetectionState.alertUnsavedChanges(() => {
197
+ proceedCuratedTemplateQueryPromotion().catch(editorStore.applicationStore.alertUnhandledError);
198
+ });
199
+ }
200
+ },
201
+ icon: _jsx(ArrowCircleUpIcon, {}),
202
+ },
203
+ ];
204
+ }
205
+ getExtraQueryBuilderHelpMenuActionConfigurations() {
206
+ return [
207
+ {
208
+ key: 'about-query-info',
209
+ title: 'Get Query Info',
210
+ label: 'About Query Info',
211
+ onClick: (queryBuilderState) => {
212
+ if (queryBuilderState.workflowState.actionConfig instanceof
213
+ QueryBuilderActionConfig_QueryApplication) {
214
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
215
+ if (editorStore instanceof ExistingQueryEditorStore) {
216
+ editorStore.updateState.setShowQueryInfo(true);
217
+ }
218
+ }
219
+ },
220
+ icon: _jsx(InfoCircleIcon, {}),
221
+ },
222
+ {
223
+ key: 'about-query-project',
224
+ title: 'Go to Project',
225
+ label: 'Go to Project',
226
+ onClick: (queryBuilderState) => {
227
+ if (queryBuilderState.workflowState.actionConfig instanceof
228
+ QueryBuilderActionConfig_QueryApplication) {
229
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
230
+ LegendQueryTelemetryHelper.logEvent_QueryViewProjectLaunched(editorStore.applicationStore.telemetryService);
231
+ const { groupId, artifactId, versionId } = editorStore.getProjectInfo();
232
+ createViewProjectHandler(editorStore.applicationStore)(groupId, artifactId, versionId, undefined);
206
233
  }
207
- return undefined;
208
234
  },
235
+ icon: _jsx(InfoCircleIcon, {}),
209
236
  },
237
+ {
238
+ key: 'about-query-sdlc-project',
239
+ title: 'Go to SDLC Project',
240
+ label: 'Go to SDLC Project',
241
+ onClick: (queryBuilderState) => {
242
+ if (queryBuilderState.workflowState.actionConfig instanceof
243
+ QueryBuilderActionConfig_QueryApplication) {
244
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
245
+ LegendQueryTelemetryHelper.logEvent_QueryViewSdlcProjectLaunched(editorStore.applicationStore.telemetryService);
246
+ const { groupId, artifactId } = editorStore.getProjectInfo();
247
+ createViewSDLCProjectHandler(editorStore.applicationStore, editorStore.depotServerClient)(groupId, artifactId, undefined).catch(editorStore.applicationStore.alertUnhandledError);
248
+ }
249
+ },
250
+ icon: _jsx(InfoCircleIcon, {}),
251
+ },
252
+ ];
253
+ }
254
+ getExtraQueryBuilderHeaderActionConfigurations() {
255
+ return [
210
256
  {
211
257
  key: 'load-query',
212
258
  category: 0,
@@ -255,121 +301,28 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
255
301
  },
256
302
  },
257
303
  {
258
- key: 'save-query',
304
+ key: 'save-combo',
259
305
  category: 0,
260
306
  renderer: (queryBuilderState) => {
261
307
  if (queryBuilderState.workflowState.actionConfig instanceof
262
308
  QueryBuilderActionConfig_QueryApplication) {
263
309
  const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
264
- const isExistingQuery = editorStore instanceof ExistingQueryEditorStore;
265
310
  const openSaveQueryModal = () => {
266
311
  if (editorStore instanceof ExistingQueryEditorStore) {
267
312
  editorStore.updateState.showSaveModal();
268
313
  }
314
+ else {
315
+ editorStore.queryCreatorState.open(undefined);
316
+ }
269
317
  };
270
- return (_jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: !isExistingQuery ||
271
- editorStore.isPerformingBlockingAction ||
272
- !queryBuilderState.canBuildQuery, onClick: openSaveQueryModal, title: !queryBuilderState.canBuildQuery
273
- ? 'Please fix query errors before saving'
274
- : 'Save query', children: [_jsx(SaveCurrIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "Save" })] }));
275
- }
276
- return undefined;
277
- },
278
- },
279
- {
280
- key: 'save-as',
281
- category: 0,
282
- renderer: (queryBuilderState) => {
283
- if (queryBuilderState.workflowState.actionConfig instanceof
284
- QueryBuilderActionConfig_QueryApplication) {
285
- const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
286
318
  const handleQuerySaveAs = () => {
287
319
  editorStore.queryCreatorState.open(editorStore instanceof ExistingQueryEditorStore
288
320
  ? editorStore.query
289
321
  : undefined);
290
322
  };
291
- return (_jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: editorStore.isPerformingBlockingAction ||
292
- !queryBuilderState.canBuildQuery, onClick: handleQuerySaveAs, title: !queryBuilderState.canBuildQuery
293
- ? 'Please fix query errors before saving'
294
- : 'Save as new query', children: [_jsx(SaveAsIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "Save As..." })] }));
295
- }
296
- return undefined;
297
- },
298
- },
299
- {
300
- key: 'help',
301
- category: 0,
302
- renderer: (queryBuilderState) => {
303
- if (queryBuilderState.workflowState.actionConfig instanceof
304
- QueryBuilderActionConfig_QueryApplication) {
305
- const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
306
- const queryDocEntry = editorStore.applicationStore.documentationService.getDocEntry(QUERY_DOCUMENTATION_KEY.TUTORIAL_QUERY_BUILDER);
307
- const toggleAssistant = () => editorStore.applicationStore.assistantService.toggleAssistant();
308
- const openQueryTutorial = () => {
309
- if (queryDocEntry?.url) {
310
- editorStore.applicationStore.navigationService.navigator.visitAddress(queryDocEntry.url);
311
- }
312
- };
313
- const extraHelpMenuContentItems = editorStore.applicationStore.pluginManager
314
- .getApplicationPlugins()
315
- .flatMap((plugin) => plugin.getExtraQueryEditorHelpMenuActionConfigurations?.() ??
316
- [])
317
- .map((item) => (_jsxs(MenuContentItem, { title: item.title ?? '', onClick: () => item.onClick(editorStore), children: [item.icon && (_jsx(MenuContentItemIcon, { children: item.icon })), _jsx(MenuContentItemLabel, { children: item.label })] }, item.key)));
318
- return (_jsxs(DropdownMenu, { className: "query-editor__header__action btn--dark", disabled: editorStore.isViewProjectActionDisabled, content: _jsxs(MenuContent, { children: [extraHelpMenuContentItems, queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { children: "Open Documentation" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !editorStore.applicationStore.assistantService
319
- .isHidden ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Virtual Assistant" })] })] }), children: [_jsx("div", { className: "query-editor__header__action__label", title: "See more options", children: "Help..." }), _jsx(CaretDownIcon, { className: "query-editor__header__action__dropdown-trigger" })] }));
320
- }
321
- return undefined;
322
- },
323
- },
324
- {
325
- key: 'toggle-theme',
326
- category: 0,
327
- renderer: (queryBuilderState) => {
328
- if (queryBuilderState.workflowState.actionConfig instanceof
329
- QueryBuilderActionConfig_QueryApplication) {
330
- const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
331
- const applicationStore = editorStore.applicationStore;
332
- const TEMPORARY__toggleLightDarkMode = () => {
333
- applicationStore.layoutService.setColorTheme(applicationStore.layoutService
334
- .TEMPORARY__isLightColorThemeEnabled
335
- ? LEGEND_APPLICATION_COLOR_THEME.DEFAULT_DARK
336
- : LEGEND_APPLICATION_COLOR_THEME.LEGACY_LIGHT, { persist: true });
337
- };
338
- return (_jsx("button", { title: "Toggle light/dark mode", onClick: TEMPORARY__toggleLightDarkMode, className: "query-editor__header__action query-editor__header__action__theme-toggler", children: applicationStore.layoutService
339
- .TEMPORARY__isLightColorThemeEnabled ? (_jsx(_Fragment, { children: _jsx(LightBulbIcon, { className: "query-editor__header__action__icon--bulb--light" }) })) : (_jsx(_Fragment, { children: _jsx(EmptyLightBulbIcon, { className: "query-editor__header__action__icon--bulb--dark" }) })) }));
340
- }
341
- return undefined;
342
- },
343
- },
344
- {
345
- key: 'more-actions',
346
- category: 0,
347
- renderer: (queryBuilderState) => {
348
- if (queryBuilderState.workflowState.actionConfig instanceof
349
- QueryBuilderActionConfig_QueryApplication) {
350
- const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
351
- const isExistingQuery = editorStore instanceof ExistingQueryEditorStore;
352
- const renameQuery = () => {
353
- if (editorStore instanceof ExistingQueryEditorStore) {
354
- editorStore.updateState.setQueryRenamer(true);
355
- }
356
- };
357
- const showQueryInfo = () => {
358
- if (editorStore instanceof ExistingQueryEditorStore) {
359
- editorStore.updateState.setShowQueryInfo(true);
360
- }
361
- };
362
- const viewProject = () => {
363
- LegendQueryTelemetryHelper.logEvent_QueryViewProjectLaunched(editorStore.applicationStore.telemetryService);
364
- const { groupId, artifactId, versionId } = editorStore.getProjectInfo();
365
- createViewProjectHandler(editorStore.applicationStore)(groupId, artifactId, versionId, undefined);
366
- };
367
- const viewSDLCProject = () => {
368
- LegendQueryTelemetryHelper.logEvent_QueryViewSdlcProjectLaunched(editorStore.applicationStore.telemetryService);
369
- const { groupId, artifactId } = editorStore.getProjectInfo();
370
- createViewSDLCProjectHandler(editorStore.applicationStore, editorStore.depotServerClient)(groupId, artifactId, undefined).catch(editorStore.applicationStore.alertUnhandledError);
371
- };
372
- return (_jsxs(DropdownMenu, { className: "query-editor__header__action btn--medium", disabled: editorStore.isViewProjectActionDisabled, content: _jsxs(MenuContent, { children: [isExistingQuery && (_jsx(MenuContentItem, { className: "query-editor__header__action__options", onClick: renameQuery, disabled: !isExistingQuery, children: "Rename Query" })), isExistingQuery && (_jsx(MenuContentItem, { className: "query-editor__header__action__options", onClick: showQueryInfo, disabled: !isExistingQuery, children: "Get Query Info" })), _jsx(MenuContentItem, { className: "query-editor__header__action__options", disabled: editorStore.isViewProjectActionDisabled, onClick: viewProject, children: "Go to Project" }), _jsx(MenuContentItem, { className: "query-editor__header__action__options", disabled: editorStore.isViewProjectActionDisabled, onClick: viewSDLCProject, children: "Go to SDLC project" })] }), children: [_jsx("div", { className: "query-editor__header__action__label", title: "See more options", children: "More Actions..." }), _jsx(CaretDownIcon, { className: "query-editor__header__action__dropdown-trigger" })] }));
323
+ return (_jsxs("div", { className: "query-editor__header__action-combo btn__dropdown-combo", children: [_jsxs(Button, { className: "query-editor__header__action query-editor__header__action-combo__main-btn btn--dak", disabled: editorStore.isPerformingBlockingAction ||
324
+ !queryBuilderState.canBuildQuery, onClick: openSaveQueryModal, title: "Save query", children: [_jsx(SaveCurrIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "Save" })] }), _jsx(DropdownMenu, { className: "query-editor__header__action-combo__dropdown-btn", disabled: editorStore.isViewProjectActionDisabled, title: "query__editor__save-dropdown", content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: handleQuerySaveAs, title: "query__editor__save-dropdown__save-as", disabled: editorStore.isPerformingBlockingAction ||
325
+ !queryBuilderState.canBuildQuery, children: [_jsx(MenuContentItemIcon, { children: _jsx(SaveAsIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Save As New Query" })] }) }), children: _jsx(CaretDownIcon, {}) })] }));
373
326
  }
374
327
  return undefined;
375
328
  },
@@ -393,7 +346,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
393
346
  }
394
347
  return undefined;
395
348
  };
396
- return (_jsx("div", { className: "query-editor__header__content", "data-testid": QUERY_EDITOR_TEST_ID.QUERY_EDITOR_ACTIONS, children: renderQueryTitle() }));
349
+ return (_jsx("div", { className: "query-editor__header__content", children: renderQueryTitle() }));
397
350
  }
398
351
  return undefined;
399
352
  },
@@ -1 +1 @@
1
- {"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GAEpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,SAAS,EACT,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qCAAqC,EACrC,uCAAuC,EACvC,0BAA0B,GAC3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,8BAA8B,GAG/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EACL,4B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AE;wBAC7C,IAAI,WAAW,YAAY,wBAAwB,EAAE,CAAC;4BACpD,OAAO,CACL,KAAC,8BAA8B,IAC7B,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,WAAW,GAChC,CACH,CAAC;wBACJ,CAAC;6BAAM,IACL,WAAW,YAAY,kCAAkC,EACzD,CAAC;4BACD,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,6HAA6H,YACzI,WAAW,CAAC,kBAAkB,GAC3B,EACN,cAAK,SAAS,EAAC,6CAA6C,yBAEtD,IACF,CACP,CAAC;wBACJ,CAAC;wBACD,OAAO,SAAS,CAAC;oBACnB,CAAC,CAAC;oBACF,OAAO,CACL,cACE,SAAS,EAAC,+BAA+B,iBAC5B,oBAAoB,CAAC,oBAAoB,YAErD,gBAAgB,EAAE,GACf,CACP,CAAC;gBACJ,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC"}
1
+ {"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GAEpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,SAAS,EACT,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qCAAqC,EACrC,uC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AC;oBAC3D,MAAM,gBAAgB,GAAG,GAAoB,EAAE;wBAC7C,IAAI,WAAW,YAAY,wBAAwB,EAAE,CAAC;4BACpD,OAAO,CACL,KAAC,8BAA8B,IAC7B,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,WAAW,GAChC,CACH,CAAC;wBACJ,CAAC;6BAAM,IACL,WAAW,YAAY,kCAAkC,EACzD,CAAC;4BACD,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,6HAA6H,YACzI,WAAW,CAAC,kBAAkB,GAC3B,EACN,cAAK,SAAS,EAAC,6CAA6C,yBAEtD,IACF,CACP,CAAC;wBACJ,CAAC;wBACD,OAAO,SAAS,CAAC;oBACnB,CAAC,CAAC;oBACF,OAAO,CACL,cAAK,SAAS,EAAC,+BAA+B,YAC3C,gBAAgB,EAAE,GACf,CACP,CAAC;gBACJ,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwCH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAUzE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AAuLrC,eAAO,MAAM,8BAA8B,WACjC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;;CA6GF,CAAC;AAsLF,eAAO,MAAM,WAAW;;CA4ItB,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;AAazE,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;;CAmHF,CAAC;AAsLF,eAAO,MAAM,WAAW;;CA0KtB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAS9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAmB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC"}
@@ -14,12 +14,12 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { Dialog, PanelLoadingIndicator, BlankPanelContent, DropdownMenu, MenuContent, MenuContentItem, MenuIcon, MenuContentDivider, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, Modal, ModalHeader, ModalBody, ModalFooter, ModalTitle, ModalFooterButton, ExclamationTriangleIcon, PanelListItem, clsx, ModalHeaderActions, TimesIcon, Panel, PanelFullContent, CustomSelectorInput, } from '@finos/legend-art';
17
+ import { Dialog, PanelLoadingIndicator, BlankPanelContent, DropdownMenu, MenuContent, MenuContentItem, MenuIcon, MenuContentDivider, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, Modal, ModalHeader, ModalBody, ModalFooter, ModalTitle, ModalFooterButton, ExclamationTriangleIcon, PanelListItem, clsx, ModalHeaderActions, TimesIcon, Panel, PanelFullContent, CustomSelectorInput, PencilIcon, MoonIcon, SunIcon, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { Fragment, useEffect, useMemo, useRef, useState } from 'react';
20
20
  import { LEGEND_QUERY_QUERY_PARAM_TOKEN, LEGEND_QUERY_ROUTE_PATTERN_TOKEN, generateQuerySetupRoute, generateExistingQueryEditorRoute, } from '../__lib__/LegendQueryNavigation.js';
21
21
  import { ExistingQueryEditorStore } from '../stores/QueryEditorStore.js';
22
- import { useApplicationStore } from '@finos/legend-application';
22
+ import { LEGEND_APPLICATION_COLOR_THEME, useApplicationStore, } from '@finos/legend-application';
23
23
  import { useParams } from '@finos/legend-application/browser';
24
24
  import { MappingQueryCreatorStoreProvider, ExistingQueryEditorStoreProvider, ServiceQueryCreatorStoreProvider, useQueryEditorStore, } from './QueryEditorStoreProvider.js';
25
25
  import { flowResult } from 'mobx';
@@ -39,16 +39,20 @@ const CreateQueryDialog = observer(() => {
39
39
  flowResult(createQueryState.createQuery()).catch(applicationStore.alertUnhandledError);
40
40
  };
41
41
  const isExistingQueryName = createQueryState.editorStore.existingQueryName;
42
+ const isEmptyName = !createQueryState.queryName;
42
43
  // name
43
44
  const nameInputRef = useRef(null);
44
45
  const debouncedLoadQueries = useMemo(() => debounce((input) => {
45
46
  flowResult(createQueryState.editorStore.searchExistingQueryName(input)).catch(applicationStore.alertUnhandledError);
46
47
  }, 500), [applicationStore, createQueryState.editorStore]);
48
+ const setFocus = () => {
49
+ nameInputRef.current?.focus();
50
+ };
47
51
  const changeName = (event) => {
48
52
  createQueryState.setQueryName(event.target.value);
49
53
  };
50
54
  useEffect(() => {
51
- nameInputRef.current?.focus();
55
+ setTimeout(() => setFocus(), 1);
52
56
  }, []);
53
57
  useEffect(() => {
54
58
  const searchText = createQueryState.queryName;
@@ -65,8 +69,9 @@ const CreateQueryDialog = observer(() => {
65
69
  paper: 'editor-modal__content',
66
70
  }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "query-export", children: [_jsx(ModalHeader, { title: "Create New Query" }), _jsxs(ModalBody, { children: [_jsx(PanelLoadingIndicator, { isLoading: createQueryState.createQueryState.isInProgress }), _jsx(PanelListItem, { children: _jsxs("div", { className: "input--with-validation", children: [_jsx("input", { ref: nameInputRef, className: clsx('input input--dark', {
67
71
  'input--caution': isExistingQueryName,
68
- }), spellCheck: false, value: createQueryState.queryName, onChange: changeName }), isExistingQueryName && (_jsx("div", { className: "input--with-validation__caution", title: `Query named '${isExistingQueryName}' already exists`, children: _jsx(ExclamationTriangleIcon, { className: "input--with-validation__caution__indicator" }) }))] }) })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Create Query", title: "Create new query", disabled: Boolean(createQueryState.editorStore.isPerformingBlockingAction ||
69
- isExistingQueryName), onClick: create }) })] }) }));
72
+ }), spellCheck: false, value: createQueryState.queryName, onChange: changeName, title: "New Query Name" }), isExistingQueryName && (_jsx("div", { className: "input--with-validation__caution", title: `Query named '${isExistingQueryName}' already exists`, children: _jsx(ExclamationTriangleIcon, { className: "input--with-validation__caution__indicator" }) }))] }) })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Create Query", title: "Create new query", disabled: createQueryState.editorStore.isPerformingBlockingAction ||
73
+ Boolean(isExistingQueryName) ||
74
+ isEmptyName, onClick: create }) })] }) }));
70
75
  });
71
76
  const SaveQueryDialog = observer((props) => {
72
77
  const { existingEditorStore } = props;
@@ -131,7 +136,7 @@ export const QueryEditorExistingQueryHeader = observer((props) => {
131
136
  updateState.setQueryRenamer(false);
132
137
  existingEditorStore.setExistingQueryName(undefined);
133
138
  }
134
- }, value: queryRenameName }), isExistingQueryName && (_jsx("div", { className: "input--with-validation__caution", title: `Query with name '${queryRenameName}' already exists`, children: _jsx(ExclamationTriangleIcon, { className: "input--with-validation__caution__indicator" }) }))] }) }) })) : (_jsx("div", { onDoubleClick: enableRename, className: "query-editor__header__content__main query-editor__header__content__title query-editor__header__content__title__text", title: "Double-click to rename query", children: existingEditorStore.lightQuery.name })), existingEditorStore.updateState.saveModal && (_jsx(SaveQueryDialog, { existingEditorStore: existingEditorStore }))] }));
139
+ }, value: queryRenameName }), isExistingQueryName && (_jsx("div", { className: "input--with-validation__caution", title: `Query with name '${queryRenameName}' already exists`, children: _jsx(ExclamationTriangleIcon, { className: "input--with-validation__caution__indicator" }) }))] }) }) })) : (_jsxs("div", { onDoubleClick: enableRename, className: "query-editor__header__content__main query-editor__header__content__title query-editor__header__content__title__text", title: "Double-click to rename query", children: [existingEditorStore.lightQuery.name, _jsx("button", { className: "panel__content__form__section__list__item__edit-btn", onClick: enableRename, children: _jsx(PencilIcon, {}) })] })), existingEditorStore.updateState.saveModal && (_jsx(SaveQueryDialog, { existingEditorStore: existingEditorStore }))] }));
135
140
  });
136
141
  const QueryEditorExistingQueryInfoModal = observer((props) => {
137
142
  const { existingEditorStore, query } = props;
@@ -195,22 +200,28 @@ export const QueryEditor = observer(() => {
195
200
  // NOTE: this is temporary until we find a better home for these settings in query builder
196
201
  const engineConfig = editorStore.graphManagerState.graphManager.TEMPORARY__getEngineConfig();
197
202
  const toggleEngineClientRequestPayloadCompression = () => engineConfig.setUseClientRequestPayloadCompression(!engineConfig.useClientRequestPayloadCompression);
203
+ const TEMPORARY__toggleLightDarkMode = () => {
204
+ applicationStore.layoutService.setColorTheme(applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
205
+ ? LEGEND_APPLICATION_COLOR_THEME.DEFAULT_DARK
206
+ : LEGEND_APPLICATION_COLOR_THEME.LEGACY_LIGHT, { persist: true });
207
+ };
198
208
  useEffect(() => {
199
209
  flowResult(editorStore.initialize()).catch(applicationStore.alertUnhandledError);
200
210
  }, [editorStore, applicationStore]);
201
- return (_jsxs("div", { className: "query-editor", children: [_jsxs("div", { className: "query-editor__logo-header", children: [_jsx("div", { className: "query-editor__logo-header__menu", children: _jsx(DropdownMenu, { className: "query-editor__logo-header__menu-item", menuProps: {
202
- anchorOrigin: { vertical: 'top', horizontal: 'right' },
203
- transformOrigin: { vertical: 'top', horizontal: 'left' },
204
- elevation: 7,
205
- }, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: goToQuerySetup, children: "Back to query setup" }), _jsx(MenuContentItem, { onClick: goToReleaseLog, children: "Legend Query Release Log" }), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "Documentation" }), docLinks?.map((entry) => (_jsx(MenuContentItem, { onClick: () => goToDocLink(entry.url), children: entry.label }, entry.key))), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { disabled: true, children: "Settings" }), _jsxs(MenuContentItem, { onClick: toggleEngineClientRequestPayloadCompression, children: [_jsx(MenuContentItemIcon, { children: engineConfig.useClientRequestPayloadCompression ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Compress request payload" })] })] }), children: _jsx(MenuIcon, {}) }) }), _jsx("div", { className: "query-editor__logo-header__name", children: "Legend Query" }), editorStore.queryLoaderState.isQueryLoaderDialogOpen && (_jsx(QueryLoaderDialog, { queryLoaderState: editorStore.queryLoaderState, title: "Load query" })), editorStore.queryCreatorState.showCreateModal && _jsx(CreateQueryDialog, {}), isExistingQuery &&
206
- editorStore.updateState.showQueryInfo &&
207
- editorStore.query && (_jsx(QueryEditorExistingQueryInfoModal, { existingEditorStore: editorStore, query: editorStore.query }))] }), _jsxs("div", { className: "query-editor__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isLoadingEditor }), !isLoadingEditor && editorStore.queryBuilderState && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderNavigationBlocker, { queryBuilderState: editorStore.queryBuilderState }), _jsx(QueryBuilder, { queryBuilderState: editorStore.queryBuilderState })] })), isLoadingEditor && (_jsx(BlankPanelContent, { children: editorStore.initState.message ??
211
+ return (_jsxs("div", { className: "query-editor", children: [_jsxs("div", { className: "query-editor__logo-header", children: [_jsxs("div", { className: "query-editor__logo-header__combo", children: [_jsx("div", { className: "query-editor__logo-header__combo__menu", children: _jsx(DropdownMenu, { className: "query-editor__logo-header__combo__menu-item", menuProps: {
212
+ anchorOrigin: { vertical: 'top', horizontal: 'right' },
213
+ transformOrigin: { vertical: 'top', horizontal: 'left' },
214
+ elevation: 7,
215
+ }, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: goToQuerySetup, children: "Back to query setup" }), _jsx(MenuContentItem, { onClick: goToReleaseLog, children: "Legend Query Release Log" }), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "Documentation" }), docLinks?.map((entry) => (_jsx(MenuContentItem, { onClick: () => goToDocLink(entry.url), children: entry.label }, entry.key))), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { disabled: true, children: "Settings" }), _jsxs(MenuContentItem, { onClick: toggleEngineClientRequestPayloadCompression, children: [_jsx(MenuContentItemIcon, { children: engineConfig.useClientRequestPayloadCompression ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Compress request payload" })] })] }), children: _jsx(MenuIcon, {}) }) }), _jsx("div", { className: "query-editor__logo-header__combo__name", children: "Legend Query" })] }), _jsx("button", { title: "Toggle light/dark mode", onClick: TEMPORARY__toggleLightDarkMode, className: "query-editor__header__action query-editor__header__action__theme-toggler", children: applicationStore.layoutService
216
+ .TEMPORARY__isLightColorThemeEnabled ? (_jsx(_Fragment, { children: _jsx(SunIcon, { className: "query-editor__header__action__icon--bulb--light" }) })) : (_jsx(_Fragment, { children: _jsx(MoonIcon, { className: "query-editor__header__action__icon--bulb--dark" }) })) })] }), _jsxs("div", { className: "query-editor__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isLoadingEditor }), !isLoadingEditor && editorStore.queryBuilderState && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderNavigationBlocker, { queryBuilderState: editorStore.queryBuilderState }), _jsx(QueryBuilder, { queryBuilderState: editorStore.queryBuilderState })] })), isLoadingEditor && (_jsx(BlankPanelContent, { children: editorStore.initState.message ??
208
217
  editorStore.graphManagerState.systemBuildState.message ??
209
218
  editorStore.graphManagerState.dependenciesBuildState.message ??
210
219
  editorStore.graphManagerState.generationsBuildState.message ??
211
220
  editorStore.graphManagerState.graphBuildState.message })), !isLoadingEditor &&
212
221
  !editorStore.queryBuilderState &&
213
- editorStore instanceof ExistingQueryEditorStore && (_jsx(QueryEditorExistingQueryVersionRevertModal, { existingEditorStore: editorStore }))] })] }));
222
+ editorStore instanceof ExistingQueryEditorStore && (_jsx(QueryEditorExistingQueryVersionRevertModal, { existingEditorStore: editorStore }))] }), editorStore.queryLoaderState.isQueryLoaderDialogOpen && (_jsx(QueryLoaderDialog, { queryLoaderState: editorStore.queryLoaderState, title: "Load query" })), editorStore.queryCreatorState.showCreateModal && _jsx(CreateQueryDialog, {}), isExistingQuery &&
223
+ editorStore.updateState.showQueryInfo &&
224
+ editorStore.query && (_jsx(QueryEditorExistingQueryInfoModal, { existingEditorStore: editorStore, query: editorStore.query }))] }));
214
225
  });
215
226
  export const ExistingQueryEditor = observer(() => {
216
227
  const params = useParams();
@@ -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,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,IAAI,EACJ,kBAAkB,EAClB,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAIL,8BAA8B,EAC9B,gCAAgC,EAChC,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EA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CAAC,CAAC;IAE1E,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
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,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,IAAI,EACJ,kBAAkB,EAClB,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAIL,8BAA8B,EAC9B,gCAAgC,EAChC,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,mBAAmB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM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D,MAAM,WAAW,GAAG,UAAU,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;IAC9E,MAAM,YAAY,GAChB,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,gCAAgC,CAC3E,8BAA8B,CAAC,qBAAqB,CACrD,CAAC;IAEJ,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,YAE1B,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,GAAG,EAAE;IAC/C,MAAM,MAAM,GAAG,SAAS,EAAiC,CAAC;IAC1D,MAAM,GAAG,GAAG,MAAM,CAAC,gCAAgC,CAAC,GAAG,CAAC,CAAC;IACzD,MAAM,WAAW,GAAG,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;IAC1E,MAAM,WAAW,GAAG,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;IAE1E,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,qDAAqD,CAAC;AA6B7D,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AA4FH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,qDAAqD,CAAC;AA6B7D,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AA4FH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
@@ -19,7 +19,7 @@ import { useApplicationStore } from '@finos/legend-application';
19
19
  import { useEffect, useRef } from 'react';
20
20
  import { flowResult } from 'mobx';
21
21
  import { QueryBuilderClassSelector } from '@finos/legend-query-builder';
22
- import { CustomSelectorInput, PanelHeader, SearchIcon, } from '@finos/legend-art';
22
+ import { CustomSelectorInput, PanelHeader, SearchIcon, compareLabelFn, } from '@finos/legend-art';
23
23
  import { useLegendQueryApplicationStore, useLegendQueryBaseStore, } from '../LegendQueryFrameworkProvider.js';
24
24
  import { DataSpaceQuerySetupStore, } from '../../stores/data-space/DataSpaceQuerySetupState.js';
25
25
  import { QueryEditorStoreContext } from '../QueryEditorStoreProvider.js';
@@ -48,7 +48,7 @@ const DataSpaceQuerySetupSetupPanelContent = observer((props) => {
48
48
  // data space
49
49
  const dataSpaceOptions = queryBuilderState.dataSpaces
50
50
  .map(buildDataSpaceOption)
51
- .sort((a, b) => a.label.localeCompare(b.label));
51
+ .sort(compareLabelFn);
52
52
  const selectedDataSpaceOption = null;
53
53
  const onDataSpaceOptionChange = (option) => {
54
54
  queryBuilderState.onDataSpaceChange(option.value);
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM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AmB,CAAC,YAAY,EAC7D,QAAQ,EAAE,uBAAuB,EACjC,KAAK,EAAE,uBAAuB,EAC9B,WAAW,EAAC,0BAA0B,EACtC,iBAAiB,EAAE,IAAI,EACvB,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;qCAC5B,mCAAmC,EAExC,iBAAiB,EAAE,0BAA0B,GAC7C,EACF,iBACE,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAC,0DAA0D,EACpE,OAAO,EAAE,2BAA2B,EACpC,KAAK,EAAC,wCAAwC,YAE9C,KAAC,UAAU,KAAG,GACP,EACR,iBAAiB,CAAC,mBAAmB,IAAI,CACxC,KAAC,4BAA4B,IAC3B,WAAW,EAAE,iBAAiB,CAAC,mBAAmB,EAClD,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,uBAAuB,EAAE,GAC1D,CACH,IACG,EACN,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,EAAE,EACX,cAAc,EAAC,4BAA4B,GAC3C,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,iBAA2C,EAC1B,EAAE,CAAC,CACpB,KAAC,oCAAoC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC/E,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;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