@genesislcap/grid-pro 14.483.3-alpha-92cb1f2a8.0 → 14.484.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/dist/custom-elements.json +42 -42
- package/dist/dts/datasource/base.datasource.d.ts +3 -3
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/client-side.datasource.d.ts +11 -11
- package/dist/dts/datasource/server-side.datasource.d.ts +14 -11
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro-beta.d.ts +2 -2
- package/dist/dts/grid-pro-beta.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/datasource-events.types.d.ts +19 -1
- package/dist/dts/grid-pro-genesis-datasource/datasource-events.types.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +11 -11
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.types.d.ts +12 -1
- package/dist/dts/grid-pro.types.d.ts.map +1 -1
- package/dist/dts/multicolumn-dropdown/multicolumn-dropdown.d.ts +2 -2
- package/dist/dts/multicolumn-dropdown/multicolumn-dropdown.d.ts.map +1 -1
- package/dist/dts/react.d.ts +35 -34
- package/dist/esm/datasource/base.datasource.js +7 -4
- package/dist/esm/datasource/client-side.datasource.js +11 -11
- package/dist/esm/datasource/server-side.datasource.js +28 -16
- package/dist/esm/grid-pro-beta.js +5 -3
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +12 -12
- package/dist/esm/grid-pro.js +3 -1
- package/dist/esm/multicolumn-dropdown/multicolumn-dropdown.js +2 -2
- package/dist/grid-pro.api.json +242 -7
- package/dist/grid-pro.d.ts +78 -41
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAGT,OAAO,EACP,WAAW,EACX,UAAU,EAEX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,WAAW,EAAyB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AASnG,OAAO,EAAyB,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAuB/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAGT,OAAO,EACP,WAAW,EACX,UAAU,EAEX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,WAAW,EAAyB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AASnG,OAAO,EAAyB,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAuB/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAkBrE,OAAO,EACL,aAAa,EAKd,MAAM,wBAAwB,CAAC;AAGhC,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAQL,iBAAiB,EAEjB,sBAAsB,EACtB,2BAA2B,EAE5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA8BvD,OAAO,EAAE,aAAa,EAAE,CAAC;;;;;;;kBA3BvB,CAAF;;;;;;;;8BA0CI,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAgCI,CAAC;4IAEp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H,OAAO,CAAC,yBAAyB;IAsBjC;;;;;OAKG;IACH,OAAO,CAAC,0BAA0B;IAKlC;;;OAGG;IACH,OAAO,CAAC,YAAY;IAepB,IAAI,kBAAkB,aAWrB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAqBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GridOptions as LegacyGridOptions } from '@ag-grid-community/core';
|
|
2
2
|
import { CSSVarTokenMap } from '@genesislcap/foundation-ui';
|
|
3
|
-
import { GridOptions } from 'ag-grid-community';
|
|
3
|
+
import { GridOptions, GridReadyEvent } from 'ag-grid-community';
|
|
4
4
|
import type { GridProGenesisDatasourceErrorEvent } from './grid-pro-genesis-datasource/grid-pro-genesis-datasource.types';
|
|
5
5
|
import { gridProErrorNames } from './grid-pro.definitions';
|
|
6
6
|
/**
|
|
@@ -162,6 +162,17 @@ export declare enum GridProStatusBarTypes {
|
|
|
162
162
|
* This will be removed when we do the AG Upgrade.
|
|
163
163
|
*/
|
|
164
164
|
export declare const GRID_READY_EVENT = "onGridReady";
|
|
165
|
+
/**
|
|
166
|
+
* Event detail for the `gridReady`/`onGridReady` signals.
|
|
167
|
+
* @public
|
|
168
|
+
* @remarks Only accurate for {@link @genesislcap/grid-pro#GridProBeta}, which is built on
|
|
169
|
+
* `ag-grid-community` (v36). {@link @genesislcap/grid-pro#GridPro} fires the same event names
|
|
170
|
+
* but its `event` field is a `@ag-grid-community/core` (v29) `GridReadyEvent`.
|
|
171
|
+
*/
|
|
172
|
+
export interface GridReadyEventDetail {
|
|
173
|
+
event: GridReadyEvent;
|
|
174
|
+
gridId: string;
|
|
175
|
+
}
|
|
165
176
|
/**
|
|
166
177
|
* Key used to store currently edited column when it being synced with server side data
|
|
167
178
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.types.d.ts","sourceRoot":"","sources":["../../src/grid-pro.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAsB,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGhF,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"grid-pro.types.d.ts","sourceRoot":"","sources":["../../src/grid-pro.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAsB,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGhF,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iEAAiE,CAAC;AAC1H,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;GAGG;AACH,oBAAY,aAAa;IACvB,eAAe,0BAA0B;IACzC,SAAS,oBAAoB;IAC7B,wBAAwB,oCAAoC;IAC5D,qBAAqB,iCAAiC;IACtD,uBAAuB,mCAAmC;IAC1D,eAAe,0BAA0B;IACzC,qBAAqB,iCAAiC;IACtD,wBAAwB,oCAAoC;IAC5D,+BAA+B,4CAA4C;IAC3E,2BAA2B,wCAAwC;IACnE,0BAA0B,uCAAuC;IACjE,qBAAqB,kCAAkC;IACvD,aAAa,yBAAyB;IACtC,yBAAyB,sCAAsC;IAC/D,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AC;CAClB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,8BAA8B,CAAC;IAEpD;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,4BAA4B,CAAC;IAEhD;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,sBAUvC,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,GAAG,CAAC;IACX;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -381,8 +381,8 @@ declare const MulticolumnDropdown_base: (new (...args: any[]) => {
|
|
|
381
381
|
* @public
|
|
382
382
|
* @tagname %%prefix%%-multicolumn-dropdown
|
|
383
383
|
*
|
|
384
|
-
* @fires change - Fired when the selected value changes
|
|
385
|
-
* @fires input - Fired when the value is updated (including programmatic changes)
|
|
384
|
+
* @fires change - Fired when the selected value changes. detail: `string`
|
|
385
|
+
* @fires input - Fired when the value is updated (including programmatic changes). detail: `string`
|
|
386
386
|
*/
|
|
387
387
|
export declare class MulticolumnDropdown extends MulticolumnDropdown_base {
|
|
388
388
|
optionsElement: HTMLElement;
|
|
@@ -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,iBAA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MAAM,CAGlB;IAED,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,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
|
@@ -25,6 +25,7 @@ import type { GridProBeta as GridProBetaWC } from './grid-pro-beta';
|
|
|
25
25
|
import type { GridProGenesisDatasource as GridProGenesisDatasourceWC } from './grid-pro-genesis-datasource/grid-pro-genesis-datasource';
|
|
26
26
|
import type { GridPro as GridProWC } from './grid-pro';
|
|
27
27
|
import type { MulticolumnDropdown as MulticolumnDropdownWC } from './multicolumn-dropdown/multicolumn-dropdown';
|
|
28
|
+
import type { BaseDatasourceErrorEventDetail, DataChangedEventDetail, DataClearedEventDetail, DataLoadedEventDetail, DatasourceErrorEventDetail, DatasourceReadyEventDetail, GridCssClassEventDetail, GridReadyEventDetail, GrigProGenesisDatasourceSizeChangedEventDetail, InitializeEventDetail, MoreDataAvailableEventDetail, MoreRowsDetail, RefreshServerSideEventDetail, SchemaUpdatedEventDetail } from '@genesislcap/grid-pro';
|
|
28
29
|
|
|
29
30
|
/** @internal Maps a web component class to its public props only.
|
|
30
31
|
* keyof T skips private/protected members, so this avoids the TS error
|
|
@@ -59,8 +60,8 @@ export declare const GridProBeta: React.ForwardRefExoticComponent<
|
|
|
59
60
|
React.PropsWithChildren<
|
|
60
61
|
Omit<PublicOf<GridProBetaWC>, 'children' | 'style'> &
|
|
61
62
|
HTMLWCProps & {
|
|
62
|
-
onGridReady?: (event: CustomEvent<
|
|
63
|
-
onOnGridReady?: (event: CustomEvent<
|
|
63
|
+
onGridReady?: (event: CustomEvent<GridReadyEventDetail>) => void;
|
|
64
|
+
onOnGridReady?: (event: CustomEvent<GridReadyEventDetail>) => void;
|
|
64
65
|
onGridready?: (event: CustomEvent<unknown>) => void;
|
|
65
66
|
}
|
|
66
67
|
> & React.RefAttributes<GridProBetaWC>
|
|
@@ -218,24 +219,24 @@ export declare const GridProClientSideDatasource: React.ForwardRefExoticComponen
|
|
|
218
219
|
React.PropsWithChildren<
|
|
219
220
|
Omit<PublicOf<GridProClientSideDatasourceWC>, 'children' | 'style'> &
|
|
220
221
|
HTMLWCProps & {
|
|
221
|
-
onBaseDatasourceError?: (event: CustomEvent<
|
|
222
|
-
onDatasourceError?: (event: CustomEvent<
|
|
222
|
+
onBaseDatasourceError?: (event: CustomEvent<BaseDatasourceErrorEventDetail>) => void;
|
|
223
|
+
onDatasourceError?: (event: CustomEvent<DatasourceErrorEventDetail>) => void;
|
|
223
224
|
onBaseDatasourceConnected?: (event: CustomEvent<unknown>) => void;
|
|
224
225
|
onDatasourceLoadingFinished?: (event: CustomEvent<unknown>) => void;
|
|
225
226
|
onDatasourceNoDataAvailable?: (event: CustomEvent<unknown>) => void;
|
|
226
|
-
onDatasourceDataChanged?: (event: CustomEvent<
|
|
227
|
-
onDatasourceInitialize?: (event: CustomEvent<
|
|
227
|
+
onDatasourceDataChanged?: (event: CustomEvent<DataChangedEventDetail>) => void;
|
|
228
|
+
onDatasourceInitialize?: (event: CustomEvent<InitializeEventDetail>) => void;
|
|
228
229
|
onDatasourceDestroy?: (event: CustomEvent<unknown>) => void;
|
|
229
|
-
onDatasourceDataCleared?: (event: CustomEvent<
|
|
230
|
-
onDatasourceSchemaUpdated?: (event: CustomEvent<
|
|
230
|
+
onDatasourceDataCleared?: (event: CustomEvent<DataClearedEventDetail>) => void;
|
|
231
|
+
onDatasourceSchemaUpdated?: (event: CustomEvent<SchemaUpdatedEventDetail>) => void;
|
|
231
232
|
onDatasourceFiltersRestored?: (event: CustomEvent<unknown>) => void;
|
|
232
|
-
onDatasourceDataLoaded?: (event: CustomEvent<
|
|
233
|
+
onDatasourceDataLoaded?: (event: CustomEvent<DataLoadedEventDetail>) => void;
|
|
233
234
|
onDatasourceLoadingStarted?: (event: CustomEvent<unknown>) => void;
|
|
234
|
-
onDatasourceMoreDataAvailable?: (event: CustomEvent<
|
|
235
|
-
onDatasourceReady?: (event: CustomEvent<
|
|
235
|
+
onDatasourceMoreDataAvailable?: (event: CustomEvent<MoreDataAvailableEventDetail>) => void;
|
|
236
|
+
onDatasourceReady?: (event: CustomEvent<DatasourceReadyEventDetail>) => void;
|
|
236
237
|
onDatasourceInit?: (event: CustomEvent<unknown>) => void;
|
|
237
|
-
onMoreRowsChanged?: (event: CustomEvent<
|
|
238
|
-
onDatasourceSizeChanged?: (event: CustomEvent<
|
|
238
|
+
onMoreRowsChanged?: (event: CustomEvent<MoreRowsDetail>) => void;
|
|
239
|
+
onDatasourceSizeChanged?: (event: CustomEvent<GrigProGenesisDatasourceSizeChangedEventDetail>) => void;
|
|
239
240
|
}
|
|
240
241
|
> & React.RefAttributes<GridProClientSideDatasourceWC>
|
|
241
242
|
>;
|
|
@@ -245,25 +246,25 @@ export declare const GridProServerSideDatasource: React.ForwardRefExoticComponen
|
|
|
245
246
|
React.PropsWithChildren<
|
|
246
247
|
Omit<PublicOf<GridProServerSideDatasourceWC>, 'children' | 'style'> &
|
|
247
248
|
HTMLWCProps & {
|
|
248
|
-
onBaseDatasourceError?: (event: CustomEvent<
|
|
249
|
-
onDatasourceError?: (event: CustomEvent<
|
|
249
|
+
onBaseDatasourceError?: (event: CustomEvent<BaseDatasourceErrorEventDetail>) => void;
|
|
250
|
+
onDatasourceError?: (event: CustomEvent<DatasourceErrorEventDetail>) => void;
|
|
250
251
|
onBaseDatasourceConnected?: (event: CustomEvent<unknown>) => void;
|
|
251
252
|
onDatasourceLoadingFinished?: (event: CustomEvent<unknown>) => void;
|
|
252
253
|
onDatasourceNoDataAvailable?: (event: CustomEvent<unknown>) => void;
|
|
253
|
-
onDatasourceDataChanged?: (event: CustomEvent<
|
|
254
|
+
onDatasourceDataChanged?: (event: CustomEvent<DataChangedEventDetail>) => void;
|
|
254
255
|
onCacheFilterConfig?: (event: CustomEvent<unknown>) => void;
|
|
255
|
-
onRefreshServerSide?: (event: CustomEvent<
|
|
256
|
+
onRefreshServerSide?: (event: CustomEvent<RefreshServerSideEventDetail>) => void;
|
|
256
257
|
onSetServerSideDatasource?: (event: CustomEvent<unknown>) => void;
|
|
257
258
|
onDatasourceLoadingStarted?: (event: CustomEvent<unknown>) => void;
|
|
258
|
-
onAddGridCssClass?: (event: CustomEvent<
|
|
259
|
-
onRemoveGridCssClass?: (event: CustomEvent<
|
|
260
|
-
onDatasourceInitialize?: (event: CustomEvent<
|
|
259
|
+
onAddGridCssClass?: (event: CustomEvent<GridCssClassEventDetail>) => void;
|
|
260
|
+
onRemoveGridCssClass?: (event: CustomEvent<GridCssClassEventDetail>) => void;
|
|
261
|
+
onDatasourceInitialize?: (event: CustomEvent<InitializeEventDetail>) => void;
|
|
261
262
|
onDatasourceInit?: (event: CustomEvent<unknown>) => void;
|
|
262
|
-
onDatasourceSchemaUpdated?: (event: CustomEvent<
|
|
263
|
+
onDatasourceSchemaUpdated?: (event: CustomEvent<SchemaUpdatedEventDetail>) => void;
|
|
263
264
|
onDatasourceFiltersRestored?: (event: CustomEvent<unknown>) => void;
|
|
264
|
-
onDatasourceDataCleared?: (event: CustomEvent<
|
|
265
|
+
onDatasourceDataCleared?: (event: CustomEvent<DataClearedEventDetail>) => void;
|
|
265
266
|
onApplyServerSideTransaction?: (event: CustomEvent<unknown>) => void;
|
|
266
|
-
onDatasourceReady?: (event: CustomEvent<
|
|
267
|
+
onDatasourceReady?: (event: CustomEvent<DatasourceReadyEventDetail>) => void;
|
|
267
268
|
}
|
|
268
269
|
> & React.RefAttributes<GridProServerSideDatasourceWC>
|
|
269
270
|
>;
|
|
@@ -273,24 +274,24 @@ export declare const GridProGenesisDatasource: React.ForwardRefExoticComponent<
|
|
|
273
274
|
React.PropsWithChildren<
|
|
274
275
|
Omit<PublicOf<GridProGenesisDatasourceWC>, 'children' | 'style'> &
|
|
275
276
|
HTMLWCProps & {
|
|
276
|
-
onBaseDatasourceError?: (event: CustomEvent<
|
|
277
|
-
onDatasourceError?: (event: CustomEvent<
|
|
277
|
+
onBaseDatasourceError?: (event: CustomEvent<BaseDatasourceErrorEventDetail>) => void;
|
|
278
|
+
onDatasourceError?: (event: CustomEvent<DatasourceErrorEventDetail>) => void;
|
|
278
279
|
onBaseDatasourceConnected?: (event: CustomEvent<unknown>) => void;
|
|
279
280
|
onDatasourceLoadingFinished?: (event: CustomEvent<unknown>) => void;
|
|
280
281
|
onDatasourceNoDataAvailable?: (event: CustomEvent<unknown>) => void;
|
|
281
|
-
onDatasourceDataChanged?: (event: CustomEvent<
|
|
282
|
-
onDatasourceInitialize?: (event: CustomEvent<
|
|
282
|
+
onDatasourceDataChanged?: (event: CustomEvent<DataChangedEventDetail>) => void;
|
|
283
|
+
onDatasourceInitialize?: (event: CustomEvent<InitializeEventDetail>) => void;
|
|
283
284
|
onDatasourceDestroy?: (event: CustomEvent<unknown>) => void;
|
|
284
|
-
onDatasourceDataCleared?: (event: CustomEvent<
|
|
285
|
-
onDatasourceSchemaUpdated?: (event: CustomEvent<
|
|
285
|
+
onDatasourceDataCleared?: (event: CustomEvent<DataClearedEventDetail>) => void;
|
|
286
|
+
onDatasourceSchemaUpdated?: (event: CustomEvent<SchemaUpdatedEventDetail>) => void;
|
|
286
287
|
onDatasourceFiltersRestored?: (event: CustomEvent<unknown>) => void;
|
|
287
|
-
onDatasourceDataLoaded?: (event: CustomEvent<
|
|
288
|
+
onDatasourceDataLoaded?: (event: CustomEvent<DataLoadedEventDetail>) => void;
|
|
288
289
|
onDatasourceLoadingStarted?: (event: CustomEvent<unknown>) => void;
|
|
289
|
-
onDatasourceMoreDataAvailable?: (event: CustomEvent<
|
|
290
|
-
onDatasourceReady?: (event: CustomEvent<
|
|
290
|
+
onDatasourceMoreDataAvailable?: (event: CustomEvent<MoreDataAvailableEventDetail>) => void;
|
|
291
|
+
onDatasourceReady?: (event: CustomEvent<DatasourceReadyEventDetail>) => void;
|
|
291
292
|
onDatasourceInit?: (event: CustomEvent<unknown>) => void;
|
|
292
|
-
onMoreRowsChanged?: (event: CustomEvent<
|
|
293
|
-
onDatasourceSizeChanged?: (event: CustomEvent<
|
|
293
|
+
onMoreRowsChanged?: (event: CustomEvent<MoreRowsDetail>) => void;
|
|
294
|
+
onDatasourceSizeChanged?: (event: CustomEvent<GrigProGenesisDatasourceSizeChangedEventDetail>) => void;
|
|
294
295
|
}
|
|
295
296
|
> & React.RefAttributes<GridProGenesisDatasourceWC>
|
|
296
297
|
>;
|
|
@@ -21,12 +21,12 @@ export const criteriaJoin = ' && ';
|
|
|
21
21
|
* The base datasource element for the grid-pro element.
|
|
22
22
|
* @public
|
|
23
23
|
*
|
|
24
|
-
* @fires base-datasource-error - Fired when a datasource error is reported
|
|
25
|
-
* @fires datasource-error - Fired when a datasource error occurs (for grid integration)
|
|
24
|
+
* @fires base-datasource-error - Fired when a datasource error is reported. detail: `BaseDatasourceErrorEventDetail`
|
|
25
|
+
* @fires datasource-error - Fired when a datasource error occurs (for grid integration). detail: `DatasourceErrorEventDetail`
|
|
26
26
|
* @fires base-datasource-connected - Fired when error state is cleared after connection succeeds
|
|
27
27
|
* @fires datasource-loading-finished - Fired when pending stream transactions are flushed with no row changes
|
|
28
28
|
* @fires datasource-no-data-available - Fired when loading finishes with an empty row set
|
|
29
|
-
* @fires datasource-data-changed - Fired when row data changes from applied stream transactions
|
|
29
|
+
* @fires datasource-data-changed - Fired when row data changes from applied stream transactions. detail: `DataChangedEventDetail`
|
|
30
30
|
*/
|
|
31
31
|
export class GenesisGridDatasourceElement extends DatasourceEventHandler(FoundationElement) {
|
|
32
32
|
constructor() {
|
|
@@ -196,7 +196,10 @@ export class GenesisGridDatasourceElement extends DatasourceEventHandler(Foundat
|
|
|
196
196
|
if (message) {
|
|
197
197
|
logger.error(`${type}: ${message}`);
|
|
198
198
|
// Emit both the old event for backward compatibility and the new event for grid handling
|
|
199
|
-
this.$emit(baseDatasourceEventNames.error, {
|
|
199
|
+
this.$emit(baseDatasourceEventNames.error, {
|
|
200
|
+
message,
|
|
201
|
+
type,
|
|
202
|
+
});
|
|
200
203
|
this.$emit(datasourceEventNames.error, { message, type });
|
|
201
204
|
}
|
|
202
205
|
}
|
|
@@ -6,24 +6,24 @@ import { GridProGenesisDatasource } from '../grid-pro-genesis-datasource';
|
|
|
6
6
|
* @remarks Only supports Client-Side Row Model.
|
|
7
7
|
* @public
|
|
8
8
|
*
|
|
9
|
-
* @fires base-datasource-error - Fired when a datasource error is reported
|
|
10
|
-
* @fires datasource-error - Fired when a datasource error occurs (for grid integration)
|
|
9
|
+
* @fires base-datasource-error - Fired when a datasource error is reported. detail: `BaseDatasourceErrorEventDetail`
|
|
10
|
+
* @fires datasource-error - Fired when a datasource error occurs (for grid integration). detail: `DatasourceErrorEventDetail`
|
|
11
11
|
* @fires base-datasource-connected - Fired when error state is cleared after connection succeeds
|
|
12
12
|
* @fires datasource-loading-finished - Fired when loading completes with no pending row changes
|
|
13
13
|
* @fires datasource-no-data-available - Fired when the grid has no rows after load
|
|
14
|
-
* @fires datasource-data-changed - Fired when row data changes from stream updates
|
|
15
|
-
* @fires datasource-initialize - Fired to hand off grid options and initialization flags
|
|
14
|
+
* @fires datasource-data-changed - Fired when row data changes from stream updates. detail: `DataChangedEventDetail`
|
|
15
|
+
* @fires datasource-initialize - Fired to hand off grid options and initialization flags. detail: `InitializeEventDetail`
|
|
16
16
|
* @fires datasource-destroy - Fired when the datasource is torn down
|
|
17
|
-
* @fires datasource-data-cleared - Fired when row data is cleared
|
|
18
|
-
* @fires datasource-schema-updated - Fired when column metadata or defs are updated
|
|
17
|
+
* @fires datasource-data-cleared - Fired when row data is cleared. detail: `DataClearedEventDetail`
|
|
18
|
+
* @fires datasource-schema-updated - Fired when column metadata or defs are updated. detail: `SchemaUpdatedEventDetail`
|
|
19
19
|
* @fires datasource-filters-restored - Fired when persisted filters are reapplied
|
|
20
|
-
* @fires datasource-data-loaded - Fired when a data payload is loaded for the grid
|
|
20
|
+
* @fires datasource-data-loaded - Fired when a data payload is loaded for the grid. detail: `DataLoadedEventDetail`
|
|
21
21
|
* @fires datasource-loading-started - Fired when a load or refresh starts
|
|
22
|
-
* @fires datasource-more-data-available - Fired when more server rows can be requested
|
|
23
|
-
* @fires datasource-ready - Fired when the host grid is ready (detail includes pagination state)
|
|
22
|
+
* @fires datasource-more-data-available - Fired when more server rows can be requested. detail: `MoreDataAvailableEventDetail`
|
|
23
|
+
* @fires datasource-ready - Fired when the host grid is ready (detail includes pagination state). detail: `DatasourceReadyEventDetail`
|
|
24
24
|
* @fires datasource-init - Fired when initial grid data is ready for the client-side model
|
|
25
|
-
* @fires more-rows-changed - Fired when MORE_ROWS availability changes
|
|
26
|
-
* @fires datasource-size-changed - Fired when layout or viewport sizing affects the datasource
|
|
25
|
+
* @fires more-rows-changed - Fired when MORE_ROWS availability changes. detail: `MoreRowsDetail`
|
|
26
|
+
* @fires datasource-size-changed - Fired when layout or viewport sizing affects the datasource. detail: `GrigProGenesisDatasourceSizeChangedEventDetail`
|
|
27
27
|
*/
|
|
28
28
|
let GridProClientSideDatasource = class GridProClientSideDatasource extends GridProGenesisDatasource {
|
|
29
29
|
};
|
|
@@ -65,25 +65,25 @@ const serverSideSortIndicatorCSS = `
|
|
|
65
65
|
*
|
|
66
66
|
* @beta
|
|
67
67
|
*
|
|
68
|
-
* @fires base-datasource-error - Fired when a datasource error is reported
|
|
69
|
-
* @fires datasource-error - Fired when a datasource error occurs (for grid integration)
|
|
68
|
+
* @fires base-datasource-error - Fired when a datasource error is reported. detail: `BaseDatasourceErrorEventDetail`
|
|
69
|
+
* @fires datasource-error - Fired when a datasource error occurs (for grid integration). detail: `DatasourceErrorEventDetail`
|
|
70
70
|
* @fires base-datasource-connected - Fired when error state is cleared after connection succeeds
|
|
71
71
|
* @fires datasource-loading-finished - Fired when pending stream transactions are flushed with no row changes
|
|
72
72
|
* @fires datasource-no-data-available - Fired when loading finishes with an empty row set
|
|
73
|
-
* @fires datasource-data-changed - Fired when row data changes from applied stream transactions
|
|
73
|
+
* @fires datasource-data-changed - Fired when row data changes from applied stream transactions. detail: `DataChangedEventDetail`
|
|
74
74
|
* @fires cache-filter-config - Fired to persist filter configuration for the grid
|
|
75
|
-
* @fires refresh-server-side - Fired to request a server-side refresh
|
|
75
|
+
* @fires refresh-server-side - Fired to request a server-side refresh. detail: `RefreshServerSideEventDetail`
|
|
76
76
|
* @fires set-server-side-datasource - Fired to attach or clear the server-side row model datasource
|
|
77
77
|
* @fires datasource-loading-started - Fired when a server-side load cycle starts
|
|
78
|
-
* @fires add-grid-css-class - Fired to add a CSS class on the grid host (e.g. server-side styling)
|
|
79
|
-
* @fires remove-grid-css-class - Fired to remove a CSS class from the grid host
|
|
80
|
-
* @fires datasource-initialize - Fired to hand off server-side grid options
|
|
78
|
+
* @fires add-grid-css-class - Fired to add a CSS class on the grid host (e.g. server-side styling). detail: `GridCssClassEventDetail`
|
|
79
|
+
* @fires remove-grid-css-class - Fired to remove a CSS class from the grid host. detail: `GridCssClassEventDetail`
|
|
80
|
+
* @fires datasource-initialize - Fired to hand off server-side grid options. detail: `InitializeEventDetail`
|
|
81
81
|
* @fires datasource-init - Fired when the server-side grid model should initialize data
|
|
82
|
-
* @fires datasource-schema-updated - Fired when column metadata or defs are updated
|
|
82
|
+
* @fires datasource-schema-updated - Fired when column metadata or defs are updated. detail: `SchemaUpdatedEventDetail`
|
|
83
83
|
* @fires datasource-filters-restored - Fired when persisted filters are reapplied
|
|
84
|
-
* @fires datasource-data-cleared - Fired when server-side row data is cleared
|
|
84
|
+
* @fires datasource-data-cleared - Fired when server-side row data is cleared. detail: `DataClearedEventDetail`
|
|
85
85
|
* @fires apply-server-side-transaction - Fired to apply a server-side row transaction
|
|
86
|
-
* @fires datasource-ready - Fired when the host grid is ready (detail includes pagination state)
|
|
86
|
+
* @fires datasource-ready - Fired when the host grid is ready (detail includes pagination state). detail: `DatasourceReadyEventDetail`
|
|
87
87
|
*/
|
|
88
88
|
let GridProServerSideDatasource = class GridProServerSideDatasource extends LifecycleMixin(GridProBaseDatasource) {
|
|
89
89
|
constructor() {
|
|
@@ -188,19 +188,25 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
188
188
|
// on screen (clearRowData emits an empty remove transaction, which clears nothing).
|
|
189
189
|
// The datasource is now null, so the purge clears the display without re-invoking
|
|
190
190
|
// getRows() against a dead datasource.
|
|
191
|
-
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
191
|
+
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
192
|
+
purge: true,
|
|
193
|
+
});
|
|
192
194
|
logger.error('Genesis Datasource re-init failed on filtering/sorting.');
|
|
193
195
|
return;
|
|
194
196
|
}
|
|
195
197
|
// Purge AG Grid's SSRM cache only AFTER the re-init completed: the purge makes AG Grid
|
|
196
198
|
// re-invoke getRows() immediately, and purging before initializeDatasource let that
|
|
197
199
|
// call race the destroyed/half-initialized datasource (stale rows, broken first loads).
|
|
198
|
-
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
200
|
+
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
201
|
+
purge: true,
|
|
202
|
+
});
|
|
199
203
|
}
|
|
200
204
|
else {
|
|
201
205
|
// Full re-init path: init() re-creates the whole ssrmDatasource, so no race here -
|
|
202
206
|
// purge up-front as before.
|
|
203
|
-
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
207
|
+
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
208
|
+
purge: true,
|
|
209
|
+
});
|
|
204
210
|
if (this.ssrmDatasource) {
|
|
205
211
|
yield this.ssrmDatasource.destroy();
|
|
206
212
|
this.ssrmDatasource = undefined;
|
|
@@ -220,7 +226,9 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
220
226
|
// Remove existing styling if present
|
|
221
227
|
this.removeServerSideSortIndicatorStyling();
|
|
222
228
|
// Emit event to add CSS class to grid element
|
|
223
|
-
this.$emit(datasourceEventNames.addGridCssClass, {
|
|
229
|
+
this.$emit(datasourceEventNames.addGridCssClass, {
|
|
230
|
+
className: 'grid-pro-server-side',
|
|
231
|
+
});
|
|
224
232
|
// Insert custom CSS rules
|
|
225
233
|
this.sortIndicatorCSSDestroy = insertDocumentCSSRule(serverSideSortIndicatorCSS, 'grid-pro-server-side-sort');
|
|
226
234
|
}
|
|
@@ -230,7 +238,9 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
230
238
|
*/
|
|
231
239
|
removeServerSideSortIndicatorStyling() {
|
|
232
240
|
// Emit event to remove CSS class from grid element
|
|
233
|
-
this.$emit(datasourceEventNames.removeGridCssClass, {
|
|
241
|
+
this.$emit(datasourceEventNames.removeGridCssClass, {
|
|
242
|
+
className: 'grid-pro-server-side',
|
|
243
|
+
});
|
|
234
244
|
// Remove custom CSS rules
|
|
235
245
|
if (this.sortIndicatorCSSDestroy) {
|
|
236
246
|
this.sortIndicatorCSSDestroy();
|
|
@@ -363,7 +373,9 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
363
373
|
this.removeServerSideSortIndicatorStyling();
|
|
364
374
|
// Emit events instead of direct grid access
|
|
365
375
|
this.$emit(datasourceEventNames.setServerSideDatasource, { datasource: null });
|
|
366
|
-
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
376
|
+
this.$emit(datasourceEventNames.refreshServerSide, {
|
|
377
|
+
purge: true,
|
|
378
|
+
});
|
|
367
379
|
});
|
|
368
380
|
}
|
|
369
381
|
restart() {
|
|
@@ -58,8 +58,8 @@ const Events = {
|
|
|
58
58
|
* @beta
|
|
59
59
|
* @tagname %%prefix%%-grid-pro
|
|
60
60
|
*
|
|
61
|
-
* @fires gridReady - Fired when AG Grid is ready (detail includes the grid-ready event and grid id)
|
|
62
|
-
* @fires onGridReady - Deprecated alias for the grid-ready signal; prefer `gridReady`
|
|
61
|
+
* @fires gridReady - Fired when AG Grid is ready (detail includes the grid-ready event and grid id). detail: `GridReadyEventDetail`
|
|
62
|
+
* @fires onGridReady - Deprecated alias for the grid-ready signal; prefer `gridReady`. detail: `GridReadyEventDetail`
|
|
63
63
|
* @fires gridready - Native `Event` from `globalEventListener` when AG Grid fires `gridReady` (`agGridDetails` holds the AG Grid event)
|
|
64
64
|
* @remarks Re-emits AG Grid public API events when listeners are registered via `addEventListener` (event names match AG Grid public event strings). The same AG Grid events are also dispatched as native `Event`s with lowercased `type` and payload on `agGridDetails` (for example `addEventListener('columnresized', ...)`).
|
|
65
65
|
*/
|
|
@@ -916,7 +916,9 @@ export class GridProBeta extends LifecycleMixin(FoundationElement) {
|
|
|
916
916
|
});
|
|
917
917
|
// TODO: prevent rendering datasource slot until grid is ready
|
|
918
918
|
// so there is no need for this even and handling it in datasources
|
|
919
|
-
(_c = this.gridProDatasource) === null || _c === void 0 ? void 0 : _c.$emit(datasourceEventNames.ready, {
|
|
919
|
+
(_c = this.gridProDatasource) === null || _c === void 0 ? void 0 : _c.$emit(datasourceEventNames.ready, {
|
|
920
|
+
pagination: this.pagination,
|
|
921
|
+
});
|
|
920
922
|
this.restoreColumnState();
|
|
921
923
|
this.restoreCachedFilterConfig();
|
|
922
924
|
this.debouncedColumnAutosize();
|
|
@@ -8,7 +8,7 @@ import { GridProBaseDatasource, criteriaDelimiter } from '../datasource/base.dat
|
|
|
8
8
|
import { getClientSideFilterParamsByFieldType, getFilterByFieldType, } from '../datasource/client-side.grid-definitions';
|
|
9
9
|
import { logger } from '../utils/logger';
|
|
10
10
|
import { datasourceEventNames, } from './datasource-events.types';
|
|
11
|
-
import { gridProGenesisDatasourceEventNames } from './grid-pro-genesis-datasource.config';
|
|
11
|
+
import { gridProGenesisDatasourceEventNames, } from './grid-pro-genesis-datasource.config';
|
|
12
12
|
const withoutFullInit = null;
|
|
13
13
|
const withoutColumnDefs = null;
|
|
14
14
|
/**
|
|
@@ -16,24 +16,24 @@ const withoutColumnDefs = null;
|
|
|
16
16
|
* @remarks Only supports Client-Side Row Model.
|
|
17
17
|
* @public
|
|
18
18
|
*
|
|
19
|
-
* @fires base-datasource-error - Fired when a datasource error is reported
|
|
20
|
-
* @fires datasource-error - Fired when a datasource error occurs (for grid integration)
|
|
19
|
+
* @fires base-datasource-error - Fired when a datasource error is reported. detail: `BaseDatasourceErrorEventDetail`
|
|
20
|
+
* @fires datasource-error - Fired when a datasource error occurs (for grid integration). detail: `DatasourceErrorEventDetail`
|
|
21
21
|
* @fires base-datasource-connected - Fired when error state is cleared after connection succeeds
|
|
22
22
|
* @fires datasource-loading-finished - Fired when loading completes with no pending row changes
|
|
23
23
|
* @fires datasource-no-data-available - Fired when the grid has no rows after load
|
|
24
|
-
* @fires datasource-data-changed - Fired when row data changes from stream updates
|
|
25
|
-
* @fires datasource-initialize - Fired to hand off grid options and initialization flags
|
|
24
|
+
* @fires datasource-data-changed - Fired when row data changes from stream updates. detail: `DataChangedEventDetail`
|
|
25
|
+
* @fires datasource-initialize - Fired to hand off grid options and initialization flags. detail: `InitializeEventDetail`
|
|
26
26
|
* @fires datasource-destroy - Fired when the datasource is torn down
|
|
27
|
-
* @fires datasource-data-cleared - Fired when row data is cleared
|
|
28
|
-
* @fires datasource-schema-updated - Fired when column metadata or defs are updated
|
|
27
|
+
* @fires datasource-data-cleared - Fired when row data is cleared. detail: `DataClearedEventDetail`
|
|
28
|
+
* @fires datasource-schema-updated - Fired when column metadata or defs are updated. detail: `SchemaUpdatedEventDetail`
|
|
29
29
|
* @fires datasource-filters-restored - Fired when persisted filters are reapplied
|
|
30
|
-
* @fires datasource-data-loaded - Fired when a data payload is loaded for the grid
|
|
30
|
+
* @fires datasource-data-loaded - Fired when a data payload is loaded for the grid. detail: `DataLoadedEventDetail`
|
|
31
31
|
* @fires datasource-loading-started - Fired when a load or refresh starts
|
|
32
|
-
* @fires datasource-more-data-available - Fired when more server rows can be requested
|
|
33
|
-
* @fires datasource-ready - Fired when the host grid is ready (detail includes pagination state)
|
|
32
|
+
* @fires datasource-more-data-available - Fired when more server rows can be requested. detail: `MoreDataAvailableEventDetail`
|
|
33
|
+
* @fires datasource-ready - Fired when the host grid is ready (detail includes pagination state). detail: `DatasourceReadyEventDetail`
|
|
34
34
|
* @fires datasource-init - Fired when initial grid data is ready for the client-side model
|
|
35
|
-
* @fires more-rows-changed - Fired when MORE_ROWS availability changes
|
|
36
|
-
* @fires datasource-size-changed - Fired when layout or viewport sizing affects the datasource
|
|
35
|
+
* @fires more-rows-changed - Fired when MORE_ROWS availability changes. detail: `MoreRowsDetail`
|
|
36
|
+
* @fires datasource-size-changed - Fired when layout or viewport sizing affects the datasource. detail: `GrigProGenesisDatasourceSizeChangedEventDetail`
|
|
37
37
|
*/
|
|
38
38
|
let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleMixin(GridProBaseDatasource) {
|
|
39
39
|
constructor() {
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -974,7 +974,9 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
974
974
|
// Emit datasource ready event, signals that the datasource is ready to be used
|
|
975
975
|
// TODO: prevent rendering datasource slot until grid is ready
|
|
976
976
|
// so there is no need for this even and handling it in datasources
|
|
977
|
-
(_b = this.gridProDatasource) === null || _b === void 0 ? void 0 : _b.$emit(datasourceEventNames.ready, {
|
|
977
|
+
(_b = this.gridProDatasource) === null || _b === void 0 ? void 0 : _b.$emit(datasourceEventNames.ready, {
|
|
978
|
+
pagination: this.pagination,
|
|
979
|
+
});
|
|
978
980
|
this.restoreColumnState();
|
|
979
981
|
this.restoreCachedFilterConfig();
|
|
980
982
|
this.debouncedColumnAutosize();
|
|
@@ -60,8 +60,8 @@ function getObjectFromResource(connect, resourceName, valueKey, value) {
|
|
|
60
60
|
* @public
|
|
61
61
|
* @tagname %%prefix%%-multicolumn-dropdown
|
|
62
62
|
*
|
|
63
|
-
* @fires change - Fired when the selected value changes
|
|
64
|
-
* @fires input - Fired when the value is updated (including programmatic changes)
|
|
63
|
+
* @fires change - Fired when the selected value changes. detail: `string`
|
|
64
|
+
* @fires input - Fired when the value is updated (including programmatic changes). detail: `string`
|
|
65
65
|
*/
|
|
66
66
|
export class MulticolumnDropdown extends LifecycleMixin(FoundationElement) {
|
|
67
67
|
constructor() {
|