@genesislcap/grid-pro 15.35.1 → 16.0.0
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.
- package/.cursor/rules/ag-embedded-components.mdc +2 -2
- package/dist/custom-elements.json +1149 -1133
- package/dist/dts/datasource/infinite.datasource.d.ts.map +1 -1
- package/dist/dts/grid-components.d.ts +11 -2
- package/dist/dts/grid-components.d.ts.map +1 -1
- package/dist/dts/{grid-pro-beta.d.ts → grid-pro-legacy.d.ts} +154 -245
- package/dist/dts/grid-pro-legacy.d.ts.map +1 -0
- package/dist/dts/grid-pro.d.ts +241 -144
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.definitions.d.ts +14 -0
- package/dist/dts/grid-pro.definitions.d.ts.map +1 -1
- package/dist/dts/grid-pro.template.d.ts.map +1 -1
- package/dist/dts/grid-pro.types.d.ts +2 -2
- package/dist/dts/index.d.ts +1 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/multicolumn-dropdown/multicolumn-dropdown.d.ts +2 -1
- package/dist/dts/multicolumn-dropdown/multicolumn-dropdown.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/esm/datasource/infinite.datasource.js +1 -1
- package/dist/esm/grid-components.js +2 -0
- package/dist/esm/{grid-pro-beta.js → grid-pro-legacy.js} +514 -453
- package/dist/esm/grid-pro.definitions.js +14 -0
- package/dist/esm/grid-pro.js +465 -490
- package/dist/esm/index.js +1 -1
- package/dist/grid-pro.api.json +5115 -4921
- package/dist/grid-pro.d.ts +1232 -1202
- package/dist/react.cjs +4 -4
- package/dist/react.mjs +3 -3
- package/package.json +13 -13
- package/dist/dts/grid-pro-beta.d.ts.map +0 -1
package/dist/dts/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './grid-pro.styles';
|
|
|
12
12
|
export * from './grid-pro.template';
|
|
13
13
|
export * from './grid-pro.types';
|
|
14
14
|
export * from './grid-pro';
|
|
15
|
+
export * from './grid-pro-legacy';
|
|
15
16
|
export * from './grid-pro-genesis-datasource';
|
|
16
17
|
export * from './multicolumn-dropdown';
|
|
17
18
|
export * from './row-alert';
|
|
@@ -20,5 +21,4 @@ export * from './status-bar-components';
|
|
|
20
21
|
export * from './style';
|
|
21
22
|
export * from './tooltips';
|
|
22
23
|
export * from './utils';
|
|
23
|
-
export * from './grid-pro-beta';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
@@ -2,6 +2,7 @@ import type { ColDef } from '@ag-grid-community/core';
|
|
|
2
2
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
4
4
|
import type { GridPro } from '../grid-pro';
|
|
5
|
+
import type { GridProLegacy } from '../grid-pro-legacy';
|
|
5
6
|
/**
|
|
6
7
|
* Checks if the given mouse event occurred outside the target element.
|
|
7
8
|
* @public
|
|
@@ -430,7 +431,7 @@ export declare class MulticolumnDropdown extends MulticolumnDropdown_base {
|
|
|
430
431
|
*/
|
|
431
432
|
baseCriteria?: string;
|
|
432
433
|
defaultSlottedNodes: Node[];
|
|
433
|
-
grid: GridPro;
|
|
434
|
+
grid: GridPro | GridProLegacy;
|
|
434
435
|
private _value;
|
|
435
436
|
get value(): string;
|
|
436
437
|
set value(value: string);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multicolumn-dropdown.d.ts","sourceRoot":"","sources":["../../../src/multicolumn-dropdown/multicolumn-dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAmB,MAAM,yBAAyB,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AASxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,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M,EAgBtB;IAED,gCAAgC;IACb,YAAY,EAAE,MAAM,CAAC;IAExC,0CAA0C;IACvB,IAAI,EAAE,OAAO,CAAC;IAEjC,gCAAgC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEhC,yCAAyC;IACzC,IACI,YAAY,QAIf;IAED,IACI,YAAY,IAAI,OAAO,CAE1B;IAED,IACI,iBAAiB,IAAI,OAAO,CAc/B;IAEM,iBAAiB;IAsBxB;;;OAGG;IACH,OAAO,CAAC,cAAc;IAUtB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAUzB;;OAEG;IACH,OAAO,CAAC,SAAS;IAOV,MAAM;YAIC,aAAa;IAsE3B,OAAO,CAAC,qBAAqB,CAA0D;IAEhF,mBAAmB;IAMnB,cAAc;IAMd,wBAAwB;IAI/B,OAAO,CAAC,kBAAkB,CAIxB;IAEK,WAAW;IAmBX,oBAAoB;IAOpB,oBAAoB;IAiBpB,aAAa,CAAC,KAAK,EAAE,KAAK;CAIlC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;8BAIxC,CAAC"}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ import type { GridProColumn as GridProColumnWC } from './column/column';
|
|
|
23
23
|
import type { GridProClientSideDatasource as GridProClientSideDatasourceWC } from './datasource/client-side.datasource';
|
|
24
24
|
import type { GridProInfiniteDatasource as GridProInfiniteDatasourceWC } from './datasource/infinite.datasource';
|
|
25
25
|
import type { GridProServerSideDatasource as GridProServerSideDatasourceWC } from './datasource/server-side.datasource';
|
|
26
|
-
import type { GridProBeta as GridProBetaWC } from './grid-pro-beta';
|
|
27
26
|
import type { GridProGenesisDatasource as GridProGenesisDatasourceWC } from './grid-pro-genesis-datasource/grid-pro-genesis-datasource';
|
|
27
|
+
import type { GridProLegacy as GridProLegacyWC } from './grid-pro-legacy';
|
|
28
28
|
import type { GridPro as GridProWC } from './grid-pro';
|
|
29
29
|
import type { MulticolumnDropdown as MulticolumnDropdownWC } from './multicolumn-dropdown/multicolumn-dropdown';
|
|
30
30
|
import type { BaseDatasourceErrorEventDetail, DataChangedEventDetail, DataClearedEventDetail, DataLoadedEventDetail, DatasourceErrorEventDetail, GridCssClassEventDetail, GridReadyEventDetail, GrigProGenesisDatasourceSizeChangedEventDetail, InitializeEventDetail, MoreDataAvailableEventDetail, MoreRowsDetail, RefreshInfiniteCacheEventDetail, RefreshServerSideEventDetail, SchemaUpdatedEventDetail, SetInfiniteDatasourceEventDetail } from '@genesislcap/grid-pro';
|
|
@@ -58,24 +58,24 @@ interface HTMLWCProps extends React.AriaAttributes {
|
|
|
58
58
|
onInput?(e: Event): void;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export declare const
|
|
61
|
+
export declare const GridProLegacy: React.ForwardRefExoticComponent<
|
|
62
62
|
React.PropsWithChildren<
|
|
63
|
-
Omit<PublicOf<
|
|
63
|
+
Omit<PublicOf<GridProLegacyWC>, 'children' | 'style'> &
|
|
64
64
|
HTMLWCProps & {
|
|
65
|
-
onGridReady?: (event: CustomEvent<
|
|
66
|
-
onOnGridReady?: (event: CustomEvent<
|
|
65
|
+
onGridReady?: (event: CustomEvent<unknown>) => void;
|
|
66
|
+
onOnGridReady?: (event: CustomEvent<unknown>) => void;
|
|
67
67
|
onGridready?: (event: CustomEvent<unknown>) => void;
|
|
68
68
|
}
|
|
69
|
-
> & React.RefAttributes<
|
|
69
|
+
> & React.RefAttributes<GridProLegacyWC>
|
|
70
70
|
>;
|
|
71
|
-
export type
|
|
71
|
+
export type GridProLegacyRef = GridProLegacyWC;
|
|
72
72
|
|
|
73
73
|
export declare const GridPro: React.ForwardRefExoticComponent<
|
|
74
74
|
React.PropsWithChildren<
|
|
75
75
|
Omit<PublicOf<GridProWC>, 'children' | 'style'> &
|
|
76
76
|
HTMLWCProps & {
|
|
77
|
-
onGridReady?: (event: CustomEvent<
|
|
78
|
-
onOnGridReady?: (event: CustomEvent<
|
|
77
|
+
onGridReady?: (event: CustomEvent<GridReadyEventDetail>) => void;
|
|
78
|
+
onOnGridReady?: (event: CustomEvent<GridReadyEventDetail>) => void;
|
|
79
79
|
onGridready?: (event: CustomEvent<unknown>) => void;
|
|
80
80
|
}
|
|
81
81
|
> & React.RefAttributes<GridProWC>
|
|
@@ -433,7 +433,7 @@ let GridProInfiniteDatasource = class GridProInfiniteDatasource extends Lifecycl
|
|
|
433
433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
434
434
|
// The same filter mapping as the server-side row model, enums included: enum columns ask
|
|
435
435
|
// for agSetColumnFilter, and the grid swaps in the community text filter when the app has
|
|
436
|
-
// not registered the Enterprise SetFilterModule (see processSchemaUpdate in grid-pro
|
|
436
|
+
// not registered the Enterprise SetFilterModule (see processSchemaUpdate in grid-pro).
|
|
437
437
|
const colDefsFromGenesisData = this.generateColumnDefsFromMetadata(fieldsMetadata, getServerSideFilterParamsByFieldType, getFilterByFieldType);
|
|
438
438
|
// Sortability differs by transport, matching convertSortModelToOrderBy:
|
|
439
439
|
// - REQUEST_SERVER orders any column (direction inline), so every column is sortable.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { foundationSelectEditor, foundationNumberEditor, foundationMultiselectEditor, foundationDateEditor, foundationStringEditor, } from './cell-editors';
|
|
2
2
|
import { foundationGridProActionRenderer, foundationGridProActionsMenuRenderer, foundationAgBooleanRenderer, foundationAgEditableRenderer, foundationAgSelectRenderer, foundationAgTextRenderer, foundationAgTextFieldRenderer, foundationStatusPillRenderer, StatusPillRenderer, foundationIconRenderer, } from './cell-renderers';
|
|
3
|
+
import { foundationColumnSelection } from './column-selection';
|
|
3
4
|
import { foundationGridPro } from './grid-pro';
|
|
4
5
|
import { foundationMulticolumnDropdown } from './multicolumn-dropdown';
|
|
5
6
|
/**
|
|
@@ -25,6 +26,7 @@ export const foundationGridComponents = {
|
|
|
25
26
|
foundationStatusPillRenderer,
|
|
26
27
|
StatusPillRenderer,
|
|
27
28
|
foundationGridPro,
|
|
29
|
+
foundationColumnSelection,
|
|
28
30
|
register(container, ...rest) {
|
|
29
31
|
if (!container) {
|
|
30
32
|
// preserve backward compatibility with code that loops through
|