<commit_before>import {bindable, inject, computedFrom, customElement, bindingMode} from 'aurelia-framework';
import {resolvedView} from 'aurelia-view-manager';
import {EntityManager} from 'aurelia-orm';
import {Router} from 'aurelia-router';
import {Statham} from "json-statham";

@customElement('datatable')
@resolvedView('spoonx/datatable', 'datatable')
@inject(Router, Element, EntityManager)
export class DataTable {
  @bindable({defaultBindingMode: bindingMode.twoWay})
  criteria = {};

  @bindable({defaultBindingMode: bindingMode.twoWay})
  where = {};

  @bindable limit        = 30;
  @bindable columns      = '';
  @bindable searchColumn = 'name';
  @bindable actions      = [];
  @bindable searchable   = null;  // Show the search field? (Optional attribute).
  @bindable sortable     = null;  // Columns can be sorted? (Optional attribute).
  @bindable edit         = null;  // Rows are editable? (Optional attribute).
  @bindable destroy      = null;  // Rows are removable? (Optional attribute).
  @bindable page         = 1;     // Current page.
  @bindable populate     = false; // Which columns to populate. True for all, string for specific.
  @bindable select;               // User provided callback, called upon clicking on a row.
  @bindable repository;<commit_msg>chore(datatable): lint<commit_after>import {bindable, inject, computedFrom, customElement, bindingMode} from 'aurelia-framework';
import {resolvedView} from 'aurelia-view-manager';
import {EntityManager} from 'aurelia-orm';
import {Router} from 'aurelia-router';
import {Statham} from 'json-statham';

@customElement('datatable')
@resolvedView('spoonx/datatable', 'datatable')
@inject(Router, Element, EntityManager)
export class DataTable {
  @bindable({defaultBindingMode: bindingMode.twoWay})
  criteria = {};

  @bindable({defaultBindingMode: bindingMode.twoWay})
  where = {};

  @bindable limit        = 30;
  @bindable columns      = '';
  @bindable searchColumn = 'name';
  @bindable actions      = [];
  @bindable searchable   = null;  // Show the search field? (Optional attribute).
  @bindable sortable     = null;  // Columns can be sorted? (Optional attribute).
  @bindable edit         = null;  // Rows are editable? (Optional attribute).
  @bindable destroy      = null;  // Rows are removable? (Optional attribute).
  @bindable page         = 1;     // Current page.
  @bindable populate     = false; // Which columns to populate. True for all, string for specific.
  @bindable select;               // User provided callback, called upon clicking on a row.
  @bindable repository;
{'fraction_non_alphanumeric': 0.1218568665377176, 'fraction_numerical': 0.0023210831721470018, 'mean_word_length': 3.718978102189781, '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': '7414198', 'n_tokens_mistral': 764, 'n_tokens_neox': 738, 'n_words': 228}