<commit_before><template>
  <div>
    <treeselect
      :multiple="true"
      :options="options"
      :flat="true"
      :sort-value-by="sortValueBy"
      :default-expand-level="1"
      placeholder="Try selecting some options."
      v-model="value"
      />
    <p><strong>Sort value by:</strong></p>
    <p>
      <label><input type="radio" value="ORDER_SELECTED" v-model="sortValueBy"><code>"ORDER_SELECTED"</code> - Order selected (default)</label><br>
      <label><input type="radio" value="LEVEL" v-model="sortValueBy"><code>"LEVEL"</code> - Level of option: C > BB > AAA</label><br>
      <label><input type="radio" value="INDEX" v-model="sortValueBy"><code>"INDEX"</code> - Index of option: AAA > BB > C</label>
    </p>
  </div>
</template>

<script>
  import { generateOptions } from './utils'

  export default {
    data() {
      return {
        value: null,
        options: generateOptions(3),
        sortValueBy: 'ORDER_SELECTED',
      }
    },
  }
</script><commit_msg>update demo<commit_after><template>
  <div>
    <treeselect
      :multiple="true"
      :options="options"
      :flat="true"
      :sort-value-by="sortValueBy"
      :default-expand-level="1"
      placeholder="Try selecting some options."
      v-model="value"
      />
    <p><strong>Sort value by:</strong></p>
    <p>
      <label><input type="radio" value="ORDER_SELECTED" v-model="sortValueBy"><code>"ORDER_SELECTED"</code> - Order selected (default)</label><br>
      <label><input type="radio" value="LEVEL" v-model="sortValueBy"><code>"LEVEL"</code> - Level of option: C > BB > AAA</label><br>
      <label><input type="radio" value="INDEX" v-model="sortValueBy"><code>"INDEX"</code> - Index of option: AAA > BB > C</label>
    </p>
  </div>
</template>

<script>
  import { generateOptions } from './utils'

  export default {
    data() {
      return {
        value: [ 'c', 'aaa', 'bb' ],
        options: generateOptions(3),
        sortValueBy: 'ORDER_SELECTED',
      }
    },
  }
</script>
{'fraction_non_alphanumeric': 0.18581418581418582, 'fraction_numerical': 0.001998001998001998, 'mean_word_length': 3.071138211382114, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 71, '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': '4926749', 'n_tokens_mistral': 659, 'n_tokens_neox': 645, 'n_words': 128}