<commit_before><template>
  <div>
    <div
      v-if="missingItems.length > 0"
      class="px-2"
    >
      <strong>MISSING ITEMS:</strong>

      {{ missingItems.join(', ') }}
    </div>

    <v-data-iterator
      :items="computedItems"
      :items-per-page="-1"
      :search="search"
      class="component-parameters"
      hide-default-footer
      sort-by="name"
    >
      <template v-slot="{ items }">
        <div>
          <template v-for="(item, i) in items">
            <doc-api-item
              :key="item.name"
              :headers="headers"
              :item="item"
            />

            <v-divider
              v-if="i + 1!== items.length"
              :key="`divider-${i}`"
            />
          </template>
        </div>
      </template>
    </v-data-iterator>
  </div>
</template>

<script>
  // Utilities
  import {
    mapState,
  } from 'vuex'
  import { getObjectValueByPath } from 'vuetify/es5/util/helpers'
  import camelCase from 'lodash/camelCase'
  import upperFirst from 'lodash/upperFirst'
  import pluralize from 'pluralize'

  export default {
    name: 'DocParameters',

    inject: {
      overrideNamespace: {
        default: null,
      },
      overridePage: {
        default: null,
      },
    },<commit_msg>docs(DocParameters): improve no-results display<commit_after><template>
  <div>
    <div
      v-if="missingItems.length > 0"
      class="px-2"
    >
      <strong>MISSING ITEMS:</strong>

      {{ missingItems.join(', ') }}
    </div>

    <v-data-iterator
      :items="computedItems"
      :items-per-page="-1"
      :search="search"
      class="component-parameters"
      hide-default-footer
      sort-by="name"
    >
      <template v-slot="{ items }">
        <div>
          <template v-for="(item, i) in items">
            <doc-api-item
              :key="item.name"
              :headers="headers"
              :item="item"
            />

            <v-divider
              v-if="i + 1!== items.length"
              :key="`divider-${i}`"
            />
          </template>
        </div>
      </template>

      <template v-slot:no-results>
        <div class="text-center pa-6 title font-weight-regular">No matching records found</div>
      </template>
    </v-data-iterator>
  </div>
</template>

<script>
  // Utilities
  import {
    mapState,
  } from 'vuex'
  import { getObjectValueByPath } from 'vuetify/es5/util/helpers'
  import camelCase from 'lodash/camelCase'
  import upperFirst from 'lodash/upperFirst'
  import pluralize from 'pluralize'

  export default {
    name: 'DocParameters',

    inject: {
      overrideNamespace: {
        default: null,
      },
      overridePage: {
        default: null,
      },
    },
{'fraction_non_alphanumeric': 0.14912280701754385, 'fraction_numerical': 0.00402046783625731, 'mean_word_length': 1.7900101936799184, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 47, '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': '2394504', 'n_tokens_mistral': 898, 'n_tokens_neox': 874, 'n_words': 162}