@finos/legend-lego 2.0.181 → 2.0.182

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.
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type CellClickedEvent, type CellMouseOverEvent, type CellRange, type CellSelectionChangedEvent, type ColDef, type ColumnState, type DefaultMenuItem, type FirstDataRenderedEvent, type GetContextMenuItemsParams, type GridApi, type GridOptions, type IAggFuncParams, type ICellRendererParams, type IRowNode, type IServerSideDatasource, type IServerSideGetRowsParams, type MenuItemDef, type RowClickedEvent, type RowSelectedEvent, type RowSelectionOptions } from 'ag-grid-community';
17
- import { type AgGridReactProps, type CustomHeaderProps } from 'ag-grid-react';
16
+ import { type AgGridReactProps } from 'ag-grid-react';
17
+ export type { CellClickedEvent as DataGridCellClickedEvent, CellKeyDownEvent as DataGridCellKeyDownEvent, CellMouseOverEvent as DataGridCellMouseOverEvent, CellRange as DataGridCellRange, CellSelectionChangedEvent as DataGridCellSelectionChangedEvent, ColDef as DataGridColumnDefinition, Column as DataGridColumn, ColumnState as DataGridColumnState, DefaultMenuItem as DataGridDefaultMenuItem, FirstDataRenderedEvent as DataGridFirstDataRenderedEvent, GetContextMenuItemsParams as DataGridGetContextMenuItemsParams, GridApi as DataGridApi, GridOptions as DataGridOptions, IAggFuncParams as DataGridIAggFuncParams, ICellRendererParams as DataGridCellRendererParams, IRowNode as DataGridIRowNode, IServerSideDatasource as DataGridServerSideDatasource, IServerSideGetRowsParams as DataGridServerSideGetRowsParams, MenuItemDef as DataGridMenuItemDef, RowClickedEvent as DataGridRowClickedEvent, RowSelectedEvent as DataGridRowSelectedEvent, RowSelectionOptions as DataGridRowSelectionOptions, } from 'ag-grid-community';
18
+ export type { CustomHeaderProps as DataGridCustomHeaderProps } from 'ag-grid-react';
18
19
  export declare function DataGrid<TData = unknown>(props: AgGridReactProps<TData>): React.ReactNode;
19
- export type { CellClickedEvent as DataGridCellClickedEvent, CellMouseOverEvent as DataGridCellMouseOverEvent, CellRange as DataGridCellRange, CellSelectionChangedEvent as DataGridCellSelectionChangedEvent, ColDef as DataGridColumnDefinition, ColumnState as DataGridColumnState, CustomHeaderProps as DataGridCustomHeaderProps, DefaultMenuItem as DataGridDefaultMenuItem, FirstDataRenderedEvent as DataGridFirstDataRenderedEvent, GetContextMenuItemsParams as DataGridGetContextMenuItemsParams, GridApi as DataGridApi, GridOptions as DataGridOptions, IAggFuncParams as DataGridIAggFuncParams, ICellRendererParams as DataGridCellRendererParams, IRowNode as DataGridIRowNode, IServerSideDatasource as DataGridServerSideDatasource, IServerSideGetRowsParams as DataGridServerSideGetRowsParams, MenuItemDef as DataGridMenuItemDef, RowClickedEvent as DataGridRowClickedEvent, RowSelectedEvent as DataGridRowSelectedEvent, RowSelectionOptions as DataGridRowSelectionOptions, };
20
20
  //# sourceMappingURL=DataGrid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../src/data-grid/DataGrid.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,yBAAyB,EAC9B,KAAK,MAAM,EACX,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EAEzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACvB,MAAM,eAAe,CAAC;AAUvB,wBAAgB,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,WAAW,EACtB,WAAW,IAAI,eAAe,EAC9B,cAAc,IAAI,sBAAsB,EACxC,mBAAmB,IAAI,0BAA0B,EACjD,QAAQ,IAAI,gBAAgB,EAC5B,qBAAqB,IAAI,4BAA4B,EACrD,wBAAwB,IAAI,+BAA+B,EAC3D,WAAW,IAAI,mBAAmB,EAClC,eAAe,IAAI,uBAAuB,EAC1C,gBAAgB,IAAI,wBAAwB,EAC5C,mBAAmB,IAAI,2BAA2B,GACnD,MAAM,mBAAmB,CAAC;AAG3B,YAAY,EAAE,iBAAiB,IAAI,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAUpF,wBAAgB,QAAQ,CAAC,KAAK,GAAG,OAAO,EACtC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAC7B,KAAK,CAAC,SAAS,CA8BjB"}
