File

device-grid/device-grid-config-mapper.service.ts

Index

Properties
Methods

Constructor

constructor(userPreferencesService: UserPreferencesService, deviceGridService: DeviceGridService)
Parameters :
Name Type Optional
userPreferencesService UserPreferencesService No
deviceGridService DeviceGridService No

Methods

getConfigColumns
getConfigColumns(legacyConfig: LegacyColumnConfig[], legacyFilterConfig: LegacyColumnFilterConfig)
Parameters :
Name Type Optional
legacyConfig LegacyColumnConfig[] No
legacyFilterConfig LegacyColumnFilterConfig No
Returns : any
getMappedGridConfig
getMappedGridConfig(key?: string)
Parameters :
Name Type Optional
key string Yes
mapLegacyColumnConfig
mapLegacyColumnConfig(legacy)
Parameters :
Name Optional
legacy No
Returns : CustomColumnConfig
mapLegacyToDeviceGridConfig
mapLegacyToDeviceGridConfig(legacyConfig: LegacyColumnConfig[], legacyFilterConfig: LegacyColumnFilterConfig)
Parameters :
Name Type Optional
legacyConfig LegacyColumnConfig[] No
legacyFilterConfig LegacyColumnFilterConfig No
Returns : GridConfig
mergeLegacyConfigs
mergeLegacyConfigs(columnConfig, filterConfig)
Parameters :
Name Optional
columnConfig No
filterConfig No
Returns : any
migrateSortOrder
migrateSortOrder(sorting)
Parameters :
Name Optional
sorting No
Returns : "" | "desc" | "asc"

Properties

Static deviceGridLegacyKeyToName
Type : object
Default value : { status: 'status', name: 'name', model: 'model', serialNumber: 'serialNumber', group: 'group', registrationDate: 'registrationDate', systemId: 'systemId', imei: 'imei', alarms: 'alarms' }

results matching ""

    No results matching ""