-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#81 fix: jest,repo,ci> fix troubles with enums + change CI services a…
…fter changed Owners of repo
- Loading branch information
1 parent
b699864
commit b7cc1eb
Showing
20 changed files
with
101 additions
and
112 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
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
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
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
11 changes: 6 additions & 5 deletions
11
src/lib/editableGrid/types/typesHeader.d.ts → src/lib/editableGrid/types/Header.ts
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 |
---|---|---|
@@ -1,16 +1,17 @@ | ||
export {}; | ||
import { EDataTypes } from "./EditableGrid"; | ||
|
||
declare type THeaderProps = { | ||
|
||
export declare type THeaderProps = { | ||
column: THeaderColumn; | ||
setSortBy: (arg: any[]) => void; | ||
dataDispatch: (arg: { [key: EDataTypes]: any }) => void; | ||
dataDispatch: (arg: Record<string, any>) => void; | ||
} | ||
declare type THeaderColumn = { | ||
|
||
export declare type THeaderColumn = { | ||
id: string; | ||
created?: boolean; | ||
label: string; | ||
dataType: EDataTypes; | ||
getResizerProps: () => any[]; | ||
getHeaderProps: () => any[]; | ||
} | ||
declare type TButtonEvent = React.MouseEvent<Element>; |
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,30 @@ | ||
import { EDataTypes } from './EditableGrid'; | ||
|
||
|
||
export type TColumn = { | ||
id: string; | ||
label: string; | ||
accessor?: string; | ||
dataType: EDataTypes; | ||
options?: TOptionsColumn[]; | ||
width?: number; | ||
maxWidth?: number; | ||
minWidth?: number; | ||
disableResizing?: boolean; | ||
isResizing?: boolean; | ||
} | ||
|
||
export declare type TRowCells = { | ||
column: TColumn[]; | ||
row: TRow[]; | ||
value?: string | number; | ||
getCellProps: () => { [key: string]: any }; | ||
render: (type?: string, props?: { [key: string]: any }) => any; | ||
} | ||
|
||
export declare type TTableProps = { | ||
columns: TColumn[]; | ||
data: any[]; | ||
skipReset: boolean; | ||
dispatch: (arg?: Record<string, 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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.