@@ -14,9 +14,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { AllCommunityModule, } from 'ag-grid-community';
17
+ import { AllCommunityModule } from 'ag-grid-community';
18
18
  import { LicenseManager, AllEnterpriseModule } from 'ag-grid-enterprise';
19
- import { AgGridReact, } from 'ag-grid-react';
19
+ import { AgGridReact } from 'ag-grid-react';
20
20
  // NOTE: This is a workaround to prevent ag-grid license key check from flooding the console screen
21
21
  // with its stack trace in Chrome.
22
22
  // We MUST NEVER completely surpress this warning in production, else it's a violation of the ag-grid license!
@@ -1 +1 @@
1
- {"version":3,"file":"DataGrid.js","sourceRoot":"","sources":["../../src/data-grid/DataGrid.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAqBL,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,WAAW,GAGZ,MAAM,eAAe,CAAC;AAIvB,mGAAmG;AACnG,kCAAkC;AAClC,8GAA8G;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nE,mGAAmG;AACnG,kCAAkC;AAClC,8GAA8G;AAC9G,yDAAyD;AACzD,MAAM,kCAAkC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,iCAAiC;AAE3F,MAAM,UAAU,QAAQ,CACtB,KAA8B;IAE9B,IAAI,eAAe,EAAE,CAAC;QACpB,cAAc,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAChD,CAAC;IAED,0CAA0C;IAC1C,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE,CAAC;QAC1C,sCAAsC;QACtC,OAAO,CAAC,KAAK,GAAG,CAAC,OAAiB,EAAE,GAAG,IAAe,EAAE,EAAE;YACxD,OAAO,CAAC,KAAK,CAAC,MAAM,OAAO,EAAE,EAAE,eAAe,CAAC,CAAC,CAAC,iCAAiC;QACpF,CAAC,CAAC;IACJ,CAAC;IAED,OAAO,CACL,KAAC,WAAW,IACV,KAAK,EAAC,QAAQ,KACV,KAAK;QACT,oFAAoF;QACpF,yCAAyC;QACzC,OAAO,EAAE,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,EAClD,WAAW,EAAE,CAAC,MAAM,EAAE,EAAE;YACtB,KAAK,CAAC,WAAW,EAAE,CAAC,MAAM,CAAC,CAAC;YAC5B,0CAA0C;YAC1C,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE,CAAC;gBAC1C,iCAAiC;gBACjC,OAAO,CAAC,KAAK,GAAG,kCAAkC,CAAC,CAAC,iCAAiC;YACvF,CAAC;QACH,CAAC,GACD,CACH,CAAC;AACJ,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-lego v2.0.181
1
+ /** @license @finos/legend-lego v2.0.182
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-lego",
3
- "version": "2.0.181",
3
+ "version": "2.0.182",
4
4
  "description": "Legend code editor support",
5
5
  "keywords": [
6
6
  "legend",
@@ -50,8 +50,8 @@
50
50
  "dependencies": {
51
51
  "@finos/legend-application": "16.0.103",
52
52
  "@finos/legend-art": "7.1.145",
53
- "@finos/legend-code-editor": "2.0.162",
54
- "@finos/legend-graph": "32.4.2",
53
+ "@finos/legend-code-editor": "2.0.163",
54
+ "@finos/legend-graph": "32.4.3",
55
55
  "@finos/legend-shared": "11.0.23",
56
56
  "@types/css-font-loading-module": "0.0.14",
57
57
  "@types/react": "19.0.10",
@@ -14,35 +14,42 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import {
18
- type CellClickedEvent,
19
- type CellMouseOverEvent,
20
- type CellRange,
21
- type CellSelectionChangedEvent,
22
- type ColDef,
23
- type ColumnState,
24
- type DefaultMenuItem,
25
- type FirstDataRenderedEvent,
26
- type GetContextMenuItemsParams,
27
- type GridApi,
28
- type GridOptions,
29
- type IAggFuncParams,
30
- type ICellRendererParams,
31
- type IRowNode,
32
- type IServerSideDatasource,
33
- type IServerSideGetRowsParams,
34
- type MenuItemDef,
35
- type RowClickedEvent,
36
- type RowSelectedEvent,
37
- type RowSelectionOptions,
38
- AllCommunityModule,
39
- } from 'ag-grid-community';
17
+ import { AllCommunityModule } from 'ag-grid-community';
40
18
  import { LicenseManager, AllEnterpriseModule } from 'ag-grid-enterprise';
41
- import {
42
- AgGridReact,
43
- type AgGridReactProps,
44
- type CustomHeaderProps,
45
- } from 'ag-grid-react';
19
+ import { AgGridReact, type AgGridReactProps } from 'ag-grid-react';
20
+
21
+ // Re-export AG Grid types with project-specific aliases.
22
+ // NOTE: eslint no-duplicate-imports warns because `ag-grid-community` and
23
+ // `ag-grid-react` also appear in the value imports above. This is unavoidable
24
+ // when a module provides both values (AllCommunityModule) and types (ColDef etc).
25
+ // eslint-disable-next-line no-duplicate-imports
26
+ export type {
27
+ CellClickedEvent as DataGridCellClickedEvent,
28
+ CellKeyDownEvent as DataGridCellKeyDownEvent,
29
+ CellMouseOverEvent as DataGridCellMouseOverEvent,
30
+ CellRange as DataGridCellRange,
31
+ CellSelectionChangedEvent as DataGridCellSelectionChangedEvent,
32
+ ColDef as DataGridColumnDefinition,
33
+ Column as DataGridColumn,
34
+ ColumnState as DataGridColumnState,
35
+ DefaultMenuItem as DataGridDefaultMenuItem,
36
+ FirstDataRenderedEvent as DataGridFirstDataRenderedEvent,
37
+ GetContextMenuItemsParams as DataGridGetContextMenuItemsParams,
38
+ GridApi as DataGridApi,
39
+ GridOptions as DataGridOptions,
40
+ IAggFuncParams as DataGridIAggFuncParams,
41
+ ICellRendererParams as DataGridCellRendererParams,
42
+ IRowNode as DataGridIRowNode,
43
+ IServerSideDatasource as DataGridServerSideDatasource,
44
+ IServerSideGetRowsParams as DataGridServerSideGetRowsParams,
45
+ MenuItemDef as DataGridMenuItemDef,
46
+ RowClickedEvent as DataGridRowClickedEvent,
47
+ RowSelectedEvent as DataGridRowSelectedEvent,
48
+ RowSelectionOptions as DataGridRowSelectionOptions,
49
+ } from 'ag-grid-community';
50
+
51
+ // eslint-disable-next-line no-duplicate-imports
52
+ export type { CustomHeaderProps as DataGridCustomHeaderProps } from 'ag-grid-react';
46
53
 
47
54
  declare const AG_GRID_LICENSE: string;
48
55
 
@@ -85,27 +92,3 @@ export function DataGrid<TData = unknown>(
85
92
  />
86
93
  );
87
94
  }
88
-
89
- export type {
90
- CellClickedEvent as DataGridCellClickedEvent,
91
- CellMouseOverEvent as DataGridCellMouseOverEvent,
92
- CellRange as DataGridCellRange,
93
- CellSelectionChangedEvent as DataGridCellSelectionChangedEvent,
94
- ColDef as DataGridColumnDefinition,
95
- ColumnState as DataGridColumnState,
96
- CustomHeaderProps as DataGridCustomHeaderProps,
97
- DefaultMenuItem as DataGridDefaultMenuItem,
98
- FirstDataRenderedEvent as DataGridFirstDataRenderedEvent,
99
- GetContextMenuItemsParams as DataGridGetContextMenuItemsParams,
100
- GridApi as DataGridApi,
101
- GridOptions as DataGridOptions,
102
- IAggFuncParams as DataGridIAggFuncParams,
103
- ICellRendererParams as DataGridCellRendererParams,
104
- IRowNode as DataGridIRowNode,
105
- IServerSideDatasource as DataGridServerSideDatasource,
106
- IServerSideGetRowsParams as DataGridServerSideGetRowsParams,
107
- MenuItemDef as DataGridMenuItemDef,
108
- RowClickedEvent as DataGridRowClickedEvent,
109
- RowSelectedEvent as DataGridRowSelectedEvent,
110
- RowSelectionOptions as DataGridRowSelectionOptions,
111
- };