@genesislcap/grid-pro 15.72.0 → 15.73.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.
@@ -7315,6 +7315,57 @@
7315
7315
  "endIndex": 0
7316
7316
  }
7317
7317
  },
7318
+ {
7319
+ "kind": "Function",
7320
+ "canonicalReference": "@genesislcap/grid-pro!defaultGridContextMenuItems:function(1)",
7321
+ "docComment": "/**\n * A CSV Export item, using AG Grid's community CSV export. Assign it to `contextMenuItems` as the whole menu, or spread its result into a menu of your own. Empty when the grid sets `suppressCsvExport`.\n *\n * @public\n */\n",
7322
+ "excerptTokens": [
7323
+ {
7324
+ "kind": "Content",
7325
+ "text": "export declare function defaultGridContextMenuItems(event: "
7326
+ },
7327
+ {
7328
+ "kind": "Reference",
7329
+ "text": "CellContextMenuEvent",
7330
+ "canonicalReference": "ag-grid-community!CellContextMenuEvent:interface"
7331
+ },
7332
+ {
7333
+ "kind": "Content",
7334
+ "text": "): "
7335
+ },
7336
+ {
7337
+ "kind": "Reference",
7338
+ "text": "GridProContextMenuItem",
7339
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem:interface"
7340
+ },
7341
+ {
7342
+ "kind": "Content",
7343
+ "text": "[]"
7344
+ },
7345
+ {
7346
+ "kind": "Content",
7347
+ "text": ";"
7348
+ }
7349
+ ],
7350
+ "fileUrlPath": "src/context-menu/context-menu.ts",
7351
+ "returnTypeTokenRange": {
7352
+ "startIndex": 3,
7353
+ "endIndex": 5
7354
+ },
7355
+ "releaseTag": "Public",
7356
+ "overloadIndex": 1,
7357
+ "parameters": [
7358
+ {
7359
+ "parameterName": "event",
7360
+ "parameterTypeTokenRange": {
7361
+ "startIndex": 1,
7362
+ "endIndex": 2
7363
+ },
7364
+ "isOptional": false
7365
+ }
7366
+ ],
7367
+ "name": "defaultGridContextMenuItems"
7368
+ },
7318
7369
  {
7319
7370
  "kind": "Variable",
7320
7371
  "canonicalReference": "@genesislcap/grid-pro!defaultGridOptionsConfig:var",
@@ -16405,6 +16456,68 @@
16405
16456
  "isAbstract": false,
16406
16457
  "name": "connectedCallback"
16407
16458
  },
16459
+ {
16460
+ "kind": "Property",
16461
+ "canonicalReference": "@genesislcap/grid-pro!GridPro#contextMenuItems:member",
16462
+ "docComment": "/**\n * Opts the grid into its own right-click menu, built from these items for each cell. It needs no AG Grid Enterprise module, and replaces AG Grid's context menu while set. Assign {@link defaultGridContextMenuItems} for a CSV Export menu, or return an empty list to show the browser's menu for that cell.\n *\n * Unset, right-click is left alone: AG Grid's menu when its `ContextMenu` module is registered, otherwise the browser's.\n *\n * @public\n */\n",
16463
+ "excerptTokens": [
16464
+ {
16465
+ "kind": "Content",
16466
+ "text": "contextMenuItems?: "
16467
+ },
16468
+ {
16469
+ "kind": "Reference",
16470
+ "text": "GridProContextMenuItems",
16471
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItems:type"
16472
+ },
16473
+ {
16474
+ "kind": "Content",
16475
+ "text": ";"
16476
+ }
16477
+ ],
16478
+ "isReadonly": false,
16479
+ "isOptional": true,
16480
+ "releaseTag": "Public",
16481
+ "name": "contextMenuItems",
16482
+ "propertyTypeTokenRange": {
16483
+ "startIndex": 1,
16484
+ "endIndex": 2
16485
+ },
16486
+ "isStatic": false,
16487
+ "isProtected": false,
16488
+ "isAbstract": false
16489
+ },
16490
+ {
16491
+ "kind": "Method",
16492
+ "canonicalReference": "@genesislcap/grid-pro!GridPro#contextMenuItemsChanged:member(1)",
16493
+ "docComment": "",
16494
+ "excerptTokens": [
16495
+ {
16496
+ "kind": "Content",
16497
+ "text": "contextMenuItemsChanged(): "
16498
+ },
16499
+ {
16500
+ "kind": "Content",
16501
+ "text": "void"
16502
+ },
16503
+ {
16504
+ "kind": "Content",
16505
+ "text": ";"
16506
+ }
16507
+ ],
16508
+ "isStatic": false,
16509
+ "returnTypeTokenRange": {
16510
+ "startIndex": 1,
16511
+ "endIndex": 2
16512
+ },
16513
+ "releaseTag": "Public",
16514
+ "isProtected": false,
16515
+ "overloadIndex": 1,
16516
+ "parameters": [],
16517
+ "isOptional": false,
16518
+ "isAbstract": false,
16519
+ "name": "contextMenuItemsChanged"
16520
+ },
16408
16521
  {
16409
16522
  "kind": "Property",
16410
16523
  "canonicalReference": "@genesislcap/grid-pro!GridPro#customErrorHandlerTemplate:member",
@@ -17765,7 +17878,7 @@
17765
17878
  },
