@genesislcap/grid-pro 15.75.0 → 15.76.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 +64 -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.map +1 -1
- package/dist/esm/cell-renderers/actions-menu.renderer.js +61 -2
- package/dist/esm/context-menu/context-menu.js +7 -39
- package/dist/grid-pro.api.json +131 -19
- package/dist/grid-pro.d.ts +40 -3
- package/package.json +12 -12
|
@@ -5791,7 +5791,8 @@
|
|
|
5791
5791
|
"text": "ICellRendererParams"
|
|
5792
5792
|
}
|
|
5793
5793
|
}
|
|
5794
|
-
]
|
|
5794
|
+
],
|
|
5795
|
+
"description": "Hands the latest row data to the menu, so per-row actions and disabled states stay current."
|
|
5795
5796
|
},
|
|
5796
5797
|
{
|
|
5797
5798
|
"kind": "field",
|
|
@@ -5930,9 +5931,9 @@
|
|
|
5930
5931
|
{
|
|
5931
5932
|
"name": "actions",
|
|
5932
5933
|
"type": {
|
|
5933
|
-
"text": "
|
|
5934
|
+
"text": "ActionMenuItems"
|
|
5934
5935
|
},
|
|
5935
|
-
"description": "Array of `ActionMenuItem` to be displayed in the menu."
|
|
5936
|
+
"description": "Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data\nreturning that array (for row-scoped eligibility/permission filtering)."
|
|
5936
5937
|
},
|
|
5937
5938
|
{
|
|
5938
5939
|
"name": "overrideDef",
|
|
@@ -5969,6 +5970,58 @@
|
|
|
5969
5970
|
],
|
|
5970
5971
|
"description": "Helper function to get ColDef https://www.ag-grid.com/javascript-data-grid/column-properties/ for Actions Menu Renderer.\nWill take the parameter values for a base ColDef and merge them with the overrideDef (if specified).",
|
|
5971
5972
|
"privacy": "public"
|
|
5973
|
+
},
|
|
5974
|
+
{
|
|
5975
|
+
"kind": "function",
|
|
5976
|
+
"name": "getVerticalDropdownMenuDef",
|
|
5977
|
+
"return": {
|
|
5978
|
+
"type": {
|
|
5979
|
+
"text": ""
|
|
5980
|
+
}
|
|
5981
|
+
},
|
|
5982
|
+
"parameters": [
|
|
5983
|
+
{
|
|
5984
|
+
"name": "actions",
|
|
5985
|
+
"type": {
|
|
5986
|
+
"text": "ActionMenuItems"
|
|
5987
|
+
},
|
|
5988
|
+
"description": "Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data\nreturning that array (for row-scoped eligibility/permission filtering)."
|
|
5989
|
+
},
|
|
5990
|
+
{
|
|
5991
|
+
"name": "overrideDef",
|
|
5992
|
+
"default": "{}",
|
|
5993
|
+
"type": {
|
|
5994
|
+
"text": "ColDef & { suppressHeaderMenuButton?: boolean }"
|
|
5995
|
+
},
|
|
5996
|
+
"description": "Optional override for the ColDef. Will override any of the default values. Default is an empty object."
|
|
5997
|
+
},
|
|
5998
|
+
{
|
|
5999
|
+
"name": "iconName",
|
|
6000
|
+
"default": "'ellipsis'",
|
|
6001
|
+
"type": {
|
|
6002
|
+
"text": "string"
|
|
6003
|
+
},
|
|
6004
|
+
"description": "Optional icon name for the opener. Default is `'ellipsis'` (horizontal dots); pass `'ellipsis-vertical'` for vertical ones."
|
|
6005
|
+
},
|
|
6006
|
+
{
|
|
6007
|
+
"name": "buttonAppearance",
|
|
6008
|
+
"optional": true,
|
|
6009
|
+
"type": {
|
|
6010
|
+
"text": "string"
|
|
6011
|
+
},
|
|
6012
|
+
"description": "Optional appearance for the button that opens the menu."
|
|
6013
|
+
},
|
|
6014
|
+
{
|
|
6015
|
+
"name": "hideDisabled",
|
|
6016
|
+
"default": "false",
|
|
6017
|
+
"type": {
|
|
6018
|
+
"text": "boolean"
|
|
6019
|
+
},
|
|
6020
|
+
"description": "Optional flag to hide disabled actions instead of greying them out. Default is false.\nWhen every action for a row is hidden, the opener hides too."
|
|
6021
|
+
}
|
|
6022
|
+
],
|
|
6023
|
+
"description": "Helper function to get ColDef https://www.ag-grid.com/javascript-data-grid/column-properties/ for a\nvertical Actions Menu behind an icon-only \"kebab\" opener, for a pinned column of per-row actions.\nWill take the parameter values for a base ColDef and merge them with the overrideDef (if specified).",
|
|
6024
|
+
"privacy": "public"
|
|
5972
6025
|
}
|
|
5973
6026
|
],
|
|
5974
6027
|
"exports": [
|
|
@@ -5995,6 +6048,14 @@
|
|
|
5995
6048
|
"name": "getActionsMenuDef",
|
|
5996
6049
|
"module": "src/cell-renderers/actions-menu.renderer.ts"
|
|
5997
6050
|
}
|
|
6051
|
+
},
|
|
6052
|
+
{
|
|
6053
|
+
"kind": "js",
|
|
6054
|
+
"name": "getVerticalDropdownMenuDef",
|
|
6055
|
+
"declaration": {
|
|
6056
|
+
"name": "getVerticalDropdownMenuDef",
|
|
6057
|
+
"module": "src/cell-renderers/actions-menu.renderer.ts"
|
|
6058
|
+
}
|
|
5998
6059
|
}
|
|
5999
6060
|
]
|
|
6000
6061
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ColDef, ICellRendererComp, ICellRendererParams } from '@ag-grid-community/core';
|
|
2
|
-
import {
|
|
2
|
+
import type { ActionMenuItems } from '@genesislcap/foundation-ui';
|
|
3
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
4
4
|
/**
|
|
5
5
|
* The Actions Menu Renderer element.
|
|
@@ -11,6 +11,7 @@ export declare class ActionsMenuRenderer extends FoundationElement implements IC
|
|
|
11
11
|
params: ICellRendererParams;
|
|
12
12
|
init(params: ICellRendererParams): void;
|
|
13
13
|
getGui(): HTMLElement;
|
|
14
|
+
/** Hands the latest row data to the menu, so per-row actions and disabled states stay current. */
|
|
14
15
|
refresh(params: ICellRendererParams): boolean;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
@@ -30,7 +31,8 @@ export declare const foundationGridProActionsMenuRenderer: (overrideDefinition?:
|
|
|
30
31
|
/**
|
|
31
32
|
* Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer.
|
|
32
33
|
* Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).
|
|
33
|
-
* @param actions - Array of `ActionMenuItem` to be displayed in the menu
|
|
34
|
+
* @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data
|
|
35
|
+
* returning that array (for row-scoped eligibility/permission filtering).
|
|
34
36
|
* @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.
|
|
35
37
|
* @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.
|
|
36
38
|
* @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).
|
|
@@ -60,5 +62,39 @@ export declare const foundationGridProActionsMenuRenderer: (overrideDefinition?:
|
|
|
60
62
|
* ```
|
|
61
63
|
* @public
|
|
62
64
|
*/
|
|
63
|
-
export declare const getActionsMenuDef: (actions:
|
|
65
|
+
export declare const getActionsMenuDef: (actions: ActionMenuItems, overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string) => ColDef;
|
|
66
|
+
/**
|
|
67
|
+
* Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for a
|
|
68
|
+
* vertical Actions Menu behind an icon-only "kebab" opener, for a pinned column of per-row actions.
|
|
69
|
+
* Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).
|
|
70
|
+
* @remarks The opener hides itself on rows with no actions, so it never opens an empty menu. The
|
|
71
|
+
* column has a `colId` but no `field`: AG Grid only refreshes a cell with a field when its value
|
|
72
|
+
* changes, and this column has no value, so a row update would leave stale actions. Having no value,
|
|
73
|
+
* the column is also not sortable, filterable, resizable or flashed, and shows no header menu
|
|
74
|
+
* button — pass any of these in `overrideDef` to turn them back on.
|
|
75
|
+
* @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data
|
|
76
|
+
* returning that array (for row-scoped eligibility/permission filtering).
|
|
77
|
+
* @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.
|
|
78
|
+
* @param iconName - Optional icon name for the opener. Default is `'ellipsis'` (horizontal dots); pass `'ellipsis-vertical'` for vertical ones.
|
|
79
|
+
* @param buttonAppearance - Optional appearance for the button that opens the menu.
|
|
80
|
+
* @param hideDisabled - Optional flag to hide disabled actions instead of greying them out. Default is false.
|
|
81
|
+
* When every action for a row is hidden, the opener hides too.
|
|
82
|
+
* @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* public exampleMoreColumnDef: ColDef = getVerticalDropdownMenuDef(
|
|
86
|
+
* (rowData) => [
|
|
87
|
+
* { name: 'Ping Trader', icon: { name: 'paper-plane' }, callback: (rowData) => pingTrader(rowData) },
|
|
88
|
+
* { name: 'Assign', icon: { name: 'user' }, callback: (rowData) => assign(rowData) },
|
|
89
|
+
* ],
|
|
90
|
+
* { headerName: '', pinned: 'right' },
|
|
91
|
+
* );
|
|
92
|
+
* ```
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare const getVerticalDropdownMenuDef: (actions: ActionMenuItems, overrideDef?: ColDef & {
|
|
96
|
+
suppressHeaderMenuButton?: boolean;
|
|
97
|
+
}, iconName?: string, buttonAppearance?: string, hideDisabled?: boolean) => ColDef & {
|
|
98
|
+
suppressHeaderMenuButton?: boolean;
|
|
99
|
+
};
|
|
64
100
|
//# sourceMappingURL=actions-menu.renderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions-menu.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/actions-menu.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"actions-menu.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/actions-menu.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D;;;;;GAKG;AACH,qBAAa,mBAAoB,SAAQ,iBAAkB,YAAW,iBAAiB;IAClE,MAAM,EAAE,mBAAmB,CAAC;IAExC,IAAI,CAAC,MAAM,EAAE,mBAAmB;IAKhC,MAAM,IAAI,WAAW;IAI5B,kGAAkG;IAC3F,OAAO,CAAC,MAAM,EAAE,mBAAmB;CAI3C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC;;;;;;8BAQ/C,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,iBAAiB,GAC5B,SAAS,eAAe,EACxB,cAAa,MAAW,EACxB,0BAAyB,MAAY,EACrC,aAAY,OAAe,EAC3B,mBAAmB,MAAM,KACxB,MAqBF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,eAAe,EACxB,cAAa,MAAM,GAAG;IAAE,wBAAwB,CAAC,EAAE,OAAO,CAAA;CAAO,EACjE,WAAU,MAAmB,EAC7B,mBAAmB,MAAM,EACzB,eAAc,OAAe,KAC5B,MAAM,GAAG;IAAE,wBAAwB,CAAC,EAAE,OAAO,CAAA;CA2B/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../../src/context-menu/context-menu.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../../src/context-menu/context-menu.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AA6J9D;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0FAA0F;IAC1F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0FAA0F;IAC1F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACrC;AAED;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,GAAG,WAAW,CAAC;AAE3E;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,KAAK,EAAE,oBAAoB,KAAK,uBAAuB,EAAE,CAAC;AAEjG;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,oBAAoB,GAAG,sBAAsB,EAAE,CAUjG;AAmBD;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,+FAA+F;IAC/F,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,SAAS,uBAAuB,EAAE,CAAC;IAC1C;;;OAGG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC9B;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,sBAAsB,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CA4E7F"}
|
|
@@ -18,8 +18,10 @@ export class ActionsMenuRenderer extends FoundationElement {
|
|
|
18
18
|
getGui() {
|
|
19
19
|
return this;
|
|
20
20
|
}
|
|
21
|
+
/** Hands the latest row data to the menu, so per-row actions and disabled states stay current. */
|
|
21
22
|
refresh(params) {
|
|
22
|
-
|
|
23
|
+
this.params = params;
|
|
24
|
+
return true;
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
__decorate([
|
|
@@ -44,7 +46,8 @@ export const foundationGridProActionsMenuRenderer = ActionsMenuRenderer.compose(
|
|
|
44
46
|
/**
|
|
45
47
|
* Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer.
|
|
46
48
|
* Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).
|
|
47
|
-
* @param actions - Array of `ActionMenuItem` to be displayed in the menu
|
|
49
|
+
* @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data
|
|
50
|
+
* returning that array (for row-scoped eligibility/permission filtering).
|
|
48
51
|
* @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.
|
|
49
52
|
* @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.
|
|
50
53
|
* @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).
|
|
@@ -95,3 +98,59 @@ export const getActionsMenuDef = (actions, overrideDef = {}, customActionsOpener
|
|
|
95
98
|
};
|
|
96
99
|
return Object.assign(Object.assign({}, actionsMenuDef), overrideDef);
|
|
97
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for a
|
|
103
|
+
* vertical Actions Menu behind an icon-only "kebab" opener, for a pinned column of per-row actions.
|
|
104
|
+
* Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).
|
|
105
|
+
* @remarks The opener hides itself on rows with no actions, so it never opens an empty menu. The
|
|
106
|
+
* column has a `colId` but no `field`: AG Grid only refreshes a cell with a field when its value
|
|
107
|
+
* changes, and this column has no value, so a row update would leave stale actions. Having no value,
|
|
108
|
+
* the column is also not sortable, filterable, resizable or flashed, and shows no header menu
|
|
109
|
+
* button — pass any of these in `overrideDef` to turn them back on.
|
|
110
|
+
* @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data
|
|
111
|
+
* returning that array (for row-scoped eligibility/permission filtering).
|
|
112
|
+
* @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.
|
|
113
|
+
* @param iconName - Optional icon name for the opener. Default is `'ellipsis'` (horizontal dots); pass `'ellipsis-vertical'` for vertical ones.
|
|
114
|
+
* @param buttonAppearance - Optional appearance for the button that opens the menu.
|
|
115
|
+
* @param hideDisabled - Optional flag to hide disabled actions instead of greying them out. Default is false.
|
|
116
|
+
* When every action for a row is hidden, the opener hides too.
|
|
117
|
+
* @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.
|
|
118
|
+
* @example
|
|
119
|
+
* ```ts
|
|
120
|
+
* public exampleMoreColumnDef: ColDef = getVerticalDropdownMenuDef(
|
|
121
|
+
* (rowData) => [
|
|
122
|
+
* { name: 'Ping Trader', icon: { name: 'paper-plane' }, callback: (rowData) => pingTrader(rowData) },
|
|
123
|
+
* { name: 'Assign', icon: { name: 'user' }, callback: (rowData) => assign(rowData) },
|
|
124
|
+
* ],
|
|
125
|
+
* { headerName: '', pinned: 'right' },
|
|
126
|
+
* );
|
|
127
|
+
* ```
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export const getVerticalDropdownMenuDef = (actions, overrideDef = {}, iconName = 'ellipsis', buttonAppearance, hideDisabled = false) => {
|
|
131
|
+
// `suppressHeaderMenuButton` is AG Grid v31+; the v29 `ColDef` used across grid-pro's public helpers lacks it.
|
|
132
|
+
const verticalDropdownMenuDef = {
|
|
133
|
+
cellRenderer: GridProRendererTypes.actionsMenu,
|
|
134
|
+
cellRendererParams: {
|
|
135
|
+
actions,
|
|
136
|
+
addDefaultActions: false,
|
|
137
|
+
buttonAppearance,
|
|
138
|
+
hideDisabled,
|
|
139
|
+
iconName,
|
|
140
|
+
isVertical: true,
|
|
141
|
+
},
|
|
142
|
+
cellStyle: { border: 'none', overflow: 'visible' },
|
|
143
|
+
colId: overrideDef.headerName
|
|
144
|
+
? convertToKebabCase(overrideDef.headerName)
|
|
145
|
+
: 'vertical-dropdown-menu',
|
|
146
|
+
// A column with no value can't be usefully sorted, filtered or flashed; and with no field it is
|
|
147
|
+
// force-refreshed on every row update, so cell flashing would flash it on every tick.
|
|
148
|
+
enableCellChangeFlash: false,
|
|
149
|
+
filter: false,
|
|
150
|
+
resizable: false,
|
|
151
|
+
sortable: false,
|
|
152
|
+
suppressHeaderMenuButton: true,
|
|
153
|
+
width: 40,
|
|
154
|
+
};
|
|
155
|
+
return Object.assign(Object.assign({}, verticalDropdownMenuDef), overrideDef);
|
|
156
|
+
};
|
|
@@ -1,48 +1,31 @@
|
|
|
1
|
+
import { agMenuStyles } from '@genesislcap/foundation-ui';
|
|
1
2
|
import { css, DOM } from '@microsoft/fast-element';
|
|
2
3
|
import { logger } from '../utils/logger';
|
|
3
4
|
/**
|
|
4
|
-
* Same surface as the vertical actions menu: AG Grid's
|
|
5
|
-
* tokens when those variables are not set. The menu is drawn in the
|
|
6
|
-
* grid element, so the values are copied from the cell that was
|
|
5
|
+
* Same surface as the vertical actions menu (foundation-ui's `agMenuStyles`): AG Grid's menu
|
|
6
|
+
* variables, with design-system tokens when those variables are not set. The menu is drawn in the
|
|
7
|
+
* top layer, outside the themed grid element, so the values are copied from the cell that was
|
|
8
|
+
* clicked.
|
|
7
9
|
*/
|
|
8
10
|
const contextMenuStyles = css `
|
|
9
11
|
:host {
|
|
10
12
|
display: block;
|
|
11
13
|
}
|
|
12
14
|
|
|
15
|
+
${agMenuStyles(':host > .grid-context-menu, .grid-context-menu-item > .grid-context-menu', '.grid-context-menu > .grid-context-menu-item')}
|
|
16
|
+
|
|
13
17
|
:host > .grid-context-menu,
|
|
14
18
|
.grid-context-menu-item > .grid-context-menu {
|
|
15
19
|
display: flex;
|
|
16
20
|
flex-direction: column;
|
|
17
|
-
box-sizing: border-box;
|
|
18
21
|
margin: 0;
|
|
19
|
-
padding: var(--ag-spacing, 4px) 0;
|
|
20
22
|
max-width: 368px;
|
|
21
23
|
min-width: 64px;
|
|
22
|
-
background-color: var(--ag-menu-background-color, var(--fill-color));
|
|
23
|
-
border: var(
|
|
24
|
-
--ag-menu-border,
|
|
25
|
-
calc(var(--stroke-width, 1) * 1px) solid var(--neutral-stroke-rest, transparent)
|
|
26
|
-
);
|
|
27
|
-
border-radius: var(--ag-border-radius, calc(var(--control-corner-radius, 2) * 1px));
|
|
28
|
-
box-shadow: var(--ag-menu-shadow, var(--ag-popup-shadow, 0 2px 8px rgb(0 0 0 / 30%)));
|
|
29
|
-
color: var(--ag-menu-text-color, var(--neutral-foreground-rest));
|
|
30
|
-
font-family: var(--ag-font-family, var(--body-font));
|
|
31
24
|
}
|
|
32
25
|
|
|
33
26
|
.grid-context-menu > .grid-context-menu-item {
|
|
34
27
|
display: flex;
|
|
35
|
-
box-sizing: border-box;
|
|
36
28
|
align-items: center;
|
|
37
|
-
height: calc(var(--ag-icon-size, 16px) + (var(--ag-spacing, 4px) + 2px) * 2);
|
|
38
|
-
margin: 0;
|
|
39
|
-
background: transparent;
|
|
40
|
-
border: none;
|
|
41
|
-
border-radius: 0;
|
|
42
|
-
color: inherit;
|
|
43
|
-
font-family: inherit;
|
|
44
|
-
font-size: var(--ag-font-size, var(--type-ramp-base-font-size));
|
|
45
|
-
font-weight: 500;
|
|
46
29
|
user-select: none;
|
|
47
30
|
}
|
|
48
31
|
|
|
@@ -55,23 +38,8 @@ const contextMenuStyles = css `
|
|
|
55
38
|
opacity: 50%;
|
|
56
39
|
}
|
|
57
40
|
|
|
58
|
-
.grid-context-menu > .grid-context-menu-item:hover,
|
|
59
|
-
.grid-context-menu > .grid-context-menu-item:focus {
|
|
60
|
-
background: var(--ag-row-hover-color, var(--neutral-fill-stealth-hover));
|
|
61
|
-
border: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.grid-context-menu > .grid-context-menu-item[disabled] {
|
|
65
|
-
background: transparent;
|
|
66
|
-
cursor: default;
|
|
67
|
-
opacity: 50%;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
41
|
.grid-context-menu > .grid-context-menu-item::part(content) {
|
|
71
42
|
flex: 1;
|
|
72
|
-
margin-inline: 0;
|
|
73
|
-
padding-inline: calc(var(--ag-spacing, 4px) * 2) calc(var(--ag-spacing, 4px) * 4);
|
|
74
|
-
line-height: var(--ag-icon-size, 16px);
|
|
75
43
|
}
|
|
76
44
|
|
|
77
45
|
/* A plain item in a menu with checkboxes lines its text up with theirs. */
|
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",
|
|
@@ -14373,7 +14373,7 @@
|
|
|
14373
14373
|
{
|
|
14374
14374
|
"kind": "Function",
|
|
14375
14375
|
"canonicalReference": "@genesislcap/grid-pro!getActionsMenuDef:function(1)",
|
|
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.\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",
|
|
14377
14377
|
"excerptTokens": [
|
|
14378
14378
|
{
|
|
14379
14379
|
"kind": "Content",
|
|
@@ -14381,12 +14381,8 @@
|
|
|
14381
14381
|
},
|
|
14382
14382
|
{
|
|
14383
14383
|
"kind": "Reference",
|
|
14384
|
-
"text": "
|
|
14385
|
-
"canonicalReference": "@genesislcap/foundation-ui!
|
|
14386
|
-
},
|
|
14387
|
-
{
|
|
14388
|
-
"kind": "Content",
|
|
14389
|
-
"text": "[]"
|
|
14384
|
+
"text": "ActionMenuItems",
|
|
14385
|
+
"canonicalReference": "@genesislcap/foundation-ui!ActionMenuItems:type"
|
|
14390
14386
|
},
|
|
14391
14387
|
{
|
|
14392
14388
|
"kind": "Content",
|
|
@@ -14433,8 +14429,8 @@
|
|
|
14433
14429
|
],
|
|
14434
14430
|
"fileUrlPath": "src/cell-renderers/actions-menu.renderer.ts",
|
|
14435
14431
|
"returnTypeTokenRange": {
|
|
14436
|
-
"startIndex":
|
|
14437
|
-
"endIndex":
|
|
14432
|
+
"startIndex": 11,
|
|
14433
|
+
"endIndex": 12
|
|
14438
14434
|
},
|
|
14439
14435
|
"releaseTag": "Public",
|
|
14440
14436
|
"overloadIndex": 1,
|
|
@@ -14443,39 +14439,39 @@
|
|
|
14443
14439
|
"parameterName": "actions",
|
|
14444
14440
|
"parameterTypeTokenRange": {
|
|
14445
14441
|
"startIndex": 1,
|
|
14446
|
-
"endIndex":
|
|
14442
|
+
"endIndex": 2
|
|
14447
14443
|
},
|
|
14448
14444
|
"isOptional": false
|
|
14449
14445
|
},
|
|
14450
14446
|
{
|
|
14451
14447
|
"parameterName": "overrideDef",
|
|
14452
14448
|
"parameterTypeTokenRange": {
|
|
14453
|
-
"startIndex":
|
|
14454
|
-
"endIndex":
|
|
14449
|
+
"startIndex": 3,
|
|
14450
|
+
"endIndex": 4
|
|
14455
14451
|
},
|
|
14456
14452
|
"isOptional": true
|
|
14457
14453
|
},
|
|
14458
14454
|
{
|
|
14459
14455
|
"parameterName": "customActionsOpenerName",
|
|
14460
14456
|
"parameterTypeTokenRange": {
|
|
14461
|
-
"startIndex":
|
|
14462
|
-
"endIndex":
|
|
14457
|
+
"startIndex": 5,
|
|
14458
|
+
"endIndex": 6
|
|
14463
14459
|
},
|
|
14464
14460
|
"isOptional": true
|
|
14465
14461
|
},
|
|
14466
14462
|
{
|
|
14467
14463
|
"parameterName": "isVertical",
|
|
14468
14464
|
"parameterTypeTokenRange": {
|
|
14469
|
-
"startIndex":
|
|
14470
|
-
"endIndex":
|
|
14465
|
+
"startIndex": 7,
|
|
14466
|
+
"endIndex": 8
|
|
14471
14467
|
},
|
|
14472
14468
|
"isOptional": true
|
|
14473
14469
|
},
|
|
14474
14470
|
{
|
|
14475
14471
|
"parameterName": "buttonAppearance",
|
|
14476
14472
|
"parameterTypeTokenRange": {
|
|
14477
|
-
"startIndex":
|
|
14478
|
-
"endIndex":
|
|
14473
|
+
"startIndex": 9,
|
|
14474
|
+
"endIndex": 10
|
|
14479
14475
|
},
|
|
14480
14476
|
"isOptional": true
|
|
14481
14477
|
}
|
|
@@ -15729,6 +15725,122 @@
|
|
|
15729
15725
|
],
|
|
15730
15726
|
"name": "getTextRendererTemplate"
|
|
15731
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
|
+
},
|
|
15732
15844
|
{
|
|
15733
15845
|
"kind": "Variable",
|
|
15734
15846
|
"canonicalReference": "@genesislcap/grid-pro!GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY:var",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ActionMenuItems } from '@genesislcap/foundation-ui';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { Binding } from '@microsoft/fast-element';
|
|
4
4
|
import { CaptureType } from '@microsoft/fast-element';
|
|
@@ -251,6 +251,7 @@ export declare class ActionsMenuRenderer extends FoundationElement implements IC
|
|
|
251
251
|
params: ICellRendererParams;
|
|
252
252
|
init(params: ICellRendererParams): void;
|
|
253
253
|
getGui(): HTMLElement;
|
|
254
|
+
/** Hands the latest row data to the menu, so per-row actions and disabled states stay current. */
|
|
254
255
|
refresh(params: ICellRendererParams): boolean;
|
|
255
256
|
}
|
|
256
257
|
|
|
@@ -3387,7 +3388,8 @@ declare class GenesisInfiniteDatasource implements IDatasource {
|
|
|
3387
3388
|
/**
|
|
3388
3389
|
* Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer.
|
|
3389
3390
|
* Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).
|
|
3390
|
-
* @param actions - Array of `ActionMenuItem` to be displayed in the menu
|
|
3391
|
+
* @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data
|
|
3392
|
+
* returning that array (for row-scoped eligibility/permission filtering).
|
|
3391
3393
|
* @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.
|
|
3392
3394
|
* @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.
|
|
3393
3395
|
* @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).
|
|
@@ -3417,7 +3419,7 @@ declare class GenesisInfiniteDatasource implements IDatasource {
|
|
|
3417
3419
|
* ```
|
|
3418
3420
|
* @public
|
|
3419
3421
|
*/
|
|
3420
|
-
export declare const getActionsMenuDef: (actions:
|
|
3422
|
+
export declare const getActionsMenuDef: (actions: ActionMenuItems, overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string) => ColDef;
|
|
3421
3423
|
|
|
3422
3424
|
/**
|
|
3423
3425
|
* Get a Design System prefixed Checkbox template.
|
|
@@ -3581,6 +3583,41 @@ export declare const getTextFieldRendererTemplate: (designSystem?: string) => Vi
|
|
|
3581
3583
|
*/
|
|
3582
3584
|
export declare const getTextRendererTemplate: (designSystem?: string) => ViewTemplate<AgTextFieldRenderer, any>;
|
|
3583
3585
|
|
|
3586
|
+
/**
|
|
3587
|
+
* Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for a
|
|
3588
|
+
* vertical Actions Menu behind an icon-only "kebab" opener, for a pinned column of per-row actions.
|
|
3589
|
+
* Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).
|
|
3590
|
+
* @remarks The opener hides itself on rows with no actions, so it never opens an empty menu. The
|
|
3591
|
+
* column has a `colId` but no `field`: AG Grid only refreshes a cell with a field when its value
|
|
3592
|
+
* changes, and this column has no value, so a row update would leave stale actions. Having no value,
|
|
3593
|
+
* the column is also not sortable, filterable, resizable or flashed, and shows no header menu
|
|
3594
|
+
* button — pass any of these in `overrideDef` to turn them back on.
|
|
3595
|
+
* @param actions - Array of `ActionMenuItem` to be displayed in the menu, or a function of the row data
|
|
3596
|
+
* returning that array (for row-scoped eligibility/permission filtering).
|
|
3597
|
+
* @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.
|
|
3598
|
+
* @param iconName - Optional icon name for the opener. Default is `'ellipsis'` (horizontal dots); pass `'ellipsis-vertical'` for vertical ones.
|
|
3599
|
+
* @param buttonAppearance - Optional appearance for the button that opens the menu.
|
|
3600
|
+
* @param hideDisabled - Optional flag to hide disabled actions instead of greying them out. Default is false.
|
|
3601
|
+
* When every action for a row is hidden, the opener hides too.
|
|
3602
|
+
* @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.
|
|
3603
|
+
* @example
|
|
3604
|
+
* ```ts
|
|
3605
|
+
* public exampleMoreColumnDef: ColDef = getVerticalDropdownMenuDef(
|
|
3606
|
+
* (rowData) => [
|
|
3607
|
+
* { name: 'Ping Trader', icon: { name: 'paper-plane' }, callback: (rowData) => pingTrader(rowData) },
|
|
3608
|
+
* { name: 'Assign', icon: { name: 'user' }, callback: (rowData) => assign(rowData) },
|
|
3609
|
+
* ],
|
|
3610
|
+
* { headerName: '', pinned: 'right' },
|
|
3611
|
+
* );
|
|
3612
|
+
* ```
|
|
3613
|
+
* @public
|
|
3614
|
+
*/
|
|
3615
|
+
export declare const getVerticalDropdownMenuDef: (actions: ActionMenuItems, overrideDef?: ColDef & {
|
|
3616
|
+
suppressHeaderMenuButton?: boolean;
|
|
3617
|
+
}, iconName?: string, buttonAppearance?: string, hideDisabled?: boolean) => ColDef & {
|
|
3618
|
+
suppressHeaderMenuButton?: boolean;
|
|
3619
|
+
};
|
|
3620
|
+
|
|
3584
3621
|
/** Context key on `gridOptions.context` for AG column drag integration.
|
|
3585
3622
|
* @public
|
|
3586
3623
|
*/
|
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.
|
|
4
|
+
"version": "15.76.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.
|
|
42
|
-
"@genesislcap/genx": "15.
|
|
43
|
-
"@genesislcap/ts-builder": "15.
|
|
44
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
45
|
-
"@genesislcap/vite-builder": "15.
|
|
46
|
-
"@genesislcap/webpack-builder": "15.
|
|
41
|
+
"@genesislcap/foundation-testing": "15.76.0",
|
|
42
|
+
"@genesislcap/genx": "15.76.0",
|
|
43
|
+
"@genesislcap/ts-builder": "15.76.0",
|
|
44
|
+
"@genesislcap/uvu-playwright-builder": "15.76.0",
|
|
45
|
+
"@genesislcap/vite-builder": "15.76.0",
|
|
46
|
+
"@genesislcap/webpack-builder": "15.76.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@genesislcap/foundation-comms": "15.
|
|
50
|
-
"@genesislcap/foundation-criteria": "15.
|
|
51
|
-
"@genesislcap/foundation-logger": "15.
|
|
52
|
-
"@genesislcap/foundation-ui": "15.
|
|
53
|
-
"@genesislcap/foundation-utils": "15.
|
|
49
|
+
"@genesislcap/foundation-comms": "15.76.0",
|
|
50
|
+
"@genesislcap/foundation-criteria": "15.76.0",
|
|
51
|
+
"@genesislcap/foundation-logger": "15.76.0",
|
|
52
|
+
"@genesislcap/foundation-ui": "15.76.0",
|
|
53
|
+
"@genesislcap/foundation-utils": "15.76.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",
|