@finos/legend-query-builder 4.14.56 → 4.14.57

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwCH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AAiDvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CAofxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CAkDF,CAAC"}
1
+ {"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyCH,OAAO,EAGL,KAAK,gBAAgB,EAEtB,MAAM,+BAA+B,CAAC;AAiDvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CA6iBxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CAkDF,CAAC"}
@@ -16,12 +16,12 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
16
16
  */
17
17
  import { useApplicationStore } from '@finos/legend-application';
18
18
  import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
19
- import { Dialog, Modal, ModalTitle, clsx, SearchIcon, TimesIcon, ControlledDropdownMenu, MenuContent, MenuContentItem, BlankPanelContent, PanelLoadingIndicator, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, UserIcon, LastModifiedIcon, MoreVerticalIcon, ThinChevronRightIcon, InfoCircleIcon, } from '@finos/legend-art';
19
+ import { Dialog, Modal, ModalTitle, clsx, SearchIcon, TimesIcon, ControlledDropdownMenu, MenuContent, MenuContentItem, BlankPanelContent, PanelLoadingIndicator, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, UserIcon, LastModifiedIcon, MoreVerticalIcon, ThinChevronRightIcon, InfoCircleIcon, CustomSelectorInput, } from '@finos/legend-art';
20
20
  import { debounce, formatDistanceToNow, guaranteeNonNullable, isNonNullable, quantifyList, } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
22
22
  import { observer } from 'mobx-react-lite';
23
23
  import { useRef, useState, useMemo, useEffect } from 'react';
