@genesislcap/foundation-entity-management 14.200.1-alpha-e974201.0 → 14.202.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 +348 -36
- package/dist/dts/entities/entities.d.ts +66 -14
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts +10 -0
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/types.d.ts +12 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +111 -1
- package/dist/esm/entities/entities.styles.js +13 -2
- package/dist/esm/entities/entities.template.js +68 -16
- package/dist/esm/list/list.js +4 -3
- package/dist/esm/types.js +14 -0
- package/dist/foundation-entity-management.api.json +308 -0
- package/dist/foundation-entity-management.d.ts +79 -14
- package/docs/api/foundation-entity-management.entitymanagement.crudactionmenuname.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenuposition.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenustyle.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenuwrapper.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.emitcrud.md +24 -0
- package/docs/api/foundation-entity-management.entitymanagement.hascontentinslot.md +26 -0
- package/docs/api/foundation-entity-management.entitymanagement.hasselectedentity.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +9 -0
- package/docs/api/foundation-entity-management.entitymanagement.shouldhidedeleteincolumn.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.shouldhideeditincolumn.md +13 -0
- package/docs/api-report.md +13 -0
- package/package.json +22 -22
|
@@ -27,6 +27,12 @@ import { Session } from '@genesislcap/foundation-comms';
|
|
|
27
27
|
import { UiSchema } from '@genesislcap/foundation-forms';
|
|
28
28
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
29
29
|
|
|
30
|
+
declare enum ActionsMenuStyle {
|
|
31
|
+
Default = "default",
|
|
32
|
+
ActionsVertical = "actions-vertical",
|
|
33
|
+
ActionsHorizontal = "actions-horizontal"
|
|
34
|
+
}
|
|
35
|
+
|
|
30
36
|
declare type AdditionalEntry = string | UiSchema | {
|
|
31
37
|
type: 'Control';
|
|
32
38
|
scope: string;
|
|
@@ -45,6 +51,14 @@ declare type AdditionalEntry = string | UiSchema | {
|
|
|
45
51
|
*/
|
|
46
52
|
export declare const buttonCellRenderer: (title: any, clickHandler: any, contentTemplate: any) => ColDef;
|
|
47
53
|
|
|
54
|
+
declare enum CrudMenuPosition {
|
|
55
|
+
Column = "column",
|
|
56
|
+
Top = "top",
|
|
57
|
+
Bottom = "bottom",
|
|
58
|
+
Action = "action",
|
|
59
|
+
None = "none"
|
|
60
|
+
}
|
|
61
|
+
|
|
48
62
|
/**
|
|
49
63
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
50
64
|
*
|
|
@@ -284,6 +298,44 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
284
298
|
* @public
|
|
285
299
|
*/
|
|
286
300
|
modalPosition: 'centre' | 'left' | 'right';
|
|
301
|
+
/**
|
|
302
|
+
* Determines where the buttons will appear
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
crudMenuPosition: CrudMenuPosition;
|
|
306
|
+
/**
|
|
307
|
+
* Determines the style of the buttons
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
crudMenuStyle: ActionsMenuStyle;
|
|
311
|
+
/**
|
|
312
|
+
* The label of the crud action menu
|
|
313
|
+
*/
|
|
314
|
+
crudActionMenuName: string;
|
|
315
|
+
/**
|
|
316
|
+
* The Id of the crud buttons wrapper element
|
|
317
|
+
*/
|
|
318
|
+
crudMenuWrapper: any;
|
|
319
|
+
/**
|
|
320
|
+
* Determines whether the button edit should be hidden in the column
|
|
321
|
+
*/
|
|
322
|
+
get shouldHideEditInColumn(): boolean;
|
|
323
|
+
/**
|
|
324
|
+
* Determines whether the button delete should be hidden in the column
|
|
325
|
+
*/
|
|
326
|
+
get shouldHideDeleteInColumn(): boolean;
|
|
327
|
+
/**
|
|
328
|
+
* Determines whether there is a selected entity
|
|
329
|
+
*/
|
|
330
|
+
get hasSelectedEntity(): boolean;
|
|
331
|
+
/**
|
|
332
|
+
* Checks if a slot contains any content.
|
|
333
|
+
*
|
|
334
|
+
* @param slotName - The name of the slot to check.
|
|
335
|
+
* @returns True if the slot has content, otherwise false.
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
hasContentInSlot(slotName: string): boolean;
|
|
287
339
|
/**
|
|
288
340
|
* Set up the web component
|
|
289
341
|
* @internal
|
|
@@ -328,7 +380,7 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
328
380
|
* @param e - CustomEvent where `e.detail` is the entity to edit.
|
|
329
381
|
* @internal
|
|
330
382
|
*/
|
|
331
|
-
|
|
383
|
+
editEntity({ detail }: CustomEvent): Promise<void>;
|
|
332
384
|
private readEntity;
|
|
333
385
|
closeModal(): void;
|
|
334
386
|
get headerTempalate(): ViewTemplate<EntityManagement, any>;
|
|
@@ -348,11 +400,27 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
348
400
|
deleteEntity(e: CustomEvent): Promise<void>;
|
|
349
401
|
confirmDelete(): Promise<void>;
|
|
350
402
|
private showDeleteConfirmation;
|
|
403
|
+
/**
|
|
404
|
+
* Emit the CRUD event for the selected entity
|
|
405
|
+
* @param action - the action to emit
|
|
406
|
+
*/
|
|
407
|
+
emitCrud(action: 'create' | 'edit' | 'delete'): void;
|
|
351
408
|
/**
|
|
352
409
|
* Show notifications if the executed event returned an error.
|
|
353
410
|
* @internal
|
|
354
411
|
*/
|
|
355
412
|
errorNotify(request: any): void;
|
|
413
|
+
/**
|
|
414
|
+
* Clear the selected entity
|
|
415
|
+
* @internal
|
|
416
|
+
*/
|
|
417
|
+
private clearSelectedEntity;
|
|
418
|
+
/**
|
|
419
|
+
* Helper to generate the CRUD actions menu
|
|
420
|
+
*
|
|
421
|
+
* @internal
|
|
422
|
+
*/
|
|
423
|
+
private generateCrudActionsMenu;
|
|
356
424
|
}
|
|
357
425
|
|
|
358
426
|
declare const EntityManagement_base: (new (...args: any[]) => {
|
|
@@ -371,7 +439,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
371
439
|
readonly $fastController: Controller;
|
|
372
440
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
373
441
|
disconnectedCallback(): void;
|
|
374
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
442
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void; /**
|
|
443
|
+
* This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.
|
|
444
|
+
* @remarks Defaults to single
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
375
447
|
accessKey: string;
|
|
376
448
|
readonly accessKeyLabel: string;
|
|
377
449
|
autocapitalize: string;
|
|
@@ -389,6 +461,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
389
461
|
outerText: string;
|
|
390
462
|
spellcheck: boolean;
|
|
391
463
|
title: string;
|
|
464
|
+
/**
|
|
465
|
+
* If true, will enable row flashing for all rows for `add` transactions
|
|
466
|
+
* @public
|
|
467
|
+
*/
|
|
392
468
|
translate: boolean;
|
|
393
469
|
attachInternals(): ElementInternals;
|
|
394
470
|
click(): void;
|
|
@@ -424,10 +500,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
424
500
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
425
501
|
closest<E extends Element = Element>(selectors: string): E;
|
|
426
502
|
getAttribute(qualifiedName: string): string;
|
|
427
|
-
getAttributeNS(namespace: string, localName: string): string;
|
|
428
|
-
* Array with renderers used by foundation-forms
|
|
429
|
-
* @public
|
|
430
|
-
*/
|
|
503
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
431
504
|
getAttributeNames(): string[];
|
|
432
505
|
getAttributeNode(qualifiedName: string): Attr;
|
|
433
506
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
@@ -550,14 +623,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
550
623
|
ariaSetSize: string;
|
|
551
624
|
ariaSort: string;
|
|
552
625
|
ariaValueMax: string;
|
|
553
|
-
/**
|
|
554
|
-
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
555
|
-
*
|
|
556
|
-
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
557
|
-
*
|
|
558
|
-
* Emits an event upon error
|
|
559
|
-
* @public
|
|
560
|
-
*/
|
|
561
626
|
ariaValueMin: string;
|
|
562
627
|
ariaValueNow: string;
|
|
563
628
|
ariaValueText: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [crudActionMenuName](./foundation-entity-management.entitymanagement.crudactionmenuname.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.crudActionMenuName property
|
|
6
|
+
|
|
7
|
+
The label of the crud action menu
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
crudActionMenuName: string;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [crudMenuPosition](./foundation-entity-management.entitymanagement.crudmenuposition.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.crudMenuPosition property
|
|
6
|
+
|
|
7
|
+
Determines where the buttons will appear
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
crudMenuPosition: CrudMenuPosition;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [crudMenuStyle](./foundation-entity-management.entitymanagement.crudmenustyle.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.crudMenuStyle property
|
|
6
|
+
|
|
7
|
+
Determines the style of the buttons
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
crudMenuStyle: ActionsMenuStyle;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [crudMenuWrapper](./foundation-entity-management.entitymanagement.crudmenuwrapper.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.crudMenuWrapper property
|
|
6
|
+
|
|
7
|
+
The Id of the crud buttons wrapper element
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
crudMenuWrapper: any;
|
|
13
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [emitCrud](./foundation-entity-management.entitymanagement.emitcrud.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.emitCrud() method
|
|
6
|
+
|
|
7
|
+
Emit the CRUD event for the selected entity
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
emitCrud(action: 'create' | 'edit' | 'delete'): void;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| action | 'create' \| 'edit' \| 'delete' | the action to emit |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
void
|
|
24
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [hasContentInSlot](./foundation-entity-management.entitymanagement.hascontentinslot.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.hasContentInSlot() method
|
|
6
|
+
|
|
7
|
+
Checks if a slot contains any content.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
hasContentInSlot(slotName: string): boolean;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| slotName | string | The name of the slot to check. |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
boolean
|
|
24
|
+
|
|
25
|
+
True if the slot has content, otherwise false.
|
|
26
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [hasSelectedEntity](./foundation-entity-management.entitymanagement.hasselectedentity.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.hasSelectedEntity property
|
|
6
|
+
|
|
7
|
+
Determines whether there is a selected entity
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get hasSelectedEntity(): boolean;
|
|
13
|
+
```
|
|
@@ -43,6 +43,10 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
43
43
|
| [connect](./foundation-entity-management.entitymanagement.connect.md) | <code>protected</code> | Connect | DI connect object which is used to interact with the backend. |
|
|
44
44
|
| [createEvent](./foundation-entity-management.entitymanagement.createevent.md) | | string | Name of the event handler on the Genesis server which handles creating an entity |
|
|
45
45
|
| [createFormUiSchema](./foundation-entity-management.entitymanagement.createformuischema.md) | | UiSchema | |
|
|
46
|
+
| [crudActionMenuName](./foundation-entity-management.entitymanagement.crudactionmenuname.md) | | string | The label of the crud action menu |
|
|
47
|
+
| [crudMenuPosition](./foundation-entity-management.entitymanagement.crudmenuposition.md) | | CrudMenuPosition | Determines where the buttons will appear |
|
|
48
|
+
| [crudMenuStyle](./foundation-entity-management.entitymanagement.crudmenustyle.md) | | ActionsMenuStyle | Determines the style of the buttons |
|
|
49
|
+
| [crudMenuWrapper](./foundation-entity-management.entitymanagement.crudmenuwrapper.md) | | any | The Id of the crud buttons wrapper element |
|
|
46
50
|
| [datasourceConfig](./foundation-entity-management.entitymanagement.datasourceconfig.md) | | [DatasourceConfiguration](./foundation-entity-management.datasourceconfiguration.md) | The configuration which is used when interacting with the resource on the backend |
|
|
47
51
|
| [datasourceType](./foundation-entity-management.entitymanagement.datasourcetype.md) | | DatasourceType | If set to 'server' it will enable Server-Side Row Model and use <code>grid-pro-server-side-datasource</code> for the grid of the <code>entity-list</code> sub-component. By default <code>grid-pro-client-side-datasource</code> will be used. |
|
|
48
52
|
| [defaultEntityValues](./foundation-entity-management.entitymanagement.defaultentityvalues.md) | | Record<string, unknown> | The default values to populate the form with when the user is adding an entity |
|
|
@@ -59,6 +63,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
59
63
|
| [formRenderers](./foundation-entity-management.entitymanagement.formrenderers.md) | | RendererEntry\[\] | Array with renderers used by foundation-forms |
|
|
60
64
|
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | UiSchema | |
|
|
61
65
|
| [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
|
66
|
+
| [hasSelectedEntity](./foundation-entity-management.entitymanagement.hasselectedentity.md) | <code>readonly</code> | boolean | Determines whether there is a selected entity |
|
|
62
67
|
| [headerCaseType](./foundation-entity-management.entitymanagement.headercasetype.md) | | GridProCaseType | The case type to use for the header names. If not set, the default CONSTANT\_CASE will be used. |
|
|
63
68
|
| [headerTempalate](./foundation-entity-management.entitymanagement.headertempalate.md) | <code>readonly</code> | import("@microsoft/fast-element").ViewTemplate<[EntityManagement](./foundation-entity-management.entitymanagement.md)<!-- -->, any> | |
|
|
64
69
|
| [hideDelete](./foundation-entity-management.entitymanagement.hidedelete.md) | | boolean | |
|
|
@@ -74,6 +79,8 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
74
79
|
| [rowSelection](./foundation-entity-management.entitymanagement.rowselection.md) | | string | This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows. |
|
|
75
80
|
| [searchBarConfig](./foundation-entity-management.entitymanagement.searchbarconfig.md) | | AvailableOption\[\] | |
|
|
76
81
|
| [selectedEntity](./foundation-entity-management.entitymanagement.selectedentity.md) | | Record<string, unknown> | Reference to the currently selected entity from the grid. |
|
|
82
|
+
| [shouldHideDeleteInColumn](./foundation-entity-management.entitymanagement.shouldhidedeleteincolumn.md) | <code>readonly</code> | boolean | Determines whether the button delete should be hidden in the column |
|
|
83
|
+
| [shouldHideEditInColumn](./foundation-entity-management.entitymanagement.shouldhideeditincolumn.md) | <code>readonly</code> | boolean | Determines whether the button edit should be hidden in the column |
|
|
77
84
|
| [sizeColumnsToFit](./foundation-entity-management.entitymanagement.sizecolumnstofit.md) | | boolean | |
|
|
78
85
|
| [submitting](./foundation-entity-management.entitymanagement.submitting.md) | | boolean | |
|
|
79
86
|
| [title](./foundation-entity-management.entitymanagement.title.md) | | string | Title of the grid |
|
|
@@ -90,6 +97,8 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
90
97
|
| [deepClone()](./foundation-entity-management.entitymanagement.deepclone.md) | | Override the deepClone method to ensure that observable attributes are cloned |
|
|
91
98
|
| [disconnectedCallback()](./foundation-entity-management.entitymanagement.disconnectedcallback.md) | | |
|
|
92
99
|
| [editModalVisibleChanged()](./foundation-entity-management.entitymanagement.editmodalvisiblechanged.md) | | |
|
|
100
|
+
| [emitCrud(action)](./foundation-entity-management.entitymanagement.emitcrud.md) | | Emit the CRUD event for the selected entity |
|
|
101
|
+
| [hasContentInSlot(slotName)](./foundation-entity-management.entitymanagement.hascontentinslot.md) | | Checks if a slot contains any content. |
|
|
93
102
|
| [requestChanged(e)](./foundation-entity-management.entitymanagement.requestchanged.md) | | |
|
|
94
103
|
| [searchBarDataserver(options)](./foundation-entity-management.entitymanagement.searchbardataserver.md) | | |
|
|
95
104
|
| [searchBarReqServer(options)](./foundation-entity-management.entitymanagement.searchbarreqserver.md) | | |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [shouldHideDeleteInColumn](./foundation-entity-management.entitymanagement.shouldhidedeleteincolumn.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.shouldHideDeleteInColumn property
|
|
6
|
+
|
|
7
|
+
Determines whether the button delete should be hidden in the column
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get shouldHideDeleteInColumn(): boolean;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [shouldHideEditInColumn](./foundation-entity-management.entitymanagement.shouldhideeditincolumn.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.shouldHideEditInColumn property
|
|
6
|
+
|
|
7
|
+
Determines whether the button edit should be hidden in the column
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get shouldHideEditInColumn(): boolean;
|
|
13
|
+
```
|
package/docs/api-report.md
CHANGED
|
@@ -66,6 +66,12 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
66
66
|
createFormUiSchema: UiSchema;
|
|
67
67
|
// (undocumented)
|
|
68
68
|
criteriaChanged(e: CustomEvent<string>): void;
|
|
69
|
+
crudActionMenuName: string;
|
|
70
|
+
// Warning: (ae-forgotten-export) The symbol "CrudMenuPosition" needs to be exported by the entry point index.d.ts
|
|
71
|
+
crudMenuPosition: CrudMenuPosition;
|
|
72
|
+
// Warning: (ae-forgotten-export) The symbol "ActionsMenuStyle" needs to be exported by the entry point index.d.ts
|
|
73
|
+
crudMenuStyle: ActionsMenuStyle;
|
|
74
|
+
crudMenuWrapper: any;
|
|
69
75
|
datasourceConfig: DatasourceConfiguration;
|
|
70
76
|
datasourceType: DatasourceType_2;
|
|
71
77
|
deepClone(): Node;
|
|
@@ -77,12 +83,15 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
77
83
|
disconnectedCallback(): Promise<void>;
|
|
78
84
|
editDialogTitle: string;
|
|
79
85
|
editedEntity: Record<string, unknown>;
|
|
86
|
+
// @internal
|
|
87
|
+
editEntity({ detail }: CustomEvent): Promise<void>;
|
|
80
88
|
// (undocumented)
|
|
81
89
|
editEntityModal: Modal;
|
|
82
90
|
// (undocumented)
|
|
83
91
|
editModalVisible: boolean;
|
|
84
92
|
// (undocumented)
|
|
85
93
|
editModalVisibleChanged(): void;
|
|
94
|
+
emitCrud(action: 'create' | 'edit' | 'delete'): void;
|
|
86
95
|
enableCellFlashing: boolean;
|
|
87
96
|
// (undocumented)
|
|
88
97
|
enableFilterBar: boolean;
|
|
@@ -97,6 +106,8 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
97
106
|
// (undocumented)
|
|
98
107
|
formUiSchema: UiSchema;
|
|
99
108
|
gridOptions: GridOptions;
|
|
109
|
+
hasContentInSlot(slotName: string): boolean;
|
|
110
|
+
get hasSelectedEntity(): boolean;
|
|
100
111
|
headerCaseType: GridProCaseType;
|
|
101
112
|
// (undocumented)
|
|
102
113
|
get headerTempalate(): ViewTemplate<EntityManagement, any>;
|
|
@@ -128,6 +139,8 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
128
139
|
// (undocumented)
|
|
129
140
|
searchChanged(event: CustomEvent<Array<SelectedOption>>): void;
|
|
130
141
|
selectedEntity: Record<string, unknown>;
|
|
142
|
+
get shouldHideDeleteInColumn(): boolean;
|
|
143
|
+
get shouldHideEditInColumn(): boolean;
|
|
131
144
|
// (undocumented)
|
|
132
145
|
sizeColumnsToFit: boolean;
|
|
133
146
|
submitEntityChanges(e: CustomEvent): Promise<void>;
|
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.
|
|
4
|
+
"version": "14.202.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.
|
|
56
|
-
"@genesislcap/genx": "14.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.
|
|
58
|
-
"@genesislcap/ts-builder": "14.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
60
|
-
"@genesislcap/vite-builder": "14.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.202.0",
|
|
56
|
+
"@genesislcap/genx": "14.202.0",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.202.0",
|
|
58
|
+
"@genesislcap/ts-builder": "14.202.0",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.202.0",
|
|
60
|
+
"@genesislcap/vite-builder": "14.202.0",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.202.0",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@ag-grid-community/core": "
|
|
66
|
-
"@genesislcap/foundation-comms": "14.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.
|
|
68
|
-
"@genesislcap/foundation-events": "14.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.
|
|
71
|
-
"@genesislcap/foundation-login": "14.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
77
|
-
"@genesislcap/grid-pro": "14.
|
|
65
|
+
"@ag-grid-community/core": "29.2.0",
|
|
66
|
+
"@genesislcap/foundation-comms": "14.202.0",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.202.0",
|
|
68
|
+
"@genesislcap/foundation-events": "14.202.0",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.202.0",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.202.0",
|
|
71
|
+
"@genesislcap/foundation-login": "14.202.0",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.202.0",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.202.0",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.202.0",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.202.0",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.202.0",
|
|
77
|
+
"@genesislcap/grid-pro": "14.202.0",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"access": "public"
|
|
91
91
|
},
|
|
92
92
|
"customElements": "dist/custom-elements.json",
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "73a2550f84344266438432d5c18a567885de548e"
|
|
94
94
|
}
|