-
Notifications
You must be signed in to change notification settings - Fork 1
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 #14 from weka/sofi/final-fixes-events
Sofi/final fixes events
- Loading branch information
Showing
138 changed files
with
3,501 additions
and
1,543 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/// <reference types="react" /> | ||
import './filterButton.scss'; | ||
interface FilterButtonProps { | ||
onClick: () => void; | ||
disable?: boolean; | ||
extraClass?: string; | ||
tooltipText?: string; | ||
} | ||
declare function FilterButton({ onClick, disable, extraClass, tooltipText }: FilterButtonProps): JSX.Element; | ||
export default FilterButton; |
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 @@ | ||
export { default } from './FilterButton'; |
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
6 changes: 6 additions & 0 deletions
6
dist/cjs/types/components/MonacoJsonEditor/MonacoJsonEditor.d.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/// <reference types="react" /> | ||
interface MonacoJsonEditorProps { | ||
value: string; | ||
} | ||
declare function MonacoJsonEditor({ value }: MonacoJsonEditorProps): JSX.Element; | ||
export default MonacoJsonEditor; |
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 @@ | ||
export { default } from './MonacoJsonEditor'; |
10 changes: 10 additions & 0 deletions
10
dist/cjs/types/components/Table/Pagination/Pagination.d.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/// <reference types="react" /> | ||
import './pagination.scss'; | ||
interface PaginationProps { | ||
onPageChange: (page: number) => void; | ||
totalRows: number; | ||
rowsPerPage: number; | ||
defaultCurrentPage: number; | ||
} | ||
declare function Pagination({ onPageChange, totalRows, rowsPerPage, defaultCurrentPage }: PaginationProps): JSX.Element | null; | ||
export default Pagination; |
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 @@ | ||
export { default } from './Pagination'; |
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,9 @@ | ||
/// <reference types="react" /> | ||
import './perPage.scss'; | ||
interface PerPageProps { | ||
value: string | number; | ||
onChange: (val: string | number) => void; | ||
options?: Option[]; | ||
} | ||
declare function PerPage({ value, onChange, options }: PerPageProps): JSX.Element; | ||
export default PerPage; |
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 @@ | ||
export { default } from './PerPage'; |
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
5 changes: 5 additions & 0 deletions
5
dist/cjs/types/components/Table/cells/EntityCell/EntityCell.d.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// <reference types="react" /> | ||
import { CustomCellProps } from '../../Table'; | ||
import './entityCell.scss'; | ||
declare function EntityCell({ cell }: CustomCellProps): JSX.Element; | ||
export default EntityCell; |
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 @@ | ||
export { default } from './EntityCell'; |
9 changes: 9 additions & 0 deletions
9
dist/cjs/types/components/Table/cells/IconButtonCell/IconButtonCell.d.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/// <reference types="react" /> | ||
import { CustomRowAction, ExtendedRow } from '../../Table'; | ||
import './iconButtonCell.scss'; | ||
interface IconButtonCellProps { | ||
action: CustomRowAction; | ||
row: ExtendedRow<object>; | ||
} | ||
declare function IconButtonCell({ row, action }: IconButtonCellProps): JSX.Element; | ||
export default IconButtonCell; |
1 change: 1 addition & 0 deletions
1
dist/cjs/types/components/Table/cells/IconButtonCell/index.d.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from './IconButtonCell'; |
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 @@ | ||
/// <reference types="react" /> | ||
import { CustomCellProps } from '../../Table'; | ||
import './nodeCell.scss'; | ||
declare function NodeCell({ cell }: CustomCellProps): JSX.Element; | ||
export default NodeCell; |
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 @@ | ||
export { default } from './NodeCell'; |
17 changes: 17 additions & 0 deletions
17
dist/cjs/types/components/Table/filters/DateFilter/DateFilter.d.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// <reference types="react" /> | ||
import { UseFiltersColumnProps } from 'react-table'; | ||
import './dateFilter.scss'; | ||
interface ExtendedFiltersColumn<T extends object> extends UseFiltersColumnProps<T> { | ||
Header: string; | ||
id?: string; | ||
} | ||
interface DateFilterProps { | ||
column: ExtendedFiltersColumn<object>; | ||
} | ||
export interface DateFilterValue { | ||
startTime?: string; | ||
endTime?: string; | ||
} | ||
export declare const isDateFilterValue: (obj: unknown) => obj is DateFilterValue; | ||
declare function DateFilter({ column }: DateFilterProps): JSX.Element; | ||
export default DateFilter; |
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 @@ | ||
export { default } from './DateFilter'; |
13 changes: 13 additions & 0 deletions
13
dist/cjs/types/components/Table/filters/FilterHeader/FilterHeader.d.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
import './filterHeader.scss'; | ||
interface FilterHeaderProps { | ||
title?: string; | ||
setFilter: (val: any) => void; | ||
Filter: typeof React.Component; | ||
dataForFilter?: { | ||
[key: string]: any; | ||
}; | ||
filterKey?: string; | ||
} | ||
declare function FilterHeader({ title, setFilter, Filter, dataForFilter, filterKey }: FilterHeaderProps): JSX.Element; | ||
export default FilterHeader; |
1 change: 1 addition & 0 deletions
1
dist/cjs/types/components/Table/filters/FilterHeader/index.d.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from './FilterHeader'; |
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
6 changes: 6 additions & 0 deletions
6
dist/cjs/types/components/Table/filters/IncludeExcludeFilter/IncludeExcludeFilter.d.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/// <reference types="react" /> | ||
import './multiSelectFilter.scss'; | ||
declare function IncludeExcludeFilter({ column }: { | ||
[key: string]: any; | ||
}): JSX.Element; | ||
export default IncludeExcludeFilter; |
1 change: 1 addition & 0 deletions
1
dist/cjs/types/components/Table/filters/IncludeExcludeFilter/index.d.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from './IncludeExcludeFilter'; |
9 changes: 7 additions & 2 deletions
9
dist/cjs/types/components/Table/filters/MultiSelectFilter/MultiSelectFilter.d.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,6 +1,11 @@ | ||
/// <reference types="react" /> | ||
import { UseFiltersColumnProps } from 'react-table'; | ||
import './multiSelectFilter.scss'; | ||
declare function MultiSelectFilter({ column }: { | ||
interface ExtendedFiltersColumn<T extends object> extends UseFiltersColumnProps<T> { | ||
fixedOptions: Array<any>; | ||
Header: string; | ||
id?: string; | ||
[key: string]: any; | ||
}): JSX.Element; | ||
} | ||
declare function MultiSelectFilter({ column }: ExtendedFiltersColumn<object>): JSX.Element; | ||
export default MultiSelectFilter; |
9 changes: 7 additions & 2 deletions
9
dist/cjs/types/components/Table/filters/SelectFilter/SelectFilter.d.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,6 +1,11 @@ | ||
/// <reference types="react" /> | ||
import { UseFiltersColumnProps } from 'react-table'; | ||
import './selectFilter.scss'; | ||
declare function SelectFilter({ column }: { | ||
interface ExtendedFiltersColumn<T extends object> extends UseFiltersColumnProps<T> { | ||
fixedOptions: Array<any>; | ||
Header: string; | ||
id?: string; | ||
[key: string]: any; | ||
}): JSX.Element; | ||
} | ||
declare function SelectFilter({ column }: ExtendedFiltersColumn<object>): JSX.Element; | ||
export default SelectFilter; |
13 changes: 13 additions & 0 deletions
13
dist/cjs/types/components/Table/filters/SeverityFilter/DateFilter.d.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/// <reference types="react" /> | ||
import { UseFiltersColumnProps } from 'react-table'; | ||
import './severityFilter.scss'; | ||
interface ExtendedFiltersColumn<T extends object> extends UseFiltersColumnProps<T> { | ||
fixedOptions: Array<any>; | ||
Header: string; | ||
id?: string; | ||
[key: string]: any; | ||
} | ||
declare function SeverityFilter({ column: { filterValue, setFilter, Header, columnName } }: { | ||
column: ExtendedFiltersColumn<object>; | ||
}): JSX.Element; | ||
export default SeverityFilter; |
12 changes: 7 additions & 5 deletions
12
dist/cjs/types/components/Table/filters/SeverityFilter/SeverityFilter.d.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,8 +1,10 @@ | ||
/// <reference types="react" /> | ||
import { Severities } from "../../../../consts"; | ||
import "./severityFilter.scss"; | ||
interface SeverityFilterProps { | ||
setFilter: (value: Severities) => void; | ||
import { UseFiltersColumnProps } from 'react-table'; | ||
import './severityFilter.scss'; | ||
interface ExtendedFiltersColumn<T extends object> extends UseFiltersColumnProps<T> { | ||
Header: string; | ||
[key: string]: any; | ||
byMinSeverity?: boolean; | ||
} | ||
declare function SeverityFilter({ setFilter }: SeverityFilterProps): JSX.Element; | ||
declare function SeverityFilter({ column }: ExtendedFiltersColumn<object>): JSX.Element; | ||
export default SeverityFilter; |
5 changes: 1 addition & 4 deletions
5
dist/cjs/types/components/Table/filters/SeverityFilter/index.d.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,4 +1 @@ | ||
import React from 'react'; | ||
import SeverityFilter from './SeverityFilter'; | ||
declare const _default: React.MemoExoticComponent<typeof SeverityFilter>; | ||
export default _default; | ||
export { default } from './SeverityFilter'; |
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 @@ | ||
export * from './useUrlFilters'; |
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,6 @@ | ||
export declare const useUrlFilters: ({ enabled, filterIds, initial, filterCategory }: { | ||
enabled?: boolean | undefined; | ||
filterIds: string[]; | ||
initial?: Filter[] | undefined; | ||
filterCategory: string; | ||
}) => readonly [Filter[], (filters: Filter[]) => 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { default } from './Table'; | ||
export { useUrlFilters } from './hooks'; |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/// <reference types="react" /> | ||
import './filterButton.scss'; | ||
interface FilterButtonProps { | ||
onClick: () => void; | ||
disable?: boolean; | ||
extraClass?: string; | ||
tooltipText?: string; | ||
} | ||
declare function FilterButton({ onClick, disable, extraClass, tooltipText }: FilterButtonProps): JSX.Element; | ||
export default FilterButton; |
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 @@ | ||
export { default } from './FilterButton'; |
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
6 changes: 6 additions & 0 deletions
6
dist/esm/types/components/MonacoJsonEditor/MonacoJsonEditor.d.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/// <reference types="react" /> | ||
interface MonacoJsonEditorProps { | ||
value: string; | ||
} | ||
declare function MonacoJsonEditor({ value }: MonacoJsonEditorProps): JSX.Element; | ||
export default MonacoJsonEditor; |
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 @@ | ||
export { default } from './MonacoJsonEditor'; |
Oops, something went wrong.