Skip to content

Commit

Permalink
Fixed #131
Browse files Browse the repository at this point in the history
  • Loading branch information
Merve7 committed Oct 17, 2017
1 parent 5e638ee commit 7249184
Show file tree
Hide file tree
Showing 93 changed files with 1,511 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/components/accordion/Accordion.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React = require("react");

interface AccordionTabProps {
header?: string;
}

export class AccordionTab extends React.Component<AccordionTabProps,any> {}

interface AccordionProps {
id?: string;
activeIndex?: any;
className?: string;
style?: object;
multiple?: boolean;
onTabOpen?(originalEvent: Event, index: number): void;
onTabClose?(originalEvent: Event, index: number): void;
}

export class Accordion extends React.Component<AccordionProps,any> {}
41 changes: 41 additions & 0 deletions src/components/autocomplete/AutoComplete.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import React = require("react");

interface AutoCompleteProps extends React.HTMLProps<HTMLAutoCompleteElement> {
id?: string;
value?: any;
suggestions?: Array<any>;
field?: string;
scrollHeight?: string;
dropdown?: boolean;
multiple?: boolean;
minLength?: number;
delay?: number;
style?: object;
className?: string;
inputStyle?: object;
inputClassName?: string;
placeholder?: string;
readonly?: boolean;
disabled?: boolean;
maxlength?: number;
size?: number;
appendTo?: any;
tabindex?: number;
completeMethod?(originalEvent: Event, query: any): void;
itemTemplate?(): void;
selectedItemTemplate?(): void;
onChange?(originalEvent: Event, value: any): void;
onFocus?(): void;
onBlur?(): void;
onSelect?(originalEvent: Event, value: any): void;
onUnselect?(originalEvent: Event, value: any): void;
onDropdownClick?(originalEvent: Event, query: any): void;
onClick?(): void;
onDblClick?(): void;
onMouseDown?(): void;
onKeyUp?(): void;
onKeyPress?(): void;
onContextMenu?(): void;
}

export class AutoComplete extends React.Component<AutoCompleteProps,any> {}
11 changes: 11 additions & 0 deletions src/components/breadcrumb/BreadCrumb.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React = require("react");

interface BreadCrumbProps {
id?: string;
model?: Array<any>;
home?: any;
style?: object;
className?: string;
}

export class BreadCrumb extends React.Component<BreadCrumbProps,any> {}
59 changes: 59 additions & 0 deletions src/components/calendar/Calendar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
import React = require("react");

interface CalendarProps {
id: string;
value: any;
defaultDate: Date;
selectionMode: string;
style: string;
className: string;
inputStyle: string;
inputClassName: string;
placeholder: string;
disabled: boolean;
dateFormat: string;
inline: boolean;
showOtherMonths: boolean;
selectOtherMonths: boolean;
showIcon: boolean;
icon: string;
utc: boolean;
showOnFocus: boolean;
appendTo: string;
readOnlyInput: boolean;
shortYearCutoff: string;
minDate: any;
maxDate: any;
monthNavigator: boolean;
yearNavigator: boolean;
maxDateCount: number;
yearRange: string;
showTime: boolean;
hourFormat: string;
timeOnly: boolean;
locale: object;
dataType: string;
showButtonBar: boolean;
todayButtonClassName: boolean;
clearButtonClassName: boolean;
required: boolean;
tabindex: number;
stepHour: number;
stepMinute: number;
stepSecond: number;
showSeconds: boolean;
disabledDates: Array<any>;
disabledDays: Array<any>;
onFocus?(): void;
onSelect?(originalEvent: Event, value: any): void;
onBlur?(): void;
onChange?(originalEvent: Event, value: any): void;
onTodayButtonClick?(): void;
onClearButtonClick?(): void;
onMouseDown?(): void;
onKeyUp?(): void;
onKeyPress?(): void;
onContextMenu?(): void;
}

export class Calendar extends React.Component<CalendarProps,any> {}
15 changes: 15 additions & 0 deletions src/components/captcha/Captcha.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import React = require("react");

interface CaptchaProps {
id?: string;
sitekey?: string;
theme?: string;
type?: string;
size?: string;
tabindex?: number;
language?: string;
onResponse?(response: any): void;
onExpire?(): void;
}

export class Captcha extends React.Component<CaptchaProps,any> {}
14 changes: 14 additions & 0 deletions src/components/chart/Chart.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React = require("react");

interface ChartProps {
id?: string;
type?: string;
data?: object;
options?: object;
width?: string;
height?: string;
style?: string;
className?: string;
}

export class Chart extends React.Component<ChartProps,any> {}
13 changes: 13 additions & 0 deletions src/components/checkbox/Checkbox.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React = require("react");

interface CheckboxProps {
id?: string;
label?: string;
value?: any;
onChange?(originalEvent: Event, value: any, checked:boolean): void;
checked?: boolean;
onMouseDown?(): void;
onContextMenu?(): void;
}

export class Checkbox extends React.Component<CheckboxProps,any> {}
17 changes: 17 additions & 0 deletions src/components/chips/Chips.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React = require("react");

