@finos/legend-query-builder 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ import { observer } from 'mobx-react-lite';
19
19
  import { FolderIcon, FolderOpenIcon, InfoCircleIcon, SubjectIcon, Tooltip, ViewHeadlineIcon, ChevronDownIcon, ChevronRightIcon, PURE_FunctionIcon, CompressIcon, TreeView, BlankPanelContent, MenuContentItem, DropdownMenu, MenuContent, CheckIcon, MenuContentItemIcon, MenuContentItemLabel, MoreVerticalIcon, DragPreviewLayer, useDragPreviewLayer, } from '@finos/legend-art';
20
20
  import { generateFunctionsExplorerTreeNodeData, getFunctionsExplorerTreeNodeChildren, QUERY_BUILDER_FUNCTION_DND_TYPE, } from '../../stores/explorer/QueryFunctionsExplorerState.js';
21
21
  import { useDrag } from 'react-dnd';
22
- import { ConcreteFunctionDefinition, generateFunctionSignature, getElementRootPackage, Package, ROOT_PACKAGE_NAME, getMultiplicityDescription, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
22
+ import { ConcreteFunctionDefinition, generateFunctionPrettyName, getElementRootPackage, Package, ROOT_PACKAGE_NAME, getMultiplicityDescription, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
23
23
  const isDependencyTreeNode = (node) => getElementRootPackage(node.packageableElement).name ===
24
24
  ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT;
25
25
  const QueryBuilderFunctionInfoTooltip = (props) => {
@@ -42,19 +42,19 @@ const QueryBuilderFunctionInfoTooltip = (props) => {
42
42
  const QueryBuilderFunctionsExplorerListEntry = observer((props) => {
43
43
  const { queryBuilderState, element, rootPackageName } = props;
44
44
  const node = generateFunctionsExplorerTreeNodeData(queryBuilderState, element, rootPackageName);
45
- const functionSignature = generateFunctionSignature(element, true);
45
+ const functionPrettyName = generateFunctionPrettyName(element, true);
46
46
  const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
47
47
  type: QUERY_BUILDER_FUNCTION_DND_TYPE,
48
48
  item: { node: node },
49
49
  }), [node]);
50
50
  useDragPreviewLayer(dragPreviewConnector);
51
- return (_jsxs("div", { className: "query-builder__functions-explorer__function", ref: dragConnector, children: [_jsxs("div", { className: "query-builder__functions-explorer__function__content", children: [_jsx("div", { className: "query-builder__functions-explorer__function__icon", children: _jsx("div", { className: "query-builder__functions-explorer__function-icon", children: _jsx(PURE_FunctionIcon, {}) }) }), _jsx("div", { className: "query-builder__functions-explorer__function__label", title: functionSignature, children: functionSignature })] }), _jsx("div", { className: "query-builder__functions-explorer__function__actions", children: _jsx(QueryBuilderFunctionInfoTooltip, { element: node.packageableElement, children: _jsx("div", { className: "query-builder__functions-explorer__function__action query-builder__functions-explorer__function__node__info", children: _jsx(InfoCircleIcon, {}) }) }) })] }));
51
+ return (_jsxs("div", { className: "query-builder__functions-explorer__function", ref: dragConnector, children: [_jsxs("div", { className: "query-builder__functions-explorer__function__content", children: [_jsx("div", { className: "query-builder__functions-explorer__function__icon", children: _jsx("div", { className: "query-builder__functions-explorer__function-icon", children: _jsx(PURE_FunctionIcon, {}) }) }), _jsx("div", { className: "query-builder__functions-explorer__function__label", title: functionPrettyName, children: functionPrettyName })] }), _jsx("div", { className: "query-builder__functions-explorer__function__actions", children: _jsx(QueryBuilderFunctionInfoTooltip, { element: node.packageableElement, children: _jsx("div", { className: "query-builder__functions-explorer__function__action query-builder__functions-explorer__function__node__info", children: _jsx(InfoCircleIcon, {}) }) }) })] }));
52
52
  });
53
53
  const QueryBuilderFunctionsExplorerTreeNodeContainer = observer((props) => {
54
54
  const { node, level, stepPaddingInRem, onNodeSelect } = props;
55
55
  const isPackage = node.packageableElement instanceof Package;
56
56
  const name = node.packageableElement instanceof ConcreteFunctionDefinition
57
- ? generateFunctionSignature(node.packageableElement, false)
57
+ ? generateFunctionPrettyName(node.packageableElement, false)
58
58
  : node.packageableElement.name;
59
59
  const isExpandable = Boolean(node.childrenIds.length);
60
60
  const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
@@ -136,7 +136,7 @@ export const QueryBuilderFunctionsExplorerPanel = observer((props) => {
136
136
  anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
137
137
  transformOrigin: { vertical: 'top', horizontal: 'left' },
138
138
  elevation: 7,
139
- }, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] })] }), _jsxs("div", { className: "panel__content query-builder__functions-explorer__content", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => generateFunctionSignature(item.node.packageableElement, true), types: [QUERY_BUILDER_FUNCTION_DND_TYPE] }), ((showDependencyFuncions &&
139
+ }, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] })] }), _jsxs("div", { className: "panel__content query-builder__functions-explorer__content", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => generateFunctionPrettyName(item.node.packageableElement, true), types: [QUERY_BUILDER_FUNCTION_DND_TYPE] }), ((showDependencyFuncions &&
140
140
  (!queryFunctionsState.dependencyTreeData ||
141
141
  queryFunctionsState.dependencyTreeData.rootIds.length === 0)) ||
142
142
  !showDependencyFuncions) &&
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,g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AiB,CAAC,uBAAuB,IAJtC,iBAAiB,CAAC,IAAI,CAM3B,CACH,CACF,IACA,CACJ,IACF,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,qCAAqC,EACrC,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,qBAAqB,EACrB,OAAO,EACP,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC;AAG7B,MAAM,oBAAoB,GAAG,CAC3B,IAA+C,EACtC,EAAE,CACX,qBAAqB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,IAAI;IACnD,iBAAiB,CAAC,uBAAuB,CAAC;AAE5C,MAAM,+BAA+B,GAIhC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC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AAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EAAE,iBAAiB,CAAC,IAAI,IAHlC,iBAAiB,CAAC,IAAI,CAI3B,CACH,CACF,EACA,sBAAsB;gCACrB,mBAAmB,CAAC,kBAAkB;gCACtC,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAC7D,8BACG,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CACrD,cAAK,SAAS,EAAC,8CAA8C,GAAG,CACjE,EACA,mBAAmB,CAAC,gCAAgC,CAAC,GAAG,CACvD,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EACb,iBAAiB,CAAC,uBAAuB,IAJtC,iBAAiB,CAAC,IAAI,CAM3B,CACH,CACF,IACA,CACJ,IACF,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v0.2.2
1
+ /** @license @finos/legend-query-builder v0.2.3
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": "0.2.2",
3
+ "version": "0.2.3",
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": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,9 +44,9 @@
44
44
  "@ag-grid-community/client-side-row-model": "28.2.0",
45
45
  "@ag-grid-community/core": "28.2.0",
46
46
  "@ag-grid-community/react": "28.2.0",
47
- "@finos/legend-application": "10.0.0",
47
+ "@finos/legend-application": "10.0.1",
48
48
  "@finos/legend-art": "4.1.0",
49
- "@finos/legend-graph": "19.0.0",
49
+ "@finos/legend-graph": "19.1.0",
50
50
  "@finos/legend-server-depot": "4.1.2",
51
51
  "@finos/legend-shared": "6.1.5",
52
52
  "@finos/legend-storage": "3.0.14",
@@ -51,7 +51,7 @@ import {
51
51
  import { useDrag } from 'react-dnd';
52
52
  import {
53
53
  ConcreteFunctionDefinition,
54
- generateFunctionSignature,
54
+ generateFunctionPrettyName,
55
55
  getElementRootPackage,
56
56
  Package,
57
57
  ROOT_PACKAGE_NAME,
@@ -157,7 +157,7 @@ const QueryBuilderFunctionsExplorerListEntry = observer(
157
157
  element,
158
158
  rootPackageName,
159
159
  );
160
- const functionSignature = generateFunctionSignature(element, true);
160
+ const functionPrettyName = generateFunctionPrettyName(element, true);
161
161
  const [, dragConnector, dragPreviewConnector] = useDrag(
162
162
  () => ({
163
163
  type: QUERY_BUILDER_FUNCTION_DND_TYPE,
@@ -180,9 +180,9 @@ const QueryBuilderFunctionsExplorerListEntry = observer(
180
180
  </div>
181
181
  <div
182
182
  className="query-builder__functions-explorer__function__label"
183
- title={functionSignature}
183
+ title={functionPrettyName}
184
184
  >
185
- {functionSignature}
185
+ {functionPrettyName}
186
186
  </div>
187
187
  </div>
188
188
  <div className="query-builder__functions-explorer__function__actions">
@@ -212,7 +212,7 @@ const QueryBuilderFunctionsExplorerTreeNodeContainer = observer(
212
212
  const isPackage = node.packageableElement instanceof Package;
213
213
  const name =
214
214
  node.packageableElement instanceof ConcreteFunctionDefinition
215
- ? generateFunctionSignature(node.packageableElement, false)
215
+ ? generateFunctionPrettyName(node.packageableElement, false)
216
216
  : node.packageableElement.name;
217
217
  const isExpandable = Boolean(node.childrenIds.length);
218
218
  const nodeExpandIcon = isExpandable ? (
@@ -482,7 +482,7 @@ export const QueryBuilderFunctionsExplorerPanel = observer(
482
482
  labelGetter={(
483
483
  item: QueryBuilderFunctionsExplorerDragSource,
484
484
  ): string =>
485
- generateFunctionSignature(
485
+ generateFunctionPrettyName(
486
486
  item.node.packageableElement as ConcreteFunctionDefinition,
487
487
  true,
488
488
  )