<commit_before>import VueTypes from 'vue-types';
import { Actions, helper } from '@appbaseio/reactivecore';
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
import types from '../../utils/vueTypes';
import Title from '../../styles/Title';
import Container from '../../styles/Container';
import ComponentWrapper from '../basic/ComponentWrapper.jsx';
import Button, { toggleButtons } from '../../styles/Button';
import { connect, updateCustomQuery, isQueryIdentical } from '../../utils/index';

const { updateQuery, setQueryOptions, setCustomQuery } = Actions;
const { isEqual, checkValueChange, getClassName, getOptionsFromQuery, handleA11yAction } = helper;

const ToggleButton = {
	name: 'ToggleButton',
	props: {
		componentId: types.stringRequired,
		data: types.data,
		dataField: types.stringRequired,
		defaultValue: types.stringOrArray,
		value: types.stringOrArray,
		filterLabel: types.string,
		nestedField: types.string,
		innerClass: types.style,
		multiSelect: VueTypes.bool,
		react: types.react,
		showFilter: VueTypes.bool,
		title: types.title,
		URLParams: VueTypes.bool,
		renderItem: types.func,<commit_msg>Allow any default value type (#1819)<commit_after>import VueTypes from 'vue-types';
import { Actions, helper } from '@appbaseio/reactivecore';
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
import types from '../../utils/vueTypes';
import Title from '../../styles/Title';
import Container from '../../styles/Container';
import ComponentWrapper from '../basic/ComponentWrapper.jsx';
import Button, { toggleButtons } from '../../styles/Button';
import { connect, updateCustomQuery, isQueryIdentical } from '../../utils/index';

const { updateQuery, setQueryOptions, setCustomQuery } = Actions;
const { isEqual, checkValueChange, getClassName, getOptionsFromQuery, handleA11yAction } = helper;

const ToggleButton = {
	name: 'ToggleButton',
	props: {
		componentId: types.stringRequired,
		data: types.data,
		dataField: types.stringRequired,
		defaultValue: types.any,
		value: types.stringOrArray,
		filterLabel: types.string,
		nestedField: types.string,
		innerClass: types.style,
		multiSelect: VueTypes.bool,
		react: types.react,
		showFilter: VueTypes.bool,
		title: types.title,
		URLParams: VueTypes.bool,
		renderItem: types.func,
{'fraction_non_alphanumeric': 0.13376344086021505, 'fraction_numerical': 0.0034408602150537634, 'mean_word_length': 4.933673469387755, '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': '6713454', 'n_tokens_mistral': 710, 'n_tokens_neox': 681, 'n_words': 174}