<commit_before>import {Component, Directive, ElementRef, Input} from '@angular/core';
import {BComponent, BComponentInputs} from '../bcomponent';
import {HeadingBComponent} from '../heading/heading.bcomponent';

export class JumbotronBase extends BComponent {
    @Input() heading: HeadingBComponent;
    @Input() title: string;
    @Input() subtitle: string;
    @Input() body: string;
    @Input() size: number;

    constructor(el: ElementRef = void 0) {
        super("jumbotron", el);
    }

    public Initialize = (title: string = "", subtitle: string = "", body: string = "", size: number = 1): JumbotronBComponent => {
        this.title = title;
        this.subtitle = subtitle;
        this.body = body;
        this.size = size;
        if(this.ngOnChildChanges != null) this.ngOnChildChanges();
        return this;
    }

    public hasHeading = (): boolean => {
        return !this.isNull(this.heading);
    }

    public hasBody = (): boolean => {
        return !this.isNull(this.body);
    }
}

@Component({
    selector: 'bc-jumbotron',
    templateUrl: 'jumbotron.bcomponent.html',
    inputs: BComponentInputs
})
export class JumbotronBComponent extends JumbotronBase {
    constructor() { super(); }
}<commit_msg>fix: return this<commit_after>import {Component, Directive, ElementRef, Input} from '@angular/core';
import {BComponent, BComponentInputs} from '../bcomponent';
import {HeadingBComponent} from '../heading/heading.bcomponent';

export class JumbotronBase extends BComponent {
    @Input() heading: HeadingBComponent;
    @Input() title: string;
    @Input() subtitle: string;
    @Input() body: string;
    @Input() size: number;

    constructor(el: ElementRef = void 0) {
        super("jumbotron", el);
    }

    public Initialize = (title: string = "", subtitle: string = "", body: string = "", size: number = 1): this => {
        this.title = title;
        this.subtitle = subtitle;
        this.body = body;
        this.size = size;
        if(this.ngOnChildChanges != null) this.ngOnChildChanges();
        return this;
    }

    public hasHeading = (): boolean => {
        return !this.isNull(this.heading);
    }

    public hasBody = (): boolean => {
        return !this.isNull(this.body);
    }
}

@Component({
    selector: 'bc-jumbotron',
    templateUrl: 'jumbotron.bcomponent.html',
    inputs: BComponentInputs
})
export class JumbotronBComponent extends JumbotronBase {
    constructor() { super(); }
}
{'fraction_non_alphanumeric': 0.14012997562956944, 'fraction_numerical': 0.0016246953696181965, 'mean_word_length': 3.16751269035533, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4033319', 'n_tokens_mistral': 751, 'n_tokens_neox': 741, 'n_words': 184}