<commit_before>import Widget from 'static/js/widget.js';
import cityselect from 'widget/component/cityselect/cityselect.js';
import dateControl from 'widget/classComponent/datecontrol/datecontrol.js';
import Star from 'widget/component/star/star';
import CommType from 'widget/component/commtype/commtype';
import singledate from  'widget/component/singledate/singledate';
import Util from  'widget/util/util';
import datetime from 'widget/filter/datetime';
import detailtime from 'widget/filter/detailtime';
import gender from 'widget/filter/gender';
import commisionType from 'widget/filter/commisionType';
import applyStates from 'widget/filter/applyStates';
import applyState from 'widget/filter/applyState';
import InputeDialog from 'widget/classComponent/dialog/inputeDialog';
import AlertDialog from "widget/classComponent/dialog/alert"
import LadderComm from 'widget/component/laddercomm/laddercomm'

let style = __inline('./distriform.inline.less');
let tpl = __inline('./distriform.tpl');

require.loadCss({
    name: 'admin-widget-distriform-style',
    content: style
});

var distriform = Widget.extend({ 
    
    init : function(data){
        this.vm = this.display(data ,tpl ,'vue');
        this.bind();
        this.render();
        Waves.attach('button', ['waves-float', 'waves-light']);

    },
    render : function(){

    },
    processData :function(data){

    },
    bind: function () {
      var me = this;
      let container = $(this.vm.$el);

    	$(this.vm.$el).on('click' ,'.my-tabs > li', function () {
    		$(this).siblings().removeClass('active');
    		$(this).addClass('active');
    	});

      // preview images
      $(this.vm.$el).on('change', '.lefile', function () {
        let imageContainer = $(me.vm.$el).find('.previewImage');
        if (imageContainer.size() === 0) {
          imageContainer = $('<img class="previewImage" src="" />');<commit_msg>bufenxiugai<commit_after>import Widget from 'static/js/widget.js';
import cityselect from 'widget/component/cityselect/cityselect.js';
import dateControl from 'widget/classComponent/datecontrol/datecontrol.js';
import Star from 'widget/component/star/star';
import CommType from 'widget/component/commtype/commtype';
import singledate from  'widget/component/singledate/singledate';
import Util from  'widget/util/util';
import datetime from 'widget/filter/datetime';
import detailtime from 'widget/filter/detailtime';
import gender from 'widget/filter/gender';
import commisionType from 'widget/filter/commisionType';
import applyStates from 'widget/filter/applyStates';
import applyState from 'widget/filter/applyState';
import InputeDialog from 'widget/classComponent/dialog/inputeDialog';
import AlertDialog from "widget/classComponent/dialog/alert"
import LadderComm from 'widget/component/laddercomm/laddercomm'

let style = __inline('./distriform.inline.less');
let tpl = __inline('./distriform.tpl');

require.loadCss({
    name: 'admin-widget-distriform-style',
    content: style
});

var distriform = Widget.extend({ 
    
    init : function(data){
      
        this.vm = this.display(data ,tpl ,'vue');
        this.bind();
        this.render();
        Waves.attach('button', ['waves-float', 'waves-light']);

    },
    render : function(){

    },
    processData :function(data){

    },
    bind: function () {
      var me = this;
      let container = $(this.vm.$el);

    	$(this.vm.$el).on('click' ,'.my-tabs > li', function () {
    		$(this).siblings().removeClass('active');
    		$(this).addClass('active');
    	});

      // preview images
      $(this.vm.$el).on('change', '.lefile', function () {
        let imageContainer = $(me.vm.$el).find('.previewImage');
        if (imageContainer.size() === 0) {
          imageContainer = $('<img class="previewImage" src="" />');
{'fraction_non_alphanumeric': 0.1565537168374048, 'fraction_numerical': 0.0005253480430785396, 'mean_word_length': 3.869565217391304, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '808175', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1122, 'n_words': 244}