<commit_before>/* eslint react/no-multi-comp:0, no-console:0 */

import 'rc-tree-select/assets/index.css';
import './demo.less';
import React from 'react';
import ReactDOM from 'react-dom';
import 'rc-dialog/assets/index.less';
import Dialog from 'rc-dialog';
import TreeSelect, { TreeNode, SHOW_PARENT } from 'rc-tree-select';
import { gData } from './util';

const Demo = React.createClass({
  getInitialState() {
    return {
      visible: false,
      inputValue: '0-0-0-label',
      value: '0-0-0-value',
      // value: ['0-0-0-0-value', '0-0-0-1-value', '0-0-0-2-value'],
      multipleValue: [],
      simpleTreeData: [
        {'key': 1, 'pId': 0, 'label': 'test1'},
        {'key': '1-1', 'pId': 0, 'label': 'test1'},
        {'key': 11, 'pId': 1, 'label': 'test11'},
        {'key': 12, 'pId': 1, 'label': 'test12'},
        {'key': 111, 'pId': 11, 'label': 'test111'},<commit_msg>fix dialog demo<commit_after>/* eslint react/no-multi-comp:0, no-console:0 */

import 'rc-tree-select/assets/index.less';
import './demo.less';
import React from 'react';
import ReactDOM from 'react-dom';
import 'rc-dialog/assets/index.css';
import Dialog from 'rc-dialog';
import TreeSelect, { TreeNode, SHOW_PARENT } from 'rc-tree-select';
import { gData } from './util';

const Demo = React.createClass({
  getInitialState() {
    return {
      visible: false,
      inputValue: '0-0-0-label',
      value: '0-0-0-value',
      // value: ['0-0-0-0-value', '0-0-0-1-value', '0-0-0-2-value'],
      multipleValue: [],
      simpleTreeData: [
        {'key': 1, 'pId': 0, 'label': 'test1'},
        {'key': '1-1', 'pId': 0, 'label': 'test1'},
        {'key': 11, 'pId': 1, 'label': 'test11'},
        {'key': 12, 'pId': 1, 'label': 'test12'},
        {'key': 111, 'pId': 11, 'label': 'test111'},
{'fraction_non_alphanumeric': 0.2245810055865922, 'fraction_numerical': 0.05027932960893855, 'mean_word_length': 3.061224489795918, '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': '2833817', 'n_tokens_mistral': 703, 'n_tokens_neox': 664, 'n_words': 159}