@finos/legend-query-builder 4.18.31 → 4.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__lib__/QueryBuilderSetting.d.ts +1 -2
- package/lib/__lib__/QueryBuilderSetting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderSetting.js +0 -4
- package/lib/__lib__/QueryBuilderSetting.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +3 -7
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +1 -2
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryLoader.d.ts.map +1 -1
- package/lib/components/QueryLoader.js +215 -92
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/{QueryChat.d.ts → lakehouse/IngestionDefinitionArtifactViewer.d.ts} +7 -5
- package/lib/components/lakehouse/IngestionDefinitionArtifactViewer.d.ts.map +1 -0
- package/lib/components/lakehouse/IngestionDefinitionArtifactViewer.js +122 -0
- package/lib/components/lakehouse/IngestionDefinitionArtifactViewer.js.map +1 -0
- package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts +2 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +2 -2
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/components/workflows/DataProductQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/DataProductQueryBuilder.js +7 -4
- package/lib/components/workflows/DataProductQueryBuilder.js.map +1 -1
- package/lib/data-access-overview.css +1 -1
- package/lib/graph-manager/QueryBuilderConfig.d.ts +0 -8
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.js +0 -10
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderState.d.ts +0 -5
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +0 -19
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +0 -5
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.d.ts +39 -3
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +129 -2
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.d.ts +6 -0
- package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.js +6 -3
- package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.js.map +1 -1
- package/package.json +7 -7
- package/src/__lib__/QueryBuilderSetting.ts +0 -4
- package/src/components/QueryBuilder.tsx +0 -31
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +0 -7
- package/src/components/QueryLoader.tsx +708 -381
- package/src/components/lakehouse/IngestionDefinitionArtifactViewer.tsx +370 -0
- package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +6 -3
- package/src/components/workflows/DataProductQueryBuilder.tsx +20 -5
- package/src/graph-manager/QueryBuilderConfig.ts +0 -11
- package/src/index.ts +1 -1
- package/src/stores/QueryBuilderState.ts +0 -26
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +0 -9
- package/src/stores/QueryLoaderState.ts +173 -2
- package/src/stores/workflows/dataProduct/DataProductQueryBuilderState.ts +17 -8
- package/tsconfig.json +1 -2
- package/lib/components/QueryChat.d.ts.map +0 -1
- package/lib/components/QueryChat.js +0 -26
- package/lib/components/QueryChat.js.map +0 -1
- package/lib/stores/QueryChatState.d.ts +0 -19
- package/lib/stores/QueryChatState.d.ts.map +0 -1
- package/lib/stores/QueryChatState.js +0 -18
- package/lib/stores/QueryChatState.js.map +0 -1
- package/src/components/QueryChat.tsx +0 -38
- package/src/stores/QueryChatState.ts +0 -19
|
@@ -38,7 +38,6 @@ import {
|
|
|
38
38
|
BlankPanelContent,
|
|
39
39
|
ModalFooterButton,
|
|
40
40
|
CalendarClockIcon,
|
|
41
|
-
ChatIcon,
|
|
42
41
|
PanelLoadingIndicator,
|
|
43
42
|
SerializeIcon,
|
|
44
43
|
DataAccessIcon,
|
|
@@ -80,7 +79,6 @@ import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpre
|
|
|
80
79
|
import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
|
|
81
80
|
import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
|
|
82
81
|
import { DataAccessOverview } from './data-access/DataAccessOverview.js';
|
|
83
|
-
import { QueryChat } from './QueryChat.js';
|
|
84
82
|
import { Fragment, useEffect, useRef } from 'react';
|
|
85
83
|
import { RedoButton, UndoButton } from '@finos/legend-lego/application';
|
|
86
84
|
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js';
|
|
@@ -118,8 +116,6 @@ const QueryBuilderStatusBar = observer(
|
|
|
118
116
|
);
|
|
119
117
|
const toggleAssistant = (): void =>
|
|
120
118
|
applicationStore.assistantService.toggleAssistant();
|
|
121
|
-
const openQueryChat = (): void =>
|
|
122
|
-
queryBuilderState.setIsQueryChatOpened(true);
|
|
123
119
|
|
|
124
120
|
return (
|
|
125
121
|
<div className="query-builder__status-bar">
|
|
@@ -156,25 +152,6 @@ const QueryBuilderStatusBar = observer(
|
|
|
156
152
|
)}
|
|
157
153
|
</>
|
|
158
154
|
)}
|
|
159
|
-
{queryBuilderState.isQueryChatOpened && (
|
|
160
|
-
<QueryChat queryBuilderState={queryBuilderState} />
|
|
161
|
-
)}
|
|
162
|
-
{!queryBuilderState.config?.TEMPORARY__disableQueryBuilderChat && (
|
|
163
|
-
<button
|
|
164
|
-
className={clsx(
|
|
165
|
-
'query-builder__status-bar__action query-builder__status-bar__action__toggler',
|
|
166
|
-
{
|
|
167
|
-
'query-builder__status-bar__action__toggler--toggled':
|
|
168
|
-
queryBuilderState.isQueryChatOpened === true,
|
|
169
|
-
},
|
|
170
|
-
)}
|
|
171
|
-
onClick={openQueryChat}
|
|
172
|
-
tabIndex={-1}
|
|
173
|
-
title="Open Query Chat"
|
|
174
|
-
>
|
|
175
|
-
<ChatIcon />
|
|
176
|
-
</button>
|
|
177
|
-
)}
|
|
178
155
|
<button
|
|
179
156
|
className={clsx(
|
|
180
157
|
'query-builder__status-bar__action query-builder__status-bar__compile-btn',
|
|
@@ -1051,14 +1028,6 @@ export const QueryBuilder = observer(
|
|
|
1051
1028
|
{renderPostFetchStructure()}
|
|
1052
1029
|
</ResizablePanel>
|
|
1053
1030
|
)}
|
|
1054
|
-
{queryBuilderState.isQueryChatOpened && (
|
|
1055
|
-
<ResizablePanelSplitter />
|
|
1056
|
-
)}
|
|
1057
|
-
{queryBuilderState.isQueryChatOpened && (
|
|
1058
|
-
<ResizablePanel size={450}>
|
|
1059
|
-
<QueryChat queryBuilderState={queryBuilderState} />
|
|
1060
|
-
</ResizablePanel>
|
|
1061
|
-
)}
|
|
1062
1031
|
</ResizablePanelGroup>
|
|
1063
1032
|
) : (
|
|
1064
1033
|
<QueryBuilderUnsupportedQueryEditor
|
|
@@ -28,7 +28,6 @@ import {
|
|
|
28
28
|
} from '@finos/legend-art';
|
|
29
29
|
import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
|
|
30
30
|
import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
|
|
31
|
-
import { QueryChat } from './QueryChat.js';
|
|
32
31
|
|
|
33
32
|
const QueryBuilderUnsupportedQueryViewer = observer(
|
|
34
33
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
|
@@ -82,12 +81,6 @@ export const QueryBuilderUnsupportedQueryEditor = observer(
|
|
|
82
81
|
queryBuilderState={queryBuilderState}
|
|
83
82
|
/>
|
|
84
83
|
</ResizablePanel>
|
|
85
|
-
{queryBuilderState.isQueryChatOpened && <ResizablePanelSplitter />}
|
|
86
|
-
{queryBuilderState.isQueryChatOpened && (
|
|
87
|
-
<ResizablePanel size={450}>
|
|
88
|
-
<QueryChat queryBuilderState={queryBuilderState} />
|
|
89
|
-
</ResizablePanel>
|
|
90
|
-
)}
|
|
91
84
|
</ResizablePanelGroup>
|
|
92
85
|
);
|
|
93
86
|
},
|