17766
17879
  {
17767
17880
  "kind": "Content",
17768
- "text": "<any, any>) => void) | ((event: import(\"ag-grid-community\")."
17881
+ "text": "<any, any>) => void) | ((event: "
17769
17882
  },
17770
17883
  {
17771
17884
  "kind": "Reference",
@@ -21231,6 +21344,293 @@
21231
21344
  "endIndex": 3
21232
21345
  }
21233
21346
  },
21347
+ {
21348
+ "kind": "TypeAlias",
21349
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuEntry:type",
21350
+ "docComment": "/**\n * An item, or `'separator'` for a dividing line between groups of items.\n *\n * @public\n */\n",
21351
+ "excerptTokens": [
21352
+ {
21353
+ "kind": "Content",
21354
+ "text": "export type GridProContextMenuEntry = "
21355
+ },
21356
+ {
21357
+ "kind": "Reference",
21358
+ "text": "GridProContextMenuItem",
21359
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem:interface"
21360
+ },
21361
+ {
21362
+ "kind": "Content",
21363
+ "text": " | 'separator'"
21364
+ },
21365
+ {
21366
+ "kind": "Content",
21367
+ "text": ";"
21368
+ }
21369
+ ],
21370
+ "fileUrlPath": "src/context-menu/context-menu.ts",
21371
+ "releaseTag": "Public",
21372
+ "name": "GridProContextMenuEntry",
21373
+ "typeTokenRange": {
21374
+ "startIndex": 1,
21375
+ "endIndex": 3
21376
+ }
21377
+ },
21378
+ {
21379
+ "kind": "Interface",
21380
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem:interface",
21381
+ "docComment": "/**\n * One entry in grid-pro's right-click menu.\n *\n * @public\n */\n",
21382
+ "excerptTokens": [
21383
+ {
21384
+ "kind": "Content",
21385
+ "text": "export interface GridProContextMenuItem "
21386
+ }
21387
+ ],
21388
+ "fileUrlPath": "src/context-menu/context-menu.ts",
21389
+ "releaseTag": "Public",
21390
+ "name": "GridProContextMenuItem",
21391
+ "preserveMemberOrder": false,
21392
+ "members": [
21393
+ {
21394
+ "kind": "PropertySignature",
21395
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#action:member",
21396
+ "docComment": "",
21397
+ "excerptTokens": [
21398
+ {
21399
+ "kind": "Content",
21400
+ "text": "action?: "
21401
+ },
21402
+ {
21403
+ "kind": "Content",
21404
+ "text": "() => void"
21405
+ },
21406
+ {
21407
+ "kind": "Content",
21408
+ "text": ";"
21409
+ }
21410
+ ],
21411
+ "isReadonly": false,
21412
+ "isOptional": true,
21413
+ "releaseTag": "Public",
21414
+ "name": "action",
21415
+ "propertyTypeTokenRange": {
21416
+ "startIndex": 1,
21417
+ "endIndex": 2
21418
+ }
21419
+ },
21420
+ {
21421
+ "kind": "PropertySignature",
21422
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#checked:member",
21423
+ "docComment": "/**\n * Set to `true` or `false` to make the item a checkbox; leave unset for a plain item.\n */\n",
21424
+ "excerptTokens": [
21425
+ {
21426
+ "kind": "Content",
21427
+ "text": "checked?: "
21428
+ },
21429
+ {
21430
+ "kind": "Content",
21431
+ "text": "boolean"
21432
+ },
21433
+ {
21434
+ "kind": "Content",
21435
+ "text": ";"
21436
+ }
21437
+ ],
21438
+ "isReadonly": false,
21439
+ "isOptional": true,
21440
+ "releaseTag": "Public",
21441
+ "name": "checked",
21442
+ "propertyTypeTokenRange": {
21443
+ "startIndex": 1,
21444
+ "endIndex": 2
21445
+ }
21446
+ },
21447
+ {
21448
+ "kind": "PropertySignature",
21449
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#disabled:member",
21450
+ "docComment": "",
21451
+ "excerptTokens": [
21452
+ {
21453
+ "kind": "Content",
21454
+ "text": "disabled?: "
21455
+ },
21456
+ {
21457
+ "kind": "Content",
21458
+ "text": "boolean"
21459
+ },
21460
+ {
21461
+ "kind": "Content",
21462
+ "text": ";"
21463
+ }
21464
+ ],
21465
+ "isReadonly": false,
21466
+ "isOptional": true,
21467
+ "releaseTag": "Public",
21468
+ "name": "disabled",
21469
+ "propertyTypeTokenRange": {
21470
+ "startIndex": 1,
21471
+ "endIndex": 2
21472
+ }
21473
+ },
21474
+ {
21475
+ "kind": "PropertySignature",
21476
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#name:member",
21477
+ "docComment": "",
21478
+ "excerptTokens": [
21479
+ {
21480
+ "kind": "Content",
21481
+ "text": "name: "
21482
+ },
21483
+ {
21484
+ "kind": "Content",
21485
+ "text": "string"
21486
+ },
21487
+ {
21488
+ "kind": "Content",
21489
+ "text": ";"
21490
+ }
21491
+ ],
21492
+ "isReadonly": false,
21493
+ "isOptional": false,
21494
+ "releaseTag": "Public",
21495
+ "name": "name",
21496
+ "propertyTypeTokenRange": {
21497
+ "startIndex": 1,
21498
+ "endIndex": 2
21499
+ }
21500
+ },
21501
+ {
21502
+ "kind": "PropertySignature",
21503
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#shortcut:member",
21504
+ "docComment": "/**\n * Drawn to the right of the name, for example a key combination.\n */\n",
21505
+ "excerptTokens": [
21506
+ {
21507
+ "kind": "Content",
21508
+ "text": "shortcut?: "
21509
+ },
21510
+ {
21511
+ "kind": "Content",
21512
+ "text": "string"
21513
+ },
21514
+ {
21515
+ "kind": "Content",
21516
+ "text": ";"
21517
+ }
21518
+ ],
21519
+ "isReadonly": false,
21520
+ "isOptional": true,
21521
+ "releaseTag": "Public",
21522
+ "name": "shortcut",
21523
+ "propertyTypeTokenRange": {
21524
+ "startIndex": 1,
21525
+ "endIndex": 2
21526
+ }
21527
+ },
21528
+ {
21529
+ "kind": "PropertySignature",
21530
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#subMenu:member",
21531
+ "docComment": "",
21532
+ "excerptTokens": [
21533
+ {
21534
+ "kind": "Content",
21535
+ "text": "subMenu?: "
21536
+ },
21537
+ {
21538
+ "kind": "Reference",
21539
+ "text": "GridProContextMenuEntry",
21540
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuEntry:type"
21541
+ },
21542
+ {
21543
+ "kind": "Content",
21544
+ "text": "[]"
21545
+ },
21546
+ {
21547
+ "kind": "Content",
21548
+ "text": ";"
21549
+ }
21550
+ ],
21551
+ "isReadonly": false,
21552
+ "isOptional": true,
21553
+ "releaseTag": "Public",
21554
+ "name": "subMenu",
21555
+ "propertyTypeTokenRange": {
21556
+ "startIndex": 1,
21557
+ "endIndex": 3
21558
+ }
21559
+ },
21560
+ {
21561
+ "kind": "PropertySignature",
21562
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#tooltip:member",
21563
+ "docComment": "/**\n * Shown on hover, including while the item is disabled — say why it cannot be chosen.\n */\n",
21564
+ "excerptTokens": [
21565
+ {
21566
+ "kind": "Content",
21567
+ "text": "tooltip?: "
21568
+ },
21569
+ {
21570
+ "kind": "Content",
21571
+ "text": "string"
21572
+ },
21573
+ {
21574
+ "kind": "Content",
21575
+ "text": ";"
21576
+ }
21577
+ ],
21578
+ "isReadonly": false,
21579
+ "isOptional": true,
21580
+ "releaseTag": "Public",
21581
+ "name": "tooltip",
21582
+ "propertyTypeTokenRange": {
21583
+ "startIndex": 1,
21584
+ "endIndex": 2
21585
+ }
21586
+ }
21587
+ ],
21588
+ "extendsTokenRanges": []
21589
+ },
21590
+ {
21591
+ "kind": "TypeAlias",
21592
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItems:type",
21593
+ "docComment": "/**\n * Builds the right-click menu for one cell. Return an empty list to show the browser's menu.\n *\n * @public\n */\n",
21594
+ "excerptTokens": [
21595
+ {
21596
+ "kind": "Content",
21597
+ "text": "export type GridProContextMenuItems = "
21598
+ },
21599
+ {
21600
+ "kind": "Content",
21601
+ "text": "(event: "
21602
+ },
21603
+ {
21604
+ "kind": "Reference",
21605
+ "text": "CellContextMenuEvent",
21606
+ "canonicalReference": "ag-grid-community!CellContextMenuEvent:interface"
21607
+ },
21608
+ {
21609
+ "kind": "Content",
21610
+ "text": ") => "
21611
+ },
21612
+ {
21613
+ "kind": "Reference",
21614
+ "text": "GridProContextMenuEntry",
21615
+ "canonicalReference": "@genesislcap/grid-pro!GridProContextMenuEntry:type"
21616
+ },
21617
+ {
21618
+ "kind": "Content",
21619
+ "text": "[]"
21620
+ },
21621
+ {
21622
+ "kind": "Content",
21623
+ "text": ";"
21624
+ }
21625
+ ],
21626
+ "fileUrlPath": "src/context-menu/context-menu.ts",
21627
+ "releaseTag": "Public",
21628
+ "name": "GridProContextMenuItems",
21629
+ "typeTokenRange": {
21630
+ "startIndex": 1,
21631
+ "endIndex": 6
21632
+ }
21633
+ },
21234
21634
  {
21235
21635
  "kind": "TypeAlias",
21236
21636
  "canonicalReference": "@genesislcap/grid-pro!GridProErrorEvent:type",
@@ -8,8 +8,8 @@ import { CellClassRules } from '@ag-grid-community/core';
8
8
  import { CellClassRules as CellClassRules_2 } from 'ag-grid-community';
9
9
  import { CellClickedEvent } from '@ag-grid-community/core';
10
10
  import { CellClickedEvent as CellClickedEvent_2 } from 'ag-grid-community';
11
- import { CellContextMenuEvent } from '@ag-grid-community/core';
12
- import { CellContextMenuEvent as CellContextMenuEvent_2 } from 'ag-grid-community';
11
+ import type { CellContextMenuEvent } from 'ag-grid-community';
12
+ import { CellContextMenuEvent as CellContextMenuEvent_2 } from '@ag-grid-community/core';
13
13
  import { CellDoubleClickedEvent } from '@ag-grid-community/core';
14
14
  import { CellDoubleClickedEvent as CellDoubleClickedEvent_2 } from 'ag-grid-community';
15
15
  import { CellEditorSelectorFunc } from '@ag-grid-community/core';
@@ -1653,6 +1653,15 @@ export declare const DEFAULT_STATUS_BAR_CONFIG: GridProStatusBarConfig;
1653
1653
  */
1654
1654
  export declare const defaultAgGridFontFace = "\n @font-face {\n font-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/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n";
1655
1655
 
1656
+ /**
1657
+ * A CSV Export item, using AG Grid's community CSV export. Assign it to `contextMenuItems` as the
1658
+ * whole menu, or spread its result into a menu of your own. Empty when the grid sets
1659
+ * `suppressCsvExport`.
1660
+ *
1661
+ * @public
1662
+ */
1663
+ export declare function defaultGridContextMenuItems(event: CellContextMenuEvent): GridProContextMenuItem[];
1664
+
1656
1665
  /**
1657
1666
  * Default grid options
1658
1667
  * @public
@@ -3742,6 +3751,23 @@ export declare class GridPro extends GridPro_base {
3742
3751
  * @internal
3743
3752
  */
3744
3753
  get statusBar(): GridProStatusBar | undefined;
3754
+ /**
3755
+ * Opts the grid into its own right-click menu, built from these items for each cell. It needs no
3756
+ * AG Grid Enterprise module, and replaces AG Grid's context menu while set. Assign
3757
+ * {@link defaultGridContextMenuItems} for a CSV Export menu, or return an empty list to show the
3758
+ * browser's menu for that cell.
3759
+ *
3760
+ * Unset, right-click is left alone: AG Grid's menu when its `ContextMenu` module is registered,
3761
+ * otherwise the browser's.
3762
+ *
3763
+ * @public
3764
+ */
3765
+ contextMenuItems?: GridProContextMenuItems;
3766
+ contextMenuItemsChanged(): void;
3767
+ /** Removes the open right-click menu, if there is one. */
3768
+ private closeContextMenu?;
3769
+ /** Whether the AG grid instance was created with its own context menu suppressed. */
3770
+ private gridCreatedWithMenuSuppressed;
3745
3771
  /**
3746
3772
  * Shows a Columns side panel on the trailing edge of the grid.
3747
3773
  * @public
@@ -3775,6 +3801,11 @@ export declare class GridPro extends GridPro_base {
3775
3801
  private luminanceSubscription?;
3776
3802
  private visibilityObserverCleanup?;
3777
3803
  private readonly boundGlobalEventListener;
3804
+ /**
3805
+ * `globalListener` runs on a timeout, which is too late to cancel the browser menu.
3806
+ * This one runs inside the right-click event.
3807
+ */
3808
+ private readonly boundContextMenuListener;
3778
3809
  private _filterConfig;
3779
3810
  getfilterModel(): Promise<{
3780
3811
  [key: string]: any;
@@ -4117,7 +4148,7 @@ export declare class GridPro extends GridPro_base {
4117
4148
  onCellValueChanged?: ((event: NewValueParams<any>) => void) | ((event: NewValueParams_2<any, any, any>) => void);
4118
4149
  onCellClicked?: ((event: CellClickedEvent<any, any>) => void) | ((event: CellClickedEvent_2<any, any, any>) => void);
4119
4150
  onCellDoubleClicked?: ((event: CellDoubleClickedEvent<any, any>) => void) | ((event: CellDoubleClickedEvent_2<any, any, any>) => void);
4120
- onCellContextMenu?: ((event: CellContextMenuEvent<any, any>) => void) | ((event: CellContextMenuEvent_2<any, any, any>) => void);
4151
+ onCellContextMenu?: ((event: CellContextMenuEvent_2<any, any>) => void) | ((event: CellContextMenuEvent<any, any, any>) => void);
4121
4152
  getQuickFilterText?: ((params: GetQuickFilterTextParams<any, any>) => string) | GetQuickFilterText<any, any, any>;
4122
4153
  filterValueGetter?: string | ValueGetterFunc<any> | ValueGetterFunc_2<any, any, any>;
4123
4154
  floatingFilter?: boolean;
@@ -4258,6 +4289,20 @@ export declare class GridPro extends GridPro_base {
4258
4289
  protected setupStatusBar(gridOptions: GridOptions_2): void;
4259
4290
  get observedAttributes(): string[];
4260
4291
  agAttributeChangedCallback(attName: any, oldValue: any, newValue: any): void;
4292
+ /**
4293
+ * AG Grid draws its own menu when `ContextMenu` is registered, so it is suppressed while
4294
+ * `contextMenuItems` is set and the app's own `suppressContextMenu` restored when it is cleared.
4295
+ * The suppression goes to AG Grid only, never into `agGridOptions`: that object is what the
4296
+ * `gridOptions` getter returns, and an app re-applying it would otherwise adopt the setting.
4297
+ * @internal
4298
+ */
4299
+ private syncContextMenuSuppression;
4300
+ /**
4301
+ * Opens the grid's right-click menu for a cell. Called from the synchronous grid listener so
4302
+ * `preventDefault` still cancels the browser menu.
4303
+ * @internal
4304
+ */
4305
+ private showContextMenu;
4261
4306
  globalEventListener(eventType: any, event: any): void;
4262
4307
  }
4263
4308
 
@@ -5245,6 +5290,38 @@ export declare type GridProColumnSelectionHost = ColumnSelectionHost;
5245
5290
  */
5246
5291
  export declare const gridProColumnSelectionHostStyles: ElementStyles;
5247
5292
 
5293
+ /**
5294
+ * An item, or `'separator'` for a dividing line between groups of items.
5295
+ *
5296
+ * @public
5297
+ */
5298
+ export declare type GridProContextMenuEntry = GridProContextMenuItem | 'separator';
5299
+
5300
+ /**
5301
+ * One entry in grid-pro's right-click menu.
5302
+ *
5303
+ * @public
5304
+ */
5305
+ export declare interface GridProContextMenuItem {
5306
+ name: string;
5307
+ /** Drawn to the right of the name, for example a key combination. */
5308
+ shortcut?: string;
5309
+ /** Shown on hover, including while the item is disabled — say why it cannot be chosen. */
5310
+ tooltip?: string;
5311
+ disabled?: boolean;
5312
+ /** Set to `true` or `false` to make the item a checkbox; leave unset for a plain item. */
5313
+ checked?: boolean;
5314
+ action?: () => void;
5315
+ subMenu?: GridProContextMenuEntry[];
5316
+ }
5317
+
5318
+ /**
5319
+ * Builds the right-click menu for one cell. Return an empty list to show the browser's menu.
5320
+ *
5321
+ * @public
5322
+ */
5323
+ export declare type GridProContextMenuItems = (event: CellContextMenuEvent) => GridProContextMenuEntry[];
5324
+
5248
5325
  /**
5249
5326
  * Grid Pro possible error events
5250
5327
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/grid-pro",
3
3
  "description": "Genesis Foundation AG Grid",
4
- "version": "15.72.0",
4
+ "version": "15.73.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -38,19 +38,19 @@
38
38
  }
39
39
  },
40
40
  "devDependencies": {
41
- "@genesislcap/foundation-testing": "15.72.0",
42
- "@genesislcap/genx": "15.72.0",
43
- "@genesislcap/ts-builder": "15.72.0",
44
- "@genesislcap/uvu-playwright-builder": "15.72.0",
45
- "@genesislcap/vite-builder": "15.72.0",
46
- "@genesislcap/webpack-builder": "15.72.0"
41
+ "@genesislcap/foundation-testing": "15.73.0",
42
+ "@genesislcap/genx": "15.73.0",
43
+ "@genesislcap/ts-builder": "15.73.0",
44
+ "@genesislcap/uvu-playwright-builder": "15.73.0",
45
+ "@genesislcap/vite-builder": "15.73.0",
46
+ "@genesislcap/webpack-builder": "15.73.0"
47
47
  },
48
48
  "dependencies": {
49
- "@genesislcap/foundation-comms": "15.72.0",
50
- "@genesislcap/foundation-criteria": "15.72.0",
51
- "@genesislcap/foundation-logger": "15.72.0",
52
- "@genesislcap/foundation-ui": "15.72.0",
53
- "@genesislcap/foundation-utils": "15.72.0",
49
+ "@genesislcap/foundation-comms": "15.73.0",
50
+ "@genesislcap/foundation-criteria": "15.73.0",
51
+ "@genesislcap/foundation-logger": "15.73.0",
52
+ "@genesislcap/foundation-ui": "15.73.0",
53
+ "@genesislcap/foundation-utils": "15.73.0",
54
54
  "@microsoft/fast-colors": "5.3.1",
55
55
  "@microsoft/fast-components": "2.30.6",
56
56
  "@microsoft/fast-element": "1.14.0",