24
- import { QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT, } from '../stores/QueryLoaderState.js';
24
+ import { QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT, SORT_BY_OPTIONS, } from '../stores/QueryLoaderState.js';
25
25
  const QueryPreviewViewer = observer((props) => {
26
26
  const { queryLoaderState } = props;
27
27
  const applicationStore = queryLoaderState.applicationStore;
@@ -40,12 +40,45 @@ export const QueryLoader = observer((props) => {
40
40
  const applicationStore = useApplicationStore();
41
41
  const searchInputRef = useRef(null);
42
42
  const queryRenameInputRef = useRef(null);
43
+ const sortByOptions = Object.values(SORT_BY_OPTIONS).map((op) => ({
44
+ label: op,
45
+ value: op,
46
+ }));
43
47
  const results = queryLoaderState.queries;
44
- const curatedTemplateQueries = queryLoaderState.curatedTemplateQuerySepcifications
45
- .map((s) => queryLoaderState.queryBuilderState
46
- ? s.getCuratedTemplateQueries(queryLoaderState.queryBuilderState)
47
- : [])
48
- .flat();
48
+ const curatedTemplateQueries = [
49
+ ...queryLoaderState.curatedTemplateQuerySepcifications
50
+ .map((s) => queryLoaderState.queryBuilderState
51
+ ? s.getCuratedTemplateQueries(queryLoaderState.queryBuilderState)
52
+ : [])
53
+ .flat(),
54
+ ].sort((a, b) => a.title.localeCompare(b.title));
55
+ const applySortBy = (queries, sortBy) => {
56
+ switch (sortBy) {
57
+ case SORT_BY_OPTIONS.SORT_BY_CREATE:
58
+ queries.sort((a, b) => {
59
+ const aCreateAt = a.createdAt ?? 0;
60
+ const bCreateAt = b.createdAt ?? 0;
61
+ return aCreateAt > bCreateAt ? -1 : 1;
62
+ });
63
+ return;
64
+ case SORT_BY_OPTIONS.SORT_BY_UPDATE:
65
+ queries.sort((a, b) => {
66
+ const aUpdateAt = a.lastUpdatedAt ?? 0;
67
+ const bUpdateAt = b.lastUpdatedAt ?? 0;
68
+ return aUpdateAt > bUpdateAt ? -1 : 1;
69
+ });
70
+ return;
71
+ case SORT_BY_OPTIONS.SORT_BY_VIEW:
72
+ queries.sort((a, b) => {
73
+ const aOpenAt = a.lastOpenAt ?? 0;
74
+ const bOpenAt = b.lastOpenAt ?? 0;
75
+ return aOpenAt > bOpenAt ? -1 : 1;
76
+ });
77
+ return;
78
+ default:
79
+ return;
80
+ }
81
+ };
49
82
  const loadCuratedTemplateQuery = queryLoaderState.curatedTemplateQuerySepcifications
50
83
  // already using an arrow function suggested by @typescript-eslint/unbound-method
51
84
  // eslint-disable-next-line
@@ -126,6 +159,9 @@ export const QueryLoader = observer((props) => {
126
159
  flowResult(queryLoaderState.getPreviewQueryContent(queryId, template)).catch(applicationStore.alertUnhandledError);
127
160
  queryLoaderState.setShowPreviewViewer(true);
128
161
  };
162
+ useEffect(() => {
163
+ applySortBy(results, queryLoaderState.sortBy);
164
+ }, [queryLoaderState.sortBy, results]);
129
165
  return (_jsxs("div", { className: "query-loader", children: [_jsxs("div", { className: "query-loader__header", children: [_jsx("div", { className: "query-loader__search", children: _jsxs("div", { className: "query-loader__search__input__container", children: [_jsx("input", { ref: searchInputRef, className: clsx('query-loader__search__input input--dark', {
130
166
  'query-loader__search__input--searching': queryLoaderState.searchText,
131
167
  }), onChange: onSearchTextChange, value: queryLoaderState.searchText, placeholder: "Search for queries by name or ID" }), !queryLoaderState.searchText ? (_jsx("div", { className: "query-loader__search__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsx(_Fragment, { children: _jsx("button", { className: "query-loader__search__input__clear-btn", tabIndex: -1, onClick: clearQuerySearching, title: "Clear", children: _jsx(TimesIcon, {}) }) }))] }) }), _jsx("div", { className: "query-loader__filter", children: _jsxs("div", { className: "query-loader__filter__toggler", children: [_jsx("button", { className: clsx('query-loader__filter__toggler__btn', {
@@ -142,8 +178,12 @@ export const QueryLoader = observer((props) => {
142
178
  }), onClick: toggleCuratedTemplate, tabIndex: -1, children: "Curated Template Query" }) }))] }) })] }), _jsxs("div", { className: "query-loader__content", children: [_jsx(PanelLoadingIndicator, { isLoading: queryLoaderState.searchQueriesState.isInProgress ||
143
179
  queryLoaderState.renameQueryState.isInProgress ||
144
180
  queryLoaderState.deleteQueryState.isInProgress ||
145
- queryLoaderState.previewQueryState.isInProgress }), _jsxs("div", { className: "query-loader__results", children: [queryLoaderState.searchQueriesState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-loader__results__summary", children: queryLoaderState.showingDefaultQueries ? (queryLoaderState.generateDefaultQueriesSummaryText?.(results) ?? 'Refine your search to get better matches') : !queryLoaderState.isCuratedTemplateToggled ? (results.length >= QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(results, 'match', 'matches')}`)) : curatedTemplateQueries.length >=
146
- QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(curatedTemplateQueries, 'match', 'matches')}`) }), !queryLoaderState.isCuratedTemplateToggled &&
181
+ queryLoaderState.previewQueryState.isInProgress }), _jsxs("div", { className: "query-loader__results", children: [queryLoaderState.searchQueriesState.hasCompleted && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-loader__results__summary", children: [queryLoaderState.showingDefaultQueries ? (queryLoaderState.generateDefaultQueriesSummaryText?.(results) ?? 'Refine your search to get better matches') : !queryLoaderState.isCuratedTemplateToggled ? (results.length >= QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(results, 'match', 'matches')}`)) : curatedTemplateQueries.length >=
182
+ QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT ? (_jsxs(_Fragment, { children: [`Found ${QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT}+ matches`, ' ', _jsx(InfoCircleIcon, { title: "Some queries are not listed, refine your search to get better matches", className: "query-loader__results__summary__info" })] })) : (`Found ${quantifyList(curatedTemplateQueries, 'match', 'matches')}`), _jsxs("div", { className: "query-loader__results__sort-by", children: [_jsx("div", { className: "query-loader__results__sort-by__name", children: "Sort By" }), _jsx(CustomSelectorInput, { className: "query-loader__results__sort-by__selector", options: sortByOptions, onChange: (option) => queryLoaderState.setSortBy(option.value), value: {
183
+ label: queryLoaderState.sortBy,
184
+ value: queryLoaderState.sortBy,
185
+ }, darkMode: !applicationStore.layoutService
186
+ .TEMPORARY__isLightColorThemeEnabled })] })] }), !queryLoaderState.isCuratedTemplateToggled &&
147
187
  results
148
188
  .slice(0, QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT)
149
189
  .map((query, idx) => (_jsxs("div", { className: "query-loader__result", title: `Click to ${loadActionLabel}...`, onClick: () => queryLoaderState.loadQuery(query), children: [_jsxs("div", { className: "query-loader__result__content", children: [showQueryNameEditInput === idx ? (_jsx("div", { className: "query-loader__result__title__editor", children: _jsx("input", { className: "query-loader__result__title__editor__input input--dark", spellCheck: false, ref: queryRenameInputRef, value: queryNameInputValue, onChange: changeQueryNameInputValue, onKeyDown: (event) => {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLoader.js","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,EACV,SAAS,EACT,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EACL,mCAAmC,GAEpC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,kBAAkB,GAAG,QAAQ,CACjC,CAAC,KAA6C,EAAE,EAAE;IAChD,MAAM,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,gBAAgB,G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OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,gBAAgB,CAAC,uBAAuB,EAC9C,OAAO,EAAE,KAAK,EACd,OAAO,EAAE;YACP,IAAI,EAAE,sBAAsB;YAC5B,SAAS,EAAE,iCAAiC;SAC7C,EACD,UAAU,EAAE;YACV,OAAO,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE;SAChD,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAC,2CAA2C,aAErD,eAAK,SAAS,EAAC,oCAAoC,aACjD,KAAC,UAAU,IACT,SAAS,EAAC,qCAAqC,EAC/C,KAAK,EAAE,KAAK,GACZ,EACF,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,KAAK,YAEd,KAAC,SAAS,KAAG,GACN,IACL,EACN,cAAK,SAAS,EAAC,qCAAqC,YAClD,KAAC,WAAW,IACV,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,IAAI,KAAK,CAAC,WAAW,EAAE,GACvD,GACE,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryLoader.js","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,IAAI,EACJ,UAAU,EACV,SAAS,EACT,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,mBA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gB,CAAC;IAE3D,MAAM,KAAK,GAAG,GAAS,EAAE;QACvB,gBAAgB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;QACjD,gBAAgB,CAAC,KAAK,EAAE,CAAC;IAC3B,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,gBAAgB,CAAC,uBAAuB,EAC9C,OAAO,EAAE,KAAK,EACd,OAAO,EAAE;YACP,IAAI,EAAE,sBAAsB;YAC5B,SAAS,EAAE,iCAAiC;SAC7C,EACD,UAAU,EAAE;YACV,OAAO,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE;SAChD,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAC,2CAA2C,aAErD,eAAK,SAAS,EAAC,oCAAoC,aACjD,KAAC,UAAU,IACT,SAAS,EAAC,qCAAqC,EAC/C,KAAK,EAAE,KAAK,GACZ,EACF,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,KAAK,YAEd,KAAC,SAAS,KAAG,GACN,IACL,EACN,cAAK,SAAS,EAAC,qCAAqC,YAClD,KAAC,WAAW,IACV,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,IAAI,KAAK,CAAC,WAAW,EAAE,GACvD,GACE,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -280,10 +280,10 @@ export const QueryBuilderTDSGridResult = observer((props) => {
280
280
  if (column) {
281
281
  const weightedColumnId = resultState.wavgAggregationState?.weightedColumnIdPairs.get(column);
282
282
  if (weightedColumnId) {
283
- const weightedColumnSum = param.rowNode.allLeafChildren
283
+ const weightedColumnSum = (param.rowNode.allLeafChildren ?? [])
284
284
  .map((node) => node.data[weightedColumnId])
285
285
  .reduce((a, b) => a + b);
286
- const weightedColumnMultiply = param.rowNode.allLeafChildren
286
+ const weightedColumnMultiply = (param.rowNode.allLeafChildren ?? [])
287
287
  .map((node) => node.data[weightedColumnId] * node.data[column])
288
288
  .reduce((a, b) => a + b);
289
289
  if (weightedColumnSum !== 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,QAAQ,GAQT,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAE7B,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,sCAAsC,GAIvC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EACL,IAAI,EACJ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,MAAM,EACN,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAN,IAAkB,6CAGjB;AAHD,WAAkB,6CAA6C;IAC7D,8DAAa,CAAA;IACb,8DAAa,CAAA;AACf,CAAC,EAHiB,6CAA6C,KAA7C,6CAA6C,QAG9D;AAED,MAAM,qCAAqC,GAAG,CAC5C,MA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AAsB,EAC7B,WAAW,EAAE,0BAA0B,EACvC,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,GAExC,IACQ,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,OAAO,EAAE,GAAG,EAAE;wCACZ,WAAW,CAAC,oBAAoB,EAAE,iBAAiB,CACjD,KAAK,CACN,CAAC;oCACJ,CAAC,EACD,IAAI,EAAC,OAAO,GACZ,GACU,IACR,GACD,CACV,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAA2B,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,QAAQ,GAQT,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAE7B,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,sCAAsC,GAIvC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EACL,IAAI,EACJ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,MAA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AC,gBAAgB,CAAC,aAAa;6BAC5B,mCAAmC,EAExC,SAAS,EAAC,8BAA8B,aAExC,KAAC,WAAW,IAAC,KAAK,EAAC,2BAA2B,GAAG,EACjD,MAAC,SAAS,eACR,cAAK,SAAS,EAAC,uCAAuC,uDAEhD,EACN,KAAC,mBAAmB,IAClB,OAAO,EAAE,qBAAqB,EAC9B,QAAQ,EAAE,4BAA4B,EACtC,KAAK,EAAE,sBAAsB,EAC7B,WAAW,EAAE,0BAA0B,EACvC,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,GAExC,IACQ,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,OAAO,EAAE,GAAG,EAAE;wCACZ,WAAW,CAAC,oBAAoB,EAAE,iBAAiB,CACjD,KAAK,CACN,CAAC;oCACJ,CAAC,EACD,IAAI,EAAC,OAAO,GACZ,GACU,IACR,GACD,CACV,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSSimpleGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAEL,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAwU7B,eAAO,MAAM,+BAA+B,WAClC;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAqDF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSSimpleGridResult.d.ts","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAEL,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AA0U7B,eAAO,MAAM,+BAA+B,WAClC;IACN,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAqDF,CAAC"}
@@ -21,7 +21,7 @@ import { DataGrid, } from '@finos/legend-lego/data-grid';
21
21
  import { getRowDataFromExecutionResult, QueryBuilderGridResultContextMenu, } from './QueryBuilderTDSResultShared.js';
22
22
  import { QueryBuilderTDSState } from '../../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
23
23
  import { DEFAULT_LOCALE } from '../../../graph-manager/QueryBuilderConst.js';
24
- import { isBoolean, isNumber, isString, isValidURL, } from '@finos/legend-shared';
24
+ import { guaranteeNonNullable, isBoolean, isNumber, isString, isValidURL, } from '@finos/legend-shared';
25
25
  import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
26
26
  const QueryResultCellRenderer = observer((params) => {
27
27
  const resultState = params.resultState;
@@ -29,6 +29,7 @@ const QueryResultCellRenderer = observer((params) => {
29
29
  const fetchStructureImplementation = resultState.queryBuilderState.fetchStructureState.implementation;
30
30
  const applicationStore = resultState.queryBuilderState.applicationStore;
31
31
  const cellValue = params.value;
32
+ const nodeRowIndex = guaranteeNonNullable(params.node.rowIndex);
32
33
  const darkMode = !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled;
33
34
  const formattedCellValue = () => {
34
35
  if (isNumber(cellValue)) {
@@ -47,7 +48,7 @@ const QueryResultCellRenderer = observer((params) => {
47
48
  const colIndex = tdsExecutionResult.result.columns.findIndex((col) => col === colId);
48
49
  return { rowIndex: rowNumber, colIndex: colIndex };
49
50
  };
50
- const currentCellCoordinates = findCoordinatesFromResultValue(columnName, params.rowIndex);
51
+ const currentCellCoordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
51
52
  const cellInFilteredResults = resultState.selectedCells.some((result) => result.coordinates.colIndex === currentCellCoordinates.colIndex &&
52
53
  result.coordinates.rowIndex === currentCellCoordinates.rowIndex);
53
54
  const findColumnFromCoordinates = (colIndex) => {
@@ -77,7 +78,7 @@ const QueryResultCellRenderer = observer((params) => {
77
78
  const mouseDown = (event) => {
78
79
  event.preventDefault();
79
80
  if (event.shiftKey) {
80
- const coordinates = findCoordinatesFromResultValue(columnName, params.rowIndex);
81
+ const coordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
81
82
  const actualValue = findResultValueFromCoordinates([
82
83
  coordinates.rowIndex,
83
84
  coordinates.colIndex,
@@ -92,7 +93,7 @@ const QueryResultCellRenderer = observer((params) => {
92
93
  if (event.button === 0) {
93
94
  resultState.setIsSelectingCells(true);
94
95
  resultState.setSelectedCells([]);
95
- const coordinates = findCoordinatesFromResultValue(columnName, params.rowIndex);
96
+ const coordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
96
97
  const actualValue = findResultValueFromCoordinates([
97
98
  coordinates.rowIndex,
98
99
  coordinates.colIndex,
@@ -107,7 +108,7 @@ const QueryResultCellRenderer = observer((params) => {
107
108
  resultState.setMouseOverCell(resultState.selectedCells[0] ?? null);
108
109
  }
109
110
  if (event.button === 2) {
110
- const coordinates = findCoordinatesFromResultValue(columnName, params.rowIndex);
111
+ const coordinates = findCoordinatesFromResultValue(columnName, nodeRowIndex);
111
112
  const isInSelected = isCoordinatesSelected(coordinates);
112
113
  if (!isInSelected) {
113
114
  const actualValue = findResultValueFromCoordinates([
@@ -138,7 +139,7 @@ const QueryResultCellRenderer = observer((params) => {
138
139
  return;
139
140
  }
140
141
  const firstCorner = results.coordinates;
141
- const secondCorner = findCoordinatesFromResultValue(columnName, params.rowIndex);
142
+ const secondCorner = findCoordinatesFromResultValue(columnName, nodeRowIndex);
142
143
  resultState.setSelectedCells([results]);
143
144
  const minRow = Math.min(firstCorner.rowIndex, secondCorner.rowIndex);
144
145
  const minCol = Math.min(firstCorner.colIndex, secondCorner.colIndex);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderT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;gBACpI,gBAAgB,EAAE,CAAC,MAAM,EAAE,EAAE;oBAC3B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;gBAC3C,CAAC,EACD,wBAAwB,EAAE,IAAI,EAC9B,mBAAmB,EAAE,KAAK,EAC1B,UAAU,EAAE,OAAO,GACnB,GACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSSimpleGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,GAElC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,MAAM,uBAAuB,GAAG,QAAQ,CACtC,CAAC,MAAwC,EAAE,EAAE;IAC3C,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IACvC,MAAM,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IACrD,MAAM,4BAA4B,GAChC,WAAW,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;IACnE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