<commit_before>enyo.kind({
	name: "moon.sample.InputSample",
	kind:"FittableRows",
	classes: "moon enyo-unselectable enyo-fit moon-input-sample",
	components: [
		{kind: "enyo.Spotlight"},
		{kind: "moon.Divider", content: "Inputs"},
		{kind: 'moon.Scroller', horizontal: "hidden", fit: true, components: [
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "JUST TYPE", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.Input", placeholder: "Search term", oninput:"inputChanged"},
				{kind: "Image", src: "assets/search-input-search.png"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.Input", type:"password", placeholder: "Enter password", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", disabled: true, components: [
				{kind: "moon.Input", disabled: true, value: "Deactivated input"}
			]},
			{kind: "moon.Divider", content: "RichTexts"},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.RichText", placeholder: "Enter text here", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.RichText", style: "width: 240px;", placeholder: "JUST TYPE", oninput:"inputChanged"},
				{kind: "Image", src: "assets/search-input-search.png"}
			]},
			{kind: "moon.InputDecorator", disabled: true, components: [
				{kind: "moon.RichText", disabled: true, style: "width: 240px;", placeholder: "Deactivated input", oninput:"inputChanged"}
			]},
			{kind: "moon.Divider", content: "TextAreas"},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.TextArea", placeholder: "Enter text here", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.TextArea", placeholder: "JUST TYPE", oninput:"inputChanged"},
			]},
			{kind: "moon.InputDecorator", disabled: true, components: [
				{kind: "moon.TextArea", disabled: true, placeholder: "Deactivated input", oninput:"inputChanged"}
			]}
		]},
		{kind: "moon.Divider", content: "Result", classes: "moon-input-sample-result"},
		{name: "console", classes: "moon-input-sample-console", content: "Input: "},
		{kind: "moon.Divider", content: "Bottom-aligned inputs", classes: "moon-input-sample-result"},
		{components: [
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "Bottom", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "Aligned", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "Inputs", oninput:"inputChanged"}
			]}
		]}
	],
	inputChanged: function(inSender, inEvent) {
		this.$.console.setContent("Input: " + inSender.getValue());
	}
});<commit_msg>GF-10225: Add explanatory label inside RichText.<commit_after>enyo.kind({
	name: "moon.sample.InputSample",
	kind:"FittableRows",
	classes: "moon enyo-unselectable enyo-fit moon-input-sample",
	components: [
		{kind: "enyo.Spotlight"},
		{kind: "moon.Divider", content: "Inputs"},
		{kind: 'moon.Scroller', horizontal: "hidden", fit: true, components: [
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "JUST TYPE", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.Input", placeholder: "Search term", oninput:"inputChanged"},
				{kind: "Image", src: "assets/search-input-search.png"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.Input", type:"password", placeholder: "Enter password", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", disabled: true, components: [
				{kind: "moon.Input", disabled: true, value: "Deactivated input"}
			]},
			{kind: "moon.Divider", content: "RichTexts"},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.RichText", placeholder: "Enter text here", oninput:"inputChanged", ontap: "tapRichText"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.RichText", style: "width: 240px;", placeholder: "JUST TYPE", oninput:"inputChanged", ontap: "tapRichText"},
				{kind: "Image", src: "assets/search-input-search.png"}
			]},
			{kind: "moon.InputDecorator", disabled: true, components: [
				{kind: "moon.RichText", disabled: true, style: "width: 240px;", placeholder: "Deactivated input", oninput:"inputChanged"}
			]},
			{kind: "moon.Divider", content: "TextAreas"},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.TextArea", placeholder: "Enter text here", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", components: [
				{kind: "moon.TextArea", placeholder: "JUST TYPE", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", disabled: true, components: [
				{kind: "moon.TextArea", disabled: true, placeholder: "Deactivated input", oninput:"inputChanged"}
			]}
		]},
		{kind: "moon.Divider", content: "Result", classes: "moon-input-sample-result"},
		{name: "console", classes: "moon-input-sample-console", content: "Input: "},
		{kind: "moon.Divider", content: "Bottom-aligned inputs", classes: "moon-input-sample-result"},
		{components: [
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "Bottom", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "Aligned", oninput:"inputChanged"}
			]},
			{kind: "moon.InputDecorator", spotlight: true, components: [
				{kind: "moon.Input", placeholder: "Inputs", oninput:"inputChanged"}
			]}
		]}
	],
	rendered: function() {
		this.$.richText.setValue(this.$.richText.placeholder);
		this.$.richText2.setValue(this.$.richText2.placeholder);
		this.$.richText3.setValue(this.$.richText3.placeholder);
	},
	inputChanged: function(inSender, inEvent) {
		this.$.console.setContent("Input: " + inSender.getValue());
	},
	tapRichText: function(inSender, inEvent) {
		if(inEvent.originator.placeholder) {
			inEvent.originator.placeholder = null;
			inEvent.originator.setValue("");
			return true;
		} else {
			return true;
		}		
	}
});
{'fraction_non_alphanumeric': 0.18953619001765368, 'fraction_numerical': 0.003370245546461242, 'mean_word_length': 4.969348659003831, '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': '2449444', 'n_tokens_mistral': 2392, 'n_tokens_neox': 2121, 'n_words': 438}