operations/stepper-bulk-type-device-profile/stepper-bulk-type-device-profile.component.ts
| selector | c8y-stepper-bulk-type-device-profile |
| imports |
BulkOperationStepper
CustomStep
SelectDeviceProfileStepComponent
ConfirmDeviceProfileSelectionStepComponent
C8yTranslatePipe
|
| templateUrl | stepper-bulk-type-device-profile.component.html |
Properties |
Methods |
| goToConfirmSelection | ||||||
goToConfirmSelection($event: literal type)
|
||||||
|
Parameters :
Returns :
void
|
| onDeviceProfileSelected | ||||||
onDeviceProfileSelected(selectedItem: unknown)
|
||||||
|
Parameters :
Returns :
void
|
| Protected retrieveOperationPrototype |
retrieveOperationPrototype()
|
|
Returns :
OperationDetails
|
| ngOnDestroy |
ngOnDestroy()
|
|
Returns :
void
|
| ngOnInit |
ngOnInit()
|
|
Returns :
void
|
| Protected onSelectionChange | ||||||
onSelectionChange(event: StepperSelectionEvent)
|
||||||
|
Parameters :
Returns :
void
|
| selectedDeviceProfile |
Type : IManagedObject
|
| Readonly type |
Type : BulkOperationType
|
Default value : BulkOperationType.DEVICE_PROFILE
|
| operationStepper |
Type : BulkOperationStepper
|
Decorators :
@ViewChild(BulkOperationStepper, {static: true})
|
<c8y-bulk-operation-stepper [type]="type">
<ng-container
*customStep="
'Select device profile' | translate;
completed: !!selectedDeviceProfile;
buttonsDisabled: !selectedDeviceProfile;
onNext: goToConfirmSelection.bind(this)
"
>
<c8y-select-device-profile-step
(deviceProfile)="onDeviceProfileSelected($event)"
class="d-contents"
></c8y-select-device-profile-step>
</ng-container>
<ng-container *customStep="'Confirm selected device profile' | translate">
<c8y-confirm-device-profile-selection-step
class="d-contents"
[selectedDeviceProfile]="selectedDeviceProfile"
></c8y-confirm-device-profile-selection-step>
</ng-container>
</c8y-bulk-operation-stepper>