operations/stepper-bulk-type-software/stepper-bulk-type-software.component.ts
selector | c8y-stepper-bulk-type-software |
templateUrl | stepper-bulk-type-software.component.html |
Properties |
Methods |
|
constructor(modal: ModalService, translate: TranslateService)
|
|||||||||
Parameters :
|
Async confirmSoftwareSelection | ||||||
confirmSoftwareSelection($event: literal type)
|
||||||
Parameters :
Returns :
any
|
onSoftwareSelected | ||||
onSoftwareSelected(selectedItem)
|
||||
Parameters :
Returns :
void
|
Protected retrieveOperationPrototype |
retrieveOperationPrototype()
|
Returns :
OperationDetails
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
Protected onSelectionChange | ||||||
onSelectionChange(event: StepperSelectionEvent)
|
||||||
Parameters :
Returns :
void
|
Readonly descriptionTemplateMultiple |
Type : string
|
Default value : gettext(
'Update software to: {{ name }} (version {{ version }}) and {{ count }} others'
)
|
Readonly descriptionTemplateOneOther |
Type : string
|
Default value : gettext(
'Update software to: {{ name }} (version {{ version }}) and one other'
)
|
Readonly descriptionTemplateSingle |
Type : string
|
Default value : gettext(
'Update software to: {{ name }} (version {{ version }})'
)
|
selectedSoftware |
Type : ISelectedSoftware[]
|
Default value : []
|
selectSoftware |
Type : SelectSoftwareStepComponent
|
Decorators :
@ViewChild(SelectSoftwareStepComponent, {static: false})
|
operationStepper |
Type : BulkOperationStepper
|
Decorators :
@ViewChild(BulkOperationStepper, {static: true})
|
<c8y-bulk-operation-stepper>
<ng-container
*customStep="
'Select software' | translate;
completed: !!selectedSoftware.length;
buttonsDisabled: !selectedSoftware.length;
onNext: confirmSoftwareSelection.bind(this)"
>
<c8y-select-software-step
(software)="onSoftwareSelected($event)"
class="d-contents"
></c8y-select-software-step>
</ng-container>
<ng-container *customStep="'Confirm selected software' | translate">
<c8y-confirm-software-selection-step
class="d-contents"
[selectedItems]="selectedSoftware"
></c8y-confirm-software-selection-step>
</ng-container>
</c8y-bulk-operation-stepper>