@genesislcap/foundation-entity-management 14.65.0 → 14.65.1

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.
@@ -435,7 +435,7 @@ export declare class Users extends Users_base {
435
435
  */
436
436
  statusColumn(): {
437
437
  headerName: string;
438
- field: string;
438
+ colId: string;
439
439
  minWidth: number;
440
440
  width: number;
441
441
  suppressSizeToFit: boolean;
@@ -1,29 +1,6 @@
1
+ import type { ColDef } from '@ag-grid-community/core';
1
2
  /**
2
3
  * @public
3
4
  */
4
- export declare const buttonCellRenderer: (title: any, clickHandler: any) => {
5
- field: string;
6
- width: number;
7
- pinned: string;
8
- enableCellChangeFlash: boolean;
9
- cellStyle: {
10
- padding: string;
11
- lineHeight: string;
12
- };
13
- filter: boolean;
14
- suppressFiltersToolPanel: boolean;
15
- suppressColumnsToolPanel: boolean;
16
- headerName: string;
17
- minWidth: number;
18
- maxWidth: number;
19
- resizable: boolean;
20
- cellRendererSelector: (params: any) => {
21
- component: string;
22
- params: {
23
- actionClick: any;
24
- actionName: any;
25
- appearance: string;
26
- };
27
- };
28
- };
5
+ export declare const buttonCellRenderer: (title: any, clickHandler: any) => ColDef;
29
6
  //# sourceMappingURL=renderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/utils/renderer.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;CAwB7B,CAAC"}
1
+ {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/utils/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,kBAAkB,qCAA0B,MAwBvD,CAAC"}
@@ -80,7 +80,7 @@ let Users = class Users extends LifecycleMixin(FASTElement) {
80
80
  * @internal
81
81
  */
82
82
  statusColumn() {
83
- return Object.assign(Object.assign({}, defaultColumnConfig), { headerName: 'Status', field: 'STATUS', minWidth: 135, width: 135, suppressSizeToFit: true, cellRendererSelector: this.statusRendererSelector.bind(this) });
83
+ return Object.assign(Object.assign({}, defaultColumnConfig), { headerName: 'Status', colId: 'STATUS', minWidth: 135, width: 135, suppressSizeToFit: true, cellRendererSelector: this.statusRendererSelector.bind(this) });
84
84
  }
85
85
  /**
86
86
  * Returns the config for an entity column if the entityID attribute is defined
@@ -2,7 +2,7 @@
2
2
  * @public
3
3
  */
4
4
  export const buttonCellRenderer = (title, clickHandler) => ({
5
- field: `action-${title}`,
5
+ colId: `action-${title}`,
6
6
  width: 100,
7
7
  pinned: 'right',
8
8
  enableCellChangeFlash: false,
@@ -183,7 +183,12 @@
183
183
  },
184
184
  {
185
185
  "kind": "Content",
186
- "text": "(title: any, clickHandler: any) => {\n field: string;\n width: number;\n pinned: string;\n enableCellChangeFlash: boolean;\n cellStyle: {\n padding: string;\n lineHeight: string;\n };\n filter: boolean;\n suppressFiltersToolPanel: boolean;\n suppressColumnsToolPanel: boolean;\n headerName: string;\n minWidth: number;\n maxWidth: number;\n resizable: boolean;\n cellRendererSelector: (params: any) => {\n component: string;\n params: {\n actionClick: any;\n actionName: any;\n appearance: string;\n };\n };\n}"
186
+ "text": "(title: any, clickHandler: any) => "
187
+ },
188
+ {
189
+ "kind": "Reference",
190
+ "text": "ColDef",
191
+ "canonicalReference": "@ag-grid-community/core!ColDef:interface"
187
192
  }
188
193
  ],
189
194
  "fileUrlPath": "src/utils/renderer.ts",
@@ -192,7 +197,7 @@
192
197
  "name": "buttonCellRenderer",
193
198
  "variableTypeTokenRange": {
194
199
  "startIndex": 1,
195
- "endIndex": 2
200
+ "endIndex": 3
196
201
  }
197
202
  },
198
203
  {
@@ -22,31 +22,7 @@ import { ViewTemplate } from '@microsoft/fast-element';
22
22
  /**
23
23
  * @public
24
24
  */
25
- export declare const buttonCellRenderer: (title: any, clickHandler: any) => {
26
- field: string;
27
- width: number;
28
- pinned: string;
29
- enableCellChangeFlash: boolean;
30
- cellStyle: {
31
- padding: string;
32
- lineHeight: string;
33
- };
34
- filter: boolean;
35
- suppressFiltersToolPanel: boolean;
36
- suppressColumnsToolPanel: boolean;
37
- headerName: string;
38
- minWidth: number;
39
- maxWidth: number;
40
- resizable: boolean;
41
- cellRendererSelector: (params: any) => {
42
- component: string;
43
- params: {
44
- actionClick: any;
45
- actionName: any;
46
- appearance: string;
47
- };
48
- };
49
- };
25
+ export declare const buttonCellRenderer: (title: any, clickHandler: any) => ColDef;
50
26
 
51
27
  /**
52
28
  * The attribute which is set to configure the resource that the entity manager is working with
@@ -806,7 +782,7 @@ export declare class Users extends Users_base {
806
782
  */
807
783
  statusColumn(): {
808
784
  headerName: string;
809
- field: string;
785
+ colId: string;
810
786
  minWidth: number;
811
787
  width: number;
812
788
  suppressSizeToFit: boolean;
@@ -8,29 +8,5 @@
8
8
  **Signature:**
9
9
 
10
10
  ```typescript
11
- buttonCellRenderer: (title: any, clickHandler: any) => {
12
- field: string;
13
- width: number;
14
- pinned: string;
15
- enableCellChangeFlash: boolean;
16
- cellStyle: {
17
- padding: string;
18
- lineHeight: string;
19
- };
20
- filter: boolean;
21
- suppressFiltersToolPanel: boolean;
22
- suppressColumnsToolPanel: boolean;
23
- headerName: string;
24
- minWidth: number;
25
- maxWidth: number;
26
- resizable: boolean;
27
- cellRendererSelector: (params: any) => {
28
- component: string;
29
- params: {
30
- actionClick: any;
31
- actionName: any;
32
- appearance: string;
33
- };
34
- };
35
- }
11
+ buttonCellRenderer: (title: any, clickHandler: any) => ColDef
36
12
  ```
@@ -26,31 +26,7 @@ import { Session } from '@genesislcap/foundation-comms';
26
26
  import { ViewTemplate } from '@microsoft/fast-element';
27
27
 
28
28
  // @public (undocumented)
29
- export const buttonCellRenderer: (title: any, clickHandler: any) => {
30
- field: string;
31
- width: number;
32
- pinned: string;
33
- enableCellChangeFlash: boolean;
34
- cellStyle: {
35
- padding: string;
36
- lineHeight: string;
37
- };
38
- filter: boolean;
39
- suppressFiltersToolPanel: boolean;
40
- suppressColumnsToolPanel: boolean;
41
- headerName: string;
42
- minWidth: number;
43
- maxWidth: number;
44
- resizable: boolean;
45
- cellRendererSelector: (params: any) => {
46
- component: string;
47
- params: {
48
- actionClick: any;
49
- actionName: any;
50
- appearance: string;
51
- };
52
- };
53
- };
29
+ export const buttonCellRenderer: (title: any, clickHandler: any) => ColDef;
54
30
 
55
31
  // @public
56
32
  export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName' | 'request'>;
@@ -250,7 +226,7 @@ export class Users extends Users_base {
250
226
  // @internal
251
227
  statusColumn(): {
252
228
  headerName: string;
253
- field: string;
229
+ colId: string;
254
230
  minWidth: number;
255
231
  width: number;
256
232
  suppressSizeToFit: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-entity-management",
3
3
  "description": "Genesis Foundation Entity Management",
4
- "version": "14.65.0",
4
+ "version": "14.65.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -41,21 +41,21 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@genesislcap/foundation-login": "^14.40.0",
44
- "@genesislcap/foundation-testing": "14.65.0",
45
- "@genesislcap/genx": "14.65.0",
44
+ "@genesislcap/foundation-testing": "14.65.1",
45
+ "@genesislcap/genx": "14.65.1",
46
46
  "rimraf": "^3.0.2"
47
47
  },
48
48
  "dependencies": {
49
49
  "@ag-grid-community/core": "29.2.0",
50
- "@genesislcap/foundation-comms": "14.65.0",
51
- "@genesislcap/foundation-errors": "14.65.0",
52
- "@genesislcap/foundation-forms": "14.65.0",
53
- "@genesislcap/foundation-login": "14.65.0",
54
- "@genesislcap/foundation-ui": "14.65.0",
55
- "@genesislcap/foundation-utils": "14.65.0",
56
- "@genesislcap/foundation-zero": "14.65.0",
57
- "@genesislcap/foundation-zero-grid-pro": "14.65.0",
58
- "@genesislcap/grid-pro": "14.65.0",
50
+ "@genesislcap/foundation-comms": "14.65.1",
51
+ "@genesislcap/foundation-errors": "14.65.1",
52
+ "@genesislcap/foundation-forms": "14.65.1",
53
+ "@genesislcap/foundation-login": "14.65.1",
54
+ "@genesislcap/foundation-ui": "14.65.1",
55
+ "@genesislcap/foundation-utils": "14.65.1",
56
+ "@genesislcap/foundation-zero": "14.65.1",
57
+ "@genesislcap/foundation-zero-grid-pro": "14.65.1",
58
+ "@genesislcap/grid-pro": "14.65.1",
59
59
  "@microsoft/fast-components": "^2.21.3",
60
60
  "@microsoft/fast-element": "^1.7.0",
61
61
  "@microsoft/fast-foundation": "^2.33.2",
@@ -71,5 +71,5 @@
71
71
  "access": "public"
72
72
  },
73
73
  "customElements": "dist/custom-elements.json",
74
- "gitHead": "127bc648c049b8ed12d259fd8f6cf861b309e575"
74
+ "gitHead": "b9f3f9f80be7e1d754b1808be012fbaa26e65931"
75
75
  }