@finos/legend-query-builder 4.11.15 → 4.11.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ export declare enum QUERY_BUILDER_TEST_ID {
17
17
  LAMBDA_EDITOR__EDITOR_INPUT = "lambda-editor__editor__input",
18
18
  QUERY_BUILDER = "query__builder",
19
19
  QUERY_BUILDER_SETUP = "query__builder__setup",
20
+ QUERY_BUILDER_TDS_PROJECTION = "query__builder__tds__projection",
20
21
  QUERY_BUILDER_TDS = "query__builder__tds",
21
22
  QUERY_BUILDER_TDS_PROJECTION_COLUMN = "QUERY_BUILDER_TDS_PROJECTION_COLUMN",
22
23
  QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = "query-builder__tds__result-modifier-prompt",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,wCAAwC,+CAA+C;IACvF,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,8BAA8B,uCAAuC;IACrE,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAE1G,+BAA+B,uCAAuC;IACtE,2CAA2C,oDAAoD;IAC/F,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IACpE,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;CACrD"}
1
+ {"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,wCAAwC,+CAA+C;IACvF,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,8BAA8B,uCAAuC;IACrE,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAE1G,+BAA+B,uCAAuC;IACtE,2CAA2C,oDAAoD;IAC/F,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IACpE,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;CACrD"}
@@ -18,6 +18,7 @@ export var QUERY_BUILDER_TEST_ID;
18
18
  QUERY_BUILDER_TEST_ID["LAMBDA_EDITOR__EDITOR_INPUT"] = "lambda-editor__editor__input";
19
19
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER"] = "query__builder";
20
20
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_SETUP"] = "query__builder__setup";
21
+ QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_PROJECTION"] = "query__builder__tds__projection";
21
22
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS"] = "query__builder__tds";
22
23
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_PROJECTION_COLUMN"] = "QUERY_BUILDER_TDS_PROJECTION_COLUMN";
23
24
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT"] = "query-builder__tds__result-modifier-prompt";
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;A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,CAAC,EA1BW,qBAAqB,KAArB,qBAAqB,QA0BhC"}
@@ -17,6 +17,7 @@ import { type RenderResult } from '@testing-library/react';
17
17
  import { type RawMappingModelCoverageAnalysisResult, type RawLambda } from '@finos/legend-graph';
18
18
  import type { Entity } from '@finos/legend-storage';
19
19
  import { type QueryBuilderState } from '../../stores/QueryBuilderState.js';
20
+ export declare const selectFromCustomSelectorInput: (selectorContainer: HTMLElement, optionText: string, lightMode?: boolean) => void;
20
21
  export declare const dragAndDrop: (source: HTMLElement, drop: HTMLElement, panel: HTMLElement, draggingHoverText?: string) => Promise<void>;
21
22
  export declare const TEST__setUpQueryBuilder: (entities: Entity[], lambda: RawLambda, mappingPath: string, runtimePath: string, rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult) => Promise<{
22
23
  renderResult: RenderResult;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EAMlB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,SAAS,EAIf,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,mCAAmC,CAAC;AAQ3C,eAAO,MAAM,WAAW,WACd,WAAW,QACb,WAAW,SACV,WAAW,sBACE,MAAM,KACzB,QAAQ,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,uBAAuB,aACxB,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC;kBAE/D,YAAY;uBACP,iBAAiB;EAyErC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EAMlB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,SAAS,EAIf,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,mCAAmC,CAAC;AAU3C,eAAO,MAAM,6BAA6B,sBACrB,WAAW,cAClB,MAAM,cACN,OAAO,KAClB,IAgDF,CAAC;AAEF,eAAO,MAAM,WAAW,WACd,WAAW,QACb,WAAW,SACV,WAAW,sBACE,MAAM,KACzB,QAAQ,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,uBAAuB,aACxB,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC;kBAE/D,YAAY;uBACP,iBAAiB;EAyErC,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { render, waitFor, fireEvent, findByText, getByText, } from '@testing-library/react';
18
- import { LogService } from '@finos/legend-shared';
18
+ import { LogService, guaranteeNonNullable } from '@finos/legend-shared';
19
19
  import { createSpy } from '@finos/legend-shared/test';
20
20
  import { GraphManagerState, PackageableElementExplicitReference, RuntimePointer, } from '@finos/legend-graph';
21
21
  import { ApplicationStoreProvider, ApplicationFrameworkProvider, ApplicationStore, } from '@finos/legend-application';
@@ -25,6 +25,42 @@ import { INTERNAL__BasicQueryBuilderState, } from '../../stores/QueryBuilderStat
25
25
  import { QueryBuilder_GraphManagerPreset } from '../../graph-manager/QueryBuilder_GraphManagerPreset.js';
26
26
  import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
27
27
  import { TEST__LegendApplicationPluginManager, TEST__getGenericApplicationConfig, } from '../../stores/__test-utils__/QueryBuilderStateTestUtils.js';
28
+ import { STYLE_PREFIX, STYLE_PREFIX__DARK } from '@finos/legend-art';
29
+ import { expect } from '@jest/globals';
30
+ export const selectFromCustomSelectorInput = (selectorContainer, optionText, lightMode) => {
31
+ const selectorContainerClassName = '.' + `${lightMode ? STYLE_PREFIX : STYLE_PREFIX__DARK}__value-container`;
32
+ const selectorInputValue = '.' + `${lightMode ? STYLE_PREFIX : STYLE_PREFIX__DARK}__single-value`;
33
+ let foundOptionText = false;
34
+ const selector = selectorContainer.querySelector(selectorContainerClassName);
35
+ // be careful that the first option in the dropdown has been selected
36
+ fireEvent.keyDown(selector, { key: 'ArrowDown' });
37
+ fireEvent.keyDown(selector, { key: 'Enter' });
38
+ expect(selector.querySelector(selectorInputValue)).not.toBeNull();
39
+ const firstOptionValue = guaranteeNonNullable(selector.querySelector(selectorInputValue)).textContent;
40
+ let currentOptionValue = firstOptionValue;
41
+ let numofPress = 1;
42
+ // Since the selector value can't be directly changed to the desired option value through fireEvent.change(),
43
+ // we need to repeatedly press the ArrowDown key to select it. However, each time we restart this process,
44
+ // it starts from the beginning of the dropdown list, creating a circular pattern.
45
+ // To prevent a loop, we must keep track of the number of times we press the key to select other options
46
+ // and ensure we don't return to the initial option.
47
+ while ((!foundOptionText && currentOptionValue !== firstOptionValue) ||
48
+ numofPress === 1) {
49
+ for (let i = 0; i < numofPress + 1; i++) {
50
+ fireEvent.keyDown(selector, { key: 'ArrowDown' });
51
+ }
52
+ fireEvent.keyDown(selector, { key: 'Enter' });
53
+ expect(selector.querySelector(selectorInputValue)).not.toBeNull();
54
+ currentOptionValue = guaranteeNonNullable(selector.querySelector(selectorInputValue)).textContent;
55
+ if (currentOptionValue === optionText) {
56
+ foundOptionText = true;
57
+ }
58
+ numofPress++;
59
+ }
60
+ if (!foundOptionText) {
61
+ throw new Error(`The option is unavailable in the selector dropdown. Kindly review the input: ${optionText}`);
62
+ }
63
+ };
28
64
  export const dragAndDrop = async (source, drop, panel, draggingHoverText) => {
29
65
  fireEvent.dragStart(source);
30
66
  fireEvent.dragEnter(drop);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAGL,iBAAiB,EACjB,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAEL,gCAAgC,GACjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,2DAA2D,CAAC;AAEnE,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,EAC9B,MAAmB,EACnB,IAAiB,EACjB,KAAkB,EAClB,iBAA0B,EACX,EAAE;IACjB,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC5B,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC1B,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,IAAI,iBAAiB,EAAE;QACrB,MAAM,UAAU,CAAC,KAAK,EAAE,iBAAiB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rD,IAAI,cAAc,CAChB,mCAAmC,CAAC,MAAM,CACxC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAChD,CACF,CACF,CAAC;IAEF,IAAI,qCAAqC,EAAE;QACzC,SAAS,CACP,iBAAiB,CAAC,YAAY,EAC9B,6BAA6B,CAC9B,CAAC,iBAAiB,CACjB,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACpE,qCAAqC,EACrC,OAAO,CACR,CACF,CAAC;KACH;IAED,MAAM,YAAY,GAAG,MAAM,CACzB,KAAC,wBAAwB,IAAC,KAAK,EAAE,sBAAsB,YACrD,KAAC,gCAAgC,cAC/B,KAAC,4BAA4B,cAC3B,KAAC,YAAY,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,GACzB,GACE,GACV,CAC5B,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,EAAE,CACjB,YAAY,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAC9D,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,iBAAiB;KAClB,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAGL,iBAAiB,EACjB,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gCAAgC,EAAE,MAAM,g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AiB,CAAC,qBAAqB,CAAC,eAAe,CACrD,IAAI,cAAc,CAChB,mCAAmC,CAAC,MAAM,CACxC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAChD,CACF,CACF,CAAC;IAEF,IAAI,qCAAqC,EAAE;QACzC,SAAS,CACP,iBAAiB,CAAC,YAAY,EAC9B,6BAA6B,CAC9B,CAAC,iBAAiB,CACjB,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACpE,qCAAqC,EACrC,OAAO,CACR,CACF,CAAC;KACH;IAED,MAAM,YAAY,GAAG,MAAM,CACzB,KAAC,wBAAwB,IAAC,KAAK,EAAE,sBAAsB,YACrD,KAAC,gCAAgC,cAC/B,KAAC,4BAA4B,cAC3B,KAAC,YAAY,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,GACzB,GACE,GACV,CAC5B,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,EAAE,CACjB,YAAY,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAC9D,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,iBAAiB;KAClB,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8EH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA21BrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAiS3C,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8EH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA21BrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAoS3C,CAAC"}
@@ -425,7 +425,7 @@ export const QueryBuilderTDSPanel = observer((props) => {
425
425
  dropTargetConnector(addProjectionRef);
426
426
  return (_jsxs(PanelContent, { children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsxs("div", { className: "query-builder__projection__result-modifier-prompt", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT, children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__header", children: _jsxs("button", { className: "query-builder__projection__result-modifier-prompt__header__label", onClick: openResultSetModifierEditor, title: "Configure result set modifiers...", children: [_jsx(CogIcon, { className: "query-builder__projection__result-modifier-prompt__header__label__icon" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: "Query Options" })] }) }), tdsState.resultSetModifierState.limit && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Max Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: tdsState.resultSetModifierState.limit })] })), tdsState.resultSetModifierState.distinct && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Eliminate Duplicate Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: "Yes" })] })), tdsState.resultSetModifierState.sortColumns.length > 0 && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Sort" }), tdsState.resultSetModifierState.sortColumns.map((columnState) => (_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: `${columnState.columnState.columnName} ${columnState.sortType}` }, columnState.columnState.uuid)))] }))] }), _jsxs("div", { className: "query-builder__projection__toolbar__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isEmpty, onClick: clearAllProjectionColumns, tabIndex: -1, title: isEmpty
427
427
  ? 'No projection columns to clear'
428
- : 'Clear all projection columns', children: _jsx(TrashIcon, { className: "query-builder__icon query-builder__icon__query-option--small" }) }), _jsx("button", { className: "panel__header__action", onClick: addNewBlankDerivation, tabIndex: -1, title: "Add a new derivation", children: _jsx(PlusIcon, {}) })] })] }), _jsx("div", { className: "query-builder__projection__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver && isEmpty, isDroppable: isDroppable && isEmpty, dropTargetConnector: dropTargetConnector, children: [!projectionColumns.length && (_jsx(BlankPanelPlaceholder, { text: "Add a projection column", tooltipText: "Drag and drop properties here" })), Boolean(projectionColumns.length) && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS, className: "query-builder__projection__columns", children: _jsxs("div", { ref: rearrangeColumnDropConnector, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.columnState.columnName === ''
428
+ : 'Clear all projection columns', children: _jsx(TrashIcon, { className: "query-builder__icon query-builder__icon__query-option--small" }) }), _jsx("button", { className: "panel__header__action", onClick: addNewBlankDerivation, tabIndex: -1, title: "Add a new derivation", children: _jsx(PlusIcon, {}) })] })] }), _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_PROJECTION, className: "query-builder__projection__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver && isEmpty, isDroppable: isDroppable && isEmpty, dropTargetConnector: dropTargetConnector, children: [!projectionColumns.length && (_jsx(BlankPanelPlaceholder, { text: "Add a projection column", tooltipText: "Drag and drop properties here" })), Boolean(projectionColumns.length) && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS, className: "query-builder__projection__columns", children: _jsxs("div", { ref: rearrangeColumnDropConnector, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.columnState.columnName === ''
429
429
  ? '(unknown)'
