public function generate(): string
    {
        $status = Tags::NBSP;
        if ($this->statusData['status-type'] !== '' && $this->statusData['status-text'] !== '') {
            $status = [
                Tags::div(
                    $this->getConstant($this->statusData['status-text']),
                    ['class' => $this->getConstant($this->statusData['status-type'])]
                )
            ];
        }
        return Tags::div($status, ['class' => 'status']);
    }