@finos/legend-query-builder 4.1.13 → 4.1.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,6 @@ export const QueryChat = observer((props) => {
23
23
  const extraQueryChatConfigurations = applicationStore.pluginManager
24
24
  .getApplicationPlugins()
25
25
  .flatMap((plugin) => plugin.getExtraQueryChatRenderers?.() ?? []);
26
- return (_jsx(Dialog, { open: queryBuilderState.isQueryChatOpened, onClose: () => queryBuilderState.setIsQueryChatOpened(false), children: _jsxs(Modal, { className: "query-builder__chat-mode__modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Chat Mode" }), _jsx(ModalBody, { className: "query-builder__chat-mode__body", children: _jsx(_Fragment, { children: extraQueryChatConfigurations.length === 0 ? (_jsx(BlankPanelContent, { children: "Chat Mode is not available" })) : (extraQueryChatConfigurations[0]) }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: () => queryBuilderState.setIsQueryChatOpened(false), text: "Close" }) })] }) }));
26
+ return (_jsx(Dialog, { open: queryBuilderState.isQueryChatOpened, onClose: () => queryBuilderState.setIsQueryChatOpened(false), children: _jsxs(Modal, { className: "query-builder__chat-mode__modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Chat Mode" }), _jsx(ModalBody, { className: "query-builder__chat-mode__body", children: _jsx(_Fragment, { children: extraQueryChatConfigurations.length === 0 ? (_jsx(BlankPanelContent, { children: "Chat Mode is not available" })) : (extraQueryChatConfigurations[0]?.(queryBuilderState)) }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: () => queryBuilderState.setIsQueryChatOpened(false), text: "Close" }) })] }) }));
27
27
  });
28
28
  //# sourceMappingURL=QueryChat.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryChat.js","sourceRoot":"","sources":["../../src/components/QueryChat.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,MAAM,EACN,KAAK,E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,OAAO,GACZ,GACU,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v4.1.13
1
+ /** @license @finos/legend-query-builder v4.1.15
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.1.13",
3
+ "version": "4.1.15",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -50,10 +50,10 @@
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-storage": "workspace:*",
52
52
  "@testing-library/react": "14.0.0",
53
- "@types/react": "18.2.15",
53
+ "@types/react": "18.2.17",
54
54
  "@types/react-dom": "18.2.7",
55
- "chart.js": "4.3.0",
56
- "mathjs": "11.9.0",
55
+ "chart.js": "4.3.2",
56
+ "mathjs": "11.9.1",
57
57
  "mobx": "6.10.0",
58
58
  "mobx-react-lite": "3.4.3",
59
59
  "monaco-editor": "0.40.0",
@@ -62,14 +62,14 @@
62
62
  "react-dnd": "16.0.1",
63
63
  "react-dom": "18.2.0",
64
64
  "serializr": "3.0.2",
65
- "sql-formatter": "12.2.3"
65
+ "sql-formatter": "12.2.4"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@finos/legend-dev-utils": "workspace:*",
69
- "@jest/globals": "29.6.1",
69
+ "@jest/globals": "29.6.2",
70
70
  "cross-env": "7.0.3",
71
- "eslint": "8.45.0",
72
- "jest": "29.6.1",
71
+ "eslint": "8.46.0",
72
+ "jest": "29.6.2",
73
73
  "npm-run-all": "4.1.5",
74
74
  "rimraf": "5.0.1",
75
75
  "sass": "1.64.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.1.13",
3
+ "version": "4.1.15",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,18 +42,18 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.34",
46
- "@finos/legend-art": "7.0.34",
47
- "@finos/legend-graph": "31.0.2",
48
- "@finos/legend-lego": "1.1.13",
49
- "@finos/legend-server-depot": "6.0.22",
50
- "@finos/legend-shared": "10.0.21",
51
- "@finos/legend-storage": "3.0.71",
45
+ "@finos/legend-application": "15.0.36",
46
+ "@finos/legend-art": "7.0.36",
47
+ "@finos/legend-graph": "31.0.4",
48
+ "@finos/legend-lego": "1.1.15",
49
+ "@finos/legend-server-depot": "6.0.23",
50
+ "@finos/legend-shared": "10.0.22",
51
+ "@finos/legend-storage": "3.0.72",
52
52
  "@testing-library/react": "14.0.0",
53
- "@types/react": "18.2.15",
53
+ "@types/react": "18.2.17",
54
54
  "@types/react-dom": "18.2.7",
55
- "chart.js": "4.3.0",
56
- "mathjs": "11.9.0",
55
+ "chart.js": "4.3.2",
56
+ "mathjs": "11.9.1",
57
57
  "mobx": "6.10.0",
58
58
  "mobx-react-lite": "3.4.3",
59
59
  "monaco-editor": "0.40.0",
@@ -62,14 +62,14 @@
62
62
  "react-dnd": "16.0.1",
63
63
  "react-dom": "18.2.0",
64
64
  "serializr": "3.0.2",
65
- "sql-formatter": "12.2.3"
65
+ "sql-formatter": "12.2.4"
66
66
  },
67
67
  "devDependencies": {
68
- "@finos/legend-dev-utils": "2.0.75",
69
- "@jest/globals": "29.6.1",
68
+ "@finos/legend-dev-utils": "2.0.76",
69
+ "@jest/globals": "29.6.2",
70
70
  "cross-env": "7.0.3",
71
- "eslint": "8.45.0",
72
- "jest": "29.6.1",
71
+ "eslint": "8.46.0",
72
+ "jest": "29.6.2",
73
73
  "npm-run-all": "4.1.5",
74
74
  "rimraf": "5.0.1",
75
75
  "sass": "1.64.1",
@@ -56,7 +56,7 @@ export const QueryChat = observer(
56
56
  Chat Mode is not available
57
57
  </BlankPanelContent>
58
58
  ) : (
59
- extraQueryChatConfigurations[0]
59
+ extraQueryChatConfigurations[0]?.(queryBuilderState)
60
60
  )}
61
61
  </>
62
62
  </ModalBody>