mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 16:21:41 +00:00
update
This commit is contained in:
parent
1e55c25df1
commit
d0952ff866
File diff suppressed because one or more lines are too long
|
@ -99,7 +99,10 @@ export class DataLoaderStore implements IDataLoaderStore {
|
||||||
|
|
||||||
updateSort(sort: ISort[]) {
|
updateSort(sort: ISort[]) {
|
||||||
this.sort = sort || [];
|
this.sort = sort || [];
|
||||||
this.newSearch();
|
return this.fetchData(DataLoaderState.LOADING, {
|
||||||
|
pageNumber: this.pageNumber,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
goToPage(pageNumber: number, pageSize: number) {
|
goToPage(pageNumber: number, pageSize: number) {
|
||||||
|
|
|
@ -53,6 +53,7 @@ function Body({
|
||||||
key={key}
|
key={key}
|
||||||
column={column}
|
column={column}
|
||||||
row={row}
|
row={row}
|
||||||
|
rowIndex={rowIndex}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
@ -6,12 +6,14 @@ import style from '../../styles/index.module.scss';
|
||||||
interface IDefaultCellProps {
|
interface IDefaultCellProps {
|
||||||
column: IColumn,
|
column: IColumn,
|
||||||
row: any,
|
row: any,
|
||||||
|
rowIndex?: number,
|
||||||
className?: string,
|
className?: string,
|
||||||
}
|
}
|
||||||
|
|
||||||
function DefaultCell({
|
function DefaultCell({
|
||||||
column,
|
column,
|
||||||
row,
|
row,
|
||||||
|
rowIndex,
|
||||||
className,
|
className,
|
||||||
}: IDefaultCellProps): JSX.Element {
|
}: IDefaultCellProps): JSX.Element {
|
||||||
const columnClassName = typeof column.className === 'function'
|
const columnClassName = typeof column.className === 'function'
|
||||||
|
@ -27,7 +29,7 @@ function DefaultCell({
|
||||||
: row;
|
: row;
|
||||||
|
|
||||||
const formattedValue = column.formatter
|
const formattedValue = column.formatter
|
||||||
? column.formatter(value)
|
? column.formatter(value, rowIndex)
|
||||||
: value;
|
: value;
|
||||||
|
|
||||||
const content: any = typeof column.template === 'function'
|
const content: any = typeof column.template === 'function'
|
||||||
|
|
|
@ -61,6 +61,12 @@ function AuthorView({ response, updateSort, rowsForExcel, mode }: IAuthorViewPro
|
||||||
type={mode === 'print' ? 'cards' : undefined}
|
type={mode === 'print' ? 'cards' : undefined}
|
||||||
columnCount={mode === 'print' ? 3 : undefined}
|
columnCount={mode === 'print' ? 3 : undefined}
|
||||||
>
|
>
|
||||||
|
<Column
|
||||||
|
isFixed
|
||||||
|
template={ColumnTypesEnum.STRING}
|
||||||
|
formatter={(row: any, index: number) => (index + 1)}
|
||||||
|
width={40}
|
||||||
|
/>
|
||||||
<Column
|
<Column
|
||||||
isFixed
|
isFixed
|
||||||
template={ColumnTypesEnum.STRING}
|
template={ColumnTypesEnum.STRING}
|
||||||
|
|
|
@ -241,7 +241,7 @@ will be marked as a jump in "deleted" and "added" lines.
|
||||||
§ page.person.week.workDay: weekdays
|
§ page.person.week.workDay: weekdays
|
||||||
§ page.person.week.weekends: weekends
|
§ page.person.week.weekends: weekends
|
||||||
§ page.sponsor.title: Please, support this project
|
§ page.sponsor.title: Please, support this project
|
||||||
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/github/comments/1bvtsl3/how_i_parsed_git_statistics/] or make a video review.
|
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/] or make a video review.
|
||||||
§ page.sponsor.share.button: Copy the link
|
§ page.sponsor.share.button: Copy the link
|
||||||
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
||||||
§ page.sponsor.money.qr: One-time payment (only Russia)
|
§ page.sponsor.money.qr: One-time payment (only Russia)
|
||||||
|
|
|
@ -243,7 +243,7 @@ will be marked as a jump in "deleted" and "added" lines.
|
||||||
§ page.person.week.workDay: weekdays
|
§ page.person.week.workDay: weekdays
|
||||||
§ page.person.week.weekends: weekends
|
§ page.person.week.weekends: weekends
|
||||||
§ page.sponsor.title: Please, support this project
|
§ page.sponsor.title: Please, support this project
|
||||||
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/github/comments/1bvtsl3/how_i_parsed_git_statistics/] or make a video review.
|
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/] or make a video review.
|
||||||
§ page.sponsor.share.button: Copy the link
|
§ page.sponsor.share.button: Copy the link
|
||||||
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
||||||
§ page.sponsor.money.qr: One-time payment (only Russia)
|
§ page.sponsor.money.qr: One-time payment (only Russia)
|
||||||
|
|
|
@ -241,7 +241,7 @@ git puede Mostrar una pequeña cantidad de cambios en las estadísticas, y el re
|
||||||
§ page.person.week.workDay: entresemana
|
§ page.person.week.workDay: entresemana
|
||||||
§ page.person.week.weekends: día de descanso
|
§ page.person.week.weekends: día de descanso
|
||||||
§ page.sponsor.title: Please, support this project
|
§ page.sponsor.title: Please, support this project
|
||||||
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/github/comments/1bvtsl3/how_i_parsed_git_statistics/] or make a video review.
|
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/] or make a video review.
|
||||||
§ page.sponsor.share.button: Copy the link
|
§ page.sponsor.share.button: Copy the link
|
||||||
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
||||||
§ page.sponsor.money.qr: One-time payment (only Russia)
|
§ page.sponsor.money.qr: One-time payment (only Russia)
|
||||||
|
|
|
@ -240,7 +240,7 @@ export default `
|
||||||
§ page.person.week.workDay: jours de semaine
|
§ page.person.week.workDay: jours de semaine
|
||||||
§ page.person.week.weekends: congés
|
§ page.person.week.weekends: congés
|
||||||
§ page.sponsor.title: Please, support this project
|
§ page.sponsor.title: Please, support this project
|
||||||
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/github/comments/1bvtsl3/how_i_parsed_git_statistics/] or make a video review.
|
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/] or make a video review.
|
||||||
§ page.sponsor.share.button: Copy the link
|
§ page.sponsor.share.button: Copy the link
|
||||||
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
||||||
§ page.sponsor.money.qr: One-time payment (only Russia)
|
§ page.sponsor.money.qr: One-time payment (only Russia)
|
||||||
|
|
|
@ -243,7 +243,7 @@ will be marked as a jump in "deleted" and "added" lines.
|
||||||
§ page.person.week.workDay: weekdays
|
§ page.person.week.workDay: weekdays
|
||||||
§ page.person.week.weekends: weekends
|
§ page.person.week.weekends: weekends
|
||||||
§ page.sponsor.title: Please, support this project
|
§ page.sponsor.title: Please, support this project
|
||||||
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/github/comments/1bvtsl3/how_i_parsed_git_statistics/] or make a video review.
|
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/] or make a video review.
|
||||||
§ page.sponsor.share.button: Copy the link
|
§ page.sponsor.share.button: Copy the link
|
||||||
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
||||||
§ page.sponsor.money.qr: One-time payment (only Russia)
|
§ page.sponsor.money.qr: One-time payment (only Russia)
|
||||||
|
|
|
@ -243,7 +243,7 @@ will be marked as a jump in "deleted" and "added" lines.
|
||||||
§ page.person.week.workDay: weekdays
|
§ page.person.week.workDay: weekdays
|
||||||
§ page.person.week.weekends: weekends
|
§ page.person.week.weekends: weekends
|
||||||
§ page.sponsor.title: Please, support this project
|
§ page.sponsor.title: Please, support this project
|
||||||
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/github/comments/1bvtsl3/how_i_parsed_git_statistics/] or make a video review.
|
§ page.sponsor.share.description: Tell about our [project|https://github.com/bakhirev/assayo] on social networks! You can share [article|https://habr.com/ru/articles/763342/], [post|https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/] or make a video review.
|
||||||
§ page.sponsor.share.button: Copy the link
|
§ page.sponsor.share.button: Copy the link
|
||||||
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
§ page.sponsor.money.description: We will be glad if you support us with any amount! All funds will be used for the further development of the project.
|
||||||
§ page.sponsor.money.qr: One-time payment (only Russia)
|
§ page.sponsor.money.qr: One-time payment (only Russia)
|
||||||
|
|
|
@ -243,7 +243,7 @@ git может показать малое количество изменени
|
||||||
§ page.person.week.workDay: будни
|
§ page.person.week.workDay: будни
|
||||||
§ page.person.week.weekends: выходные
|
§ page.person.week.weekends: выходные
|
||||||
§ page.sponsor.title: Поддержите проект
|
§ page.sponsor.title: Поддержите проект
|
||||||
§ page.sponsor.share.description: Расскажите о нашем [проекте|https://github.com/bakhirev/assayo] в соцсетях! Можно поделиться [статьей|https://habr.com/ru/articles/763342/], [постом|https://www.reddit.com/r/github/comments/1bvtsl3/how_i_parsed_git_statistics/] или сделать видео-обзор.
|
§ page.sponsor.share.description: Расскажите о нашем [проекте|https://github.com/bakhirev/assayo] в соцсетях! Можно поделиться [статьей|https://habr.com/ru/articles/763342/], [постом|https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/] или сделать видео-обзор.
|
||||||
§ page.sponsor.share.button: Копировать ссылку
|
§ page.sponsor.share.button: Копировать ссылку
|
||||||
§ page.sponsor.money.description: Мы будем рады, если вы поддержите нас любой суммой! Все средства пойдут на дальнейшее развитие проекта.
|
§ page.sponsor.money.description: Мы будем рады, если вы поддержите нас любой суммой! Все средства пойдут на дальнейшее развитие проекта.
|
||||||
§ page.sponsor.money.qr: Разовый платёж (СБП)
|
§ page.sponsor.money.qr: Разовый платёж (СБП)
|
||||||
|
|
Loading…
Reference in a new issue