<commit_before><template>
  <div>
    <template v-if="column === 'name'">
      <div
        class="planification-table__td-name"
        @click="setCurrentProject"
      >
        {{ value }}
      </div>
    </template>
    <template v-else-if="column === 'progress'">
      {{ value | percent }}
    </template>
    <template v-else-if="vocabularyType">
      <CustomFieldVocabulary :attributes="attributes" />
    </template>
    <template v-else-if="imageType">
      <CustomFieldImage :attributes="attributes" />
    </template>
    <template v-else-if="selectionType">
      <CustomFieldSelection :attributes="attributes" />
    </template>
    <template v-else-if="paragraphType">
      <CustomFieldParagraph :attributes="attributes" />
    </template>
    <template v-else-if="rawIndicatorsType">
      <CustomFieldPluginRawIndicators :attributes="attributes" />
    </template>
    <template v-else>
      {{ value }}
    </template>
  </div>
</template>

<script>
import CustomFieldVocabulary from "../components/CustomFieldVocabulary.vue";
import CustomFieldImage from "../components/CustomFieldImage.vue";
import CustomFieldSelection from "../components/CustomFieldSelection.vue";
import CustomFieldParagraph from "../components/CustomFieldParagraph.vue";
import CustomFieldPluginRawIndicators from "../components/CustomFieldPluginRawIndicators.vue";
import { FieldTypeMixin } from "../lib/mixins/field-type";
import { percent } from "lib/vue/filters";

export default {
  name: "TableCellTemplates",
  components: {
    CustomFieldVocabulary,
    CustomFieldImage,
    CustomFieldSelection,
    CustomFieldParagraph,
    CustomFieldPluginRawIndicators
  },
  filters: {
    percent
  },<commit_msg>parse dates<commit_after><template>
  <div>
    <template v-if="column === 'name'">
      <div
        class="planification-table__td-name"
        @click="setCurrentProject"
      >
        {{ value }}
      </div>
    </template>
    <template v-else-if="column === 'progress'">
      {{ value | percent }}
    </template>
    <template v-else-if="column === 'starts_at' || column === 'ends_at'">
      {{ value | date }}
    </template>
    <template v-else-if="vocabularyType">
      <CustomFieldVocabulary :attributes="attributes" />
    </template>
    <template v-else-if="imageType">
      <CustomFieldImage :attributes="attributes" />
    </template>
    <template v-else-if="selectionType">
      <CustomFieldSelection :attributes="attributes" />
    </template>
    <template v-else-if="paragraphType">
      <CustomFieldParagraph :attributes="attributes" />
    </template>
    <template v-else-if="rawIndicatorsType">
      <CustomFieldPluginRawIndicators :attributes="attributes" />
    </template>
    <template v-else>
      {{ value }}
    </template>
  </div>
</template>

<script>
import CustomFieldVocabulary from "../components/CustomFieldVocabulary.vue";
import CustomFieldImage from "../components/CustomFieldImage.vue";
import CustomFieldSelection from "../components/CustomFieldSelection.vue";
import CustomFieldParagraph from "../components/CustomFieldParagraph.vue";
import CustomFieldPluginRawIndicators from "../components/CustomFieldPluginRawIndicators.vue";
import { FieldTypeMixin } from "../lib/mixins/field-type";
import { percent, date } from "lib/vue/filters";

export default {
  name: "TableCellTemplates",
  components: {
    CustomFieldVocabulary,
    CustomFieldImage,
    CustomFieldSelection,
    CustomFieldParagraph,
    CustomFieldPluginRawIndicators
  },
  filters: {
    percent,
    date
  },
{'fraction_non_alphanumeric': 0.14157050379960598, 'fraction_numerical': 0.0, 'mean_word_length': 3.6215864759427827, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '6273323', 'n_tokens_mistral': 1019, 'n_tokens_neox': 1013, 'n_words': 189}