<commit_before>/**
 * Created by rc2122 on 11/21/2017.
 */
import {experimentOn} from '@islavi/ng2-component-lab';

export default experimentOn('List')
    .case('Simple list', {
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb']">
      
        </sdc-list>
    `
    }).case('List with unique validation', {
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb']"
                [isUniqueList]="true"
                [uniqueErrorMessage]="'This value is already in the list'">
      
        </sdc-list>
    `
    }).case('Disabled list', {
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb']"
                [isViewOnly]="true">
      
        </sdc-list>
    `
    }).case('List with some readonly items', {
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb', 'ccc', 'ddd']"
                [isViewOnly]="[1,3]">
      
        </sdc-list>
    `
    });<commit_msg>change example structure<commit_after>/**
 * Created by rc2122 on 11/21/2017.
 */
import {experimentOn} from '@islavi/ng2-component-lab';

export default experimentOn('List').group('List', [
    {
        id: 'list',
        title: 'Simple list',
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb']">
      
        </sdc-list>
    `
    },
    {
        id: 'unique-list',
        title: 'List with unique validation',
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb']"
                [isUniqueList]="true"
                [uniqueErrorMessage]="'This value is already in the list'">
      
        </sdc-list>
    `
    },
    {
        id: 'disabled-list',
        title: 'Disabled list',
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb']"
                [isViewOnly]="true">
      
        </sdc-list>
    `
    },
    {
        id: 'list-with-disabled-items',
        title: 'List with some readonly items',
        showSource: true,
        template: `
        <sdc-list label="Please Enter value" 
                placeholder="Type a value and then click enter or '+'"
                [list]="['aaa', 'bbb', 'ccc', 'ddd']"
                [isViewOnly]="[1,3]">
      
        </sdc-list>
    `
    }
]);

{'fraction_non_alphanumeric': 0.14864433811802233, 'fraction_numerical': 0.009569377990430622, 'mean_word_length': 1.6464135021097046, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '6194706', 'n_tokens_mistral': 972, 'n_tokens_neox': 901, 'n_words': 234}