<commit_before>import 'package:uilib/view.dart';
import 'dart:html';
import 'dart:async';
import 'package:pcbuilder.api/config.dart';
import 'package:pcbuilder.api/domain/connector.dart';
import 'package:pcbuilder.api/transport/componentitem.dart';
import 'package:pcbuilder.api/transport/productsearch.dart';
import 'package:pcbuilder.api/transport/productsresponse.dart';
import 'package:pcbuilder.api/domain/product.dart';
import 'package:pcbuilder.api/backend.dart';
import 'package:uilib/util.dart';

class ProductView extends View {
  Element _viewElement = querySelector("#productview");
  static String get id => "productview";
  Element _productItem;
  Element _productList;
  Element _productInfo;
  Element _pager;
  InputElement _filterField;
  String _currentFilter;
  String _currentSort;
  int _currentPage;
  int _pageCount;
  int pageWidth = config["page-width"] ?? 5;

  ProductView() {<commit_msg>Filter default value set.<commit_after>import 'package:uilib/view.dart';
import 'dart:html';
import 'dart:async';
import 'package:pcbuilder.api/config.dart';
import 'package:pcbuilder.api/domain/connector.dart';
import 'package:pcbuilder.api/transport/componentitem.dart';
import 'package:pcbuilder.api/transport/productsearch.dart';
import 'package:pcbuilder.api/transport/productsresponse.dart';
import 'package:pcbuilder.api/domain/product.dart';
import 'package:pcbuilder.api/backend.dart';
import 'package:uilib/util.dart';

class ProductView extends View {
  Element _viewElement = querySelector("#productview");
  static String get id => "productview";
  Element _productItem;
  Element _productList;
  Element _productInfo;
  Element _pager;
  InputElement _filterField;
  String _currentFilter="";
  String _currentSort;
  int _currentPage;
  int _pageCount;
  int pageWidth = config["page-width"] ?? 5;

  ProductView() {
{'fraction_non_alphanumeric': 0.12236058473199783, 'fraction_numerical': 0.0010828370330265296, 'mean_word_length': 6.481781376518219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6698263', 'n_tokens_mistral': 577, 'n_tokens_neox': 572, 'n_words': 117}