@genesislcap/grid-pro 15.71.0 → 15.72.0-FUI-2629.7
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 +209 -3
- package/dist/dts/cell-renderers/actions-menu.renderer.d.ts +39 -3
- package/dist/dts/cell-renderers/actions-menu.renderer.d.ts.map +1 -1
- package/dist/dts/context-menu/context-menu.d.ts +69 -0
- package/dist/dts/context-menu/context-menu.d.ts.map +1 -0
- package/dist/dts/context-menu/index.d.ts +2 -0
- package/dist/dts/context-menu/index.d.ts.map +1 -0
- package/dist/dts/grid-pro.d.ts +39 -2
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/esm/cell-renderers/actions-menu.renderer.js +61 -2
- package/dist/esm/context-menu/context-menu.js +347 -0
- package/dist/esm/context-menu/index.js +1 -0
- package/dist/esm/grid-pro.js +81 -3
- package/dist/esm/index.js +1 -0
- package/dist/grid-pro.api.json +532 -20
- package/dist/grid-pro.d.ts +120 -6
- package/package.json +12 -12
package/dist/grid-pro.api.json
CHANGED
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
{
|
|
761
761
|
"kind": "Method",
|
|
762
762
|
"canonicalReference": "@genesislcap/grid-pro!ActionsMenuRenderer#refresh:member(1)",
|
|
763
|
-
"docComment": "",
|
|
763
|
+
"docComment": "/**\n * Hands the latest row data to the menu, so per-row actions and disabled states stay current.\n */\n",
|
|
764
764
|
"excerptTokens": [
|
|
765
765
|
{
|
|
766
766
|
"kind": "Content",
|
|
@@ -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",
|
|
@@ -14322,7 +14373,7 @@
|
|
|
14322
14373
|
{
|
|
14323
14374
|
"kind": "Function",
|
|
14324
14375
|
"canonicalReference": "@genesislcap/grid-pro!getActionsMenuDef:function(1)",
|
|
14325
|
-
"docComment": "/**\n * Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer. Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).\n *\n * @param actions - Array of `ActionMenuItem` to be displayed in the menu.\n *\n * @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.\n *\n * @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.\n *\n * @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).\n *\n * @param buttonAppearance - Optional appearance for the button that opens the menu. Default is 'outline'.\n *\n * @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.\n *\n * @example\n * ```ts\n * public exampleActionsMenuDef: ColDef = getActionsMenuDef(\n * [\n * {\n * name: 'View',\n * callback: (rowData) => logger.debug('VIEWW!!!', rowData),\n * },\n * {\n * name: 'Delete',\n * callback: (rowData) => logger.debug('DELETE!!!', rowData),\n * },\n * ],\n * {\n * headerName: 'Instrument Actions',\n * width: 180,\n * },\n * '+',\n * true,\n * 'primary-gradient'\n * );\n * ```\n *\n * @public\n */\n",
|
|
14376
|
+
"docComment": "/**\n * Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer. Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).\n *\n * @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data returning that array (for row-scoped eligibility/permission filtering).\n *\n * @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.\n *\n * @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.\n *\n * @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).\n *\n * @param buttonAppearance - Optional appearance for the button that opens the menu. Default is 'outline'.\n *\n * @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.\n *\n * @example\n * ```ts\n * public exampleActionsMenuDef: ColDef = getActionsMenuDef(\n * [\n * {\n * name: 'View',\n * callback: (rowData) => logger.debug('VIEWW!!!', rowData),\n * },\n * {\n * name: 'Delete',\n * callback: (rowData) => logger.debug('DELETE!!!', rowData),\n * },\n * ],\n * {\n * headerName: 'Instrument Actions',\n * width: 180,\n * },\n * '+',\n * true,\n * 'primary-gradient'\n * );\n * ```\n *\n * @public\n */\n",
|
|
14326
14377
|
"excerptTokens": [
|
|
14327
14378
|
{
|
|
14328
14379
|
"kind": "Content",
|
|
@@ -14330,12 +14381,8 @@
|
|
|
14330
14381
|
},
|
|
14331
14382
|
{
|
|
14332
14383
|
"kind": "Reference",
|
|
14333
|
-
"text": "
|
|
14334
|
-
"canonicalReference": "@genesislcap/foundation-ui!
|
|
14335
|
-
},
|
|
14336
|
-
{
|
|
14337
|
-
"kind": "Content",
|
|
14338
|
-
"text": "[]"
|
|
14384
|
+
"text": "ActionMenuItems",
|
|
14385
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItems:type"
|
|
14339
14386
|
},
|
|
14340
14387
|
{
|
|
14341
14388
|
"kind": "Content",
|
|
@@ -14382,8 +14429,8 @@
|
|
|
14382
14429
|
],
|
|
14383
14430
|
"fileUrlPath": "src/cell-renderers/actions-menu.renderer.ts",
|
|
14384
14431
|
"returnTypeTokenRange": {
|
|
14385
|
-
"startIndex":
|
|
14386
|
-
"endIndex":
|
|
14432
|
+
"startIndex": 11,
|
|
14433
|
+
"endIndex": 12
|
|
14387
14434
|
},
|
|
14388
14435
|
"releaseTag": "Public",
|
|
14389
14436
|
"overloadIndex": 1,
|
|
@@ -14392,39 +14439,39 @@
|
|
|
14392
14439
|
"parameterName": "actions",
|
|
14393
14440
|
"parameterTypeTokenRange": {
|
|
14394
14441
|
"startIndex": 1,
|
|
14395
|
-
"endIndex":
|
|
14442
|
+
"endIndex": 2
|
|
14396
14443
|
},
|
|
14397
14444
|
"isOptional": false
|
|
14398
14445
|
},
|
|
14399
14446
|
{
|
|
14400
14447
|
"parameterName": "overrideDef",
|
|
14401
14448
|
"parameterTypeTokenRange": {
|
|
14402
|
-
"startIndex":
|
|
14403
|
-
"endIndex":
|
|
14449
|
+
"startIndex": 3,
|
|
14450
|
+
"endIndex": 4
|
|
14404
14451
|
},
|
|
14405
14452
|
"isOptional": true
|
|
14406
14453
|
},
|
|
14407
14454
|
{
|
|
14408
14455
|
"parameterName": "customActionsOpenerName",
|
|
14409
14456
|
"parameterTypeTokenRange": {
|
|
14410
|
-
"startIndex":
|
|
14411
|
-
"endIndex":
|
|
14457
|
+
"startIndex": 5,
|
|
14458
|
+
"endIndex": 6
|
|
14412
14459
|
},
|
|
14413
14460
|
"isOptional": true
|
|
14414
14461
|
},
|
|
14415
14462
|
{
|
|
14416
14463
|
"parameterName": "isVertical",
|
|
14417
14464
|
"parameterTypeTokenRange": {
|
|
14418
|
-
"startIndex":
|
|
14419
|
-
"endIndex":
|
|
14465
|
+
"startIndex": 7,
|
|
14466
|
+
"endIndex": 8
|
|
14420
14467
|
},
|
|
14421
14468
|
"isOptional": true
|
|
14422
14469
|
},
|
|
14423
14470
|
{
|
|
14424
14471
|
"parameterName": "buttonAppearance",
|
|
14425
14472
|
"parameterTypeTokenRange": {
|
|
14426
|
-
"startIndex":
|
|
14427
|
-
"endIndex":
|
|
14473
|
+
"startIndex": 9,
|
|
14474
|
+
"endIndex": 10
|
|
14428
14475
|
},
|
|
14429
14476
|
"isOptional": true
|
|
14430
14477
|
}
|
|
@@ -15678,6 +15725,122 @@
|
|
|
15678
15725
|
],
|
|
15679
15726
|
"name": "getTextRendererTemplate"
|
|
15680
15727
|
},
|
|
15728
|
+
{
|
|
15729
|
+
"kind": "Function",
|
|
15730
|
+
"canonicalReference": "@genesislcap/grid-pro!getVerticalDropdownMenuDef:function(1)",
|
|
15731
|
+
"docComment": "/**\n * Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for a vertical Actions Menu behind an icon-only \"kebab\" opener, for a pinned column of per-row actions. Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).\n *\n * @remarks\n *\n * The opener hides itself on rows with no actions, so it never opens an empty menu. The column has a `colId` but no `field`: AG Grid only refreshes a cell with a field when its value changes, and this column has no value, so a row update would leave stale actions. Having no value, the column is also not sortable, filterable, resizable or flashed, and shows no header menu button — pass any of these in `overrideDef` to turn them back on.\n *\n * @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data returning that array (for row-scoped eligibility/permission filtering).\n *\n * @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.\n *\n * @param iconName - Optional icon name for the opener. Default is `'ellipsis'` (horizontal dots); pass `'ellipsis-vertical'` for vertical ones.\n *\n * @param buttonAppearance - Optional appearance for the button that opens the menu.\n *\n * @param hideDisabled - Optional flag to hide disabled actions instead of greying them out. Default is false. When every action for a row is hidden, the opener hides too.\n *\n * @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.\n *\n * @example\n * ```ts\n * public exampleMoreColumnDef: ColDef = getVerticalDropdownMenuDef(\n * (rowData) => [\n * { name: 'Ping Trader', icon: { name: 'paper-plane' }, callback: (rowData) => pingTrader(rowData) },\n * { name: 'Assign', icon: { name: 'user' }, callback: (rowData) => assign(rowData) },\n * ],\n * { headerName: '', pinned: 'right' },\n * );\n * ```\n *\n * @public\n */\n",
|
|
15732
|
+
"excerptTokens": [
|
|
15733
|
+
{
|
|
15734
|
+
"kind": "Content",
|
|
15735
|
+
"text": "getVerticalDropdownMenuDef: (actions: "
|
|
15736
|
+
},
|
|
15737
|
+
{
|
|
15738
|
+
"kind": "Reference",
|
|
15739
|
+
"text": "ActionMenuItems",
|
|
15740
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItems:type"
|
|
15741
|
+
},
|
|
15742
|
+
{
|
|
15743
|
+
"kind": "Content",
|
|
15744
|
+
"text": ", overrideDef?: "
|
|
15745
|
+
},
|
|
15746
|
+
{
|
|
15747
|
+
"kind": "Reference",
|
|
15748
|
+
"text": "ColDef",
|
|
15749
|
+
"canonicalReference": "@ag-grid-community/core!ColDef:interface"
|
|
15750
|
+
},
|
|
15751
|
+
{
|
|
15752
|
+
"kind": "Content",
|
|
15753
|
+
"text": " & {\n suppressHeaderMenuButton?: boolean;\n}"
|
|
15754
|
+
},
|
|
15755
|
+
{
|
|
15756
|
+
"kind": "Content",
|
|
15757
|
+
"text": ", iconName?: "
|
|
15758
|
+
},
|
|
15759
|
+
{
|
|
15760
|
+
"kind": "Content",
|
|
15761
|
+
"text": "string"
|
|
15762
|
+
},
|
|
15763
|
+
{
|
|
15764
|
+
"kind": "Content",
|
|
15765
|
+
"text": ", buttonAppearance?: "
|
|
15766
|
+
},
|
|
15767
|
+
{
|
|
15768
|
+
"kind": "Content",
|
|
15769
|
+
"text": "string"
|
|
15770
|
+
},
|
|
15771
|
+
{
|
|
15772
|
+
"kind": "Content",
|
|
15773
|
+
"text": ", hideDisabled?: "
|
|
15774
|
+
},
|
|
15775
|
+
{
|
|
15776
|
+
"kind": "Content",
|
|
15777
|
+
"text": "boolean"
|
|
15778
|
+
},
|
|
15779
|
+
{
|
|
15780
|
+
"kind": "Content",
|
|
15781
|
+
"text": ") => "
|
|
15782
|
+
},
|
|
15783
|
+
{
|
|
15784
|
+
"kind": "Reference",
|
|
15785
|
+
"text": "ColDef",
|
|
15786
|
+
"canonicalReference": "@ag-grid-community/core!ColDef:interface"
|
|
15787
|
+
},
|
|
15788
|
+
{
|
|
15789
|
+
"kind": "Content",
|
|
15790
|
+
"text": " & {\n suppressHeaderMenuButton?: boolean;\n}"
|
|
15791
|
+
}
|
|
15792
|
+
],
|
|
15793
|
+
"fileUrlPath": "src/cell-renderers/actions-menu.renderer.ts",
|
|
15794
|
+
"returnTypeTokenRange": {
|
|
15795
|
+
"startIndex": 12,
|
|
15796
|
+
"endIndex": 14
|
|
15797
|
+
},
|
|
15798
|
+
"releaseTag": "Public",
|
|
15799
|
+
"overloadIndex": 1,
|
|
15800
|
+
"parameters": [
|
|
15801
|
+
{
|
|
15802
|
+
"parameterName": "actions",
|
|
15803
|
+
"parameterTypeTokenRange": {
|
|
15804
|
+
"startIndex": 1,
|
|
15805
|
+
"endIndex": 2
|
|
15806
|
+
},
|
|
15807
|
+
"isOptional": false
|
|
15808
|
+
},
|
|
15809
|
+
{
|
|
15810
|
+
"parameterName": "overrideDef",
|
|
15811
|
+
"parameterTypeTokenRange": {
|
|
15812
|
+
"startIndex": 3,
|
|
15813
|
+
"endIndex": 5
|
|
15814
|
+
},
|
|
15815
|
+
"isOptional": true
|
|
15816
|
+
},
|
|
15817
|
+
{
|
|
15818
|
+
"parameterName": "iconName",
|
|
15819
|
+
"parameterTypeTokenRange": {
|
|
15820
|
+
"startIndex": 6,
|
|
15821
|
+
"endIndex": 7
|
|
15822
|
+
},
|
|
15823
|
+
"isOptional": true
|
|
15824
|
+
},
|
|
15825
|
+
{
|
|
15826
|
+
"parameterName": "buttonAppearance",
|
|
15827
|
+
"parameterTypeTokenRange": {
|
|
15828
|
+
"startIndex": 8,
|
|
15829
|
+
"endIndex": 9
|
|
15830
|
+
},
|
|
15831
|
+
"isOptional": true
|
|
15832
|
+
},
|
|
15833
|
+
{
|
|
15834
|
+
"parameterName": "hideDisabled",
|
|
15835
|
+
"parameterTypeTokenRange": {
|
|
15836
|
+
"startIndex": 10,
|
|
15837
|
+
"endIndex": 11
|
|
15838
|
+
},
|
|
15839
|
+
"isOptional": true
|
|
15840
|
+
}
|
|
15841
|
+
],
|
|
15842
|
+
"name": "getVerticalDropdownMenuDef"
|
|
15843
|
+
},
|
|
15681
15844
|
{
|
|
15682
15845
|
"kind": "Variable",
|
|
15683
15846
|
"canonicalReference": "@genesislcap/grid-pro!GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY:var",
|
|
@@ -16405,6 +16568,68 @@
|
|
|
16405
16568
|
"isAbstract": false,
|
|
16406
16569
|
"name": "connectedCallback"
|
|
16407
16570
|
},
|
|
16571
|
+
{
|
|
16572
|
+
"kind": "Property",
|
|
16573
|
+
"canonicalReference": "@genesislcap/grid-pro!GridPro#contextMenuItems:member",
|
|
16574
|
+
"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",
|
|
16575
|
+
"excerptTokens": [
|
|
16576
|
+
{
|
|
16577
|
+
"kind": "Content",
|
|
16578
|
+
"text": "contextMenuItems?: "
|
|
16579
|
+
},
|
|
16580
|
+
{
|
|
16581
|
+
"kind": "Reference",
|
|
16582
|
+
"text": "GridProContextMenuItems",
|
|
16583
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItems:type"
|
|
16584
|
+
},
|
|
16585
|
+
{
|
|
16586
|
+
"kind": "Content",
|
|
16587
|
+
"text": ";"
|
|
16588
|
+
}
|
|
16589
|
+
],
|
|
16590
|
+
"isReadonly": false,
|
|
16591
|
+
"isOptional": true,
|
|
16592
|
+
"releaseTag": "Public",
|
|
16593
|
+
"name": "contextMenuItems",
|
|
16594
|
+
"propertyTypeTokenRange": {
|
|
16595
|
+
"startIndex": 1,
|
|
16596
|
+
"endIndex": 2
|
|
16597
|
+
},
|
|
16598
|
+
"isStatic": false,
|
|
16599
|
+
"isProtected": false,
|
|
16600
|
+
"isAbstract": false
|
|
16601
|
+
},
|
|
16602
|
+
{
|
|
16603
|
+
"kind": "Method",
|
|
16604
|
+
"canonicalReference": "@genesislcap/grid-pro!GridPro#contextMenuItemsChanged:member(1)",
|
|
16605
|
+
"docComment": "",
|
|
16606
|
+
"excerptTokens": [
|
|
16607
|
+
{
|
|
16608
|
+
"kind": "Content",
|
|
16609
|
+
"text": "contextMenuItemsChanged(): "
|
|
16610
|
+
},
|
|
16611
|
+
{
|
|
16612
|
+
"kind": "Content",
|
|
16613
|
+
"text": "void"
|
|
16614
|
+
},
|
|
16615
|
+
{
|
|
16616
|
+
"kind": "Content",
|
|
16617
|
+
"text": ";"
|
|
16618
|
+
}
|
|
16619
|
+
],
|
|
16620
|
+
"isStatic": false,
|
|
16621
|
+
"returnTypeTokenRange": {
|
|
16622
|
+
"startIndex": 1,
|
|
16623
|
+
"endIndex": 2
|
|
16624
|
+
},
|
|
16625
|
+
"releaseTag": "Public",
|
|
16626
|
+
"isProtected": false,
|
|
16627
|
+
"overloadIndex": 1,
|
|
16628
|
+
"parameters": [],
|
|
16629
|
+
"isOptional": false,
|
|
16630
|
+
"isAbstract": false,
|
|
16631
|
+
"name": "contextMenuItemsChanged"
|
|
16632
|
+
},
|
|
16408
16633
|
{
|
|
16409
16634
|
"kind": "Property",
|
|
16410
16635
|
"canonicalReference": "@genesislcap/grid-pro!GridPro#customErrorHandlerTemplate:member",
|
|
@@ -17765,7 +17990,7 @@
|
|
|
17765
17990
|
},
|
|
17766
17991
|
{
|
|
17767
17992
|
"kind": "Content",
|
|
17768
|
-
"text": "<any, any>) => void) | ((event:
|
|
17993
|
+
"text": "<any, any>) => void) | ((event: "
|
|
17769
17994
|
},
|
|
17770
17995
|
{
|
|
17771
17996
|
"kind": "Reference",
|
|
@@ -21231,6 +21456,293 @@
|
|
|
21231
21456
|
"endIndex": 3
|
|
21232
21457
|
}
|
|
21233
21458
|
},
|
|
21459
|
+
{
|
|
21460
|
+
"kind": "TypeAlias",
|
|
21461
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuEntry:type",
|
|
21462
|
+
"docComment": "/**\n * An item, or `'separator'` for a dividing line between groups of items.\n *\n * @public\n */\n",
|
|
21463
|
+
"excerptTokens": [
|
|
21464
|
+
{
|
|
21465
|
+
"kind": "Content",
|
|
21466
|
+
"text": "export type GridProContextMenuEntry = "
|
|
21467
|
+
},
|
|
21468
|
+
{
|
|
21469
|
+
"kind": "Reference",
|
|
21470
|
+
"text": "GridProContextMenuItem",
|
|
21471
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem:interface"
|
|
21472
|
+
},
|
|
21473
|
+
{
|
|
21474
|
+
"kind": "Content",
|
|
21475
|
+
"text": " | 'separator'"
|
|
21476
|
+
},
|
|
21477
|
+
{
|
|
21478
|
+
"kind": "Content",
|
|
21479
|
+
"text": ";"
|
|
21480
|
+
}
|
|
21481
|
+
],
|
|
21482
|
+
"fileUrlPath": "src/context-menu/context-menu.ts",
|
|
21483
|
+
"releaseTag": "Public",
|
|
21484
|
+
"name": "GridProContextMenuEntry",
|
|
21485
|
+
"typeTokenRange": {
|
|
21486
|
+
"startIndex": 1,
|
|
21487
|
+
"endIndex": 3
|
|
21488
|
+
}
|
|
21489
|
+
},
|
|
21490
|
+
{
|
|
21491
|
+
"kind": "Interface",
|
|
21492
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem:interface",
|
|
21493
|
+
"docComment": "/**\n * One entry in grid-pro's right-click menu.\n *\n * @public\n */\n",
|
|
21494
|
+
"excerptTokens": [
|
|
21495
|
+
{
|
|
21496
|
+
"kind": "Content",
|
|
21497
|
+
"text": "export interface GridProContextMenuItem "
|
|
21498
|
+
}
|
|
21499
|
+
],
|
|
21500
|
+
"fileUrlPath": "src/context-menu/context-menu.ts",
|
|
21501
|
+
"releaseTag": "Public",
|
|
21502
|
+
"name": "GridProContextMenuItem",
|
|
21503
|
+
"preserveMemberOrder": false,
|
|
21504
|
+
"members": [
|
|
21505
|
+
{
|
|
21506
|
+
"kind": "PropertySignature",
|
|
21507
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#action:member",
|
|
21508
|
+
"docComment": "",
|
|
21509
|
+
"excerptTokens": [
|
|
21510
|
+
{
|
|
21511
|
+
"kind": "Content",
|
|
21512
|
+
"text": "action?: "
|
|
21513
|
+
},
|
|
21514
|
+
{
|
|
21515
|
+
"kind": "Content",
|
|
21516
|
+
"text": "() => void"
|
|
21517
|
+
},
|
|
21518
|
+
{
|
|
21519
|
+
"kind": "Content",
|
|
21520
|
+
"text": ";"
|
|
21521
|
+
}
|
|
21522
|
+
],
|
|
21523
|
+
"isReadonly": false,
|
|
21524
|
+
"isOptional": true,
|
|
21525
|
+
"releaseTag": "Public",
|
|
21526
|
+
"name": "action",
|
|
21527
|
+
"propertyTypeTokenRange": {
|
|
21528
|
+
"startIndex": 1,
|
|
21529
|
+
"endIndex": 2
|
|
21530
|
+
}
|
|
21531
|
+
},
|
|
21532
|
+
{
|
|
21533
|
+
"kind": "PropertySignature",
|
|
21534
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#checked:member",
|
|
21535
|
+
"docComment": "/**\n * Set to `true` or `false` to make the item a checkbox; leave unset for a plain item.\n */\n",
|
|
21536
|
+
"excerptTokens": [
|
|
21537
|
+
{
|
|
21538
|
+
"kind": "Content",
|
|
21539
|
+
"text": "checked?: "
|
|
21540
|
+
},
|
|
21541
|
+
{
|
|
21542
|
+
"kind": "Content",
|
|
21543
|
+
"text": "boolean"
|
|
21544
|
+
},
|
|
21545
|
+
{
|
|
21546
|
+
"kind": "Content",
|
|
21547
|
+
"text": ";"
|
|
21548
|
+
}
|
|
21549
|
+
],
|
|
21550
|
+
"isReadonly": false,
|
|
21551
|
+
"isOptional": true,
|
|
21552
|
+
"releaseTag": "Public",
|
|
21553
|
+
"name": "checked",
|
|
21554
|
+
"propertyTypeTokenRange": {
|
|
21555
|
+
"startIndex": 1,
|
|
21556
|
+
"endIndex": 2
|
|
21557
|
+
}
|
|
21558
|
+
},
|
|
21559
|
+
{
|
|
21560
|
+
"kind": "PropertySignature",
|
|
21561
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#disabled:member",
|
|
21562
|
+
"docComment": "",
|
|
21563
|
+
"excerptTokens": [
|
|
21564
|
+
{
|
|
21565
|
+
"kind": "Content",
|
|
21566
|
+
"text": "disabled?: "
|
|
21567
|
+
},
|
|
21568
|
+
{
|
|
21569
|
+
"kind": "Content",
|
|
21570
|
+
"text": "boolean"
|
|
21571
|
+
},
|
|
21572
|
+
{
|
|
21573
|
+
"kind": "Content",
|
|
21574
|
+
"text": ";"
|
|
21575
|
+
}
|
|
21576
|
+
],
|
|
21577
|
+
"isReadonly": false,
|
|
21578
|
+
"isOptional": true,
|
|
21579
|
+
"releaseTag": "Public",
|
|
21580
|
+
"name": "disabled",
|
|
21581
|
+
"propertyTypeTokenRange": {
|
|
21582
|
+
"startIndex": 1,
|
|
21583
|
+
"endIndex": 2
|
|
21584
|
+
}
|
|
21585
|
+
},
|
|
21586
|
+
{
|
|
21587
|
+
"kind": "PropertySignature",
|
|
21588
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#name:member",
|
|
21589
|
+
"docComment": "",
|
|
21590
|
+
"excerptTokens": [
|
|
21591
|
+
{
|
|
21592
|
+
"kind": "Content",
|
|
21593
|
+
"text": "name: "
|
|
21594
|
+
},
|
|
21595
|
+
{
|
|
21596
|
+
"kind": "Content",
|
|
21597
|
+
"text": "string"
|
|
21598
|
+
},
|
|
21599
|
+
{
|
|
21600
|
+
"kind": "Content",
|
|
21601
|
+
"text": ";"
|
|
21602
|
+
}
|
|
21603
|
+
],
|
|
21604
|
+
"isReadonly": false,
|
|
21605
|
+
"isOptional": false,
|
|
21606
|
+
"releaseTag": "Public",
|
|
21607
|
+
"name": "name",
|
|
21608
|
+
"propertyTypeTokenRange": {
|
|
21609
|
+
"startIndex": 1,
|
|
21610
|
+
"endIndex": 2
|
|
21611
|
+
}
|
|
21612
|
+
},
|
|
21613
|
+
{
|
|
21614
|
+
"kind": "PropertySignature",
|
|
21615
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#shortcut:member",
|
|
21616
|
+
"docComment": "/**\n * Drawn to the right of the name, for example a key combination.\n */\n",
|
|
21617
|
+
"excerptTokens": [
|
|
21618
|
+
{
|
|
21619
|
+
"kind": "Content",
|
|
21620
|
+
"text": "shortcut?: "
|
|
21621
|
+
},
|
|
21622
|
+
{
|
|
21623
|
+
"kind": "Content",
|
|
21624
|
+
"text": "string"
|
|
21625
|
+
},
|
|
21626
|
+
{
|
|
21627
|
+
"kind": "Content",
|
|
21628
|
+
"text": ";"
|
|
21629
|
+
}
|
|
21630
|
+
],
|
|
21631
|
+
"isReadonly": false,
|
|
21632
|
+
"isOptional": true,
|
|
21633
|
+
"releaseTag": "Public",
|
|
21634
|
+
"name": "shortcut",
|
|
21635
|
+
"propertyTypeTokenRange": {
|
|
21636
|
+
"startIndex": 1,
|
|
21637
|
+
"endIndex": 2
|
|
21638
|
+
}
|
|
21639
|
+
},
|
|
21640
|
+
{
|
|
21641
|
+
"kind": "PropertySignature",
|
|
21642
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#subMenu:member",
|
|
21643
|
+
"docComment": "",
|
|
21644
|
+
"excerptTokens": [
|
|
21645
|
+
{
|
|
21646
|
+
"kind": "Content",
|
|
21647
|
+
"text": "subMenu?: "
|
|
21648
|
+
},
|
|
21649
|
+
{
|
|
21650
|
+
"kind": "Reference",
|
|
21651
|
+
"text": "GridProContextMenuEntry",
|
|
21652
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuEntry:type"
|
|
21653
|
+
},
|
|
21654
|
+
{
|
|
21655
|
+
"kind": "Content",
|
|
21656
|
+
"text": "[]"
|
|
21657
|
+
},
|
|
21658
|
+
{
|
|
21659
|
+
"kind": "Content",
|
|
21660
|
+
"text": ";"
|
|
21661
|
+
}
|
|
21662
|
+
],
|
|
21663
|
+
"isReadonly": false,
|
|
21664
|
+
"isOptional": true,
|
|
21665
|
+
"releaseTag": "Public",
|
|
21666
|
+
"name": "subMenu",
|
|
21667
|
+
"propertyTypeTokenRange": {
|
|
21668
|
+
"startIndex": 1,
|
|
21669
|
+
"endIndex": 3
|
|
21670
|
+
}
|
|
21671
|
+
},
|
|
21672
|
+
{
|
|
21673
|
+
"kind": "PropertySignature",
|
|
21674
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItem#tooltip:member",
|
|
21675
|
+
"docComment": "/**\n * Shown on hover, including while the item is disabled — say why it cannot be chosen.\n */\n",
|
|
21676
|
+
"excerptTokens": [
|
|
21677
|
+
{
|
|
21678
|
+
"kind": "Content",
|
|
21679
|
+
"text": "tooltip?: "
|
|
21680
|
+
},
|
|
21681
|
+
{
|
|
21682
|
+
"kind": "Content",
|
|
21683
|
+
"text": "string"
|
|
21684
|
+
},
|
|
21685
|
+
{
|
|
21686
|
+
"kind": "Content",
|
|
21687
|
+
"text": ";"
|
|
21688
|
+
}
|
|
21689
|
+
],
|
|
21690
|
+
"isReadonly": false,
|
|
21691
|
+
"isOptional": true,
|
|
21692
|
+
"releaseTag": "Public",
|
|
21693
|
+
"name": "tooltip",
|
|
21694
|
+
"propertyTypeTokenRange": {
|
|
21695
|
+
"startIndex": 1,
|
|
21696
|
+
"endIndex": 2
|
|
21697
|
+
}
|
|
21698
|
+
}
|
|
21699
|
+
],
|
|
21700
|
+
"extendsTokenRanges": []
|
|
21701
|
+
},
|
|
21702
|
+
{
|
|
21703
|
+
"kind": "TypeAlias",
|
|
21704
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuItems:type",
|
|
21705
|
+
"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",
|
|
21706
|
+
"excerptTokens": [
|
|
21707
|
+
{
|
|
21708
|
+
"kind": "Content",
|
|
21709
|
+
"text": "export type GridProContextMenuItems = "
|
|
21710
|
+
},
|
|
21711
|
+
{
|
|
21712
|
+
"kind": "Content",
|
|
21713
|
+
"text": "(event: "
|
|
21714
|
+
},
|
|
21715
|
+
{
|
|
21716
|
+
"kind": "Reference",
|
|
21717
|
+
"text": "CellContextMenuEvent",
|
|
21718
|
+
"canonicalReference": "ag-grid-community!CellContextMenuEvent:interface"
|
|
21719
|
+
},
|
|
21720
|
+
{
|
|
21721
|
+
"kind": "Content",
|
|
21722
|
+
"text": ") => "
|
|
21723
|
+
},
|
|
21724
|
+
{
|
|
21725
|
+
"kind": "Reference",
|
|
21726
|
+
"text": "GridProContextMenuEntry",
|
|
21727
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProContextMenuEntry:type"
|
|
21728
|
+
},
|
|
21729
|
+
{
|
|
21730
|
+
"kind": "Content",
|
|
21731
|
+
"text": "[]"
|
|
21732
|
+
},
|
|
21733
|
+
{
|
|
21734
|
+
"kind": "Content",
|
|
21735
|
+
"text": ";"
|
|
21736
|
+
}
|
|
21737
|
+
],
|
|
21738
|
+
"fileUrlPath": "src/context-menu/context-menu.ts",
|
|
21739
|
+
"releaseTag": "Public",
|
|
21740
|
+
"name": "GridProContextMenuItems",
|
|
21741
|
+
"typeTokenRange": {
|
|
21742
|
+
"startIndex": 1,
|
|
21743
|
+
"endIndex": 6
|
|
21744
|
+
}
|
|
21745
|
+
},
|
|
21234
21746
|
{
|
|
21235
21747
|
"kind": "TypeAlias",
|
|
21236
21748
|
"canonicalReference": "@genesislcap/grid-pro!GridProErrorEvent:type",
|