<commit_before>import { Component } from '@angular/core';
import { JsonFormsState, RankedTester, rankWith, uiTypeIs } from '@jsonforms/core';
import { JsonFormsIonicLayout } from '../JsonFormsIonicLayout';
import { NgRedux } from '@angular-redux/store';

@Component({
  selector: 'jsonforms-vertical-layout',
  template: `
      <div *ngFor="let element of uischema?.elements">
          <jsonforms-outlet
                  [uischema]="element"
                  [path]="path"
                  [schema]="schema"
          ></jsonforms-outlet>
      </div>
  `
})
export class VerticalLayoutRenderer extends JsonFormsIonicLayout {
  constructor(ngRedux: NgRedux<JsonFormsState>) {
    super(ngRedux);
  }
}

export const verticalLayoutTester: RankedTester = rankWith(1, uiTypeIs('VerticalLayout'));<commit_msg>[ionic] Make use of ion-list for vertical layout<commit_after>import { Component } from '@angular/core';
import { JsonFormsState, RankedTester, rankWith, uiTypeIs } from '@jsonforms/core';
import { JsonFormsIonicLayout } from '../JsonFormsIonicLayout';
import { NgRedux } from '@angular-redux/store';

@Component({
  selector: 'jsonforms-vertical-layout',
  template: `
      <ion-list *ngFor="let element of uischema?.elements">
          <jsonforms-outlet
                  [uischema]="element"
                  [path]="path"
                  [schema]="schema"
          ></jsonforms-outlet>
      </ion-list>
  `
})
export class VerticalLayoutRenderer extends JsonFormsIonicLayout {
  constructor(ngRedux: NgRedux<JsonFormsState>) {
    super(ngRedux);
  }
}

export const verticalLayoutTester: RankedTester = rankWith(1, uiTypeIs('VerticalLayout'));
{'fraction_non_alphanumeric': 0.12912912912912913, 'fraction_numerical': 0.0012012012012012011, 'mean_word_length': 3.5149051490514904, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '6341610', 'n_tokens_mistral': 503, 'n_tokens_neox': 490, 'n_words': 102}