<commit_before><div class="wrapper-container">
    <div class="-labelTag" [style.width]="labelSize">{{label}}</div>
    <div class="multiselect-wrapper">
        <div [ngClass]="{'inputFormOpenFilter': isOpen && filteredItens.length !== 0}"
             class="input-wrapper-multiselect" #element (click)="setInputFocus()">
          <span class="tags" *ngIf="hasKeySource">
              <span *ngFor="let tag of tags; let i = index" (click)="selectTagClick($event, tag)"
                    [ngStyle]="changeColorTag(tag)">{{tag?.source[labelTag]}}

                  <small *ngIf="detailOnTag && detail !== undefined"
                         class="tags-detail"><{{tag?.source[detail]}}></small>

                  <b (click)="removeTag(i, tag)">X</b>
              </span>
          </span>
          <span class="tags" *ngIf="!hasKeySource">
              <span *ngFor="let tag of tags; let i = index" (click)="selectTagClick($event, i, tag)"
                    [ngStyle]="changeColorTag(tag)">{{tag[labelTag]}}
                  <small *ngIf="detailOnTag && detail !== undefined"
                         class="tags-detail"><{{tag[detail]}}></small>
                  <b (click)="removeTag(i, tag)">X</b>
              </span>
          </span>
            <input [attr.autocomplete]="'off'" [ngClass]="{'input-empty': isTagsEqualsZero(), 'input': !isTagsEqualsZero()}"
                   #model="ngModel"
                   #input width="300"
                   [(ngModel)]="modelValue"
                   (blur)="closeList($event, element)"
                   (focus)="handleInputFocus(element)"
                   [attr.placeholder]="placeholder"
                   (keyup)="searchItem($event.target.value, $event)"
                   (keydown)="handleKeyDown($event)"
                   type="text">
        </div>
        <div *ngIf="hasKeySource" [style.display]="isOpen ? 'block' : 'none'">
            <ul #ul class="select-options"
                [style.position]="'fixed'"
                [style.left]="listPosition + 'px'"
                [style.top]="listTopPosition + 25 + 'px'"
                [ngStyle]="calcHeightWidthItem()">
                <li
                  [ngStyle]=" {
                      'padding': itemHeight,
                      'background': item?.selected ? selectedBackgroundColor : '#fff',
                      'color': item?.selected ? selectedFontColor : '#7a838b'
                      }"
                    (blur)="closeList($event)"
                    tabindex="-1"
                    *ngFor="let item of filteredItens; let i = index"
                    class="itens" (click)="addTag(item)">

                    <i *ngIf="defaultIconTag" style="padding: 10px" [ngStyle]="{'color': item?.selected ? selectedFontColor : '#7a838b'}" ngClass="{{defaultIconTag}}"></i>
                    <i *ngIf="showIcon && !defaultIconTag" style="padding: 10px" [ngStyle]="{'color': item?.selected ? selectedFontColor : '#7a838b'}" ngClass="{{item?.effect[icon]}}"></i>

                    {{item?.source[query]}}<commit_msg>refactor(multiselect): remove parameter not used.<commit_after><div class="wrapper-container">
    <div class="-labelTag" [style.width]="labelSize">{{label}}</div>
    <div class="multiselect-wrapper">
        <div [ngClass]="{'inputFormOpenFilter': isOpen && filteredItens.length !== 0}"
             class="input-wrapper-multiselect" #element (click)="setInputFocus()">
          <span class="tags" *ngIf="hasKeySource">
              <span *ngFor="let tag of tags; let i = index" (click)="selectTagClick($event, tag)"
                    [ngStyle]="changeColorTag(tag)">{{tag?.source[labelTag]}}

                  <small *ngIf="detailOnTag && detail !== undefined"
                         class="tags-detail"><{{tag?.source[detail]}}></small>

                  <b (click)="removeTag(i, tag)">X</b>
              </span>
          </span>
          <span class="tags" *ngIf="!hasKeySource">
              <span *ngFor="let tag of tags; let i = index" (click)="selectTagClick($event, i, tag)"
                    [ngStyle]="changeColorTag(tag)">{{tag[labelTag]}}
                  <small *ngIf="detailOnTag && detail !== undefined"
                         class="tags-detail"><{{tag[detail]}}></small>
                  <b (click)="removeTag(i, tag)">X</b>
              </span>
          </span>
            <input [attr.autocomplete]="'off'" [ngClass]="{'input-empty': isTagsEqualsZero(), 'input': !isTagsEqualsZero()}"
                   #model="ngModel"
                   #input width="300"
                   [(ngModel)]="modelValue"
                   (blur)="closeList($event, element)"
                   (focus)="handleInputFocus()"
                   [attr.placeholder]="placeholder"
                   (keyup)="searchItem($event.target.value, $event)"
                   (keydown)="handleKeyDown($event)"
                   type="text">
        </div>
        <div *ngIf="hasKeySource" [style.display]="isOpen ? 'block' : 'none'">
            <ul #ul class="select-options"
                [style.position]="'fixed'"
                [style.left]="listPosition + 'px'"
                [style.top]="listTopPosition + 25 + 'px'"
                [ngStyle]="calcHeightWidthItem()">
                <li
                  [ngStyle]=" {
                      'padding': itemHeight,
                      'background': item?.selected ? selectedBackgroundColor : '#fff',
                      'color': item?.selected ? selectedFontColor : '#7a838b'
                      }"
                    (blur)="closeList($event)"
                    tabindex="-1"
                    *ngFor="let item of filteredItens; let i = index"
                    class="itens" (click)="addTag(item)">

                    <i *ngIf="defaultIconTag" style="padding: 10px" [ngStyle]="{'color': item?.selected ? selectedFontColor : '#7a838b'}" ngClass="{{defaultIconTag}}"></i>
                    <i *ngIf="showIcon && !defaultIconTag" style="padding: 10px" [ngStyle]="{'color': item?.selected ? selectedFontColor : '#7a838b'}" ngClass="{{item?.effect[icon]}}"></i>

                    {{item?.source[query]}}
{'fraction_non_alphanumeric': 0.17653740061658282, 'fraction_numerical': 0.007463897452539348, 'mean_word_length': 1.9749034749034748, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '1554355', 'n_tokens_mistral': 1802, 'n_tokens_neox': 1662, 'n_words': 285}