<commit_before>import 'rxjs/add/operator/switchMap';
import { Component,  OnInit } from '@angular/core';
import { Router, ActivatedRoute, Params } from '@angular/router';
import { ProcessesService } from '../../Processes.service';
import { BaThemeSpinner } from '../../../../theme/services';

@Component({
  selector: 'activeProcessDetail',
  styles: [],
  template:  require('./activeProcessDetail.html')
})
export class ActiveProcessDetail implements OnInit {

  piId:number;
  msg = undefined;
  subjectsState:{
    piId:number,
    status: string,
    startTime: number[],
    endTime: number[],
    subjects: [{
      lastChanged: number[],
      receiveState: string,
      ssId: number,
      stateFunctionType: string,
      stateName: string,
      subjectName: string,
      userId: number,
      user: any
    }]
  };
  businessObject = {
    fields:[
      {
        type: "text",
        name: "Textfeld",
        description: "Textfeld für XY",
        value: "Default Value",
        minlength: 5,
        maxlength: 20,
        required: true,
        readonly: false
      },
      {
        type: "number",
        name: "Nummernfeld",
        description: "Nummernfeld für XY",
        value: 123,
        min: 5,
        max: 200,
        required: true,
        readonly: false
      },
      {
        type: "checkbox",
        name: "Checkbox",
        description: "Checkbox für XY",
        value: true,
        readonly: true,
        required: true
      },
      {
        type: "radio",
        name: "Radiofield",
        description: "Radiofield für XY",
        value: "radio1",
        readonly: true,
        choices: [
          {
            name: 'radio1',
            description: 'Radio1'
          }, {
            name: 'radio2',
            description: 'Radio2'
          }, {
            name: 'radio3',
            description: 'Radio3'
          }
        ]<commit_msg>disable radio buttons not possible<commit_after>import 'rxjs/add/operator/switchMap';
import { Component,  OnInit } from '@angular/core';
import { Router, ActivatedRoute, Params } from '@angular/router';
import { ProcessesService } from '../../Processes.service';
import { BaThemeSpinner } from '../../../../theme/services';

@Component({
  selector: 'activeProcessDetail',
  styles: [],
  template:  require('./activeProcessDetail.html')
})
export class ActiveProcessDetail implements OnInit {

  piId:number;
  msg = undefined;
  subjectsState:{
    piId:number,
    status: string,
    startTime: number[],
    endTime: number[],
    subjects: [{
      lastChanged: number[],
      receiveState: string,
      ssId: number,
      stateFunctionType: string,
      stateName: string,
      subjectName: string,
      userId: number,
      user: any
    }]
  };
  businessObject = {
    fields:[
      {
        type: "text",
        name: "Textfeld",
        description: "Textfeld für XY",
        value: "Default Value",
        minlength: 5,
        maxlength: 20,
        required: true,
        readonly: false
      },
      {
        type: "number",
        name: "Nummernfeld",
        description: "Nummernfeld für XY",
        value: 123,
        min: 5,
        max: 200,
        required: true,
        readonly: false
      },
      {
        type: "checkbox",
        name: "Checkbox",
        description: "Checkbox für XY",
        value: true,
        readonly: false,
        required: true
      },
      {
        type: "radio",
        name: "Radiofield",
        description: "Radiofield für XY",
        value: "radio1",
        readonly: true,
        choices: [
          {
            name: 'radio1',
            description: 'Radio1'
          }, {
            name: 'radio2',
            description: 'Radio2'
          }, {
            name: 'radio3',
            description: 'Radio3'
          }
        ]
{'fraction_non_alphanumeric': 0.1272066458982347, 'fraction_numerical': 0.008826583592938734, 'mean_word_length': 1.8268525311812178, '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': '1571191', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1091, 'n_words': 280}