<commit_before>angular.module(PKG.name + '.commons')
  .service('WidgetFactory', function() {
    this.registry = {
      'number': {
        element: '<my-number-widget></my-number-widget>',
        attributes: {
          'ng-model': 'model',
          'data-config': 'myconfig'
        }
      },
      'textbox': {
        element: '<input/>',
        attributes: {
          'class': 'form-control',
          'ng-model': 'model',
          placeholder: 'myconfig.description'
        }
      },
      'password': {
        element: '<input/>',
        attributes: {
          'class': 'form-control',
          'ng-model': 'model',
          type: 'password',
          placeholder: 'myconfig.description'
        }
      },
      'datetime': {
        element: '<my-timestamp-picker></my-timestamp-picker>',
        attributes: {
          'ng-model': 'model',
          'data-label': 'Date'
        }
      },
      'csv': {
        element: '<my-dsv></my-dsv>',
        attributes: {
          'ng-model': 'model',
          'data-delimiter': ','
        }
      },
      'dsv': {
        element: '<my-dsv></my-dsv>',
        attributes: {
          'ng-model': 'model',
          'data-delimiter': '{{ myconfig.delimiter }}'
        }
      },
      'json-editor': {
        element: '<textarea></textarea>',
        attributes: {
          'cask-json-edit': 'model',
          'class': 'form-control',
          placeholder: 'myconfig.description'
        }
      },
      'javascript-editor': {
        element: '<div my-ace-editor></div>',
        attributes: {
          'ng-model': 'model'
        }
      },
      'schema': {
        element: '<my-schema-editor></my-schema-editor>',
        attributes: {
          'ng-model': 'model',
          'data-config': 'myconfig'
        }
      },
      'keyvalue': {
        element: '<my-key-value></my-key-value>',
        attributes: {<commit_msg>Moves info icon out of widget container + minor config changes to widgets<commit_after>angular.module(PKG.name + '.commons')
  .service('WidgetFactory', function() {
    this.registry = {
      'number': {
        element: '<my-number-widget></my-number-widget>',
        attributes: {
          'ng-model': 'model',
          'data-config': 'myconfig'
        }
      },
      'textbox': {
        element: '<input/>',
        attributes: {
          'class': 'form-control',
          'ng-model': 'model',
          placeholder: '{{myconfig.properties.default || ""}}'
        }
      },
      'password': {
        element: '<input/>',
        attributes: {
          'class': 'form-control',
          'ng-model': 'model',
          type: 'password'
        }
      },
      'datetime': {
        element: '<my-timestamp-picker></my-timestamp-picker>',
        attributes: {
          'ng-model': 'model',
          'data-label': 'Date'
        }
      },
      'csv': {
        element: '<my-dsv></my-dsv>',
        attributes: {
          'ng-model': 'model',
          'data-delimiter': ','
        }
      },
      'dsv': {
        element: '<my-dsv></my-dsv>',
        attributes: {
          'ng-model': 'model',
          'data-delimiter': '{{ myconfig.delimiter }}'
        }
      },
      'json-editor': {
        element: '<textarea></textarea>',
        attributes: {
          'cask-json-edit': 'model',
          'class': 'form-control',
          placeholder: '{{myconfig.properties.default || ""}}'
        }
      },
      'javascript-editor': {
        element: '<div my-ace-editor></div>',
        attributes: {
          'ng-model': 'model',
          'config': 'myconfig',
          placeholder: '{{myconfig.properties.default || ""}}'
        }
      },
      'schema': {
        element: '<my-schema-editor></my-schema-editor>',
        attributes: {
          'ng-model': 'model',
          'data-config': 'myconfig'
        }
      },
      'keyvalue': {
        element: '<my-key-value></my-key-value>',
        attributes: {
{'fraction_non_alphanumeric': 0.1875472649357197, 'fraction_numerical': 0.0, 'mean_word_length': 1.5732814526588845, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '3831386', 'n_tokens_mistral': 1176, 'n_tokens_neox': 1186, 'n_words': 187}