lorgg-v2-components 0.2.5 → 0.2.7
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.
- package/CHANGELOG.md +10 -0
- package/dist/components/library/TournamentPlayerRow/TournamentPlayerRow.vue.d.ts +7 -13
- package/dist/components/library/TournamentPlayerRow/types.d.ts +10 -8
- package/dist/components/library/TournamentPlayerTable/TournamentPlayerTable.vue.d.ts +7 -13
- package/dist/components/library/TournamentPlayerTable/types.d.ts +5 -17
- package/dist/lorgg-components.cjs.js +30 -30
- package/dist/lorgg-components.css +1 -1
- package/dist/lorgg-components.es.js +312 -310
- package/dist/lorgg-components.umd.js +8 -8
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.6 - 2026-02-24
|
|
4
|
+
|
|
5
|
+
- Fixed Tournament standings expanded winrate field mapping:
|
|
6
|
+
- Opponents Winrate now renders `opponentsMatchWinrate`
|
|
7
|
+
- Game Winrate now renders `gameWins / (gameWins + gameLosses)`
|
|
8
|
+
- Opponents Game Winrate now renders `opponentsGameWinrate`
|
|
9
|
+
- Aligned Tournament `shownColumns` API keys to active usage: `player`, `matchWLs`, `gameWLs`, `winrate`.
|
|
10
|
+
- Added a TournamentPlayerRow story assertion that validates winrate source mapping and displayed percentages.
|
|
@@ -72,16 +72,13 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
74
|
shownColumns: {
|
|
75
|
-
type: import("vue").PropType<import("
|
|
75
|
+
type: import("vue").PropType<import("./types").TournamentPlayerTableShownColumns>;
|
|
76
76
|
required: boolean;
|
|
77
77
|
default: {
|
|
78
78
|
player: boolean;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
wins: boolean;
|
|
82
|
-
matches: boolean;
|
|
79
|
+
matchWLs: boolean;
|
|
80
|
+
gameWLs: boolean;
|
|
83
81
|
winrate: boolean;
|
|
84
|
-
deck: boolean;
|
|
85
82
|
};
|
|
86
83
|
};
|
|
87
84
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -158,16 +155,13 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
158
155
|
default: string;
|
|
159
156
|
};
|
|
160
157
|
shownColumns: {
|
|
161
|
-
type: import("vue").PropType<import("
|
|
158
|
+
type: import("vue").PropType<import("./types").TournamentPlayerTableShownColumns>;
|
|
162
159
|
required: boolean;
|
|
163
160
|
default: {
|
|
164
161
|
player: boolean;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
wins: boolean;
|
|
168
|
-
matches: boolean;
|
|
162
|
+
matchWLs: boolean;
|
|
163
|
+
gameWLs: boolean;
|
|
169
164
|
winrate: boolean;
|
|
170
|
-
deck: boolean;
|
|
171
165
|
};
|
|
172
166
|
};
|
|
173
167
|
}>> & Readonly<{}>, {
|
|
@@ -176,7 +170,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
176
170
|
index: number;
|
|
177
171
|
id: number;
|
|
178
172
|
rank: number;
|
|
179
|
-
shownColumns: import("
|
|
173
|
+
shownColumns: import("./types").TournamentPlayerTableShownColumns;
|
|
180
174
|
selectedBannerCard: string | null;
|
|
181
175
|
selectedBannerColor: string | null;
|
|
182
176
|
gameWins: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LeaderboardDetailTableShownColumns } from '../LeaderboardDetailTable/types';
|
|
2
1
|
import { PropType } from "vue";
|
|
3
2
|
import { RouteLocationRaw } from "vue-router";
|
|
4
3
|
export type TournamentPlayerDeckData = {
|
|
@@ -21,9 +20,15 @@ export type TournamentPlayerRowData = {
|
|
|
21
20
|
opponentsGameWinrate: number;
|
|
22
21
|
decks: TournamentPlayerDeckData[];
|
|
23
22
|
};
|
|
23
|
+
export type TournamentPlayerTableShownColumns = {
|
|
24
|
+
player: boolean;
|
|
25
|
+
matchWLs: boolean;
|
|
26
|
+
gameWLs: boolean;
|
|
27
|
+
winrate: boolean;
|
|
28
|
+
};
|
|
24
29
|
export type TournamentPlayerRowProps = TournamentPlayerRowData & {
|
|
25
30
|
index: number;
|
|
26
|
-
shownColumns:
|
|
31
|
+
shownColumns: TournamentPlayerTableShownColumns;
|
|
27
32
|
routerLink: RouteLocationRaw;
|
|
28
33
|
};
|
|
29
34
|
export declare const tournamentPlayerRowProps: {
|
|
@@ -100,16 +105,13 @@ export declare const tournamentPlayerRowProps: {
|
|
|
100
105
|
default: string;
|
|
101
106
|
};
|
|
102
107
|
shownColumns: {
|
|
103
|
-
type: PropType<
|
|
108
|
+
type: PropType<TournamentPlayerTableShownColumns>;
|
|
104
109
|
required: boolean;
|
|
105
110
|
default: {
|
|
106
111
|
player: boolean;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
wins: boolean;
|
|
110
|
-
matches: boolean;
|
|
112
|
+
matchWLs: boolean;
|
|
113
|
+
gameWLs: boolean;
|
|
111
114
|
winrate: boolean;
|
|
112
|
-
deck: boolean;
|
|
113
115
|
};
|
|
114
116
|
};
|
|
115
117
|
};
|
|
@@ -5,16 +5,13 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
5
5
|
default: never[];
|
|
6
6
|
};
|
|
7
7
|
shownColumns: {
|
|
8
|
-
type: import("vue").PropType<import("
|
|
8
|
+
type: import("vue").PropType<import("../TournamentPlayerRow/types").TournamentPlayerTableShownColumns>;
|
|
9
9
|
required: boolean;
|
|
10
10
|
default: {
|
|
11
11
|
player: boolean;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
wins: boolean;
|
|
15
|
-
matches: boolean;
|
|
12
|
+
matchWLs: boolean;
|
|
13
|
+
gameWLs: boolean;
|
|
16
14
|
winrate: boolean;
|
|
17
|
-
deck: boolean;
|
|
18
15
|
};
|
|
19
16
|
};
|
|
20
17
|
loading: {
|
|
@@ -29,16 +26,13 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
29
26
|
default: never[];
|
|
30
27
|
};
|
|
31
28
|
shownColumns: {
|
|
32
|
-
type: import("vue").PropType<import("
|
|
29
|
+
type: import("vue").PropType<import("../TournamentPlayerRow/types").TournamentPlayerTableShownColumns>;
|
|
33
30
|
required: boolean;
|
|
34
31
|
default: {
|
|
35
32
|
player: boolean;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
wins: boolean;
|
|
39
|
-
matches: boolean;
|
|
33
|
+
matchWLs: boolean;
|
|
34
|
+
gameWLs: boolean;
|
|
40
35
|
winrate: boolean;
|
|
41
|
-
deck: boolean;
|
|
42
36
|
};
|
|
43
37
|
};
|
|
44
38
|
loading: {
|
|
@@ -51,6 +45,6 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
51
45
|
}>, {
|
|
52
46
|
loading: boolean;
|
|
53
47
|
players: import("../TournamentPlayerRow/types").TournamentPlayerRowData[];
|
|
54
|
-
shownColumns: import("
|
|
48
|
+
shownColumns: import("../TournamentPlayerRow/types").TournamentPlayerTableShownColumns;
|
|
55
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
50
|
export default _sfc_main;
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import { TournamentPlayerRowData } from '../TournamentPlayerRow/types';
|
|
1
|
+
import { TournamentPlayerRowData, TournamentPlayerTableShownColumns } from '../TournamentPlayerRow/types';
|
|
2
2
|
import { PropType } from "vue";
|
|
3
|
-
export type LeaderboardDetailTableShownColumns = {
|
|
4
|
-
player: boolean;
|
|
5
|
-
lp: boolean;
|
|
6
|
-
change: boolean;
|
|
7
|
-
wins: boolean;
|
|
8
|
-
matches: boolean;
|
|
9
|
-
winrate: boolean;
|
|
10
|
-
deck: boolean;
|
|
11
|
-
};
|
|
12
3
|
export type TournamentPlayerTableProps = {
|
|
13
4
|
players: TournamentPlayerRowData[];
|
|
14
|
-
shownColumns:
|
|
5
|
+
shownColumns: TournamentPlayerTableShownColumns;
|
|
15
6
|
loading: boolean;
|
|
16
7
|
};
|
|
17
8
|
export declare const tournamentPlayerTableProps: {
|
|
@@ -21,16 +12,13 @@ export declare const tournamentPlayerTableProps: {
|
|
|
21
12
|
default: never[];
|
|
22
13
|
};
|
|
23
14
|
shownColumns: {
|
|
24
|
-
type: PropType<
|
|
15
|
+
type: PropType<TournamentPlayerTableShownColumns>;
|
|
25
16
|
required: boolean;
|
|
26
17
|
default: {
|
|
27
18
|
player: boolean;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
wins: boolean;
|
|
31
|
-
matches: boolean;
|
|
19
|
+
matchWLs: boolean;
|
|
20
|
+
gameWLs: boolean;
|
|
32
21
|
winrate: boolean;
|
|
33
|
-
deck: boolean;
|
|
34
22
|
};
|
|
35
23
|
};
|
|
36
24
|
loading: {
|