@algoux/standard-ranklist-renderer-component-angular 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,7 @@ export interface UserCellTemplateContext {
11
11
  markers: srk.Marker[];
12
12
  hideOrganization?: boolean;
13
13
  hideAvatar?: boolean;
14
+ languages?: readonly string[];
14
15
  onClick: (event?: MouseEvent) => void;
15
16
  }
16
17
  export declare class SrkUserCellTemplateDirective {
@@ -1,29 +1 @@
1
- import type * as srk from '@algoux/standard-ranklist';
2
- import type { ProblemStatisticsFooter, RanklistColumnTitles, RanklistStatusCellPreset, RanklistUserAvatarPlacement } from '@algoux/standard-ranklist-renderer-component-core';
3
- export interface RankValue {
4
- rank: number | null;
5
- segmentIndex?: number | null;
6
- }
7
- export type StaticRanklist = Omit<srk.Ranklist, 'rows'> & {
8
- rows: Array<srk.RanklistRow & {
9
- rankValues: RankValue[];
10
- }>;
11
- };
12
- export type StaticRanklistRow = StaticRanklist['rows'][number];
13
- export interface UserClickPayload {
14
- user: srk.User;
15
- row: StaticRanklistRow;
16
- rowIndex: number;
17
- ranklist: StaticRanklist;
18
- }
19
- export interface SolutionClickPayload {
20
- user: srk.User;
21
- row: StaticRanklistRow;
22
- rowIndex: number;
23
- problemIndex: number;
24
- problem: srk.Problem | undefined;
25
- status: srk.RankProblemStatus;
26
- solutions: srk.Solution[];
27
- ranklist: StaticRanklist;
28
- }
29
- export type { ProblemStatisticsFooter, RanklistColumnTitles, RanklistStatusCellPreset, RanklistUserAvatarPlacement, };
1
+ export type { ProblemStatisticsFooter, RankValue, RanklistColumnTitles, RanklistStatusCellPreset, RanklistUserAvatarPlacement, SolutionClickPayload, StaticRanklist, StaticRanklistRow, UserClickPayload, } from '@algoux/standard-ranklist-renderer-component-core';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algoux/standard-ranklist-renderer-component-angular",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Angular components for Standard Ranklist Renderer Component",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/algoux/standard-ranklist-renderer-component",
@@ -32,9 +32,9 @@
32
32
  "registry": "https://registry.npmjs.org/"
33
33
  },
34
34
  "dependencies": {
35
- "@algoux/standard-ranklist-utils": "^0.2.11",
35
+ "@algoux/standard-ranklist-utils": "^0.3.1",
36
36
  "tslib": "^2.3.0",
37
- "@algoux/standard-ranklist-renderer-component-core": "0.6.1"
37
+ "@algoux/standard-ranklist-renderer-component-core": "0.6.2"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@algoux/standard-ranklist": "*",