replace-device/replace-device-wizard/replace-device-wizard.component.ts
providers |
DeviceGridService
ReplaceDeviceWizardService
{
provide: DATA_GRID_CONFIGURATION_STRATEGY, useClass: UserPreferencesConfigurationStrategy
}
{
provide: DATA_GRID_CONFIGURATION_CONTEXT_PROVIDER, useExisting: ReplaceDeviceWizardComponent
}
|
selector | c8y-replace-device-wizard |
standalone | true |
imports |
CoreModule
DeviceGridModule
DeviceSelectorModule
TooltipModule
CollapseModule
PopoverModule
|
templateUrl | ./replace-device-wizard.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
constructor(service: ReplaceDeviceWizardService, deviceGridService: DeviceGridService, modal: ModalService, drawerRef: BottomDrawerRef<ReplaceDeviceWizardComponent>)
|
|||||||||||||||
Parameters :
|
deviceToReplace |
Type : IManagedObject
|
class |
Type : string
|
Default value : 'd-contents'
|
cancel |
cancel()
|
Returns :
void
|
close |
close()
|
Returns :
void
|
continue |
continue()
|
Returns :
void
|
getGridConfigContext |
getGridConfigContext()
|
Returns :
UserPreferencesGridConfigContext
|
Async replace |
replace()
|
Returns :
any
|
baseQuery$ |
Type : Observable<object>
|
Default value : this.service.deviceToReplace$.pipe(
map(device => ({
__not: {
id: {
__eq: device?.id
}
}
}))
)
|
classes |
Type : string
|
Default value : 'd-contents'
|
Decorators :
@HostBinding('class')
|
columns |
Type : Column[]
|
REPLACE_DEVICE_STEP_STATES_MAP |
Default value : REPLACE_DEVICE_STEP_STATES_MAP
|
replacementDeviceId |
Type : string
|
Public service |
Type : ReplaceDeviceWizardService
|
stepper |
Type : C8yStepper
|
Decorators :
@ViewChild(C8yStepper, {static: true})
|
deviceToReplace | ||||||
setdeviceToReplace(deviceToReplace: IManagedObject)
|
||||||
Parameters :
Returns :
void
|