-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from komarovalexander/release-2.0
Release 2.0: TS support & Update dependencies
- Loading branch information
Showing
9 changed files
with
99 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
src | ||
public | ||
static | ||
.vscode | ||
.github | ||
node_modules | ||
.babelrc | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.npmignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
jest.config.js | ||
package-lock.json | ||
README.md | ||
rollup.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { IFilterControlProps } from "./interfaces"; | ||
|
||
declare const FilterControl: React.FunctionComponent<IFilterControlProps> = (props: IFilterControlProps) => {}; | ||
|
||
export default FilterControl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
export declare interface IField { | ||
name: string; | ||
caption: string; | ||
operators: any; | ||
} | ||
|
||
export declare interface IGroup { | ||
name: string; | ||
caption: string; | ||
} | ||
|
||
export declare interface IOperator { | ||
name: string; | ||
caption: string; | ||
} | ||
|
||
export declare interface IFilterValueItem { | ||
key: any; | ||
field: string; | ||
operator: string; | ||
value: any; | ||
} | ||
|
||
export declare interface IFilterControlFilterValueGroup { | ||
key: any; | ||
groupName: string; | ||
items: Array<IFilterControlFilterValue | IFilterValueItem>; | ||
} | ||
|
||
export declare interface IFilterControlFilterValue { | ||
groupName: string; | ||
items: Array<IFilterControlFilterValue | IFilterValueItem>; | ||
} | ||
|
||
export declare interface IFilterControlProps { | ||
fields: IField[]; | ||
groups?: IGroup[]; | ||
filterValue: IFilterControlFilterValue; | ||
onFilterValueChanged: (value: any) => void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters