<commit_before><div class="ui-schedule-slats"
     *ngFor="let times of timesCollection; let timesIndex = index; let lastTurn = last; let firstTurn = first;">

  <!-- CREATE TIMES BOXES-->
  <div class="ui-schedule-times">
    <div class="ui-schedule-time-row"
         *ngFor="let time of times"
         [ngClass]="{ firstTurn: firstTurn }"
         [ngStyle]="{height: (slotSettings.slotCount * slotSettings.slotHight) + 'px'}">
      <span class="ui-hour-detail">{{time | date: 'HH'}}</span>:{{time | date: 'mm'}}
    </div>
  </div>

  <!-- CREATE WIDGET CONTENT-->
  <div #scheduleSlats class="ui-schedule-widget-content">
    <div *ngFor="let time of times; let last = last; let first = first;" class="ui-schedule-widget-rows">
      <div class="ui-schedule-row" *ngFor="let slot of slatNumberRowsAsArray; let index = index"
           [ngStyle]="{height: slotSettings.slotHight + 'px'}"
           [ngClass]="{ last: last, first: first, lastTurn: lastTurn, firstTurn: firstTurn }"
           (dblclick)="rowDbClick( time, index, timesIndex )"></div>
    </div>
  </div>

</div>
<div class="ui-schedule-skeleton" >
  <div class="ui-schedule-grid-events">
    <div class="ui-schedule-list-events">

      <!-- CREATE EVENTS BOXES-->
      <div class="ui-schedule-event-box"
           *ngFor="let event of eventsWithPositions; let index = index"
           [ngStyle]="{
              top: event?.positions.top + 'px',
              left: event?.positions.left + 'px',
              height: event?.positions.height + 'px',
              width: event?.positions.width + 'px'
           }"
           [style.borderLeftColor]="statusConfig ? statusConfig[event?.data?.status]?.color : '#FFFFFF'"
           [tooltip]="{text: statusConfig ? statusConfig[event?.data?.status]?.description : '' , placement: 'top-center'}"
           (contextmenu)="onEventContextmenu.emit( { event: $event, data: event?.data } ); false"
           (click)="onEventClick.emit( event?.data )"
           (dblclick)="onEventDbClick.emit( event?.data )"
           (mouseover)="onEventMouseout.emit( event?.data )"
           (mouseout)="onEventMouseout.emit( event?.data )"
      >
        <div class="ui-schedule-description">
          <div class="ui-event-title">{{event?.data?.title}}</div>
          <div class="ui-event-detail">{{event?.data?.detail}}</div>
        </div>
        <div class="ui-event-hour">{{event?.data?.date?.start | date: 'HH:mm'}} - {{event?.data?.date?.end | date: 'HH:mm'}}</div>
      </div>

    </div>
  </div>
  <!--<div class="ui-schedule-now-indicator ui-schedule-now-arrow"-->
       <!--[tooltip]="{text: currentTime | date: 'HH:mm', placement: 'right'}"-->
       <!--[ngStyle]="{top: nowIndicatorPositionTop + 'px'}">-->
  <!--</div>-->
</div>
<commit_msg>refact(schedule): export element on context menu event.<commit_after><div class="ui-schedule-slats"
     *ngFor="let times of timesCollection; let timesIndex = index; let lastTurn = last; let firstTurn = first;">

  <!-- CREATE TIMES BOXES-->
  <div class="ui-schedule-times">
    <div class="ui-schedule-time-row"
         *ngFor="let time of times"
         [ngClass]="{ firstTurn: firstTurn }"
         [ngStyle]="{height: (slotSettings.slotCount * slotSettings.slotHight) + 'px'}">
      <span class="ui-hour-detail">{{time | date: 'HH'}}</span>:{{time | date: 'mm'}}
    </div>
  </div>

  <!-- CREATE WIDGET CONTENT-->
  <div #scheduleSlats class="ui-schedule-widget-content">
    <div *ngFor="let time of times; let last = last; let first = first;" class="ui-schedule-widget-rows">
      <div class="ui-schedule-row" *ngFor="let slot of slatNumberRowsAsArray; let index = index"
           [ngStyle]="{height: slotSettings.slotHight + 'px'}"
           [ngClass]="{ last: last, first: first, lastTurn: lastTurn, firstTurn: firstTurn }"
           (dblclick)="rowDbClick( time, index, timesIndex )"></div>
    </div>
  </div>

</div>
<div class="ui-schedule-skeleton" >
  <div class="ui-schedule-grid-events">
    <div class="ui-schedule-list-events">

      <!-- CREATE EVENTS BOXES-->
      <div class="ui-schedule-event-box"
           #elementBox
           *ngFor="let event of eventsWithPositions; let index = index"
           [ngStyle]="{
              top: event?.positions.top + 'px',
              left: event?.positions.left + 'px',
              height: event?.positions.height + 'px',
              width: event?.positions.width + 'px'
           }"
           [style.borderLeftColor]="statusConfig ? statusConfig[event?.data?.status]?.color : '#FFFFFF'"
           [tooltip]="{text: statusConfig ? statusConfig[event?.data?.status]?.description : '' , placement: 'top-center'}"
           (contextmenu)="onEventContextmenu.emit( { event: $event, data: event?.data, element: elementBox } ); false"
           (click)="onEventClick.emit( event?.data )"
           (dblclick)="onEventDbClick.emit( event?.data )"
           (mouseover)="onEventMouseout.emit( event?.data )"
           (mouseout)="onEventMouseout.emit( event?.data )"
      >
        <div class="ui-schedule-description">
          <div class="ui-event-title">{{event?.data?.title}}</div>
          <div class="ui-event-detail">{{event?.data?.detail}}</div>
        </div>
        <div class="ui-event-hour">{{event?.data?.date?.start | date: 'HH:mm'}} - {{event?.data?.date?.end | date: 'HH:mm'}}</div>
      </div>

    </div>
  </div>
  <!--<div class="ui-schedule-now-indicator ui-schedule-now-arrow"-->
       <!--[tooltip]="{text: currentTime | date: 'HH:mm', placement: 'right'}"-->
       <!--[ngStyle]="{top: nowIndicatorPositionTop + 'px'}">-->
  <!--</div>-->
</div>

{'fraction_non_alphanumeric': 0.19599148634267471, 'fraction_numerical': 0.0, 'mean_word_length': 2.8889655172413793, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '19234', 'n_tokens_mistral': 1831, 'n_tokens_neox': 1772, 'n_words': 353}