interface ChipsProps {
id?: string;
placeholder?: string;
value?: Array<any>;
field?: string;
max?: number;
disabled?: boolean;
style?: object;
className?: string;
onAdd?(originalEvent: Event, value: Array<any>): void;
onRemove?(originalEvent: Event, value: Array<any>): void;
itemTemplate?(): void;
}

export class Chips extends React.Component<ChipsProps,any> {}
17 changes: 17 additions & 0 deletions src/components/colorpicker/ColorPicker.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React = require("react");

interface ColorPickerProps {
id?: string;
value?: any;
style?: string;
className?: string;
inline?: boolean;
format?: string;
appendTo?: string;
disabled?: boolean;
tabindex?: string;
inputId?: string;
onChange?(originalEvent: Event, value: any): void;
}

export class ColorPicker extends React.Component<ColorPickerProps,any> {}
29 changes: 29 additions & 0 deletions src/components/column/Column.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import React = require("react");

interface ColumnProps {
columnKey?: string;
field?: string;
sortField?: string;
header?: any;
body?: any;
footer?: any;
sortable?: boolean;
sortFunction?(): void;
filter?: boolean;
filterMatchMode?: string;
filterPlaceholder?: string;
filterType?: string;
filterMaxLength?: number;
filterElement?: object;
style?: object;
className?: string;
expander?: boolean;
frozen?: boolean;
selectionMode?: string;
colSpan?: number;
rowSpan?: number;
editor?(): void;
editorValidator?(): void;
}

export class Column extends React.Component<ColumnProps,any> {}
6 changes: 6 additions & 0 deletions src/components/columngroup/ColumnGroup.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React = require("react");

interface ColumnGroupProps {
}

export class ColumnGroup extends React.Component<ColumnGroupProps,any> {}
11 changes: 11 additions & 0 deletions src/components/common/MenuItem.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React = require("react");

interface MenuItemProps {
index ?: any;
items ?: any;
onItemClick ?(): void;
parentMenu ?: string;
root ?: boolean;
}

export class MenuItem extends React.Component<MenuItemProps,any> {}
10 changes: 10 additions & 0 deletions src/components/common/SelectButtonItem.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React = require("react");

interface SelectButtonItemProps {
option?: object;
selected?: boolean;
tabIndex?: number;
onClick?(originalEvent: Event, option:object): void;
}

export class SelectButtonItem extends React.Component<SelectButtonItemProps,any> {}
13 changes: 13 additions & 0 deletions src/components/contextmenu/ContextMenu.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React = require("react");

interface ContextMenuProps {
id?: string;
model?: Array<any>;
style?: string;
className?: string;
global?: boolean;
target?: any;
appendTo?: any;
}

export class ContextMenu extends React.Component<ContextMenuProps,any> {}
23 changes: 23 additions & 0 deletions src/components/datagrid/DataGrid.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React = require("react");

interface DataGridProps {
id?: string,
value?: Array<any>,
rows?: number,
first?:number,
paginator?: boolean,
totalRecords?: number,
pageLinks?: number,
rowsPerPageOptions?: Array<any>,
lazy?: boolean,
style?: string,
className?: string,
paginatorPosition?: string,
paginatorTemplate?: string,
onLazyLoad?(first: number, rows:number): void,
itemTemplate?(): void,
header?:string,
footer?:string;
}

export class DataGrid extends React.Component<DataGridProps,any> {}
23 changes: 23 additions & 0 deletions src/components/datalist/DataList.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React = require("react");

interface DataListProps {
id?: string;
value?: Array<any>;
rows?: number;
first?:number;
paginator?: boolean;
totalRecords?: number;
pageLinks?: number;
rowsPerPageOptions?: Array<any>;
lazy?: boolean;
style?: string;
className?: string;
paginatorPosition?: string;
paginatorTemplate?: string;
onLazyLoad?(first: number, rows:number): void;
itemTemplate?(): void;
header?:string;
footer?:string;
}

export class DataList extends React.Component<DataListProps,any> {}
19 changes: 19 additions & 0 deletions src/components/datascroller/DataScroller.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React = require("react");

interface DataScrollerProps {
id?: string;
value?: Array<any>;
rows?: number;
inline?: boolean;
scrollHeight?: any;
loader?: any;
buffer?: number;
style?: string;
className?: string;
onLazyLoad?(first: number, rows: number): void;
itemTemplate?(): void;
header?: string;
footer?: string;
}

export class DataScroller extends React.Component<DataScrollerProps,any> {}
6 changes: 6 additions & 0 deletions src/components/datatable/BodyCell.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React = require("react");

interface BodyCellProps {
}

export class BodyCell extends React.Component<BodyCellProps,any> {}
6 changes: 6 additions & 0 deletions src/components/datatable/BodyRow.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React = require("react");

interface BodyRowProps {
}

export class BodyRow extends React.Component<BodyRowProps,any> {}
Loading

0 comments on commit 7249184

Please sign in to comment.