Skip to main content

foundation-entity-management

Home > @genesislcap/foundation-entity-management

foundation-entity-management package

Classes

Class

Description

EntityManagement

Main class which defines the entity management functionality

MainApplication

SmartFormModal

(ALPHA) The Smart Form Modal element. Allows to open a modal with an auto-generated form based on the resource schema.

Enumerations

Enumeration

Description

ActionsMenuStyle

CrudAction

CrudMenuPosition

ModalFormType

Functions

Function

Description

buttonCellRenderer(title, clickHandler, contentTemplate, tooltip)

getErrorFormat(err)

Format the error as a string with a different format depending on whether err has a FIELD property or not

mapDefaultValues(defaultValues, rowData)

Map default values for custom actions

Transform default values object by replacing values with special type 'record' with corresponding values from the row data

Interfaces

Interface

Description

ConfirmSubmit

CustomAction

CustomActionError

CustomActionState

DefaultValues

RecordTypeValue

Variables

Variable

Description

ENTITY_NAME

logger

RESOURCE_NAME

Type Aliases

Type Alias

Description

AdditionalEntry

DatasourceConfiguration

The attribute which is set to configure the resource that the entity manager is working with

DefaultValue