@finos/legend-application-studio 28.16.25 → 28.16.26
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/ShowcaseManager.d.ts.map +1 -1
- package/lib/components/ShowcaseManager.js +2 -2
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +3 -4
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.d.ts.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +2 -2
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +6 -6
- package/src/components/ShowcaseManager.tsx +2 -1
- package/src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx +3 -3
- package/src/components/editor/editor-group/database/IsolatedQueryDatabase.tsx +6 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ShowcaseManager.d.ts","sourceRoot":"","sources":["../../src/components/ShowcaseManager.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"ShowcaseManager.d.ts","sourceRoot":"","sources":["../../src/components/ShowcaseManager.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwpBH,eAAO,MAAM,eAAe;;CAyB1B,CAAC"}
|
@@ -16,7 +16,7 @@ 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 { observer } from 'mobx-react-lite';
|
19
|
-
import { BlankPanelContent, Panel, PanelLoadingIndicator, TreeView, ChevronDownIcon, ChevronRightIcon, GenericTextFileIcon, FolderIcon, FolderOpenIcon, HomeIcon, SearchIcon, TimesIcon, CodeIcon, clsx, CopyIcon, } from '@finos/legend-art';
|
19
|
+
import { BlankPanelContent, Panel, PanelLoadingIndicator, TreeView, ChevronDownIcon, ChevronRightIcon, GenericTextFileIcon, FolderIcon, FolderOpenIcon, HomeIcon, SearchIcon, TimesIcon, CodeIcon, clsx, CopyIcon, compareLabelFn, } from '@finos/legend-art';
|
20
20
|
import { SHOWCASE_MANAGER_SEARCH_CATEGORY, SHOWCASE_MANAGER_VIEW, ShowcaseManagerState, } from '../stores/ShowcaseManagerState.js';
|
21
21
|
import { debounce, isNonNullable } from '@finos/legend-shared';
|
22
22
|
import { flowResult } from 'mobx';
|
@@ -54,7 +54,7 @@ const ShowcaseManagerExplorer = observer((props) => {
|
|
54
54
|
return node.childrenIds
|
55
55
|
.map((id) => treeData.nodes.get(id))
|
56
56
|
.filter(isNonNullable)
|
57
|
-
.sort(
|
57
|
+
.sort(compareLabelFn);
|
58
58
|
}
|
59
59
|
return [];
|
60
60
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ShowcaseManager.js","sourceRoot":"","sources":["../../src/components/ShowcaseManager.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,KAAK,EACL,qBAAqB,EACrB,QAAQ,EAER,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,EACV,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gCAAgC,EAChC,qBAAqB,EACrB,oBAAoB,GAGrB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,UAAU,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ACd,CAAC;IAED,OAAO,CACL,MAAC,KAAK,eACJ,KAAC,qBAAqB,IACpB,SAAS,EAAE,oBAAoB,CAAC,SAAS,CAAC,YAAY,GACtD,EACD,oBAAoB,CAAC,SAAS,CAAC,YAAY,IAAI,CAC9C,KAAC,iBAAiB,kCAAoC,CACvD,EACA,oBAAoB,CAAC,SAAS,CAAC,SAAS,IAAI,CAC3C,KAAC,iBAAiB,uCAAyC,CAC5D,EACA,oBAAoB,CAAC,SAAS,CAAC,YAAY,IAAI,CAC9C,KAAC,sBAAsB,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,CACvE,IACK,CACT,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatabaseSchemaExplorer.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,sBAAsB,
|
1
|
+
{"version":3,"file":"DatabaseSchemaExplorer.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,sBAAsB,EAY5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,kCAAkC,EAIvC,KAAK,2BAA2B,EACjC,MAAM,gGAAgG,CAAC;AA4BxG,MAAM,MAAM,4CAA4C,GACtD,sBAAsB,CACpB,kCAAkC,EAClC;IACE,iBAAiB,EAAE,CAAC,IAAI,EAAE,kCAAkC,KAAK,IAAI,CAAC;IACtE,mBAAmB,EAAE,CACnB,IAAI,EAAE,kCAAkC,KACrC,OAAO,CAAC;IACb,WAAW,EAAE,CAAC,IAAI,EAAE,kCAAkC,KAAK,IAAI,CAAC;IAChE,qBAAqB,EAAE,CACrB,IAAI,EAAE,kCAAkC,KACrC,OAAO,CAAC;CACd,CACF,CAAC;AAEJ,eAAO,MAAM,uCAAuC,2OA4GnD,CAAC;AAEF,eAAO,MAAM,sBAAsB,WACzB;IACN,mBAAmB,EAAE,2BAA2B,CAAC;IACjD,QAAQ,EAAE,wBAAwB,CAAC;IACnC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,0BAA0B,CAAC,EACvB,MAAM,EAAE,CAAC,4CAA4C,CAAC,GACtD,SAAS,CAAC;CACf;;CAkEF,CAAC"}
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import { TreeView, PURE_DatabaseSchemaIcon, PURE_DatabaseTableIcon, CircleIcon, ChevronDownIcon, ChevronRightIcon, CheckCircleIcon, EmptyCircleIcon, KeyIcon, EyeIcon, } from '@finos/legend-art';
|
18
|
+
import { TreeView, PURE_DatabaseSchemaIcon, PURE_DatabaseTableIcon, CircleIcon, ChevronDownIcon, ChevronRightIcon, CheckCircleIcon, EmptyCircleIcon, KeyIcon, EyeIcon, compareLabelFn, } from '@finos/legend-art';
|
19
19
|
import { DatabaseSchemaExplorerTreeColumnNodeData, DatabaseSchemaExplorerTreeSchemaNodeData, DatabaseSchemaExplorerTreeTableNodeData, } from '../../../../stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js';
|
20
20
|
import { useApplicationStore } from '@finos/legend-application';
|
21
21
|
import { renderColumnTypeIcon } from './DatabaseEditorHelper.js';
|
@@ -78,9 +78,8 @@ export const DatabaseSchemaExplorer = observer((props) => {
|
|
78
78
|
const onNodeSelect = (node) => {
|
79
79
|
flowResult(schemaExplorerState.onNodeSelect(node, treeData)).catch(applicationStore.alertUnhandledError);
|
80
80
|
};
|
81
|
-
const getChildNodes = (node) => schemaExplorerState
|
82
|
-
|
83
|
-
?.sort((a, b) => a.label.localeCompare(b.label)) ?? [];
|
81
|
+
const getChildNodes = (node) => schemaExplorerState.getChildNodes(node, treeData)?.sort(compareLabelFn) ??
|
82
|
+
[];
|
84
83
|
const isPartiallySelected = (node) => {
|
85
84
|
if (node instanceof DatabaseSchemaExplorerTreeSchemaNodeData &&
|
86
85
|
!node.isChecked) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatabaseSchemaExplorer.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,QAAQ,EACR,uBAAuB,EACvB,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,OAAO,EACP,OAAO,
|
1
|
+
{"version":3,"file":"DatabaseSchemaExplorer.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,QAAQ,EACR,uBAAuB,EACvB,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,OAAO,EACP,OAAO,EACP,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,wCAAwC,EACxC,wCAAwC,EACxC,uCAAuC,GAExC,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OA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|
-
{"version":3,"file":"IsolatedQueryDatabase.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/database/IsolatedQueryDatabase.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4FAA4F,CAAC;
|
1
|
+
{"version":3,"file":"IsolatedQueryDatabase.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/database/IsolatedQueryDatabase.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4FAA4F,CAAC;AA8G/I,eAAO,MAAM,2CAA2C,sBACnC,4BAA4B,KAC9C,MAAM,SAIR,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { getMappingCompatibleClasses, } from '@finos/legend-graph';
|
18
18
|
import { QueryBuilderClassSelector } from '@finos/legend-query-builder';
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
|
-
import { CustomSelectorInput, PanelHeader } from '@finos/legend-art';
|
20
|
+
import { CustomSelectorInput, PanelHeader, compareLabelFn, } from '@finos/legend-art';
|
21
21
|
import { returnUndefOnError } from '@finos/legend-shared';
|
22
22
|
const IsolatedDatabseQueryBuilderSetupPanelContext = observer((props) => {
|
23
23
|
const { queryBuilderState } = props;
|
@@ -27,7 +27,7 @@ const IsolatedDatabseQueryBuilderSetupPanelContext = observer((props) => {
|
|
27
27
|
const compConnections = queryBuilderState.compatibleConnections;
|
28
28
|
const compConnectionsOptions = Array.from(compConnections.keys())
|
29
29
|
.map((e) => ({ value: e, label: getConnectionValue(e)?.name ?? e }))
|
30
|
-
.sort(
|
30
|
+
.sort(compareLabelFn);
|
31
31
|
const changeConnection = (val) => {
|
32
32
|
if (val) {
|
33
33
|
queryBuilderState.changeConnection(val.value);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"IsolatedQueryDatabase.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/database/IsolatedQueryDatabase.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,
|
1
|
+
{"version":3,"file":"IsolatedQueryDatabase.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/database/IsolatedQueryDatabase.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,4CAA4C,GAAG,QAAQ,CAC3D,CAAC,KAA0D,EAAE,EAAE;IAC7D,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC,uBAAuB,CAAC;IAC1E,MAAM,kBAAkB,GAAG,CACzB,GAAW,EACwB,EAAE,CACrC,kBAAkB,CAAC,GAAG,EAAE,CACtB,uBAAuB,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CACjD,CAAC;IACJ,MAAM,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,CAAC;IAC5C,MAAM,eAAe,GAAG,iBAAiB,CAAC,qBAAqB,CAAC;IAChE,MAAM,sBAAsB,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE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,KAAC,mBAAmB,IAClB,OAAO,EAAC,sCAAsC,EAC9C,SAAS,EAAC,4FAA4F,EACtG,cAAc,EAAC,iDAAiD,EAChE,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,EACX,KAAK,EAAE,cAAc,EACrB,QAAQ,EACN,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,aAAa;qCAC9C,mCAAmC,GAExC,IACE,EACN,eAAK,SAAS,EAAC,0CAA0C,aACvD,gBACE,SAAS,EAAC,yDAAyD,EACnE,KAAK,EAAC,YAAY,EAClB,OAAO,EAAC,2CAA2C,2BAG7C,EACR,KAAC,mBAAmB,IAClB,OAAO,EAAC,2CAA2C,EACnD,SAAS,EAAC,4FAA4F,EACtG,cAAc,EAAC,iDAAiD,EAChE,QAAQ,EAAE,sBAAsB,CAAC,MAAM,GAAG,CAAC,EAC3C,OAAO,EAAE,sBAAsB,EAC/B,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EAAE,kBAAkB,EACzB,QAAQ,EACN,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,aAAa;qCAC9C,mCAAmC,GAExC,IACE,EACN,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,2BAA2B,GAC1C,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2CAA2C,GAAG,CACzD,iBAA+C,EAC9B,EAAE,CAAC,CACpB,KAAC,4CAA4C,IAC3C,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-application-studio",
|
3
|
-
"version": "28.16.
|
3
|
+
"version": "28.16.26",
|
4
4
|
"description": "Legend Studio application core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,11 +45,11 @@
|
|
45
45
|
"test:watch": "jest --watch"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"@finos/legend-application": "15.1.
|
49
|
-
"@finos/legend-art": "7.1.
|
50
|
-
"@finos/legend-graph": "31.9.
|
51
|
-
"@finos/legend-lego": "1.2.
|
52
|
-
"@finos/legend-query-builder": "4.14.
|
48
|
+
"@finos/legend-application": "15.1.2",
|
49
|
+
"@finos/legend-art": "7.1.31",
|
50
|
+
"@finos/legend-graph": "31.9.16",
|
51
|
+
"@finos/legend-lego": "1.2.32",
|
52
|
+
"@finos/legend-query-builder": "4.14.38",
|
53
53
|
"@finos/legend-server-depot": "6.0.40",
|
54
54
|
"@finos/legend-server-sdlc": "5.3.11",
|
55
55
|
"@finos/legend-server-showcase": "0.2.8",
|
@@ -33,6 +33,7 @@ import {
|
|
33
33
|
CodeIcon,
|
34
34
|
clsx,
|
35
35
|
CopyIcon,
|
36
|
+
compareLabelFn,
|
36
37
|
} from '@finos/legend-art';
|
37
38
|
import {
|
38
39
|
SHOWCASE_MANAGER_SEARCH_CATEGORY,
|
@@ -138,7 +139,7 @@ const ShowcaseManagerExplorer = observer(
|
|
138
139
|
return node.childrenIds
|
139
140
|
.map((id) => treeData.nodes.get(id))
|
140
141
|
.filter(isNonNullable)
|
141
|
-
.sort(
|
142
|
+
.sort(compareLabelFn);
|
142
143
|
}
|
143
144
|
return [];
|
144
145
|
};
|
@@ -27,6 +27,7 @@ import {
|
|
27
27
|
EmptyCircleIcon,
|
28
28
|
KeyIcon,
|
29
29
|
EyeIcon,
|
30
|
+
compareLabelFn,
|
30
31
|
} from '@finos/legend-art';
|
31
32
|
import {
|
32
33
|
type DatabaseExplorerTreeData,
|
@@ -207,9 +208,8 @@ export const DatabaseSchemaExplorer = observer(
|
|
207
208
|
const getChildNodes = (
|
208
209
|
node: DatabaseSchemaExplorerTreeNodeData,
|
209
210
|
): DatabaseSchemaExplorerTreeNodeData[] =>
|
210
|
-
schemaExplorerState
|
211
|
-
|
212
|
-
?.sort((a, b) => a.label.localeCompare(b.label)) ?? [];
|
211
|
+
schemaExplorerState.getChildNodes(node, treeData)?.sort(compareLabelFn) ??
|
212
|
+
[];
|
213
213
|
const isPartiallySelected = (
|
214
214
|
node: DatabaseSchemaExplorerTreeNodeData,
|
215
215
|
): boolean => {
|
@@ -21,7 +21,11 @@ import {
|
|
21
21
|
import { QueryBuilderClassSelector } from '@finos/legend-query-builder';
|
22
22
|
import type { IsolatedDatabaseBuilderState } from '../../../../stores/editor/editor-state/element-editor-state/database/QueryDatabaseState.js';
|
23
23
|
import { observer } from 'mobx-react-lite';
|
24
|
-
import {
|
24
|
+
import {
|
25
|
+
CustomSelectorInput,
|
26
|
+
PanelHeader,
|
27
|
+
compareLabelFn,
|
28
|
+
} from '@finos/legend-art';
|
25
29
|
import { returnUndefOnError } from '@finos/legend-shared';
|
26
30
|
|
27
31
|
const IsolatedDatabseQueryBuilderSetupPanelContext = observer(
|
@@ -38,7 +42,7 @@ const IsolatedDatabseQueryBuilderSetupPanelContext = observer(
|
|
38
42
|
const compConnections = queryBuilderState.compatibleConnections;
|
39
43
|
const compConnectionsOptions = Array.from(compConnections.keys())
|
40
44
|
.map((e) => ({ value: e, label: getConnectionValue(e)?.name ?? e }))
|
41
|
-
.sort(
|
45
|
+
.sort(compareLabelFn);
|
42
46
|
const changeConnection = (
|
43
47
|
val: { value: string; label: string } | null,
|
44
48
|
): void => {
|