device-grid/device-grid-config-mapper.service.ts
Properties |
|
Methods |
constructor(userPreferencesService: UserPreferencesService, deviceGridService: DeviceGridService)
|
|||||||||
Parameters :
|
getConfigColumns | |||||||||
getConfigColumns(legacyConfig: LegacyColumnConfig[], legacyFilterConfig: LegacyColumnFilterConfig)
|
|||||||||
Parameters :
Returns :
any
|
getMappedGridConfig | ||||||
getMappedGridConfig(key?: string)
|
||||||
Parameters :
Returns :
Observable<GridConfig>
|
mapLegacyColumnConfig | ||||
mapLegacyColumnConfig(legacy)
|
||||
Parameters :
Returns :
CustomColumnConfig
|
mapLegacyToDeviceGridConfig | |||||||||
mapLegacyToDeviceGridConfig(legacyConfig: LegacyColumnConfig[], legacyFilterConfig: LegacyColumnFilterConfig)
|
|||||||||
Parameters :
Returns :
GridConfig
|
mergeLegacyConfigs | ||||||
mergeLegacyConfigs(columnConfig, filterConfig)
|
||||||
Parameters :
Returns :
any
|
migrateSortOrder | ||||
migrateSortOrder(sorting)
|
||||
Parameters :
Returns :
"" | "desc" | "asc"
|
Static deviceGridLegacyKeyToName |
Type : object
|
Default value : {
status: 'status',
name: 'name',
model: 'model',
serialNumber: 'serialNumber',
group: 'group',
registrationDate: 'registrationDate',
systemId: 'systemId',
imei: 'imei',
alarms: 'alarms'
}
|