<commit_before>- namespace [%fileName%]

/*!
 * V4Fire Client Core
 * https://github.com/V4Fire/Client
 *
 * Released under the MIT license
 * https://github.com/V4Fire/Client/blob/master/LICENSE
 */

- include 'form/b-input'|b as placeholder

- template index() extends ['b-input'].index
	- block icons
		< _.&__cell.&__icon.&__expand @click = setMod('opened', true)
			+= self.gIcon('expand_more')

	- block input
		- super
		< select.&__native &
			ref = select |
			v-if = b.is.mobile |
			v-model = selectedStore |
			@focus = onFocus |
			@blur = onBlur |
			@change = onOptionSelected($event.target.dataset.value)
		.
			< option v-for = el in options | :key = :value, el.value
				{{ el.label }}

	- block helpers
		- super
		- block dropdown
			< _.&__dropdown[.&_pos_bottom-left] &
				v-if = !b.is.mobile && options.length && (isFunctional || ifOnce('opened', m.opened !== 'false'))
			.
				< _.&__dropdown-content
					< _.&__dropdown-content-wrapper
						< b-scroll-inline.&__scroll &
							v-func = isFunctional |
							ref = scroll |
							:fixSize = true |
							:mods = provideMods({size: 'm'})
						.
							< _ &
								v-for = el in options |
								:key = :-value, el.value |
								:class = getElClasses({
									option: {
										marked: el.marked,
										selected: isSelected(el)
									}
								})
							.

								< template v-if = $scopedSlots.default
									< slot :el = el | ${slotAttrs|!html}

								< template v-else-if = option
									< component :is = option | :p = el

								< template v-else
									{{ t(el.label) }}
<commit_msg>Fixed opened by click<commit_after>- namespace [%fileName%]

/*!
 * V4Fire Client Core
 * https://github.com/V4Fire/Client
 *
 * Released under the MIT license
 * https://github.com/V4Fire/Client/blob/master/LICENSE
 */

- include 'form/b-input'|b as placeholder

- template index() extends ['b-input'].index
	- block icons
		< _.&__cell.&__icon.&__expand @click = open
			+= self.gIcon('expand_more')

	- block input
		- super
		< select.&__native &
			ref = select |
			v-if = b.is.mobile |
			v-model = selectedStore |
			@focus = onFocus |
			@blur = onBlur |
			@change = onOptionSelected($event.target.dataset.value)
		.
			< option v-for = el in options | :key = :value, el.value
				{{ el.label }}

	- block helpers
		- super
		- block dropdown
			< _.&__dropdown[.&_pos_bottom-left] &
				v-if = !b.is.mobile && options.length && (isFunctional || ifOnce('opened', m.opened !== 'false'))
			.
				< _.&__dropdown-content
					< _.&__dropdown-content-wrapper
						< b-scroll-inline.&__scroll &
							v-func = isFunctional |
							ref = scroll |
							:fixSize = true |
							:mods = provideMods({size: 'm'})
						.
							< _ &
								v-for = el in options |
								:key = :-value, el.value |
								:class = getElClasses({
									option: {
										marked: el.marked,
										selected: isSelected(el)
									}
								})
							.

								< template v-if = $scopedSlots.default
									< slot :el = el | ${slotAttrs|!html}

								< template v-else-if = option
									< component :is = option | :p = el

								< template v-else
									{{ t(el.label) }}

{'fraction_non_alphanumeric': 0.15377358490566037, 'fraction_numerical': 0.0018867924528301887, 'mean_word_length': 2.0557156580211333, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '218410', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1065, 'n_words': 222}