<commit_before><h1 *ngIf="edit; else addList">Editer : {{ this.wishList.title }}</h1>
<ng-template #addList>
  <h1>Créer une nouvelle liste</h1>
</ng-template>
<form [formGroup]="wishListFormGroup">
  <mat-horizontal-stepper [linear]="isLinear" #stepper="matHorizontalStepper">
    <mat-step [stepControl]="nameFormGroup">
      <ng-template matStepLabel>Entrer un nom pour votre liste</ng-template>
      <div class="grid  grid--between">
        <div class="row">
          <div class="col-6">
            <mat-form-field class="col-12" appearance="outline">
              <mat-label>Titre</mat-label>
              <input
                matInput
                placeholder="Liste pour ..."
                name="title"
                required
                formControlName="title"
              />
            </mat-form-field>
            <mat-form-field
              class="col-12 wish-list-url"
              appearance="outline"
              floatLabel="always"
            >
              <span matPrefix>https://liste-envie.desaintsteban.fr/</span>
              <mat-label>Url de la liste</mat-label>
              <input
                matInput
                type="text"
                name="id"
                required
                formControlName="name"
                #urlName
              />
            </mat-form-field>

            <mat-form-field class="col-7" appearance="outline">
              <mat-label>Type d'événements</mat-label>
              <mat-select
                [(value)]="wishList.type"
                placeholder="Pour quel évènement ?"
                name="type"
                formControlName="type"
              >
                <mat-select-trigger>
                  <list-type-icon [type]="wishList.type"></list-type-icon>
                  {{ wishListLabel[wishList.type] }}</mat-select-trigger
                >
                <mat-option
                  *ngFor="let item of wishListLabel | keyvalue"
                  [value]="item.key"
                  selected
                  >{{ item.value }}</mat-option
                ><commit_msg>:lipstick: Affiche l'icone dans le select des types de liste d'envie<commit_after><h1 *ngIf="edit; else addList">Editer : {{ this.wishList.title }}</h1>
<ng-template #addList>
  <h1>Créer une nouvelle liste</h1>
</ng-template>
<form [formGroup]="wishListFormGroup">
  <mat-horizontal-stepper [linear]="isLinear" #stepper="matHorizontalStepper">
    <mat-step [stepControl]="nameFormGroup">
      <ng-template matStepLabel>Entrer un nom pour votre liste</ng-template>
      <div class="grid  grid--between">
        <div class="row">
          <div class="col-6">
            <mat-form-field class="col-12" appearance="outline">
              <mat-label>Titre</mat-label>
              <input
                matInput
                placeholder="Liste pour ..."
                name="title"
                required
                formControlName="title"
              />
            </mat-form-field>
            <mat-form-field
              class="col-12 wish-list-url"
              appearance="outline"
              floatLabel="always"
            >
              <span matPrefix>https://liste-envie.desaintsteban.fr/</span>
              <mat-label>Url de la liste</mat-label>
              <input
                matInput
                type="text"
                name="id"
                required
                formControlName="name"
                #urlName
              />
            </mat-form-field>

            <mat-form-field class="col-7" appearance="outline">
              <mat-label>Type d'événements</mat-label>
              <mat-select
                [(value)]="wishList.type"
                placeholder="Pour quel évènement ?"
                name="type"
                formControlName="type"
              >
                <mat-select-trigger>
                  <list-type-icon [type]="wishList.type"></list-type-icon>
                  {{ wishListLabel[wishList.type] }}</mat-select-trigger
                >
                <mat-option
                  *ngFor="let item of wishListLabel | keyvalue"
                  [value]="item.key"
                  selected
                  ><list-type-icon [type]="item.key"></list-type-icon>
                  {{ item.value }}</mat-option
                >
{'fraction_non_alphanumeric': 0.12893587680992874, 'fraction_numerical': 0.004596644449551827, 'mean_word_length': 1.41375485302274, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, 'https://': 2, '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': '1220443', 'n_tokens_mistral': 1255, 'n_tokens_neox': 1186, 'n_words': 196}