@finos/legend-query-builder 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +1 -0
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +1 -0
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -0
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -0
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts +1 -0
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +2 -2
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +1 -0
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -0
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -0
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +2 -2
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QuerySetupUtils.d.ts +22 -0
- package/lib/components/QuerySetupUtils.d.ts.map +1 -0
- package/lib/components/QuerySetupUtils.js +20 -0
- package/lib/components/QuerySetupUtils.js.map +1 -0
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -0
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +1 -0
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -0
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +3 -3
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +1 -0
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +1 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +3 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +1 -0
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +2 -2
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -0
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -0
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +2 -2
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +1 -0
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts +1 -0
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderChangeDetectionState.js +24 -0
- package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
- package/lib/stores/QueryBuilderParametersState.d.ts +1 -1
- package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderParametersState.js +1 -1
- package/lib/stores/QueryBuilderParametersState.js.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js +3 -4
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
- package/package.json +13 -13
- package/src/components/QueryBuilderResultPanel.tsx +3 -2
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +8 -9
- package/src/components/QuerySetupUtils.ts +23 -0
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +10 -5
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +5 -4
- package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +3 -2
- package/src/components/filter/QueryBuilderFilterPanel.tsx +3 -2
- package/src/index.ts +1 -0
- package/src/stores/QueryBuilderChangeDetectionState.ts +31 -0
- package/src/stores/QueryBuilderParametersState.ts +3 -1
- package/src/stores/QueryBuilderTypeaheadHelper.ts +6 -5
- package/tsconfig.json +1 -0
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
*/
|
17
17
|
import { useEffect, useRef, useCallback, useState, forwardRef } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, VerticalDragHandleIcon, ContextMenu, InputWithInlineValidation, SigmaIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, OptionsIcon, PlusIcon, } from '@finos/legend-art';
|
19
|
+
import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, VerticalDragHandleIcon, ContextMenu, InputWithInlineValidation, SigmaIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, OptionsIcon, PlusIcon, PanelContent, } from '@finos/legend-art';
|
20
20
|
import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
21
21
|
import { useDrag, useDrop } from 'react-dnd';
|
22
22
|
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE, } from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
@@ -207,7 +207,7 @@ export const QueryBuilderProjectionPanel = observer((props) => {
|
|
207
207
|
useEffect(() => {
|
208
208
|
flowResult(projectionState.convertDerivationProjectionObjects()).catch(applicationStore.alertUnhandledError);
|
209
209
|
}, [applicationStore, projectionState]);
|
210
|
-
return (_jsxs(
|
210
|
+
return (_jsxs(PanelContent, { children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsx("button", { className: "panel__header__action", onClick: openResultSetModifierEditor, tabIndex: -1, title: "Configure result set modifiers...", children: _jsx(OptionsIcon, { className: "query-builder__icon query-builder__icon__query-option" }) }), _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, dropTargetConnector: dropTargetConnector, children: [!projectionColumns.length && (_jsx(BlankPanelPlaceholder, { text: "Add a projection column", tooltipText: "Drag and drop properties here" })), Boolean(projectionColumns.length) && (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROJECTION, className: "query-builder__projection__columns", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.columnState.columnName === ''
|
211
211
|
? '(unknown)'
|
212
212
|
: item.columnState.columnName, types: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE] }), projectionColumns.map((projectionColumnState) => (_jsx(QueryBuilderProjectionColumnEditor, { projectionColumnState: projectionColumnState }, projectionColumnState.uuid)))] })), _jsx(QueryResultModifierModal, { projectionState: projectionState })] }) })] }));
|
213
213
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderProjectionPanel.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,sBAAsB,EACtB,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAGL,2CAA2C,EAC3C,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,8EAA8E,CAAC;AACtF,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OA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ACL,IACL,EACN,cAAK,SAAS,EAAC,oCAAoC,YACjD,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,CAAC,iBAAiB,CAAC,MAAM,IAAI,CAC5B,KAAC,qBAAqB,IACpB,IAAI,EAAC,yBAAyB,EAC9B,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CACpC,8BACe,qBAAqB,CAAC,wBAAwB,EAC3D,SAAS,EAAC,oCAAoC,aAE9C,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA4C,EACpC,EAAE,CACV,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,EAAE;wCAChC,CAAC,CAAC,WAAW;wCACb,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,EAEjC,KAAK,EAAE,CAAC,wCAAwC,CAAC,GACjD,EACD,iBAAiB,CAAC,GAAG,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAChD,KAAC,kCAAkC,IAEjC,qBAAqB,EAAE,qBAAqB,IADvC,qBAAqB,CAAC,IAAI,CAE/B,CACH,CAAC,IACE,CACP,EACD,KAAC,wBAAwB,IAAC,eAAe,EAAE,eAAe,GAAI,IAChD,GACZ,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderProjectionPanel.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,aAA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qBAAqB,CAAC,IAAI,CAE/B,CACH,CAAC,IACE,CACP,EACD,KAAC,wBAAwB,IAAC,eAAe,EAAE,eAAe,GAAI,IAChD,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -13,6 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
16
17
|
import type { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
|
17
18
|
export declare const QueryResultModifierModal: ((props: {
|
18
19
|
projectionState: QueryBuilderProjectionState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
1
|
+
{"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoBH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AAuI1H,eAAO,MAAM,wBAAwB,WAC3B;IAAE,eAAe,EAAE,2BAA2B,CAAA;CAAE;;CAmFzD,CAAC"}
|
@@ -13,6 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
16
17
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
17
18
|
export declare const QueryBuilderFilterPanel: ((props: {
|
18
19
|
queryBuilderState: QueryBuilderState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
1
|
+
{"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkDH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA0kB3E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsOjD,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
16
16
|
*/
|
17
17
|
import { useRef, useState, useCallback, forwardRef, useMemo } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { clsx, ClickAwayListener, ContextMenu, DropdownMenu, MenuContent, MenuContentItem, BlankPanelPlaceholder, FilledTriangleIcon, CompressIcon, ExpandIcon, BrushIcon, NewFolderIcon, CircleIcon, CaretDownIcon, PlusIcon, ChevronDownIcon, ChevronRightIcon, PlusCircleIcon, TimesIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, } from '@finos/legend-art';
|
19
|
+
import { clsx, ClickAwayListener, ContextMenu, DropdownMenu, MenuContent, MenuContentItem, BlankPanelPlaceholder, FilledTriangleIcon, CompressIcon, ExpandIcon, BrushIcon, NewFolderIcon, CircleIcon, CaretDownIcon, PlusIcon, ChevronDownIcon, ChevronRightIcon, PlusCircleIcon, TimesIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, PanelContent, } from '@finos/legend-art';
|
20
20
|
import { QUERY_BUILDER_FILTER_DND_TYPE, FilterConditionState, QueryBuilderFilterTreeConditionNodeData, QueryBuilderFilterTreeBlankConditionNodeData, QueryBuilderFilterTreeGroupNodeData, } from '../../stores/filter/QueryBuilderFilterState.js';
|
21
21
|
import { useDrag, useDrop } from 'react-dnd';
|
22
22
|
import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
@@ -307,6 +307,6 @@ export const QueryBuilderFilterPanel = observer((props) => {
|
|
307
307
|
}),
|
308
308
|
}), [handleDrop]);
|
309
309
|
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER, className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "filter" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", onClick: createCondition, tabIndex: -1, title: "Create Condition", children: _jsx(PlusIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !(filterState.selectedNode instanceof
|
310
|
-
QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, tabIndex: -1, title: "Create Group From Condition", children: _jsx(PlusCircleIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !allowGroupCreation, onClick: createGroupCondition, tabIndex: -1, title: "Create Logical Group", children: _jsx(NewFolderIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: pruneTree, tabIndex: -1, title: "Cleanup Tree", children: _jsx(BrushIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: simplifyTree, tabIndex: -1, title: "Simplify Tree", children: _jsx(CircleIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: expandTree, tabIndex: -1, title: "Expand Tree", children: _jsx(ExpandIcon, {}) })] })] }), _jsx(
|
310
|
+
QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, tabIndex: -1, title: "Create Group From Condition", children: _jsx(PlusCircleIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !allowGroupCreation, onClick: createGroupCondition, tabIndex: -1, title: "Create Logical Group", children: _jsx(NewFolderIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: pruneTree, tabIndex: -1, title: "Cleanup Tree", children: _jsx(BrushIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: simplifyTree, tabIndex: -1, title: "Simplify Tree", children: _jsx(CircleIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: expandTree, tabIndex: -1, title: "Expand Tree", children: _jsx(ExpandIcon, {}) })] })] }), _jsx(PanelContent, { children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [filterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a filter condition", tooltipText: "Drag and drop properties here" })), !filterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_FILTER_DND_TYPE) }), _jsx(QueryBuilderFilterTree, { queryBuilderState: queryBuilderState })] }))] }) })] }));
|
311
311
|
});
|
312
312
|
//# sourceMappingURL=QueryBuilderFilterPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAA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E,CAAC,CAAC,EACZ,KAAK,EAAC,eAAe,YAErB,KAAC,UAAU,KAAG,GACP,EACT,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,eAAe,YAErB,KAAC,YAAY,KAAG,GACT,EACT,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,aAAa,YAEnB,KAAC,UAAU,KAAG,GACP,IACL,IACF,EACN,cAAK,SAAS,EAAC,gBAAgB,YAC7B,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,WAAW,CAAC,OAAO,IAAI,CACtB,KAAC,qBAAqB,IACpB,IAAI,EAAC,wBAAwB,EAC7B,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,CAAC,WAAW,CAAC,OAAO,IAAI,CACvB,8BACE,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA2C,EACnC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EACvC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,GACnD,EACF,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC/D,CACJ,IACa,GACZ,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,iBAAiB,EACjB,WA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E,CAAC,CAAC,EACZ,KAAK,EAAC,cAAc,YAEpB,KAAC,SAAS,KAAG,GACN,EACT,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,eAAe,YAErB,KAAC,UAAU,KAAG,GACP,EACT,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,eAAe,YAErB,KAAC,YAAY,KAAG,GACT,EACT,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,aAAa,YAEnB,KAAC,UAAU,KAAG,GACP,IACL,IACF,EACN,KAAC,YAAY,cACX,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,WAAW,CAAC,OAAO,IAAI,CACtB,KAAC,qBAAqB,IACpB,IAAI,EAAC,wBAAwB,EAC7B,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,CAAC,WAAW,CAAC,OAAO,IAAI,CACvB,8BACE,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA2C,EACnC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EACvC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,GACnD,EACF,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC/D,CACJ,IACa,GACH,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -13,6 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
16
17
|
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
17
18
|
import type { Type } from '@finos/legend-graph';
|
18
19
|
import { type LambdaEditorState } from '@finos/legend-application';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderLambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderLambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
1
|
+
{"version":3,"file":"QueryBuilderLambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderLambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,wBAAwB,WAC3B;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC;IACpC,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,yBAAyB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACtD;;CAqEF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/index.d.ts
CHANGED
@@ -28,4 +28,5 @@ export type { ServiceExecutionAnalysisResult } from './graphManager/action/analy
|
|
28
28
|
export type { MappingRuntimeCompatibilityAnalysisResult } from './graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js';
|
29
29
|
export * from './stores/ServiceInfo.js';
|
30
30
|
export * from './components/ServiceQuerySetupUtils.js';
|
31
|
+
export * from './components/QuerySetupUtils.js';
|
31
32
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AAEpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EACL,KAAK,uBAAuB,EAC5B,wBAAwB,GACzB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAC9H,YAAY,EAAE,8BAA8B,EAAE,MAAM,6DAA6D,CAAC;AAClH,YAAY,EAAE,yCAAyC,EAAE,MAAM,wEAAwE,CAAC;AACxI,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AAEpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EACL,KAAK,uBAAuB,EAC5B,wBAAwB,GACzB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAC9H,YAAY,EAAE,8BAA8B,EAAE,MAAM,6DAA6D,CAAC;AAClH,YAAY,EAAE,yCAAyC,EAAE,MAAM,wEAAwE,CAAC;AACxI,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC"}
|
package/lib/index.js
CHANGED
@@ -26,4 +26,5 @@ export { ServiceQueryBuilderState, } from './stores//workflows/ServiceQueryBuild
|
|
26
26
|
export { getQueryBuilderGraphManagerExtension } from './graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js';
|
27
27
|
export * from './stores/ServiceInfo.js';
|
28
28
|
export * from './components/ServiceQuerySetupUtils.js';
|
29
|
+
export * from './components/QuerySetupUtils.js';
|
29
30
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.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E,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAEL,wBAAwB,GACzB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAG9H,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC"}
|
package/lib/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.1",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -64,20 +64,20 @@
|
|
64
64
|
"react-dom": "18.2.0",
|
65
65
|
"react-hotkeys": "2.0.0",
|
66
66
|
"react-resize-detector": "7.1.2",
|
67
|
-
"react-router": "5.3.
|
68
|
-
"react-router-dom": "5.3.
|
67
|
+
"react-router": "5.3.4",
|
68
|
+
"react-router-dom": "5.3.4",
|
69
69
|
"serializr": "2.0.5"
|
70
70
|
},
|
71
71
|
"devDependencies": {
|
72
72
|
"@finos/legend-dev-utils": "workspace:*",
|
73
|
-
"@jest/globals": "29.
|
73
|
+
"@jest/globals": "29.1.2",
|
74
74
|
"cross-env": "7.0.3",
|
75
75
|
"eslint": "8.24.0",
|
76
|
-
"jest": "29.
|
76
|
+
"jest": "29.1.2",
|
77
77
|
"npm-run-all": "4.1.5",
|
78
78
|
"rimraf": "3.0.2",
|
79
79
|
"sass": "1.55.0",
|
80
|
-
"typescript": "4.8.
|
80
|
+
"typescript": "4.8.4"
|
81
81
|
},
|
82
82
|
"peerDependencies": {
|
83
83
|
"react": "^18.0.0"
|
@@ -42,5 +42,6 @@ export declare class QueryBuilderChangeDetectionState {
|
|
42
42
|
hideDiffViewPanel(): void;
|
43
43
|
get hasChanged(): boolean;
|
44
44
|
initialize(initialQuery: RawLambda): void;
|
45
|
+
alertUnsavedChanges(onProceed: () => void): void;
|
45
46
|
}
|
46
47
|
//# sourceMappingURL=QueryBuilderChangeDetectionState.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderChangeDetectionState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderChangeDetectionState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,WAAW,EAGX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,oBAAY,wBAAwB;IAClC,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,qBAAa,yBAAyB;IACpC,QAAQ,CAAC,oBAAoB,EAAE,gCAAgC,CAAC;IAChE,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAC;IAEjC,IAAI,2BAAoC;IACxC,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG3C,oBAAoB,EAAE,gCAAgC,EACtD,YAAY,EAAE,SAAS,EACvB,YAAY,EAAE,SAAS;IAezB,OAAO,CAAC,GAAG,EAAE,wBAAwB,GAAG,IAAI;IAI3C,mBAAmB,IAAI,WAAW,CAAC,IAAI,CAAC;CAwB1C;AAED,qBAAa,gCAAgC;IAC3C,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,SAAS,cAAwB;IACjC,aAAa,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACtD,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAEzB,iBAAiB,EAAE,iBAAiB;IAchD,iBAAiB,IAAI,IAAI;IAYzB,iBAAiB,IAAI,IAAI;IAIzB,IAAI,UAAU,IAAI,OAAO,CAKxB;IAED,UAAU,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI;IAOzC,mBAAmB,CAAC,SAAS,EAAE,MAAM,IAAI,GAAG,IAAI;CA0BjD"}
|
@@ -13,6 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
+
import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
|
16
17
|
import { ActionState, assertErrorThrown, assertNonNullable, } from '@finos/legend-shared';
|
17
18
|
import { action, computed, flow, makeObservable, observable } from 'mobx';
|
18
19
|
export var QueryBuilderDiffViewMode;
|
@@ -100,5 +101,28 @@ export class QueryBuilderChangeDetectionState {
|
|
100
101
|
this.initialQuery = initialQuery;
|
101
102
|
this.initState.complete();
|
102
103
|
}
|
104
|
+
alertUnsavedChanges(onProceed) {
|
105
|
+
if (this.hasChanged) {
|
106
|
+
this.querybuilderState.applicationStore.setActionAlertInfo({
|
107
|
+
message: 'Unsaved changes to your query will be lost if you continue. Do you still want to proceed?',
|
108
|
+
type: ActionAlertType.CAUTION,
|
109
|
+
actions: [
|
110
|
+
{
|
111
|
+
label: 'Proceed',
|
112
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
113
|
+
handler: this.querybuilderState.applicationStore.guardUnhandledError(async () => onProceed()),
|
114
|
+
},
|
115
|
+
{
|
116
|
+
label: 'Cancel',
|
117
|
+
type: ActionAlertActionType.PROCEED,
|
118
|
+
default: true,
|
119
|
+
},
|
120
|
+
],
|
121
|
+
});
|
122
|
+
}
|
123
|
+
else {
|
124
|
+
onProceed();
|
125
|
+
}
|
126
|
+
}
|
103
127
|
}
|
104
128
|
//# sourceMappingURL=QueryBuilderChangeDetectionState.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderChangeDetectionState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderChangeDetectionState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderChangeDetectionState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1E,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,yCAAa,CAAA;IACb,+CAAmB,CAAA;AACrB,CAAC,EAHW,wBAAwB,GAAxB,wBAAwB,KAAxB,wBAAwB,QAGnC;AAED,MAAM,OAAO,yBAAyB;IAC3B,oBAAoB,CAAmC;IACvD,YAAY,CAAY;IACxB,YAAY,CAAY;IAEjC,IAAI,GAAG,wBAAwB,CAAC,OAAO,CAAC;IACxC,uBAAuB,CAAsB;IAC7C,uBAAuB,CAAsB;IAE7C,YACE,oBAAsD,EACtD,YAAuB,EACvB,YAAuB;QAEvB,cAAc,CAAC,IAAI,EAAE;YACnB,IAAI,EAAE,UAAU;YAChB,uBAAuB,EAAE,UAAU;YACnC,uBAAuB,EAAE,UAAU;YACnC,OAAO,EAAE,MAAM;YACf,mBAAmB,EAAE,IAAI;SAC1B,CAAC,CAAC;QAEH,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,C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,SAAS,EAAE,CAAC;SACb;IACH,CAAC;CACF"}
|
@@ -21,8 +21,8 @@ export interface QueryBuilderParameterDragSource {
|
|
21
21
|
variable: LambdaParameterState;
|
22
22
|
}
|
23
23
|
export declare class QueryBuilderParametersState extends LambdaParametersState implements Hashable {
|
24
|
+
readonly queryBuilderState: QueryBuilderState;
|
24
25
|
selectedParameter: LambdaParameterState | undefined;
|
25
|
-
queryBuilderState: QueryBuilderState;
|
26
26
|
constructor(queryBuilderState: QueryBuilderState);
|
27
27
|
get hashCode(): string;
|
28
28
|
setSelectedParameter(val: LambdaParameterState | undefined): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,eAAO,MAAM,gCAAgC,cAAc,CAAC;AAE5D,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,qBAAa,2BACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,iBAAiB,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderParametersState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,eAAO,MAAM,gCAAgC,cAAc,CAAC;AAE5D,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,qBAAa,2BACX,SAAQ,qBACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,iBAAiB,EAAE,oBAAoB,GAAG,SAAS,CAAC;gBAExC,iBAAiB,EAAE,iBAAiB;IAiBhD,IAAa,QAAQ,IAAI,MAAM,CAK9B;IAED,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;CAGlE"}
|
@@ -19,8 +19,8 @@ import { observable, makeObservable, action, override } from 'mobx';
|
|
19
19
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
|
20
20
|
export const QUERY_BUILDER_PARAMETER_DND_TYPE = 'PARAMETER';
|
21
21
|
export class QueryBuilderParametersState extends LambdaParametersState {
|
22
|
-
selectedParameter;
|
23
22
|
queryBuilderState;
|
23
|
+
selectedParameter;
|
24
24
|
constructor(queryBuilderState) {
|
25
25
|
super();
|
26
26
|
makeObservable(this, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderParametersState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,GAEtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAGxF,MAAM,CAAC,MAAM,gCAAgC,GAAG,WAAW,CAAC;AAM5D,MAAM,OAAO,2BACX,SAAQ,qBAAqB;
|
1
|
+
{"version":3,"file":"QueryBuilderParametersState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,GAEtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAGxF,MAAM,CAAC,MAAM,gCAAgC,GAAG,WAAW,CAAC;AAM5D,MAAM,OAAO,2BACX,SAAQ,qBAAqB;IAGpB,iBAAiB,CAAoB;IAE9C,iBAAiB,CAAmC;IAEpD,YAAY,iBAAoC;QAC9C,KAAK,EAAE,CAAC;QAER,cAAc,CAAC,IAAI,EAAE;YACnB,0BAA0B,EAAE,UAAU;YACtC,eAAe,EAAE,UAAU;YAC3B,YAAY,EAAE,MAAM;YACpB,eAAe,EAAE,MAAM;YACvB,aAAa,EAAE,MAAM;YACrB,iBAAiB,EAAE,UAAU;YAC7B,oBAAoB,EAAE,MAAM;YAC5B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,gBAAgB;YAC7C,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC;SAChC,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB,CAAC,GAAqC;QACxD,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAC;IAC/B,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTypeaheadHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAIvB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0EAA0E,CAAC;AAKjI,OAAO,EACL,iCAAiC,EAElC,MAAM,mEAAmE,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTypeaheadHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAIvB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0EAA0E,CAAC;AAKjI,OAAO,EACL,iCAAiC,EAElC,MAAM,mEAAmE,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAsDhE,eAAO,MAAM,2BAA2B,sBACnB,iBAAiB,sBAChB,0BAA0B,SACvC,kBAAkB,GAAG,SAAS,KACpC,SAYF,CAAC;AAEF,eAAO,MAAM,mCAAmC,sBAC3B,iBAAiB,eAEhC,iCAAiC,GACjC,gCAAgC,SAC7B,kBAAkB,GAAG,SAAS,KACpC,SAGF,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,eAAe,KAAG,MAAM,EAgBrE,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,kBAAkB,GAAG,SAAS,KAClC,OAaF,CAAC"}
|
@@ -19,13 +19,12 @@ import { QueryBuilderPostFilterOperator_StartWith } from './fetch-structure/proj
|
|
19
19
|
import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, } from './fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
|
20
20
|
import { QueryBuilderProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
21
21
|
import { QueryBuilderProjectionState } from './fetch-structure/projection/QueryBuilderProjectionState.js';
|
22
|
-
|
23
|
-
const START_LENGTH = 3;
|
22
|
+
import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
|
24
23
|
const initializeQueryBuilderState = (queryBuilderState) => {
|
25
24
|
const builderState = queryBuilderState.INTERNAL__toBasicQueryBuilderState();
|
26
25
|
const projectionState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderProjectionState);
|
27
26
|
projectionState.resultSetModifierState.distinct = true;
|
28
|
-
projectionState.resultSetModifierState.limit =
|
27
|
+
projectionState.resultSetModifierState.limit = DEFAULT_TYPEAHEAD_SEARCH_LIMIT;
|
29
28
|
return builderState;
|
30
29
|
};
|
31
30
|
const buildColumnTypeaheadQuery = (builderState, columnState, value) => {
|
@@ -74,7 +73,7 @@ export const performTypeahead = (val) => {
|
|
74
73
|
switch (_type.path) {
|
75
74
|
case PRIMITIVE_TYPE.STRING: {
|
76
75
|
const value = val.values[0];
|
77
|
-
return value.length >=
|
76
|
+
return value.length >= DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH;
|
78
77
|
}
|
79
78
|
default:
|
80
79
|
return false;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTypeaheadHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,sBAAsB,EACtB,cAAc,EACd,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,wCAAwC,EAA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AAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.1",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -44,12 +44,12 @@
|
|
44
44
|
"@ag-grid-community/client-side-row-model": "28.1.1",
|
45
45
|
"@ag-grid-community/core": "28.1.1",
|
46
46
|
"@ag-grid-community/react": "28.1.1",
|
47
|
-
"@finos/legend-application": "8.0.
|
48
|
-
"@finos/legend-art": "3.
|
49
|
-
"@finos/legend-graph": "
|
50
|
-
"@finos/legend-server-depot": "4.
|
51
|
-
"@finos/legend-shared": "6.1.
|
52
|
-
"@finos/legend-storage": "3.0.
|
47
|
+
"@finos/legend-application": "8.0.1",
|
48
|
+
"@finos/legend-art": "3.3.0",
|
49
|
+
"@finos/legend-graph": "17.0.0",
|
50
|
+
"@finos/legend-server-depot": "4.1.0",
|
51
|
+
"@finos/legend-shared": "6.1.3",
|
52
|
+
"@finos/legend-storage": "3.0.12",
|
53
53
|
"@testing-library/react": "13.4.0",
|
54
54
|
"@types/react": "18.0.21",
|
55
55
|
"@types/react-dom": "18.0.6",
|
@@ -64,20 +64,20 @@
|
|
64
64
|
"react-dom": "18.2.0",
|
65
65
|
"react-hotkeys": "2.0.0",
|
66
66
|
"react-resize-detector": "7.1.2",
|
67
|
-
"react-router": "5.3.
|
68
|
-
"react-router-dom": "5.3.
|
67
|
+
"react-router": "5.3.4",
|
68
|
+
"react-router-dom": "5.3.4",
|
69
69
|
"serializr": "2.0.5"
|
70
70
|
},
|
71
71
|
"devDependencies": {
|
72
|
-
"@finos/legend-dev-utils": "2.0.
|
73
|
-
"@jest/globals": "29.
|
72
|
+
"@finos/legend-dev-utils": "2.0.18",
|
73
|
+
"@jest/globals": "29.1.2",
|
74
74
|
"cross-env": "7.0.3",
|
75
75
|
"eslint": "8.24.0",
|
76
|
-
"jest": "29.
|
76
|
+
"jest": "29.1.2",
|
77
77
|
"npm-run-all": "4.1.5",
|
78
78
|
"rimraf": "3.0.2",
|
79
79
|
"sass": "1.55.0",
|
80
|
-
"typescript": "4.8.
|
80
|
+
"typescript": "4.8.4"
|
81
81
|
},
|
82
82
|
"peerDependencies": {
|
83
83
|
"react": "^18.0.0"
|
@@ -27,6 +27,7 @@ import {
|
|
27
27
|
clsx,
|
28
28
|
PauseCircleIcon,
|
29
29
|
ExclamationTriangleIcon,
|
30
|
+
PanelContent,
|
30
31
|
} from '@finos/legend-art';
|
31
32
|
import { observer } from 'mobx-react-lite';
|
32
33
|
import { flowResult } from 'mobx';
|
@@ -622,7 +623,7 @@ export const QueryBuilderResultPanel = observer(
|
|
622
623
|
</DropdownMenu>
|
623
624
|
</div>
|
624
625
|
</div>
|
625
|
-
<
|
626
|
+
<PanelContent>
|
626
627
|
<PanelLoadingIndicator
|
627
628
|
isLoading={
|
628
629
|
resultState.isRunningQuery ||
|
@@ -643,7 +644,7 @@ export const QueryBuilderResultPanel = observer(
|
|
643
644
|
/>
|
644
645
|
</div>
|
645
646
|
)}
|
646
|
-
</
|
647
|
+
</PanelContent>
|
647
648
|
<ExecutionPlanViewer
|
648
649
|
executionPlanState={resultState.executionPlanState}
|
649
650
|
/>
|
@@ -22,6 +22,9 @@ import {
|
|
22
22
|
ResizablePanelGroup,
|
23
23
|
ResizablePanel,
|
24
24
|
ResizablePanelSplitter,
|
25
|
+
Panel,
|
26
|
+
PanelContent,
|
27
|
+
PanelHeader,
|
25
28
|
} from '@finos/legend-art';
|
26
29
|
import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
|
27
30
|
import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
|
@@ -39,13 +42,9 @@ const QueryBuilderUnsupportedQueryEditPanel = observer(
|
|
39
42
|
QueryBuilderTextEditorMode.TEXT,
|
40
43
|
);
|
41
44
|
return (
|
42
|
-
<
|
43
|
-
<
|
44
|
-
|
45
|
-
<div className="panel__header__title__label">content</div>
|
46
|
-
</div>
|
47
|
-
</div>
|
48
|
-
<div className="panel__content">
|
45
|
+
<Panel>
|
46
|
+
<PanelHeader title="content" />
|
47
|
+
<PanelContent>
|
49
48
|
<BlankPanelContent>
|
50
49
|
<div className="query-builder__unsupported-view__main">
|
51
50
|
<div className="query-builder__unsupported-view__summary">{`Can't display query in form mode${errorMessage}`}</div>
|
@@ -57,8 +56,8 @@ const QueryBuilderUnsupportedQueryEditPanel = observer(
|
|
57
56
|
</button>
|
58
57
|
</div>
|
59
58
|
</BlankPanelContent>
|
60
|
-
</
|
61
|
-
</
|
59
|
+
</PanelContent>
|
60
|
+
</Panel>
|
62
61
|
);
|
63
62
|
},
|
64
63
|
);
|