@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/grid-pro.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import type { ColDef, ColumnApi, GridApi, GridOptions, GridParams } from '@ag-grid-community/core';
|
|
2
|
-
import { ColumnState, Grid } from '@ag-grid-community/core';
|
|
3
1
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
4
2
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { ColDef, ColumnState, GridApi, GridOptions, GridParams } from 'ag-grid-community';
|
|
4
|
+
import { type GridProColumnDragBridge } from './column-selection/grid-pro-column-drag-bridge';
|
|
5
5
|
import { GridProBaseDatasource } from './datasource/base.datasource';
|
|
6
|
-
import { AG_PROPERTIES } from './grid-pro.definitions';
|
|
7
6
|
import type { GridComponents, GridProCaseType, GridProErrorEvent, GridProErrorItem, GridProEventsAndCallbacks } from './grid-pro.types';
|
|
8
7
|
import { GridOptionsConfig, GridProStatusBarConfig, GridProStatusBarLabelConfig } from './grid-pro.types';
|
|
9
8
|
import { StatePersistence } from './state-persistence';
|
|
10
|
-
export { AG_PROPERTIES };
|
|
11
9
|
declare const GridPro_base: (new (...args: any[]) => {
|
|
12
10
|
#_container: import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
13
11
|
#_latestTokenCode: string;
|
|
@@ -376,21 +374,18 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
376
374
|
focus(options?: FocusOptions): void;
|
|
377
375
|
}) & typeof FoundationElement;
|
|
378
376
|
/**
|
|
379
|
-
* The Grid Pro element.
|
|
377
|
+
* The Grid Pro element (AG Grid v36 compatible).
|
|
380
378
|
* @remarks Grid Pro is a Web Component wrapper around the AG Grid Community library.
|
|
381
379
|
* @public
|
|
382
380
|
* @tagname %%prefix%%-grid-pro
|
|
383
381
|
*
|
|
384
|
-
* @fires gridReady - Fired when AG Grid is ready (detail includes the grid-ready event and grid id)
|
|
385
|
-
* @fires onGridReady - Deprecated alias for the grid-ready signal; prefer `gridReady`
|
|
382
|
+
* @fires gridReady - Fired when AG Grid is ready (detail includes the grid-ready event and grid id). detail: `GridReadyEventDetail`
|
|
383
|
+
* @fires onGridReady - Deprecated alias for the grid-ready signal; prefer `gridReady`. detail: `GridReadyEventDetail`
|
|
386
384
|
* @fires gridready - Native `Event` from `globalEventListener` when AG Grid fires `gridReady` (`agGridDetails` holds the AG Grid event)
|
|
387
|
-
* @remarks Re-emits AG Grid public API events when listeners are registered via `addEventListener` (event names match
|
|
385
|
+
* @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', ...)`).
|
|
388
386
|
*/
|
|
389
387
|
export declare class GridPro extends GridPro_base {
|
|
390
|
-
columnApi: ColumnApi;
|
|
391
388
|
gridApi: GridApi;
|
|
392
|
-
private cachedTotalColumnWidth;
|
|
393
|
-
private columnCount;
|
|
394
389
|
gridErrorItems: GridProErrorItem<GridProErrorEvent['detail']>[];
|
|
395
390
|
statePersistence: StatePersistence;
|
|
396
391
|
/**
|
|
@@ -410,50 +405,19 @@ export declare class GridPro extends GridPro_base {
|
|
|
410
405
|
* in local storage if you are using `persist-column-state-key`.
|
|
411
406
|
*/
|
|
412
407
|
gridAutosizingEnabled: boolean;
|
|
413
|
-
/**
|
|
414
|
-
* Boolean attribute to control whether the grid automatically sizes columns to fit their content.
|
|
415
|
-
* This will call AG Grid's autoSizeColumns() method to automatically adjust column widths based on content.
|
|
416
|
-
* @public
|
|
417
|
-
*/
|
|
418
|
-
sizeColumnsToContent: boolean;
|
|
419
|
-
/**
|
|
420
|
-
* Boolean attribute to adjust the size of columns to fit the available horizontal space.
|
|
421
|
-
* This will call AG Grid's sizeColumnsToFit() method.
|
|
422
|
-
* @public
|
|
423
|
-
*/
|
|
424
|
-
sizeColumnsToFit: boolean;
|
|
425
|
-
/**
|
|
426
|
-
* The index to add new rows to when using `applyTransaction` or `applyTransactionAsync`
|
|
427
|
-
*/
|
|
428
|
-
addIndex: number;
|
|
429
|
-
/**
|
|
430
|
-
* Whether to use the `applyTransactionAsync` function for *add* transactions
|
|
431
|
-
* @remarks Defaults to false
|
|
432
|
-
*/
|
|
433
|
-
asyncAdd: boolean;
|
|
434
|
-
/**
|
|
435
|
-
* Whether to use the `applyTransactionAsync` function for *remove* transactions
|
|
436
|
-
* @remarks Defaults to false
|
|
437
|
-
*/
|
|
438
|
-
asyncRemove: boolean;
|
|
439
|
-
/**
|
|
440
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
441
|
-
* @remarks Defaults to true
|
|
442
|
-
*/
|
|
443
|
-
asyncUpdate: boolean;
|
|
444
408
|
/**
|
|
445
409
|
* If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
446
410
|
* @remarks Defaults to true
|
|
447
411
|
*/
|
|
448
412
|
enableCellFlashing: boolean;
|
|
449
|
-
/**
|
|
450
|
-
* @deprecated - use `enableRowFlashing` instead.
|
|
451
|
-
*/
|
|
452
|
-
enabledRowFlashing: boolean;
|
|
453
413
|
/**
|
|
454
414
|
* If true, will enable row flashing for all rows for `add` async transactions
|
|
455
415
|
*/
|
|
456
416
|
enableRowFlashing: boolean;
|
|
417
|
+
/** Wired to `gridOptions.context` for columns picker → grid drag (see bridge module). */
|
|
418
|
+
private readonly columnDragBridge;
|
|
419
|
+
/** @internal Shared AG column-drag bridge for custom tool panels. */
|
|
420
|
+
getColumnDragBridge(): GridProColumnDragBridge;
|
|
457
421
|
/**
|
|
458
422
|
* The key to use for persisting the column state in local browser or KV storage.
|
|
459
423
|
*/
|
|
@@ -462,10 +426,6 @@ export declare class GridPro extends GridPro_base {
|
|
|
462
426
|
* The key to use for persisting the filter model in local browser or KV storage.
|
|
463
427
|
*/
|
|
464
428
|
persistFilterModelKey: string;
|
|
465
|
-
/**
|
|
466
|
-
* The default column config to reset to when deleteColumnState is called.
|
|
467
|
-
*/
|
|
468
|
-
defaultColumnConfig: ColDef[];
|
|
469
429
|
/**
|
|
470
430
|
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
471
431
|
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
@@ -479,15 +439,12 @@ export declare class GridPro extends GridPro_base {
|
|
|
479
439
|
*/
|
|
480
440
|
rowData: any[];
|
|
481
441
|
rowDataChanged(_: any, rowData: any): void;
|
|
482
|
-
gridFontFace: string;
|
|
483
442
|
columnComponentName: string;
|
|
484
443
|
eventsAndCallbacks: GridProEventsAndCallbacks;
|
|
485
444
|
headerHeight: number;
|
|
486
445
|
rowHeight: number;
|
|
487
|
-
theme: string;
|
|
488
|
-
themeChanged(oldValue: string, newValue: string): void;
|
|
489
446
|
classNames: string;
|
|
490
|
-
agGrid:
|
|
447
|
+
agGrid: GridApi;
|
|
491
448
|
gridSlot: HTMLSlotElement;
|
|
492
449
|
/**
|
|
493
450
|
* The slot ref binds asynchronously, and the queued `initGrid` skips any run that beats it. FAST
|
|
@@ -519,6 +476,12 @@ export declare class GridPro extends GridPro_base {
|
|
|
519
476
|
* This requires AG Grid Enterprise module to be available for the status bar to be displayed when enabled.
|
|
520
477
|
*/
|
|
521
478
|
withStatusBar: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* Shows a Column Selection button above the grid.
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
enableColumnSelection: boolean;
|
|
484
|
+
enableColumnSelectionChanged(): void;
|
|
522
485
|
/**
|
|
523
486
|
* Custom error handler dialog template function.
|
|
524
487
|
* @remarks
|
|
@@ -528,23 +491,23 @@ export declare class GridPro extends GridPro_base {
|
|
|
528
491
|
*/
|
|
529
492
|
customErrorHandlerTemplate?: (prefix: string, gridErrorItems: GridProErrorItem<any>[]) => ViewTemplate;
|
|
530
493
|
private columnState;
|
|
531
|
-
protected agAttributes: Record<string,
|
|
494
|
+
protected agAttributes: Record<string, any>;
|
|
532
495
|
protected agPropertiesMap: Record<string, string>;
|
|
533
496
|
protected agGridOptions: GridOptions;
|
|
534
|
-
/**
|
|
535
|
-
* Last grid options supplied via the public `gridOptions` setter (not datasource init).
|
|
536
|
-
* Used as the merge base in `handleInitialize` so user options survive datasource restart.
|
|
537
|
-
*/
|
|
497
|
+
/** User-supplied grid options cached as merge base for datasource re-init. */
|
|
538
498
|
private userProvidedGridOptions;
|
|
539
499
|
private applyingDatasourceGridOptions;
|
|
540
500
|
protected initialised: boolean;
|
|
541
501
|
private rehydrationAttempted;
|
|
542
|
-
|
|
502
|
+
/** A schemaUpdated that arrived before `gridApi` existed; replayed in onGridReady. */
|
|
503
|
+
private pendingSchemaUpdate?;
|
|
504
|
+
private rootEventsListeners;
|
|
505
|
+
private datasourceEventHandlers;
|
|
543
506
|
private gridEventsQueue;
|
|
544
507
|
private registeredGridEvents;
|
|
545
508
|
private gridEventListeners;
|
|
509
|
+
private luminanceSubscription?;
|
|
546
510
|
private visibilityObserverCleanup?;
|
|
547
|
-
private pendingSchemaUpdate?;
|
|
548
511
|
private readonly boundGlobalEventListener;
|
|
549
512
|
private _filterConfig;
|
|
550
513
|
getfilterModel(): Promise<{
|
|
@@ -568,13 +531,8 @@ export declare class GridPro extends GridPro_base {
|
|
|
568
531
|
* ```
|
|
569
532
|
*/
|
|
570
533
|
gridOptionsConfig: GridOptionsConfig;
|
|
534
|
+
provider: any;
|
|
571
535
|
constructor();
|
|
572
|
-
/**
|
|
573
|
-
* The Infinite Row Model is only wired into the beta grid, so an infinite datasource placed
|
|
574
|
-
* inside this element can never load data. Report it instead of ignoring the event.
|
|
575
|
-
* @internal
|
|
576
|
-
*/
|
|
577
|
-
private refuseInfiniteDatasource;
|
|
578
536
|
/**
|
|
579
537
|
* Adds an event listener to the grid element.
|
|
580
538
|
* @param eventType - The event type to listen for. Recommened to use the `Events` from AG Grid.
|
|
@@ -588,14 +546,18 @@ export declare class GridPro extends GridPro_base {
|
|
|
588
546
|
private handleError;
|
|
589
547
|
private handleBaseDatasourceError;
|
|
590
548
|
hideDatasourceError(): void;
|
|
549
|
+
private handleLuminanceChange;
|
|
550
|
+
private readonly luminanceObserver;
|
|
591
551
|
connectedCallback(): void;
|
|
592
552
|
disconnectedCallback(): void;
|
|
553
|
+
private syncColumnSelectionHostLayout;
|
|
593
554
|
private performDisconnectCleanup;
|
|
555
|
+
private destroyGridInstance;
|
|
594
556
|
/**
|
|
595
|
-
*
|
|
596
|
-
*
|
|
557
|
+
* Helper method to add or remove datasource event listeners
|
|
558
|
+
* @internal
|
|
597
559
|
*/
|
|
598
|
-
private
|
|
560
|
+
private toggleDatasourceEventListeners;
|
|
599
561
|
/**
|
|
600
562
|
* Handles datasource initialization
|
|
601
563
|
* @internal
|
|
@@ -611,6 +573,12 @@ export declare class GridPro extends GridPro_base {
|
|
|
611
573
|
* @internal
|
|
612
574
|
*/
|
|
613
575
|
private handleDataChanged;
|
|
576
|
+
/**
|
|
577
|
+
* Whether the live grid runs AG Grid's client-side row model (the default when the datasource
|
|
578
|
+
* set no `rowModelType`).
|
|
579
|
+
* @internal
|
|
580
|
+
*/
|
|
581
|
+
private get isClientSideRowModel();
|
|
614
582
|
private flashAddedCells;
|
|
615
583
|
/**
|
|
616
584
|
* Handles schema updates from datasource
|
|
@@ -618,10 +586,24 @@ export declare class GridPro extends GridPro_base {
|
|
|
618
586
|
*/
|
|
619
587
|
private handleSchemaUpdated;
|
|
620
588
|
/**
|
|
621
|
-
* Builds and applies column defs from a schema
|
|
589
|
+
* Builds and applies column defs from a schema payload.
|
|
622
590
|
* @internal
|
|
623
591
|
*/
|
|
624
592
|
private processSchemaUpdate;
|
|
593
|
+
/**
|
|
594
|
+
* Downgrades enterprise filters in metadata-generated colDefs when their modules are not
|
|
595
|
+
* registered — from v35 AG Grid throws on unregistered filters instead of falling back.
|
|
596
|
+
* Enum columns (recognised by their metadata-sourced set-filter values) keep those values by
|
|
597
|
+
* falling back to the community `EnumColumnFilter` instead of a plain text filter.
|
|
598
|
+
*
|
|
599
|
+
* The enum floating filter is only wired as the column's component, not enabled: AG's floating
|
|
600
|
+
* filter is a full-width header row, so enabling it for one column changes the layout of every
|
|
601
|
+
* column. Active-filter state is surfaced instead by AG's native header filter icon plus the
|
|
602
|
+
* header tooltip the enum filter maintains; consumers wanting the floating row opt in with
|
|
603
|
+
* `floatingFilter: true`.
|
|
604
|
+
* @internal
|
|
605
|
+
*/
|
|
606
|
+
private applyCommunityFilterFallbacks;
|
|
625
607
|
/**
|
|
626
608
|
* Handles data clearing from datasource
|
|
627
609
|
* @internal
|
|
@@ -687,6 +669,18 @@ export declare class GridPro extends GridPro_base {
|
|
|
687
669
|
* @internal
|
|
688
670
|
*/
|
|
689
671
|
private handleApplyServerSideTransaction;
|
|
672
|
+
/**
|
|
673
|
+
* Handles setting infinite datasource
|
|
674
|
+
* @internal
|
|
675
|
+
*/
|
|
676
|
+
private handleSetInfiniteDatasource;
|
|
677
|
+
/**
|
|
678
|
+
* Handles refreshing the infinite cache.
|
|
679
|
+
* @remarks Mirrors {@link GridPro.handleRefreshServerSide}: `purge` drops the block cache
|
|
680
|
+
* and re-reads, otherwise the loaded blocks are re-read in place.
|
|
681
|
+
* @internal
|
|
682
|
+
*/
|
|
683
|
+
private handleRefreshInfiniteCache;
|
|
690
684
|
combineAllGridComponents(gridOptionsComponents: GridComponents): GridComponents;
|
|
691
685
|
statePersistanceEnabled(): boolean;
|
|
692
686
|
/**
|
|
@@ -740,20 +734,13 @@ export declare class GridPro extends GridPro_base {
|
|
|
740
734
|
* @public
|
|
741
735
|
*/
|
|
742
736
|
getSavedColumnState(): Promise<ColumnState[]>;
|
|
743
|
-
/**
|
|
744
|
-
* Deletes the saved column state for the current grid
|
|
745
|
-
* @param resetToDefault - Whether to reset columns to their default configuration. Defaults to true.
|
|
746
|
-
* @remarks This removes the persisted column state from storage, allowing the grid to use default column configuration
|
|
747
|
-
* @public
|
|
748
|
-
*/
|
|
749
|
-
deleteColumnState(resetToDefault?: boolean): Promise<void>;
|
|
750
737
|
private restoreColumnState;
|
|
751
738
|
cacheFilterConfig(): void;
|
|
752
739
|
restoreCachedFilterConfig(): Promise<void>;
|
|
753
740
|
/**
|
|
754
741
|
* @public
|
|
755
742
|
*/
|
|
756
|
-
get gridOptions():
|
|
743
|
+
get gridOptions(): GridOptions;
|
|
757
744
|
/**
|
|
758
745
|
* @public
|
|
759
746
|
*/
|
|
@@ -768,33 +755,25 @@ export declare class GridPro extends GridPro_base {
|
|
|
768
755
|
* @public
|
|
769
756
|
*/
|
|
770
757
|
get gridProDatasource(): GridProBaseDatasource;
|
|
758
|
+
/**
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
get isInfiniteRowModel(): boolean;
|
|
771
762
|
/**
|
|
772
763
|
* Reports the currently visible columns to the datasource. The datasource decides what to do with
|
|
773
764
|
* them (e.g. narrowing the server request); the grid stays agnostic of that behaviour.
|
|
774
765
|
* @internal
|
|
775
766
|
*/
|
|
776
767
|
private notifyDatasourceVisibleColumns;
|
|
777
|
-
set gridOptions(options:
|
|
768
|
+
set gridOptions(options: GridOptions);
|
|
778
769
|
private setLocalGridOptions;
|
|
779
770
|
/**
|
|
780
771
|
* Clears the local grid options, this is used to clear the grid options when the grid is restarted.
|
|
781
772
|
* @public
|
|
782
773
|
*/
|
|
783
774
|
clearLocalGridOptions(): void;
|
|
784
|
-
/**
|
|
785
|
-
* Clears all grid option state when the grid element is fully torn down.
|
|
786
|
-
* @internal
|
|
787
|
-
*/
|
|
788
775
|
private resetGridOptionsState;
|
|
789
776
|
private initGrid;
|
|
790
|
-
/**
|
|
791
|
-
* Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
|
|
792
|
-
* @deprecated use `applyTemplateDefinitions` instead.
|
|
793
|
-
* @param columnDefs - The column definitions to apply to the grid.
|
|
794
|
-
* @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
|
|
795
|
-
* @returns The merged column definitions.
|
|
796
|
-
*/
|
|
797
|
-
applyTemplateDefinitions(columnDefs: ColDef[], deferredColumnDefsOrState?: boolean): Promise<(ColDef<any> | import("@ag-grid-community/core").ColGroupDef<any>)[]>;
|
|
798
777
|
/**
|
|
799
778
|
* Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
|
|
800
779
|
* @public
|
|
@@ -804,66 +783,183 @@ export declare class GridPro extends GridPro_base {
|
|
|
804
783
|
* on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
|
|
805
784
|
* @returns The merged column definitions.
|
|
806
785
|
*/
|
|
807
|
-
mergeAllColumnDefsAndStates(columnDefs: ColDef[], deferredColumnDefsOrState?: boolean): Promise<(ColDef<any> | import("@ag-grid-community/core").ColGroupDef<any>)[]
|
|
786
|
+
mergeAllColumnDefsAndStates(columnDefs: ColDef[], deferredColumnDefsOrState?: boolean): Promise<(import("@ag-grid-community/core").ColDef<any> | import("@ag-grid-community/core").ColGroupDef<any>)[] | (ColDef<any, any> | {
|
|
787
|
+
colId?: string;
|
|
788
|
+
field?: string;
|
|
789
|
+
type?: string | string[];
|
|
790
|
+
valueGetter?: string | import("@ag-grid-community/core").ValueGetterFunc<any> | import("ag-grid-community").ValueGetterFunc<any, any, any>;
|
|
791
|
+
valueFormatter?: string | import("@ag-grid-community/core").ValueFormatterFunc<any> | import("ag-grid-community").ValueFormatterFunc<any, any, any>;
|
|
792
|
+
refData?: import("ag-grid-community").RefData;
|
|
793
|
+
keyCreator?: ((params: import("@ag-grid-community/core").KeyCreatorParams<any, any>) => string) | import("ag-grid-community").KeyCreatorFunc<any, any, any>;
|
|
794
|
+
equals?: (valueA: any, valueB: any) => boolean;
|
|
795
|
+
tooltipField?: string;
|
|
796
|
+
tooltipValueGetter?: ((params: import("@ag-grid-community/core").ITooltipParams<any, any, any>) => string | any) | import("ag-grid-community").TooltipValueGetterFunc<any, any, any>;
|
|
797
|
+
checkboxSelection?: boolean | import("@ag-grid-community/core").CheckboxSelectionCallback<any> | import("ag-grid-community").CheckboxSelectionCallback<any, any, any>;
|
|
798
|
+
showDisabledCheckboxes?: boolean;
|
|
799
|
+
icons?: {
|
|
800
|
+
[key: string]: string | Function;
|
|
801
|
+
};
|
|
802
|
+
suppressNavigable?: boolean | import("@ag-grid-community/core").SuppressNavigableCallback<any> | import("ag-grid-community").SuppressNavigableCallback<any, any, any>;
|
|
803
|
+
suppressKeyboardEvent?: ((params: import("@ag-grid-community/core").SuppressKeyboardEventParams<any>) => boolean) | import("ag-grid-community").SuppressKeyboardEventFunc<any, any, any>;
|
|
804
|
+
suppressPaste?: boolean | import("@ag-grid-community/core").SuppressPasteCallback<any> | import("ag-grid-community").SuppressPasteCallback<any, any, any>;
|
|
805
|
+
suppressFillHandle?: boolean;
|
|
806
|
+
hide?: boolean | null;
|
|
807
|
+
initialHide?: boolean;
|
|
808
|
+
lockVisible?: boolean;
|
|
809
|
+
lockPosition?: boolean | "left" | "right";
|
|
810
|
+
suppressMovable?: boolean;
|
|
811
|
+
editable?: boolean | import("@ag-grid-community/core").EditableCallback<any> | import("ag-grid-community").EditableCallback<any, any, any>;
|
|
812
|
+
valueSetter?: string | import("@ag-grid-community/core").ValueSetterFunc<any> | import("ag-grid-community").ValueSetterFunc<any, any, any>;
|
|
813
|
+
valueParser?: string | import("@ag-grid-community/core").ValueParserFunc<any, any> | import("ag-grid-community").ValueParserFunc<any, any, any>;
|
|
814
|
+
cellEditor?: any;
|
|
815
|
+
cellEditorFramework?: any;
|
|
816
|
+
cellEditorParams?: any;
|
|
817
|
+
cellEditorSelector?: import("@ag-grid-community/core").CellEditorSelectorFunc<any> | import("ag-grid-community").CellEditorSelectorFunc<any, any, any>;
|
|
818
|
+
singleClickEdit?: boolean;
|
|
819
|
+
cellEditorPopup?: boolean;
|
|
820
|
+
cellEditorPopupPosition?: "over" | "under";
|
|
821
|
+
onCellValueChanged?: ((event: import("@ag-grid-community/core").NewValueParams<any>) => void) | ((event: import("ag-grid-community").NewValueParams<any, any, any>) => void);
|
|
822
|
+
onCellClicked?: ((event: import("@ag-grid-community/core").CellClickedEvent<any, any>) => void) | ((event: import("ag-grid-community").CellClickedEvent<any, any, any>) => void);
|
|
823
|
+
onCellDoubleClicked?: ((event: import("@ag-grid-community/core").CellDoubleClickedEvent<any, any>) => void) | ((event: import("ag-grid-community").CellDoubleClickedEvent<any, any, any>) => void);
|
|
824
|
+
onCellContextMenu?: ((event: import("@ag-grid-community/core").CellContextMenuEvent<any, any>) => void) | ((event: import("ag-grid-community").CellContextMenuEvent<any, any, any>) => void);
|
|
825
|
+
getQuickFilterText?: ((params: import("@ag-grid-community/core").GetQuickFilterTextParams<any, any>) => string) | import("ag-grid-community").GetQuickFilterText<any, any, any>;
|
|
826
|
+
filterValueGetter?: string | import("@ag-grid-community/core").ValueGetterFunc<any> | import("ag-grid-community").ValueGetterFunc<any, any, any>;
|
|
827
|
+
floatingFilter?: boolean;
|
|
828
|
+
wrapHeaderText?: boolean;
|
|
829
|
+
autoHeaderHeight?: boolean;
|
|
830
|
+
headerComponent?: any;
|
|
831
|
+
headerComponentFramework?: any;
|
|
832
|
+
headerComponentParams?: any;
|
|
833
|
+
menuTabs?: import("@ag-grid-community/core").ColumnMenuTab[];
|
|
834
|
+
columnsMenuParams?: import("@ag-grid-community/core").ColumnsMenuParams;
|
|
835
|
+
suppressMenu?: boolean;
|
|
836
|
+
headerCheckboxSelection?: boolean | import("@ag-grid-community/core").HeaderCheckboxSelectionCallback<any> | import("ag-grid-community").HeaderCheckboxSelectionCallback<any, any, any>;
|
|
837
|
+
headerCheckboxSelectionFilteredOnly?: boolean;
|
|
838
|
+
headerCheckboxSelectionCurrentPageOnly?: boolean;
|
|
839
|
+
chartDataType?: "category" | "series" | "time" | "excluded";
|
|
840
|
+
pinned?: boolean | "left" | "right" | null;
|
|
841
|
+
initialPinned?: boolean | "left" | "right";
|
|
842
|
+
lockPinned?: boolean;
|
|
843
|
+
pivot?: boolean | null;
|
|
844
|
+
initialPivot?: boolean;
|
|
845
|
+
pivotIndex?: number | null;
|
|
846
|
+
initialPivotIndex?: number;
|
|
847
|
+
pivotComparator?: (valueA: string, valueB: string) => number;
|
|
848
|
+
enablePivot?: boolean;
|
|
849
|
+
cellStyle?: import("@ag-grid-community/core").CellStyle | import("@ag-grid-community/core").CellStyleFunc<any> | import("ag-grid-community").CellStyleFunc<any, any, any>;
|
|
850
|
+
cellClass?: string | string[] | import("@ag-grid-community/core").CellClassFunc<any> | import("ag-grid-community").CellClassFunc<any, any, any>;
|
|
851
|
+
cellClassRules?: import("@ag-grid-community/core").CellClassRules<any> | import("ag-grid-community").CellClassRules<any, any, any>;
|
|
852
|
+
cellRenderer?: any;
|
|
853
|
+
cellRendererFramework?: any;
|
|
854
|
+
cellRendererParams?: any;
|
|
855
|
+
cellRendererSelector?: import("@ag-grid-community/core").CellRendererSelectorFunc<any> | import("ag-grid-community").CellRendererSelectorFunc<any, any, any>;
|
|
856
|
+
autoHeight?: boolean;
|
|
857
|
+
wrapText?: boolean;
|
|
858
|
+
enableCellChangeFlash?: boolean;
|
|
859
|
+
suppressCellFlash?: boolean;
|
|
860
|
+
rowDrag?: boolean | import("@ag-grid-community/core").RowDragCallback<any> | import("ag-grid-community").RowDragCallback<any, any, any>;
|
|
861
|
+
rowDragText?: import("ag-grid-community").RowDragTextFunc | ((params: import("@ag-grid-community/core").IRowDragItem, dragItemCount: number) => string);
|
|
862
|
+
dndSource?: boolean | import("@ag-grid-community/core").DndSourceCallback<any> | import("ag-grid-community").DndSourceCallback<any, any, any>;
|
|
863
|
+
dndSourceOnRowDrag?: ((params: import("@ag-grid-community/core").DndSourceOnRowDragParams<any>) => void) | import("ag-grid-community").DndSourceOnRowDragFunc<any, any>;
|
|
864
|
+
rowGroup?: boolean | null;
|
|
865
|
+
initialRowGroup?: boolean;
|
|
866
|
+
rowGroupIndex?: number | null;
|
|
867
|
+
initialRowGroupIndex?: number;
|
|
868
|
+
enableRowGroup?: boolean;
|
|
869
|
+
enableValue?: boolean;
|
|
870
|
+
aggFunc?: string | import("@ag-grid-community/core").IAggFunc<any, any> | import("ag-grid-community").IAggFunc<any, any, any>;
|
|
871
|
+
initialAggFunc?: string | import("@ag-grid-community/core").IAggFunc<any, any> | import("ag-grid-community").IAggFunc<any, any, any>;
|
|
872
|
+
defaultAggFunc?: string;
|
|
873
|
+
allowedAggFuncs?: string[];
|
|
874
|
+
showRowGroup?: string | boolean;
|
|
875
|
+
sortable?: boolean;
|
|
876
|
+
sort?: "asc" | "desc" | import("ag-grid-community").SortDef;
|
|
877
|
+
initialSort?: "asc" | "desc" | import("ag-grid-community").SortDef;
|
|
878
|
+
sortIndex?: number | null;
|
|
879
|
+
initialSortIndex?: number;
|
|
880
|
+
sortingOrder?: (import("ag-grid-community").SortDirection | import("ag-grid-community").SortDef)[];
|
|
881
|
+
comparator?: ((valueA: any, valueB: any, nodeA: import("@ag-grid-community/core").IRowNode<any>, nodeB: import("@ag-grid-community/core").IRowNode<any>, isDescending: boolean) => number) | import("ag-grid-community").SortComparatorFn<any, any> | Partial<Record<import("ag-grid-community").SortType, import("ag-grid-community").SortComparatorFn<any, any>>>;
|
|
882
|
+
unSortIcon?: boolean;
|
|
883
|
+
colSpan?: ((params: import("@ag-grid-community/core").ColSpanParams<any>) => number) | import("ag-grid-community").ColSpanFunc<any, any, any>;
|
|
884
|
+
rowSpan?: ((params: import("@ag-grid-community/core").RowSpanParams<any>) => number) | import("ag-grid-community").RowSpanFunc<any, any, any>;
|
|
885
|
+
width?: number;
|
|
886
|
+
initialWidth?: number;
|
|
887
|
+
minWidth?: number;
|
|
888
|
+
maxWidth?: number;
|
|
889
|
+
flex?: number | null;
|
|
890
|
+
initialFlex?: number;
|
|
891
|
+
resizable?: boolean;
|
|
892
|
+
suppressSizeToFit?: boolean;
|
|
893
|
+
suppressAutoSize?: boolean;
|
|
894
|
+
pivotValueColumn?: import("@ag-grid-community/core").Column | import("ag-grid-community").Column<any>;
|
|
895
|
+
pivotTotalColumnIds?: string[];
|
|
896
|
+
spanHeaderHeight?: boolean;
|
|
897
|
+
headerName?: string;
|
|
898
|
+
headerValueGetter?: string | import("@ag-grid-community/core").HeaderValueGetterFunc<any> | import("ag-grid-community").HeaderValueGetterFunc<any, any, any>;
|
|
899
|
+
headerTooltip?: string;
|
|
900
|
+
headerClass?: string | string[] | ((params: import("@ag-grid-community/core").HeaderClassParams<any>) => string | string[] | undefined) | ((params: import("ag-grid-community").HeaderClassParams<any, any, any>) => string | string[] | undefined);
|
|
901
|
+
suppressHeaderKeyboardEvent?: ((params: import("@ag-grid-community/core").SuppressHeaderKeyboardEventParams<any>) => boolean) | import("ag-grid-community").SuppressHeaderKeyboardEventFunc<any, any, any>;
|
|
902
|
+
columnGroupShow?: "open" | "closed";
|
|
903
|
+
toolPanelClass?: string | string[] | ((params: import("@ag-grid-community/core").ToolPanelClassParams<any>) => string | string[] | undefined) | ((params: import("ag-grid-community").ToolPanelClassParams<any, any, any>) => string | string[] | undefined);
|
|
904
|
+
suppressColumnsToolPanel?: boolean;
|
|
905
|
+
suppressFiltersToolPanel?: boolean;
|
|
906
|
+
tooltipComponent?: any;
|
|
907
|
+
tooltipComponentFramework?: any;
|
|
908
|
+
tooltipComponentParams?: any;
|
|
909
|
+
pivotKeys?: string[];
|
|
910
|
+
filter?: any;
|
|
911
|
+
filterFramework?: any;
|
|
912
|
+
filterParams?: any;
|
|
913
|
+
floatingFilterComponent?: any;
|
|
914
|
+
floatingFilterComponentFramework?: any;
|
|
915
|
+
floatingFilterComponentParams?: any;
|
|
916
|
+
cellDataType?: boolean | string;
|
|
917
|
+
allowFormula?: boolean;
|
|
918
|
+
calculatedExpression?: string;
|
|
919
|
+
tooltipComponentSelector?: import("ag-grid-community").CellEditorSelectorFunc | import("ag-grid-community").CellRendererSelectorFunc;
|
|
920
|
+
suppressNoteActions?: boolean | import("ag-grid-community").SuppressNoteActionsCallback<any, any, any>;
|
|
921
|
+
useValueFormatterForExport?: boolean;
|
|
922
|
+
groupRowEditable?: boolean | import("ag-grid-community").GroupRowEditableCallback<any, any>;
|
|
923
|
+
groupRowValueSetter?: boolean | import("ag-grid-community").GroupRowValueSetterFunc<any, any> | import("ag-grid-community").GroupRowValueSetterOptions<any, any, any>;
|
|
924
|
+
useValueParserForImport?: boolean;
|
|
925
|
+
suppressFloatingFilterButton?: boolean;
|
|
926
|
+
dateComponent?: any;
|
|
927
|
+
dateComponentParams?: any;
|
|
928
|
+
getFindText?: import("ag-grid-community").GetFindTextFunc<any, any, any>;
|
|
929
|
+
columnChooserParams?: import("ag-grid-community").ColumnChooserParams;
|
|
930
|
+
suppressHeaderMenuButton?: boolean;
|
|
931
|
+
suppressHeaderFilterButton?: boolean;
|
|
932
|
+
mainMenuItems?: (import("ag-grid-community").MenuItemDef<any, any> | import("ag-grid-community").DefaultMenuItem)[] | import("ag-grid-community").GetMainMenuItems<any>;
|
|
933
|
+
contextMenuItems?: (import("ag-grid-community").MenuItemDef<any, any> | import("ag-grid-community").DefaultMenuItem)[] | import("ag-grid-community").GetContextMenuItems<any>;
|
|
934
|
+
loadingCellRenderer?: any;
|
|
935
|
+
loadingCellRendererParams?: any;
|
|
936
|
+
loadingCellRendererSelector?: import("ag-grid-community").ILoadingCellRendererSelectorFunc<any, any, any>;
|
|
937
|
+
valueIndex?: number;
|
|
938
|
+
initialValueIndex?: number;
|
|
939
|
+
showValuesAs?: import("ag-grid-community").ShowValuesAsType | import("ag-grid-community").ShowValuesAs | null;
|
|
940
|
+
initialShowValuesAs?: import("ag-grid-community").ShowValuesAsType | import("ag-grid-community").ShowValuesAs;
|
|
941
|
+
showValuesAsDef?: import("ag-grid-community").ShowValuesAsDef<any, any>;
|
|
942
|
+
enableShowValuesAs?: boolean;
|
|
943
|
+
rowGroupingHierarchy?: (string | ColDef<any, any>)[];
|
|
944
|
+
groupHierarchy?: (string | ColDef<any, any>)[];
|
|
945
|
+
spanRows?: boolean | import("ag-grid-community").SpanRowsFunc<any, any, any>;
|
|
946
|
+
suppressSpanHeaderHeight?: boolean;
|
|
947
|
+
headerTooltipValueGetter?: import("ag-grid-community").HeaderTooltipValueGetterFunc<any, any, any>;
|
|
948
|
+
headerStyle?: import("ag-grid-community").HeaderStyle | import("ag-grid-community").HeaderStyleFunc<any, any, any>;
|
|
949
|
+
cellAriaRole?: string;
|
|
950
|
+
context?: any;
|
|
951
|
+
suppressHeaderContextMenu?: boolean;
|
|
952
|
+
})[]>;
|
|
808
953
|
private panelExists;
|
|
809
954
|
private addRowCountPanel;
|
|
810
955
|
private addMaxRowsPanel;
|
|
811
956
|
private addAggregationPanel;
|
|
812
957
|
private addDatasourcePanels;
|
|
813
958
|
protected setupStatusBar(gridOptions: GridOptions): void;
|
|
814
|
-
/**
|
|
815
|
-
* Handles column sizing based on sizeColumnsToContent and sizeColumnsToFit attributes
|
|
816
|
-
* @private
|
|
817
|
-
*/
|
|
818
|
-
private handleColumnSizing;
|
|
819
|
-
/**
|
|
820
|
-
* Handles when both sizeColumnsToContent and sizeColumnsToFit are enabled
|
|
821
|
-
* @private
|
|
822
|
-
*/
|
|
823
|
-
private handleBothSizingModes;
|
|
824
|
-
/**
|
|
825
|
-
* Handles individual sizing modes when only one is enabled
|
|
826
|
-
* @private
|
|
827
|
-
*/
|
|
828
|
-
private handleIndividualSizingModes;
|
|
829
|
-
/**
|
|
830
|
-
* Calculates the total width of all columns
|
|
831
|
-
* @private
|
|
832
|
-
*/
|
|
833
|
-
private calculateTotalColumnWidth;
|
|
834
|
-
/**
|
|
835
|
-
* Invalidates the cached column width calculation
|
|
836
|
-
* @private
|
|
837
|
-
* @remarks This method is called automatically when column changes occur (resize, move, pin, etc.)
|
|
838
|
-
* to ensure the cached width calculation remains accurate.
|
|
839
|
-
*/
|
|
840
|
-
private invalidateColumnWidthCache;
|
|
841
|
-
/**
|
|
842
|
-
* Gets the available grid width with fallbacks
|
|
843
|
-
* @private
|
|
844
|
-
*/
|
|
845
|
-
private getGridWidth;
|
|
846
959
|
get observedAttributes(): string[];
|
|
847
960
|
agAttributeChangedCallback(attName: any, oldValue: any, newValue: any): void;
|
|
848
961
|
globalEventListener(eventType: any, event: any): void;
|
|
849
|
-
private fontFaceDestroy;
|
|
850
|
-
private insertFontFace;
|
|
851
|
-
private destroyFontFace;
|
|
852
962
|
}
|
|
853
|
-
/**
|
|
854
|
-
* GridPro shadow root options.
|
|
855
|
-
* @public
|
|
856
|
-
* @remarks
|
|
857
|
-
* For extensibility, this can be used to set the shadow root mode and delegatesFocus
|
|
858
|
-
*/
|
|
859
|
-
export declare const foundationGridProShadowOptions: ShadowRootInit;
|
|
860
|
-
/**
|
|
861
|
-
* Grid Pro default configuration.
|
|
862
|
-
* @public
|
|
863
|
-
*/
|
|
864
|
-
export declare const defaultGridProConfig: {
|
|
865
|
-
shadowOptions: any;
|
|
866
|
-
};
|
|
867
963
|
/**
|
|
868
964
|
* A function that returns a Foundation Grid Pro registration for configuring the component with a DesignSystem.
|
|
869
965
|
*
|
|
@@ -874,12 +970,13 @@ export declare const defaultGridProConfig: {
|
|
|
874
970
|
export declare const foundationGridPro: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
875
971
|
shadowOptions: any;
|
|
876
972
|
baseName: string;
|
|
877
|
-
styles: import("@microsoft/fast-element").ElementStyles;
|
|
878
973
|
template: ViewTemplate<any, any>;
|
|
974
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
879
975
|
}>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
880
976
|
shadowOptions: any;
|
|
881
977
|
baseName: string;
|
|
882
|
-
styles: import("@microsoft/fast-element").ElementStyles;
|
|
883
978
|
template: ViewTemplate<any, any>;
|
|
979
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
884
980
|
}, typeof GridPro>;
|
|
981
|
+
export {};
|
|
885
982
|
//# sourceMappingURL=grid-pro.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-p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ED;;;;OAIG;IACH,IAAI,iBAAiB,IAAI,qBAAqB,CAO7C;IAED;;OAEG;IACH,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IAED;;;;OAIG;IACH,OAAO,CAAC,8BAA8B;IAgBtC,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EA6KnC;IAED,OAAO,CAAC,mBAAmB;IAe3B;;;OAGG;IACH,qBAAqB;IAIrB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,QAAQ;IAuBhB;;;;;;;;OAQG;IACG,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6HzF,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,gBAAgB;IAgCxB,OAAO,CAAC,eAAe;IAgBvB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,mBAAmB;IAiB3B,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,WAAW;IA4BjD,IAAI,kBAAkB,aAWrB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAkBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;CAgBrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAwC5B,CAAC"}
|
|
@@ -81,4 +81,18 @@ export declare const AG_BOOLEAN_PROPERTIES: readonly ["suppressMakeColumnVisible
|
|
|
81
81
|
* @internal
|
|
82
82
|
*/
|
|
83
83
|
export declare function copyAttributesToGridOptions(gridOptions: any, component: Record<string, any>): any;
|
|
84
|
+
/**
|
|
85
|
+
* Grid Pro shadow root options.
|
|
86
|
+
* @public
|
|
87
|
+
* @remarks
|
|
88
|
+
* For extensibility, this can be used to set the shadow root mode and delegatesFocus
|
|
89
|
+
*/
|
|
90
|
+
export declare const foundationGridProShadowOptions: ShadowRootInit;
|
|
91
|
+
/**
|
|
92
|
+
* Grid Pro default configuration.
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare const defaultGridProConfig: {
|
|
96
|
+
shadowOptions: any;
|
|
97
|
+
};
|
|
84
98
|
//# sourceMappingURL=grid-pro.definitions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.definitions.d.ts","sourceRoot":"","sources":["../../src/grid-pro.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,aAAa,EACpB,UAAU,EAAE,MAAM,GACjB,MAAM,CAAC,cAAc,CAAC,GAAG,SAAS,CAwBpC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAS1D;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,GAAG,GAAG,CAEvE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,GAAG,GAAG,CAE3E;AAKD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMrD;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;CAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB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;;;;GAIG;AACH,eAAO,MAAM,aAAa,UAsSzB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,2oBA8BvB,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,0jHA+IxB,CAAC;AA2BX;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,CAqCjG;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.template.d.ts","sourceRoot":"","sources":["../../src/grid-pro.template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"grid-pro.template.d.ts","sourceRoot":"","sources":["../../src/grid-pro.template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,eAAqB,+BA2BvD,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,YAAmC,CAAC"}
|
|
@@ -164,8 +164,8 @@ export declare const GRID_READY_EVENT = "onGridReady";
|
|
|
164
164
|
/**
|
|
165
165
|
* Event detail for the `gridReady`/`onGridReady` signals.
|
|
166
166
|
* @public
|
|
167
|
-
* @remarks Only accurate for {@link @genesislcap/grid-pro#
|
|
168
|
-
* `ag-grid-community` (v36). {@link @genesislcap/grid-pro#
|
|
167
|
+
* @remarks Only accurate for {@link @genesislcap/grid-pro#GridPro}, which is built on
|
|
168
|
+
* `ag-grid-community` (v36). {@link @genesislcap/grid-pro#GridProLegacy} fires the same event names
|
|
169
169
|
* but its `event` field is a `@ag-grid-community/core` (v29) `GridReadyEvent`.
|
|
170
170
|
*/
|
|
171
171
|
export interface GridReadyEventDetail {
|