@finos/legend-extension-dsl-data-space 10.3.79 → 10.3.80
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DataSpaceDiagramViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.js +7 -2
- package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +7 -7
- package/src/components/DataSpaceDiagramViewer.tsx +7 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceDiagramViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"DataSpaceDiagramViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AA2b9E,eAAO,MAAM,sBAAsB,WACzB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAuIvD,CAAC"}
|
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { AnchorLinkIcon, CaretDownIcon, CenterFocusIcon, CircleIcon, CloseIcon, ContextMenu, CustomSelectorInput, DescriptionIcon, ControlledDropdownMenu, MenuContent, MenuContentDivider, MenuContentItem, MousePointerIcon, MoveIcon, ShapesIcon, ThinChevronDownIcon, ThinChevronLeftIcon, ThinChevronRightIcon, ThinChevronUpIcon, ZoomInIcon, ZoomOutIcon, clsx, useResizeDetector, } from '@finos/legend-art';
|
17
|
+
import { AnchorLinkIcon, CaretDownIcon, CenterFocusIcon, CircleIcon, CloseIcon, ContextMenu, CustomSelectorInput, DescriptionIcon, ControlledDropdownMenu, MenuContent, MenuContentDivider, MenuContentItem, MousePointerIcon, MoveIcon, ShapesIcon, ThinChevronDownIcon, ThinChevronLeftIcon, ThinChevronRightIcon, ThinChevronUpIcon, ZoomInIcon, ZoomOutIcon, clsx, useResizeDetector, createFilter, } from '@finos/legend-art';
|
18
18
|
import {} from '../stores/DataSpaceViewerState.js';
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
20
|
import { forwardRef, useEffect, useRef } from 'react';
|
@@ -86,13 +86,18 @@ const DataSpaceDiagramViewerHeader = observer((props) => {
|
|
86
86
|
diagramViewerState.setCurrentDiagram(option.value);
|
87
87
|
}
|
88
88
|
};
|
89
|
+
const diagramFilterOption = createFilter({
|
90
|
+
ignoreCase: true,
|
91
|
+
ignoreAccents: false,
|
92
|
+
stringify: (option) => option.data.value.title,
|
93
|
+
});
|
89
94
|
const createModeSwitcher = (editMode, relationshipMode) => () => diagramViewerState.diagramRenderer.changeMode(editMode, relationshipMode);
|
90
95
|
const createCenterZoomer = (zoomLevel) => () => {
|
91
96
|
diagramViewerState.diagramRenderer.zoomCenter(zoomLevel / 100);
|
92
97
|
};
|
93
98
|
const zoomToFit = () => diagramViewerState.diagramRenderer.zoomToFit();
|
94
99
|
return (_jsxs("div", { className: "data-space__viewer__diagram-viewer__header", children: [_jsxs("div", { className: "data-space__viewer__diagram-viewer__header__navigation", children: [_jsx(CustomSelectorInput, { className: "data-space__viewer__diagram-viewer__header__navigation__selector", options: diagramOptions, onChange: onDiagramOptionChange, value: selectedDiagramOption, placeholder: "Search for a diagram", darkMode: !applicationStore.layoutService
|
95
|
-
.TEMPORARY__isLightColorThemeEnabled }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__navigation__pager", children: _jsx("input", { className: "data-space__viewer__diagram-viewer__header__navigation__pager__input input--dark", value: diagramViewerState.currentDiagramIndex, type: "number", onChange: (event) => {
|
100
|
+
.TEMPORARY__isLightColorThemeEnabled, filterOption: diagramFilterOption }), _jsx("div", { className: "data-space__viewer__diagram-viewer__header__navigation__pager", children: _jsx("input", { className: "data-space__viewer__diagram-viewer__header__navigation__pager__input input--dark", value: diagramViewerState.currentDiagramIndex, type: "number", onChange: (event) => {
|
96
101
|
const value = parseInt(event.target.value, 10);
|
97
102
|
if (isNaN(value) ||
|
98
103
|
value < 1 ||
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceDiagramViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,IAAI,EACJ,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAgB,MAAM,2CAA2C,CAAC;AACzE,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,EACnB,eAAe,GAChB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,wCAA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AK,CAAC,CAAC,CAAC,YAClC,EAAE,EACF,OAAO,EAAE,GAAG,EAAE;wDACZ,kBAAkB,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;wDAC9C,oBAAoB,CAAC,sBAAsB,CACzC,wBAAwB,CAAC,OAAO,CAAC,CAClC,CAAC;oDACJ,CAAC,YAED,KAAC,UAAU,KAAG,IAlBT,OAAO,CAAC,IAAI,CAmBV,CACV,CAAC,GACE,GACF,IACF,GACF,IACF,CACP,EACA,cAAc,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,CACtC,KAAC,wBAAwB,IAAC,OAAO,EAAC,iBAAiB,GAAG,CACvD,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"DataSpaceDiagramViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,UAAU,EACV,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,IAAI,EACJ,iBAAiB,EACjB,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAgB,MAAM,2CAA2C,CAAC;AACzE,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,EACnB,eAAe,GAChB,MAAM,iDAAiD,CAAC;AACzD,OAAO,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EAAE,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,YAC3C,MAAM,EACN,QAAQ,EAAE,CAAC,WAAW,EACtB,OAAO,EAAE,eAAe,YAExB,KAAC,oBAAoB,KAAG,GACjB,EACT,cAAK,SAAS,EAAC,iEAAiE,YAC9E,cAAK,SAAS,EAAC,wEAAwE,YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACxC,iBAEE,SAAS,EAAE,IAAI,CACb,gEAAgE,EAChE;wDACE,wEAAwE,EACtE,kBAAkB,CAAC,cAAc,KAAK,OAAO;qDAChD,CACF,EACD,KAAK,EAAE,kBACL,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,YAClC,EAAE,EACF,OAAO,EAAE,GAAG,EAAE;wDACZ,kBAAkB,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;wDAC9C,oBAAoB,CAAC,sBAAsB,CACzC,wBAAwB,CAAC,OAAO,CAAC,CAClC,CAAC;oDACJ,CAAC,YAED,KAAC,UAAU,KAAG,IAlBT,OAAO,CAAC,IAAI,CAmBV,CACV,CAAC,GACE,GACF,IACF,GACF,IACF,CACP,EACA,cAAc,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,CACtC,KAAC,wBAAwB,IAAC,OAAO,EAAC,iBAAiB,GAAG,CACvD,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,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-extension-dsl-data-space",
|
3
|
-
"version": "10.3.
|
3
|
+
"version": "10.3.80",
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,13 +43,13 @@
|
|
43
43
|
"test:watch": "jest --watch"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@finos/legend-application": "16.0.
|
47
|
-
"@finos/legend-art": "7.1.
|
46
|
+
"@finos/legend-application": "16.0.3",
|
47
|
+
"@finos/legend-art": "7.1.62",
|
48
48
|
"@finos/legend-code-editor": "2.0.3",
|
49
|
-
"@finos/legend-extension-dsl-diagram": "8.1.
|
49
|
+
"@finos/legend-extension-dsl-diagram": "8.1.18",
|
50
50
|
"@finos/legend-graph": "31.10.37",
|
51
|
-
"@finos/legend-lego": "2.0.
|
52
|
-
"@finos/legend-query-builder": "4.15.
|
51
|
+
"@finos/legend-lego": "2.0.5",
|
52
|
+
"@finos/legend-query-builder": "4.15.2",
|
53
53
|
"@finos/legend-server-depot": "6.0.62",
|
54
54
|
"@finos/legend-server-sdlc": "5.3.33",
|
55
55
|
"@finos/legend-shared": "10.0.57",
|
@@ -62,7 +62,7 @@
|
|
62
62
|
"serializr": "3.0.2"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
65
|
-
"@finos/legend-dev-utils": "2.1.
|
65
|
+
"@finos/legend-dev-utils": "2.1.25",
|
66
66
|
"@jest/globals": "29.7.0",
|
67
67
|
"cross-env": "7.0.3",
|
68
68
|
"eslint": "9.12.0",
|
@@ -38,6 +38,7 @@ import {
|
|
38
38
|
ZoomOutIcon,
|
39
39
|
clsx,
|
40
40
|
useResizeDetector,
|
41
|
+
createFilter,
|
41
42
|
} from '@finos/legend-art';
|
42
43
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
43
44
|
import { observer } from 'mobx-react-lite';
|
@@ -249,6 +250,11 @@ const DataSpaceDiagramViewerHeader = observer(
|
|
249
250
|
diagramViewerState.setCurrentDiagram(option.value);
|
250
251
|
}
|
251
252
|
};
|
253
|
+
const diagramFilterOption = createFilter({
|
254
|
+
ignoreCase: true,
|
255
|
+
ignoreAccents: false,
|
256
|
+
stringify: (option: { data: DiagramOption }) => option.data.value.title,
|
257
|
+
});
|
252
258
|
const createModeSwitcher =
|
253
259
|
(
|
254
260
|
editMode: DIAGRAM_INTERACTION_MODE,
|
@@ -280,6 +286,7 @@ const DataSpaceDiagramViewerHeader = observer(
|
|
280
286
|
!applicationStore.layoutService
|
281
287
|
.TEMPORARY__isLightColorThemeEnabled
|
282
288
|
}
|
289
|
+
filterOption={diagramFilterOption}
|
283
290
|
/>
|
284
291
|
<div className="data-space__viewer__diagram-viewer__header__navigation__pager">
|
285
292
|
<input
|