@itwin/ecschema-locaters 3.0.0-dev.143 → 3.0.0-dev.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,14 +63,6 @@ var jumpToCode = (function init() {
63
63
  }
64
64
 
65
65
  return function jump(event) {
66
- if (
67
- document.getElementById('fileSearch') === document.activeElement &&
68
- document.activeElement != null
69
- ) {
70
- // if we're currently focused on the search input, we don't want to navigate
71
- return;
72
- }
73
-
74
66
  switch (event.which) {
75
67
  case 78: // n
76
68
  case 74: // j
@@ -24,31 +24,6 @@ var addSorting = (function() {
24
24
  return getTableHeader().querySelectorAll('th')[n];
25
25
  }
26
26
 
27
- function onFilterInput() {
28
- const searchValue = document.getElementById('fileSearch').value;
29
- const rows = document.getElementsByTagName('tbody')[0].children;
30
- for (let i = 0; i < rows.length; i++) {
31
- const row = rows[i];
32
- if (
33
- row.textContent
34
- .toLowerCase()
35
- .includes(searchValue.toLowerCase())
36
- ) {
37
- row.style.display = '';
38
- } else {
39
- row.style.display = 'none';
40
- }
41
- }
42
- }
43
-
44
- // loads the search box
45
- function addSearchBox() {
46
- var template = document.getElementById('filterTemplate');
47
- var templateClone = template.content.cloneNode(true);
48
- templateClone.getElementById('fileSearch').oninput = onFilterInput;
49
- template.parentElement.appendChild(templateClone);
50
- }
51
-
52
27
  // loads all columns
53
28
  function loadColumns() {
54
29
  var colNodes = getTableHeader().querySelectorAll('th'),
@@ -187,7 +162,6 @@ var addSorting = (function() {
187
162
  }
188
163
  cols = loadColumns();
189
164
  loadData();
190
- addSearchBox();
191
165
  addSortIndicators();
192
166
  enableUI();
193
167
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/ecschema-locaters",
3
- "version": "3.0.0-dev.143",
3
+ "version": "3.0.0-dev.147",
4
4
  "description": "EC Schema file locaters",
5
5
  "license": "MIT",
6
6
  "main": "lib/cjs/ecschema-locaters.js",
@@ -20,9 +20,9 @@
20
20
  "url": "http://www.bentley.com"
21
21
  },
22
22
  "devDependencies": {
23
- "@itwin/build-tools": "3.0.0-dev.143",
24
- "@itwin/ecschema-metadata": "3.0.0-dev.143",
25
- "@itwin/eslint-plugin": "3.0.0-dev.143",
23
+ "@itwin/build-tools": "3.0.0-dev.147",
24
+ "@itwin/ecschema-metadata": "3.0.0-dev.147",
25
+ "@itwin/eslint-plugin": "3.0.0-dev.147",
26
26
  "@types/chai": "^4.1.4",
27
27
  "@types/chai-as-promised": "^7",
28
28
  "@types/glob": "^5.0.35",
@@ -43,7 +43,7 @@
43
43
  "glob": "^7.1.2"
44
44
  },
45
45
  "peerDependencies": {
46
- "@itwin/ecschema-metadata": "^3.0.0-dev.143"
46
+ "@itwin/ecschema-metadata": "^3.0.0-dev.147"
47
47
  },
48
48
  "nyc": {
49
49
  "extends": "./node_modules/@itwin/build-tools/.nycrc",