Skip to content

Commit ba73837

Browse files
committed
Renamed JS/JSX files in the react-table folder to TS/TSX
1 parent 3a02585 commit ba73837

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+137
-2
lines changed

benchexec/tablegenerator/react-table/config-overrides.js renamed to benchexec/tablegenerator/react-table/config-overrides.ts

File renamed without changes.

benchexec/tablegenerator/react-table/scripts/dependencies.js renamed to benchexec/tablegenerator/react-table/scripts/dependencies.ts

File renamed without changes.
File renamed without changes.

benchexec/tablegenerator/react-table/scripts/workerDataUrls.js renamed to benchexec/tablegenerator/react-table/scripts/workerDataUrls.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.

benchexec/tablegenerator/react-table/src/__mocks__/@fortawesome/react-fontawesome.js renamed to benchexec/tablegenerator/react-table/src/__mocks__/@fortawesome/react-fontawesome.tsx

File renamed without changes.

benchexec/tablegenerator/react-table/src/components/FilterBox/FilterBox.js renamed to benchexec/tablegenerator/react-table/src/components/FilterBox/FilterBox.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ import { decodeFilter, isNil } from "../../utils/utils";
1515
const classNames = require("classnames");
1616

1717
export default class FilterBox extends React.PureComponent {
18+
public listeners: any;
19+
public resetFilterHook: any;
20+
public state: any;
21+
public props: any;
22+
public setState: any;
23+
public filtered: any;
24+
public id: any;
25+
public value: any;
26+
public tool: any;
27+
public title: any;
28+
public column: any;
29+
1830
constructor(props) {
1931
super(props);
2032

benchexec/tablegenerator/react-table/src/components/FilterBox/FilterCard.js renamed to benchexec/tablegenerator/react-table/src/components/FilterBox/FilterCard.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,25 @@ const numericInputDebounce = 500;
2626
let debounceHandler = setTimeout(() => {}, numericInputDebounce);
2727

2828
export default class FilterCard extends React.PureComponent {
29+
public state: any;
30+
public props: any;
31+
public setState: any;
32+
public numericMinTimeout: any;
33+
public numericMaxTimeout: any;
34+
public values: any;
35+
public min: any;
36+
public max: any;
37+
public type: any;
38+
public significantDigits: any;
39+
public categories: any;
40+
public propMin: any;
41+
public propMax: any;
42+
public filter: any;
43+
public editable: any;
44+
public availableFilters: any;
45+
public title: any;
46+
public statuses: any;
47+
2948
constructor(props) {
3049
super(props);
3150
const {

benchexec/tablegenerator/react-table/src/components/FilterBox/FilterContainer.js renamed to benchexec/tablegenerator/react-table/src/components/FilterBox/FilterContainer.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ import FilterCard from "./FilterCard";
1010
import equals from "deep-equal";
1111

1212
export default class FilterContainer extends React.PureComponent {
13+
public props: any;
14+
public state: any;
15+
public setState: any;
16+
public filters: any;
17+
public toolName: any;
18+
public currentFilters: any;
19+
public newFilterState: any;
20+
public numCards: any;
21+
1322
constructor(props) {
1423
super(props);
1524
const { filters, toolName, currentFilters } = props;
@@ -31,7 +40,7 @@ export default class FilterContainer extends React.PureComponent {
3140
.sort((a, b) => a.numCards - b.numCards);
3241
}
3342

34-
setFilter({ title, values, filtering = true }, idx) {
43+
setFilter({ title, values, filtering = true }, idx?) {
3544
const prevFilters = this.state.filters;
3645
prevFilters[idx].values = values;
3746
prevFilters[idx].filtering = filtering;

0 commit comments

Comments
 (0)