<commit_before>import VueRx from 'vue-rx';
import { Observable, Subject } from 'rxjs';
import './sass.scss';

Vue.use(VueRx, { Subject });

// general components
Vue.component('drop-down-element', {
    props: ['name', 'dropdowncontent'],
    template:'#dropDownTemplate',
    data() {
        return {
            selectedOption: ""
        };
    },
    // this is used to init the dropdown (so it is not empty on UI bootup)
    mounted(){
        if(this.dropdowncontent === undefined)
        {
            return;
        }
        this.selectedOption = this.dropdowncontent[0].title;
    },
    methods:
    {
        selectionchanged: function(value)
        {
            this.$emit('selectionchanged', value);
        },
        setSelection: function(value)
        {
            this.selectedOption = value;
        }
    }
});
Vue.component('radio-button-list-element', {
  props: ['name', 'radiobuttoncontent'],
  data() {
    return {
      radio: ""
    };
  },
  template:'#radioButtonListTemplate'<commit_msg>fix small ui bug<commit_after>import VueRx from 'vue-rx';
import { Observable, Subject } from 'rxjs';
import './sass.scss';

Vue.use(VueRx, { Subject });

// general components
Vue.component('drop-down-element', {
    props: ['name', 'dropdowncontent'],
    template:'#dropDownTemplate',
    data() {
        return {
            selectedOption: ""
        };
    },
    // this is used to init the dropdown (so it is not empty on UI bootup)
    mounted(){
        if(this.dropdowncontent === undefined || this.dropdowncontent.length === 0)
        {
            return;
        }
        this.selectedOption = this.dropdowncontent[0].title;
    },
    methods:
    {
        selectionchanged: function(value)
        {
            this.$emit('selectionchanged', value);
        },
        setSelection: function(value)
        {
            this.selectedOption = value;
        }
    }
});
Vue.component('radio-button-list-element', {
  props: ['name', 'radiobuttoncontent'],
  data() {
    return {
      radio: ""
    };
  },
  template:'#radioButtonListTemplate'
{'fraction_non_alphanumeric': 0.14388145315487572, 'fraction_numerical': 0.0014340344168260039, 'mean_word_length': 2.210122699386503, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6498111', 'n_tokens_mistral': 612, 'n_tokens_neox': 608, 'n_words': 126}