430
430
  : item.columnState.columnName, types: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE] }), projectionColumns.map((projectionColumnState, columnIdx) => (_jsx(QueryBuilderProjectionColumnEditor, { projectionColumnState: projectionColumnState, isRearrangeActive: isRearrangeActive, currentRearrangeDraggedColumnIndex: currentRearrangeDraggedColumnIndex, currentRearrangeDropGapIndex: currentRearrangeDropGapIndex, setCurrentRearrangeDraggedColumnIndex: setCurrentRearrangeDraggedColumnIndex, setCurrentRearrangeDropGapIndex: setCurrentRearrangeDropGapIndex, columnIdx: columnIdx }, projectionColumnState.uuid)))] }) })), isDroppable && !isEmpty && (_jsx("div", { ref: addProjectionRef, className: "query-builder-filter-tree__free-drop-zone__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, className: "query-builder-filter-tree__free-drop-zone", label: "Add a projection column", children: _jsx(_Fragment, {}) }) })), _jsx(QueryResultModifierModal, { tdsState: tdsState })] }) })] }));
431
431
  });
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,YAAY,E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EjC,SAAS,EAAE,SAAS,IAff,qBAAqB,CAAC,IAAI,CAgB/B,CACH,CAAC,IACE,GACF,CACP,EACA,WAAW,IAAI,CAAC,OAAO,IAAI,CAC1B,cACE,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAC,sDAAsD,YAEhE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,yBAAyB,YAE/B,mBAAK,GACyB,GAC5B,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,YAAY,EACZ,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAEL,OAAO,EACP,OAAO,EACP,YAAY,GACb,MAAM,WAAW,CAAC;AACnB,OAAO,EAGL,2CAA2C,EAC3C,uC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E,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,yBAAyB,YAE/B,mBAAK,GACyB,GAC5B,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v4.11.15
1
+ /** @license @finos/legend-query-builder v4.11.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-query-builder",
3
- "version": "4.11.15",
3
+ "version": "4.11.17",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.11.15",
3
+ "version": "4.11.17",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,10 +42,10 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.53",
46
- "@finos/legend-art": "7.1.7",
45
+ "@finos/legend-application": "15.0.55",
46
+ "@finos/legend-art": "7.1.9",
47
47
  "@finos/legend-graph": "31.5.1",
48
- "@finos/legend-lego": "1.1.55",
48
+ "@finos/legend-lego": "1.1.57",
49
49
  "@finos/legend-server-depot": "6.0.32",
50
50
  "@finos/legend-shared": "10.0.28",
51
51
  "@finos/legend-storage": "3.0.78",
@@ -19,6 +19,7 @@ export enum QUERY_BUILDER_TEST_ID {
19
19
 
20
20
  QUERY_BUILDER = 'query__builder',
21
21
  QUERY_BUILDER_SETUP = 'query__builder__setup',
22
+ QUERY_BUILDER_TDS_PROJECTION = 'query__builder__tds__projection',
22
23
  QUERY_BUILDER_TDS = 'query__builder__tds',
23
24
  QUERY_BUILDER_TDS_PROJECTION_COLUMN = 'QUERY_BUILDER_TDS_PROJECTION_COLUMN',
24
25
  QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT = 'query-builder__tds__result-modifier-prompt',
@@ -22,7 +22,7 @@ import {
22
22
  findByText,
23
23
  getByText,
24
24
  } from '@testing-library/react';
25
- import { LogService } from '@finos/legend-shared';
25
+ import { LogService, guaranteeNonNullable } from '@finos/legend-shared';
26
26
  import { createSpy } from '@finos/legend-shared/test';
27
27
  import {
28
28
  type RawMappingModelCoverageAnalysisResult,
@@ -49,6 +49,62 @@ import {
49
49
  TEST__LegendApplicationPluginManager,
50
50
  TEST__getGenericApplicationConfig,
51
51
  } from '../../stores/__test-utils__/QueryBuilderStateTestUtils.js';
52
+ import { STYLE_PREFIX, STYLE_PREFIX__DARK } from '@finos/legend-art';
53
+ import { expect } from '@jest/globals';
54
+
55
+ export const selectFromCustomSelectorInput = (
56
+ selectorContainer: HTMLElement,
57
+ optionText: string,
58
+ lightMode?: boolean,
59
+ ): void => {
60
+ const selectorContainerClassName =
61
+ '.' + `${lightMode ? STYLE_PREFIX : STYLE_PREFIX__DARK}__value-container`;
62
+ const selectorInputValue =
63
+ '.' + `${lightMode ? STYLE_PREFIX : STYLE_PREFIX__DARK}__single-value`;
64
+
65
+ let foundOptionText = false;
66
+ const selector = selectorContainer.querySelector(
67
+ selectorContainerClassName,
68
+ ) as HTMLSelectElement;
69
+
70
+ // be careful that the first option in the dropdown has been selected
71
+ fireEvent.keyDown(selector, { key: 'ArrowDown' });
72
+ fireEvent.keyDown(selector, { key: 'Enter' });
73
+ expect(selector.querySelector(selectorInputValue)).not.toBeNull();
74
+ const firstOptionValue = guaranteeNonNullable(
75
+ selector.querySelector(selectorInputValue),
76
+ ).textContent;
77
+ let currentOptionValue = firstOptionValue;
78
+ let numofPress = 1;
79
+
80
+ // Since the selector value can't be directly changed to the desired option value through fireEvent.change(),
81
+ // we need to repeatedly press the ArrowDown key to select it. However, each time we restart this process,
82
+ // it starts from the beginning of the dropdown list, creating a circular pattern.
83
+ // To prevent a loop, we must keep track of the number of times we press the key to select other options
84
+ // and ensure we don't return to the initial option.
85
+ while (
86
+ (!foundOptionText && currentOptionValue !== firstOptionValue) ||
87
+ numofPress === 1
88
+ ) {
89
+ for (let i = 0; i < numofPress + 1; i++) {
90
+ fireEvent.keyDown(selector, { key: 'ArrowDown' });
91
+ }
92
+ fireEvent.keyDown(selector, { key: 'Enter' });
93
+ expect(selector.querySelector(selectorInputValue)).not.toBeNull();
94
+ currentOptionValue = guaranteeNonNullable(
95
+ selector.querySelector(selectorInputValue),
96
+ ).textContent;
97
+ if (currentOptionValue === optionText) {
98
+ foundOptionText = true;
99
+ }
100
+ numofPress++;
101
+ }
102
+ if (!foundOptionText) {
103
+ throw new Error(
104
+ `The option is unavailable in the selector dropdown. Kindly review the input: ${optionText}`,
105
+ );
106
+ }
107
+ };
52
108
 
53
109
  export const dragAndDrop = async (
54
110
  source: HTMLElement,
@@ -1167,7 +1167,10 @@ export const QueryBuilderTDSPanel = observer(
1167
1167
  </button>
1168
1168
  </div>
1169
1169
  </div>
1170
- <div className="query-builder__projection__content">
1170
+ <div
1171
+ data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_PROJECTION}
1172
+ className="query-builder__projection__content"
1173
+ >
1171
1174
  <PanelDropZone
1172
1175
  isDragOver={isDragOver && isEmpty}
1173
1176
  isDroppable={isDroppable && isEmpty}