@genesislcap/grid-pro 14.30.2-bny.7 → 14.30.2-bny.8
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 +7 -0
- package/dist/dts/cell-renderers/actions-menu.renderer.d.ts +1 -1
- package/dist/dts/cell-renderers/actions-menu.renderer.d.ts.map +1 -1
- package/dist/esm/cell-renderers/actions-menu.renderer.js +2 -1
- package/dist/grid-pro.api.json +1 -1
- package/dist/grid-pro.d.ts +1 -1
- package/docs/api/grid-pro.getactionsmenudef.md +1 -1
- package/docs/api-report.md +1 -1
- package/package.json +7 -7
|
@@ -1932,6 +1932,13 @@
|
|
|
1932
1932
|
"text": "string"
|
|
1933
1933
|
},
|
|
1934
1934
|
"description": "Optional appearance for the button that opens the menu. Default is 'outline'."
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "hideMenuSingleOption",
|
|
1938
|
+
"optional": true,
|
|
1939
|
+
"type": {
|
|
1940
|
+
"text": "boolean"
|
|
1941
|
+
}
|
|
1935
1942
|
}
|
|
1936
1943
|
],
|
|
1937
1944
|
"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).",
|
|
@@ -60,5 +60,5 @@ export declare const foundationGridProActionsMenuRenderer: (overrideDefinition?:
|
|
|
60
60
|
* ```
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
|
-
export declare const getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string) => ColDef;
|
|
63
|
+
export declare const getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string, hideMenuSingleOption?: boolean) => ColDef;
|
|
64
64
|
//# 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,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D;;;;;GAKG;AACH,qBAAa,mBAAoB,SAAQ,iBAAkB,YAAW,iBAAiB;IAClE,MAAM,EAAE,mBAAmB,CAAC;IAExC,IAAI,CAAC,MAAM,EAAE,mBAAmB;IAKhC,MAAM,IAAI,WAAW;IAIrB,OAAO,CAAC,MAAM,EAAE,mBAAmB;CAG3C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC;;;;;;8BAQ/C,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iBAAiB,YACnB,cAAc,EAAE,gBACZ,MAAM,4BACM,MAAM,eACnB,OAAO,qBACA,MAAM,
|
|
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,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D;;;;;GAKG;AACH,qBAAa,mBAAoB,SAAQ,iBAAkB,YAAW,iBAAiB;IAClE,MAAM,EAAE,mBAAmB,CAAC;IAExC,IAAI,CAAC,MAAM,EAAE,mBAAmB;IAKhC,MAAM,IAAI,WAAW;IAIrB,OAAO,CAAC,MAAM,EAAE,mBAAmB;CAG3C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC;;;;;;8BAQ/C,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iBAAiB,YACnB,cAAc,EAAE,gBACZ,MAAM,4BACM,MAAM,eACnB,OAAO,qBACA,MAAM,yBACF,OAAO,KAC7B,MAsBF,CAAC"}
|
|
@@ -73,7 +73,7 @@ export const foundationGridProActionsMenuRenderer = ActionsMenuRenderer.compose(
|
|
|
73
73
|
* ```
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
|
-
export const getActionsMenuDef = (actions, overrideDef = {}, customActionsOpenerName = '⋮', isVertical = false, buttonAppearance) => {
|
|
76
|
+
export const getActionsMenuDef = (actions, overrideDef = {}, customActionsOpenerName = '⋮', isVertical = false, buttonAppearance, hideMenuSingleOption) => {
|
|
77
77
|
const actionsMenuDef = {
|
|
78
78
|
cellRenderer: GridProRendererTypes.actionsMenu,
|
|
79
79
|
cellRendererParams: {
|
|
@@ -81,6 +81,7 @@ export const getActionsMenuDef = (actions, overrideDef = {}, customActionsOpener
|
|
|
81
81
|
buttonAppearance,
|
|
82
82
|
isVertical,
|
|
83
83
|
buttonText: customActionsOpenerName,
|
|
84
|
+
hideMenuSingleOption: true,
|
|
84
85
|
},
|
|
85
86
|
cellStyle: { border: 'none', overflow: 'visible' },
|
|
86
87
|
field: 'actions',
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -4401,7 +4401,7 @@
|
|
|
4401
4401
|
},
|
|
4402
4402
|
{
|
|
4403
4403
|
"kind": "Content",
|
|
4404
|
-
"text": ", customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string) => "
|
|
4404
|
+
"text": ", customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string, hideMenuSingleOption?: boolean) => "
|
|
4405
4405
|
},
|
|
4406
4406
|
{
|
|
4407
4407
|
"kind": "Reference",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -700,7 +700,7 @@ declare interface FuiCellRendererParams_2 extends ICellRendererParams {
|
|
|
700
700
|
* ```
|
|
701
701
|
* @public
|
|
702
702
|
*/
|
|
703
|
-
export declare const getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string) => ColDef;
|
|
703
|
+
export declare const getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string, hideMenuSingleOption?: boolean) => ColDef;
|
|
704
704
|
|
|
705
705
|
/**
|
|
706
706
|
* Get a Design System prefixed Checkbox template.
|
|
@@ -9,7 +9,7 @@ Helper function to get ColDef [https://www.ag-grid.com/javascript-data-grid/colu
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string) => ColDef
|
|
12
|
+
getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string, hideMenuSingleOption?: boolean) => ColDef
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Example
|
package/docs/api-report.md
CHANGED
|
@@ -500,7 +500,7 @@ export const foundationGridProShadowOptions: ShadowRootInit;
|
|
|
500
500
|
export const foundationGridProStyles: ElementStyles;
|
|
501
501
|
|
|
502
502
|
// @public
|
|
503
|
-
export const getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string) => ColDef;
|
|
503
|
+
export const getActionsMenuDef: (actions: ActionMenuItem[], overrideDef?: ColDef, customActionsOpenerName?: string, isVertical?: boolean, buttonAppearance?: string, hideMenuSingleOption?: boolean) => ColDef;
|
|
504
504
|
|
|
505
505
|
// @public
|
|
506
506
|
export const getAgBooleanRendererTemplate: (designSystem?: string) => ViewTemplate<any, any>;
|
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": "14.30.2-bny.
|
|
4
|
+
"version": "14.30.2-bny.8",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"serve": "genx serve"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@genesislcap/foundation-testing": "14.30.2-bny.
|
|
25
|
-
"@genesislcap/genx": "14.30.2-bny.
|
|
24
|
+
"@genesislcap/foundation-testing": "14.30.2-bny.8",
|
|
25
|
+
"@genesislcap/genx": "14.30.2-bny.8",
|
|
26
26
|
"@playwright/test": "^1.18.1",
|
|
27
27
|
"bulma": "^0.9.3",
|
|
28
28
|
"c8": "^7.11.0",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"watchlist": "^0.3.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@genesislcap/foundation-comms": "14.30.2-bny.
|
|
42
|
-
"@genesislcap/foundation-ui": "14.30.2-bny.
|
|
43
|
-
"@genesislcap/foundation-utils": "14.30.2-bny.
|
|
41
|
+
"@genesislcap/foundation-comms": "14.30.2-bny.8",
|
|
42
|
+
"@genesislcap/foundation-ui": "14.30.2-bny.8",
|
|
43
|
+
"@genesislcap/foundation-utils": "14.30.2-bny.8",
|
|
44
44
|
"@microsoft/fast-colors": "^5.1.4",
|
|
45
45
|
"@microsoft/fast-components": "^2.21.3",
|
|
46
46
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
68
|
"customElements": "dist/custom-elements.json",
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "b35144242e048095aad91331e541421bad3d1a85"
|
|
70
70
|
}
|