lorgg-v2-components 0.0.225 → 0.0.227
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/dist/components/library/TournamentBracket/TournamentBracket.vue.d.ts +33 -5
- package/dist/components/library/TournamentBracket/types.d.ts +10 -2
- package/dist/components/library/TournamentFeedEventMatchUpdate/TournamentFeedEventMatchUpdate.vue.d.ts +1 -1
- package/dist/components/library/TournamentMatchup/TournamentMatchup.vue.d.ts +51 -64
- package/dist/components/library/TournamentMatchup/types.d.ts +24 -13
- package/dist/components/library/TournamentMatchupDetails/TournamentMatchupDetails.vue.d.ts +49 -0
- package/dist/components/library/TournamentMatchupDetails/TournamentMatchupDetails.vue.d.ts.map +1 -0
- package/dist/components/library/TournamentMatchupDetails/types.d.ts +55 -0
- package/dist/components/library/TournamentMatchupEdit/TournamentMatchupEdit.vue.d.ts +51 -0
- package/dist/components/library/TournamentMatchupEdit/TournamentMatchupEdit.vue.d.ts.map +1 -0
- package/dist/components/library/TournamentMatchupEdit/types.d.ts +7 -0
- package/dist/components/library/TournamentPlayer/TournamentPlayer.vue.d.ts +27 -38
- package/dist/components/library/TournamentPlayer/types.d.ts +18 -34
- package/dist/components/library/TournamentSwissRound/TournamentSwissRound.vue.d.ts +37 -9
- package/dist/components/library/TournamentSwissRound/types.d.ts +12 -4
- package/dist/components/setup/i18n.d.ts +11 -1
- package/dist/components/setup/i18n.d.ts.map +1 -1
- package/dist/lorgg-components.cjs.js +44 -44
- package/dist/lorgg-components.css +1 -1
- package/dist/lorgg-components.es.js +8861 -8607
- package/dist/lorgg-components.umd.js +44 -44
- package/package.json +1 -1
|
@@ -1,16 +1,44 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
2
|
rounds: {
|
|
3
|
-
type: import("vue").PropType<(
|
|
3
|
+
type: import("vue").PropType<({
|
|
4
|
+
matchId: number;
|
|
5
|
+
player1: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
6
|
+
player2: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
7
|
+
games: import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
8
|
+
} | null)[][]>;
|
|
4
9
|
required: boolean;
|
|
5
10
|
default: null;
|
|
6
11
|
};
|
|
7
|
-
|
|
12
|
+
showAdminControls: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
required: boolean;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "matchup-edit:submit"[], "matchup-edit:submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
18
|
rounds: {
|
|
9
|
-
type: import("vue").PropType<(
|
|
19
|
+
type: import("vue").PropType<({
|
|
20
|
+
matchId: number;
|
|
21
|
+
player1: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
22
|
+
player2: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
23
|
+
games: import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
24
|
+
} | null)[][]>;
|
|
10
25
|
required: boolean;
|
|
11
26
|
default: null;
|
|
12
27
|
};
|
|
13
|
-
|
|
14
|
-
|
|
28
|
+
showAdminControls: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
required: boolean;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>> & {
|
|
34
|
+
"onMatchup-edit:submit"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
showAdminControls: boolean;
|
|
37
|
+
rounds: ({
|
|
38
|
+
matchId: number;
|
|
39
|
+
player1: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
40
|
+
player2: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
41
|
+
games: import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
42
|
+
} | null)[][];
|
|
15
43
|
}, {}>;
|
|
16
44
|
export default _sfc_main;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { TournamentMatchupProps } from '../TournamentMatchup/types';
|
|
2
2
|
import { PropType } from "vue";
|
|
3
|
+
type TournamentBracketMatchupProps = Omit<TournamentMatchupProps, "isHorizontal" | "showAdminControls">;
|
|
3
4
|
export type TournamentBracketProps = {
|
|
4
|
-
rounds: (
|
|
5
|
+
rounds: (TournamentBracketMatchupProps | null)[][];
|
|
6
|
+
showAdminControls?: boolean;
|
|
5
7
|
};
|
|
6
8
|
export declare const tournamentBracketProps: {
|
|
7
9
|
rounds: {
|
|
8
|
-
type: PropType<(
|
|
10
|
+
type: PropType<(TournamentBracketMatchupProps | null)[][]>;
|
|
9
11
|
required: boolean;
|
|
10
12
|
default: null;
|
|
11
13
|
};
|
|
14
|
+
showAdminControls: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
required: boolean;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
12
19
|
};
|
|
20
|
+
export {};
|
|
@@ -62,10 +62,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
62
62
|
};
|
|
63
63
|
}>>, {
|
|
64
64
|
createdAt: string;
|
|
65
|
-
isStarting: boolean;
|
|
66
65
|
matchId: number;
|
|
67
66
|
player1: import("./types").FeedEventMatchPlayer;
|
|
68
67
|
player2: import("./types").FeedEventMatchPlayer;
|
|
69
68
|
games: import("./types").FeedEventMatchGame[];
|
|
69
|
+
isStarting: boolean;
|
|
70
70
|
}, {}>;
|
|
71
71
|
export default _sfc_main;
|
|
@@ -4,83 +4,70 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
4
4
|
required: boolean;
|
|
5
5
|
default: boolean;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
type:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
showAdminControls: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: boolean;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
matchId: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
required: boolean;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
player1: {
|
|
18
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsPlayer>;
|
|
19
|
+
required: boolean;
|
|
20
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
21
|
+
};
|
|
22
|
+
player2: {
|
|
23
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsPlayer>;
|
|
17
24
|
required: boolean;
|
|
18
|
-
default:
|
|
25
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
19
26
|
};
|
|
20
|
-
|
|
21
|
-
type: import("vue").PropType<
|
|
22
|
-
isVictory: boolean;
|
|
23
|
-
decks: import("../TournamentPlayer/types").TournamentPlayerDeck[];
|
|
24
|
-
player: import("../TournamentPlayer/types").TournamentPlayer | null;
|
|
25
|
-
results: import("../TournamentPlayer/types").TournamentPlayerResult[];
|
|
26
|
-
showTippy?: boolean | undefined;
|
|
27
|
-
resultToShow: number | null;
|
|
28
|
-
isHorizontal: boolean;
|
|
29
|
-
} | null>;
|
|
27
|
+
games: {
|
|
28
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsGame[]>;
|
|
30
29
|
required: boolean;
|
|
31
|
-
default:
|
|
30
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
32
31
|
};
|
|
33
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
32
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "matchup-edit:submit"[], "matchup-edit:submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
33
|
isHorizontal: {
|
|
35
34
|
type: BooleanConstructor;
|
|
36
35
|
required: boolean;
|
|
37
36
|
default: boolean;
|
|
38
37
|
};
|
|
39
|
-
|
|
40
|
-
type:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
showAdminControls: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
required: boolean;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
matchId: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
required: boolean;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
player1: {
|
|
49
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsPlayer>;
|
|
50
|
+
required: boolean;
|
|
51
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
52
|
+
};
|
|
53
|
+
player2: {
|
|
54
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsPlayer>;
|
|
49
55
|
required: boolean;
|
|
50
|
-
default:
|
|
56
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
51
57
|
};
|
|
52
|
-
|
|
53
|
-
type: import("vue").PropType<
|
|
54
|
-
isVictory: boolean;
|
|
55
|
-
decks: import("../TournamentPlayer/types").TournamentPlayerDeck[];
|
|
56
|
-
player: import("../TournamentPlayer/types").TournamentPlayer | null;
|
|
57
|
-
results: import("../TournamentPlayer/types").TournamentPlayerResult[];
|
|
58
|
-
showTippy?: boolean | undefined;
|
|
59
|
-
resultToShow: number | null;
|
|
60
|
-
isHorizontal: boolean;
|
|
61
|
-
} | null>;
|
|
58
|
+
games: {
|
|
59
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsGame[]>;
|
|
62
60
|
required: boolean;
|
|
63
|
-
default:
|
|
61
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
64
62
|
};
|
|
65
|
-
}
|
|
63
|
+
}>> & {
|
|
64
|
+
"onMatchup-edit:submit"?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}, {
|
|
66
66
|
isHorizontal: boolean;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
showTippy?: boolean | undefined;
|
|
73
|
-
resultToShow: number | null;
|
|
74
|
-
isHorizontal: boolean;
|
|
75
|
-
} | null;
|
|
76
|
-
playerBottom: {
|
|
77
|
-
isVictory: boolean;
|
|
78
|
-
decks: import("../TournamentPlayer/types").TournamentPlayerDeck[];
|
|
79
|
-
player: import("../TournamentPlayer/types").TournamentPlayer | null;
|
|
80
|
-
results: import("../TournamentPlayer/types").TournamentPlayerResult[];
|
|
81
|
-
showTippy?: boolean | undefined;
|
|
82
|
-
resultToShow: number | null;
|
|
83
|
-
isHorizontal: boolean;
|
|
84
|
-
} | null;
|
|
67
|
+
showAdminControls: boolean;
|
|
68
|
+
matchId: number;
|
|
69
|
+
player1: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
70
|
+
player2: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer;
|
|
71
|
+
games: import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
85
72
|
}, {}>;
|
|
86
73
|
export default _sfc_main;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type TournamentMatchupPlayerProps = Omit<TournamentPlayerProps, "showFullScore" | "placement">;
|
|
4
|
-
export type TournamentMatchupProps = {
|
|
1
|
+
import { TournamentMatchupDetailsProps } from '../TournamentMatchupDetails/types';
|
|
2
|
+
export type TournamentMatchupProps = TournamentMatchupDetailsProps & {
|
|
5
3
|
isHorizontal: boolean;
|
|
6
|
-
|
|
7
|
-
playerBottom: TournamentMatchupPlayerProps | null;
|
|
4
|
+
showAdminControls?: boolean;
|
|
8
5
|
};
|
|
9
6
|
export declare const tournamentMatchupProps: {
|
|
10
7
|
isHorizontal: {
|
|
@@ -12,15 +9,29 @@ export declare const tournamentMatchupProps: {
|
|
|
12
9
|
required: boolean;
|
|
13
10
|
default: boolean;
|
|
14
11
|
};
|
|
15
|
-
|
|
16
|
-
type:
|
|
12
|
+
showAdminControls: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
required: boolean;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
matchId: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
required: boolean;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
player1: {
|
|
23
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsPlayer>;
|
|
24
|
+
required: boolean;
|
|
25
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
26
|
+
};
|
|
27
|
+
player2: {
|
|
28
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsPlayer>;
|
|
17
29
|
required: boolean;
|
|
18
|
-
default:
|
|
30
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
19
31
|
};
|
|
20
|
-
|
|
21
|
-
type: PropType<
|
|
32
|
+
games: {
|
|
33
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsGame[]>;
|
|
22
34
|
required: boolean;
|
|
23
|
-
default:
|
|
35
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsGame[];
|
|
24
36
|
};
|
|
25
37
|
};
|
|
26
|
-
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
matchId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: boolean;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
player1: {
|
|
8
|
+
type: import("vue").PropType<import("./types").MatchupDetailsPlayer>;
|
|
9
|
+
required: boolean;
|
|
10
|
+
default: () => import("./types").MatchupDetailsPlayer;
|
|
11
|
+
};
|
|
12
|
+
player2: {
|
|
13
|
+
type: import("vue").PropType<import("./types").MatchupDetailsPlayer>;
|
|
14
|
+
required: boolean;
|
|
15
|
+
default: () => import("./types").MatchupDetailsPlayer;
|
|
16
|
+
};
|
|
17
|
+
games: {
|
|
18
|
+
type: import("vue").PropType<import("./types").MatchupDetailsGame[]>;
|
|
19
|
+
required: boolean;
|
|
20
|
+
default: () => import("./types").MatchupDetailsGame[];
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
matchId: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
required: boolean;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
player1: {
|
|
29
|
+
type: import("vue").PropType<import("./types").MatchupDetailsPlayer>;
|
|
30
|
+
required: boolean;
|
|
31
|
+
default: () => import("./types").MatchupDetailsPlayer;
|
|
32
|
+
};
|
|
33
|
+
player2: {
|
|
34
|
+
type: import("vue").PropType<import("./types").MatchupDetailsPlayer>;
|
|
35
|
+
required: boolean;
|
|
36
|
+
default: () => import("./types").MatchupDetailsPlayer;
|
|
37
|
+
};
|
|
38
|
+
games: {
|
|
39
|
+
type: import("vue").PropType<import("./types").MatchupDetailsGame[]>;
|
|
40
|
+
required: boolean;
|
|
41
|
+
default: () => import("./types").MatchupDetailsGame[];
|
|
42
|
+
};
|
|
43
|
+
}>>, {
|
|
44
|
+
matchId: number;
|
|
45
|
+
player1: import("./types").MatchupDetailsPlayer;
|
|
46
|
+
player2: import("./types").MatchupDetailsPlayer;
|
|
47
|
+
games: import("./types").MatchupDetailsGame[];
|
|
48
|
+
}, {}>;
|
|
49
|
+
export default _sfc_main;
|
package/dist/components/library/TournamentMatchupDetails/TournamentMatchupDetails.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TournamentMatchupDetails.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/library/TournamentMatchupDetails/TournamentMatchupDetails.vue"],"names":[],"mappings":"AACA,cAAc,0KAA0K,CAAC;AACzL,OAAO,uLAAuL,CAAC;;AAE/L,wBAA0F"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
export type MatchupDetailsPlayer = {
|
|
3
|
+
id: number;
|
|
4
|
+
challongeId: number;
|
|
5
|
+
decks: string[];
|
|
6
|
+
bannedDecks: string[];
|
|
7
|
+
wins: string[];
|
|
8
|
+
name: string;
|
|
9
|
+
cardCode: string | null;
|
|
10
|
+
isVictory: boolean | null;
|
|
11
|
+
};
|
|
12
|
+
export type MatchupDetailsGamePlayer = {
|
|
13
|
+
isVictory: boolean;
|
|
14
|
+
isFirst: boolean;
|
|
15
|
+
playerId: number;
|
|
16
|
+
deckCode: string;
|
|
17
|
+
};
|
|
18
|
+
export type MatchupDetailsGame = {
|
|
19
|
+
riotMatchId: string;
|
|
20
|
+
gameMode: string;
|
|
21
|
+
gameType: string;
|
|
22
|
+
format: string;
|
|
23
|
+
server: string;
|
|
24
|
+
startedAt: string;
|
|
25
|
+
player1: MatchupDetailsGamePlayer;
|
|
26
|
+
player2: MatchupDetailsGamePlayer;
|
|
27
|
+
};
|
|
28
|
+
export type TournamentMatchupDetailsProps = {
|
|
29
|
+
matchId: number;
|
|
30
|
+
player1: MatchupDetailsPlayer;
|
|
31
|
+
player2: MatchupDetailsPlayer;
|
|
32
|
+
games: MatchupDetailsGame[];
|
|
33
|
+
};
|
|
34
|
+
export declare const tournamentMatchupDetailsProps: {
|
|
35
|
+
matchId: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
required: boolean;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
player1: {
|
|
41
|
+
type: PropType<MatchupDetailsPlayer>;
|
|
42
|
+
required: boolean;
|
|
43
|
+
default: () => MatchupDetailsPlayer;
|
|
44
|
+
};
|
|
45
|
+
player2: {
|
|
46
|
+
type: PropType<MatchupDetailsPlayer>;
|
|
47
|
+
required: boolean;
|
|
48
|
+
default: () => MatchupDetailsPlayer;
|
|
49
|
+
};
|
|
50
|
+
games: {
|
|
51
|
+
type: PropType<MatchupDetailsGame[]>;
|
|
52
|
+
required: boolean;
|
|
53
|
+
default: () => MatchupDetailsGame[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
matchId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: boolean;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
player1: {
|
|
8
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsPlayer>;
|
|
9
|
+
required: boolean;
|
|
10
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
11
|
+
};
|
|
12
|
+
player2: {
|
|
13
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsPlayer>;
|
|
14
|
+
required: boolean;
|
|
15
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
16
|
+
};
|
|
17
|
+
games: {
|
|
18
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsGame[]>;
|
|
19
|
+
required: boolean;
|
|
20
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsGame[];
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "matchup-edit:submit"[], "matchup-edit:submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
matchId: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
required: boolean;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
player1: {
|
|
29
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsPlayer>;
|
|
30
|
+
required: boolean;
|
|
31
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
32
|
+
};
|
|
33
|
+
player2: {
|
|
34
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsPlayer>;
|
|
35
|
+
required: boolean;
|
|
36
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
37
|
+
};
|
|
38
|
+
games: {
|
|
39
|
+
type: import("vue").PropType<import('../TournamentMatchupDetails/types').MatchupDetailsGame[]>;
|
|
40
|
+
required: boolean;
|
|
41
|
+
default: () => import('../TournamentMatchupDetails/types').MatchupDetailsGame[];
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
"onMatchup-edit:submit"?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
matchId: number;
|
|
47
|
+
player1: import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
48
|
+
player2: import('../TournamentMatchupDetails/types').MatchupDetailsPlayer;
|
|
49
|
+
games: import('../TournamentMatchupDetails/types').MatchupDetailsGame[];
|
|
50
|
+
}, {}>;
|
|
51
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TournamentMatchupEdit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/library/TournamentMatchupEdit/TournamentMatchupEdit.vue"],"names":[],"mappings":"AACA,cAAc,oKAAoK,CAAC;AACnL,OAAO,iLAAiL,CAAC;;AAEzL,wBAA0F"}
|
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
player: {
|
|
3
|
-
type: import("vue").PropType<import("./types").TournamentPlayer | null>;
|
|
4
|
-
required: boolean;
|
|
5
|
-
default: null;
|
|
6
|
-
};
|
|
7
2
|
isHorizontal: {
|
|
8
3
|
type: BooleanConstructor;
|
|
9
4
|
required: boolean;
|
|
10
5
|
default: boolean;
|
|
11
6
|
};
|
|
12
|
-
|
|
13
|
-
type: import("vue").PropType<
|
|
7
|
+
player: {
|
|
8
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsPlayer | null>;
|
|
14
9
|
required: boolean;
|
|
15
10
|
default: null;
|
|
16
11
|
};
|
|
17
|
-
|
|
18
|
-
type: import("vue").PropType<import("
|
|
12
|
+
games: {
|
|
13
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsGame[]>;
|
|
19
14
|
required: boolean;
|
|
20
|
-
default:
|
|
15
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
21
16
|
};
|
|
22
|
-
|
|
23
|
-
type: import("vue").PropType<
|
|
17
|
+
resultToShow: {
|
|
18
|
+
type: import("vue").PropType<number | null>;
|
|
24
19
|
required: boolean;
|
|
25
|
-
default:
|
|
20
|
+
default: null;
|
|
26
21
|
};
|
|
27
22
|
showTippy: {
|
|
28
23
|
type: BooleanConstructor;
|
|
@@ -34,36 +29,31 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
29
|
required: boolean;
|
|
35
30
|
default: string;
|
|
36
31
|
};
|
|
37
|
-
|
|
38
|
-
type:
|
|
32
|
+
playerNumber: {
|
|
33
|
+
type: import("vue").PropType<1 | 2>;
|
|
39
34
|
required: boolean;
|
|
40
|
-
default:
|
|
35
|
+
default: number;
|
|
41
36
|
};
|
|
42
37
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:result-to-show"[], "update:result-to-show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
player: {
|
|
44
|
-
type: import("vue").PropType<import("./types").TournamentPlayer | null>;
|
|
45
|
-
required: boolean;
|
|
46
|
-
default: null;
|
|
47
|
-
};
|
|
48
38
|
isHorizontal: {
|
|
49
39
|
type: BooleanConstructor;
|
|
50
40
|
required: boolean;
|
|
51
41
|
default: boolean;
|
|
52
42
|
};
|
|
53
|
-
|
|
54
|
-
type: import("vue").PropType<
|
|
43
|
+
player: {
|
|
44
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsPlayer | null>;
|
|
55
45
|
required: boolean;
|
|
56
46
|
default: null;
|
|
57
47
|
};
|
|
58
|
-
|
|
59
|
-
type: import("vue").PropType<import("
|
|
48
|
+
games: {
|
|
49
|
+
type: import("vue").PropType<import("../TournamentMatchupDetails/types").MatchupDetailsGame[]>;
|
|
60
50
|
required: boolean;
|
|
61
|
-
default:
|
|
51
|
+
default: () => import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
62
52
|
};
|
|
63
|
-
|
|
64
|
-
type: import("vue").PropType<
|
|
53
|
+
resultToShow: {
|
|
54
|
+
type: import("vue").PropType<number | null>;
|
|
65
55
|
required: boolean;
|
|
66
|
-
default:
|
|
56
|
+
default: null;
|
|
67
57
|
};
|
|
68
58
|
showTippy: {
|
|
69
59
|
type: BooleanConstructor;
|
|
@@ -75,21 +65,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
75
65
|
required: boolean;
|
|
76
66
|
default: string;
|
|
77
67
|
};
|
|
78
|
-
|
|
79
|
-
type:
|
|
68
|
+
playerNumber: {
|
|
69
|
+
type: import("vue").PropType<1 | 2>;
|
|
80
70
|
required: boolean;
|
|
81
|
-
default:
|
|
71
|
+
default: number;
|
|
82
72
|
};
|
|
83
73
|
}>> & {
|
|
84
74
|
"onUpdate:result-to-show"?: ((...args: any[]) => any) | undefined;
|
|
85
75
|
}, {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
player: import("
|
|
76
|
+
isHorizontal: boolean;
|
|
77
|
+
games: import("../TournamentMatchupDetails/types").MatchupDetailsGame[];
|
|
78
|
+
player: import("../TournamentMatchupDetails/types").MatchupDetailsPlayer | null;
|
|
89
79
|
placement: import("./types").TournamentPlayerTippyPlacement;
|
|
90
|
-
results: import("./types").TournamentPlayerResult[];
|
|
91
|
-
showTippy: boolean;
|
|
92
80
|
resultToShow: number | null;
|
|
93
|
-
|
|
81
|
+
showTippy: boolean;
|
|
82
|
+
playerNumber: 1 | 2;
|
|
94
83
|
}, {}>;
|
|
95
84
|
export default _sfc_main;
|
|
@@ -1,51 +1,35 @@
|
|
|
1
|
-
import { CardSliceItemProps } from '../CardSliceItem/types';
|
|
2
|
-
import { PropType } from "vue";
|
|
3
1
|
export type TournamentPlayerTippyPlacement = "top" | "bottom";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
deckCode: string;
|
|
7
|
-
};
|
|
8
|
-
export type TournamentPlayerDeck = {
|
|
9
|
-
deckCode: string;
|
|
10
|
-
isBanned: boolean;
|
|
11
|
-
isVictory: boolean;
|
|
12
|
-
};
|
|
13
|
-
export type TournamentPlayer = Omit<CardSliceItemProps, "cardProp" | "quantityNumber" | "showPlusMinus" | "ignoreCardItem" | "maintainAspectRatio" | "manaNumber">;
|
|
2
|
+
import { MatchupDetailsPlayer, MatchupDetailsGame } from '../TournamentMatchupDetails/types';
|
|
3
|
+
import { PropType } from "vue";
|
|
14
4
|
export type TournamentPlayerProps = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
isHorizontal: boolean;
|
|
6
|
+
player: MatchupDetailsPlayer | null;
|
|
7
|
+
playerNumber: 1 | 2;
|
|
8
|
+
games: MatchupDetailsGame[];
|
|
19
9
|
resultToShow: number | null;
|
|
10
|
+
showTippy?: boolean;
|
|
20
11
|
placement: TournamentPlayerTippyPlacement;
|
|
21
|
-
isHorizontal: boolean;
|
|
22
|
-
isVictory: boolean;
|
|
23
12
|
};
|
|
24
13
|
export declare const tournamentPlayerProps: {
|
|
25
|
-
player: {
|
|
26
|
-
type: PropType<TournamentPlayer | null>;
|
|
27
|
-
required: boolean;
|
|
28
|
-
default: null;
|
|
29
|
-
};
|
|
30
14
|
isHorizontal: {
|
|
31
15
|
type: BooleanConstructor;
|
|
32
16
|
required: boolean;
|
|
33
17
|
default: boolean;
|
|
34
18
|
};
|
|
35
|
-
|
|
36
|
-
type: PropType<
|
|
19
|
+
player: {
|
|
20
|
+
type: PropType<MatchupDetailsPlayer | null>;
|
|
37
21
|
required: boolean;
|
|
38
22
|
default: null;
|
|
39
23
|
};
|
|
40
|
-
|
|
41
|
-
type: PropType<
|
|
24
|
+
games: {
|
|
25
|
+
type: PropType<MatchupDetailsGame[]>;
|
|
42
26
|
required: boolean;
|
|
43
|
-
default:
|
|
27
|
+
default: () => MatchupDetailsGame[];
|
|
44
28
|
};
|
|
45
|
-
|
|
46
|
-
type: PropType<
|
|
29
|
+
resultToShow: {
|
|
30
|
+
type: PropType<number | null>;
|
|
47
31
|
required: boolean;
|
|
48
|
-
default:
|
|
32
|
+
default: null;
|
|
49
33
|
};
|
|
50
34
|
showTippy: {
|
|
51
35
|
type: BooleanConstructor;
|
|
@@ -57,9 +41,9 @@ export declare const tournamentPlayerProps: {
|
|
|
57
41
|
required: boolean;
|
|
58
42
|
default: string;
|
|
59
43
|
};
|
|
60
|
-
|
|
61
|
-
type:
|
|
44
|
+
playerNumber: {
|
|
45
|
+
type: PropType<1 | 2>;
|
|
62
46
|
required: boolean;
|
|
63
|
-
default:
|
|
47
|
+
default: number;
|
|
64
48
|
};
|
|
65
49
|
};
|