lorgg-v2-components 0.2.5 → 0.2.8

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.
@@ -153,3 +153,4 @@ export { default as TournamentSwissRoundOptions } from "./library/TournamentSwis
153
153
  export { default as TournamentSwissRound } from "./library/TournamentSwissRound/TournamentSwissRound.vue";
154
154
  export { default as TournamentBracket } from "./library/TournamentBracket/TournamentBracket.vue";
155
155
  export { default as TournamentSidePanel } from "./library/TournamentSidePanel/TournamentSidePanel.vue";
156
+ export { default as TournamentMatchup } from "./library/TournamentMatchup/TournamentMatchup.vue";
@@ -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("../LeaderboardDetailTable/types").LeaderboardDetailTableShownColumns>;
75
+ type: import("vue").PropType<import("./types").TournamentPlayerTableShownColumns>;
76
76
  required: boolean;
77
77
  default: {
78
78
  player: boolean;
79
- lp: boolean;
80
- change: boolean;
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("../LeaderboardDetailTable/types").LeaderboardDetailTableShownColumns>;
158
+ type: import("vue").PropType<import("./types").TournamentPlayerTableShownColumns>;
162
159
  required: boolean;
163
160
  default: {
164
161
  player: boolean;
165
- lp: boolean;
166
- change: boolean;
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("../LeaderboardDetailTable/types").LeaderboardDetailTableShownColumns;
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: LeaderboardDetailTableShownColumns;
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<LeaderboardDetailTableShownColumns>;
108
+ type: PropType<TournamentPlayerTableShownColumns>;
104
109
  required: boolean;
105
110
  default: {
106
111
  player: boolean;
107
- lp: boolean;
108
- change: boolean;
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("./types").LeaderboardDetailTableShownColumns>;
8
+ type: import("vue").PropType<import("../TournamentPlayerRow/types").TournamentPlayerTableShownColumns>;
9
9
  required: boolean;
10
10
  default: {
11
11
  player: boolean;
12
- lp: boolean;
13
- change: boolean;
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("./types").LeaderboardDetailTableShownColumns>;
29
+ type: import("vue").PropType<import("../TournamentPlayerRow/types").TournamentPlayerTableShownColumns>;
33
30
  required: boolean;
34
31
  default: {
35
32
  player: boolean;
36
- lp: boolean;
37
- change: boolean;
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("./types").LeaderboardDetailTableShownColumns;
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: LeaderboardDetailTableShownColumns;
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<LeaderboardDetailTableShownColumns>;
15
+ type: PropType<TournamentPlayerTableShownColumns>;
25
16
  required: boolean;
26
17
  default: {
27
18
  player: boolean;
28
- lp: boolean;
29
- change: boolean;
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: {