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.
Files changed (22) hide show
  1. package/dist/components/library/TournamentBracket/TournamentBracket.vue.d.ts +33 -5
  2. package/dist/components/library/TournamentBracket/types.d.ts +10 -2
  3. package/dist/components/library/TournamentFeedEventMatchUpdate/TournamentFeedEventMatchUpdate.vue.d.ts +1 -1
  4. package/dist/components/library/TournamentMatchup/TournamentMatchup.vue.d.ts +51 -64
  5. package/dist/components/library/TournamentMatchup/types.d.ts +24 -13
  6. package/dist/components/library/TournamentMatchupDetails/TournamentMatchupDetails.vue.d.ts +49 -0
  7. package/dist/components/library/TournamentMatchupDetails/TournamentMatchupDetails.vue.d.ts.map +1 -0
  8. package/dist/components/library/TournamentMatchupDetails/types.d.ts +55 -0
  9. package/dist/components/library/TournamentMatchupEdit/TournamentMatchupEdit.vue.d.ts +51 -0
  10. package/dist/components/library/TournamentMatchupEdit/TournamentMatchupEdit.vue.d.ts.map +1 -0
  11. package/dist/components/library/TournamentMatchupEdit/types.d.ts +7 -0
  12. package/dist/components/library/TournamentPlayer/TournamentPlayer.vue.d.ts +27 -38
  13. package/dist/components/library/TournamentPlayer/types.d.ts +18 -34
  14. package/dist/components/library/TournamentSwissRound/TournamentSwissRound.vue.d.ts +37 -9
  15. package/dist/components/library/TournamentSwissRound/types.d.ts +12 -4
  16. package/dist/components/setup/i18n.d.ts +11 -1
  17. package/dist/components/setup/i18n.d.ts.map +1 -1
  18. package/dist/lorgg-components.cjs.js +44 -44
  19. package/dist/lorgg-components.css +1 -1
  20. package/dist/lorgg-components.es.js +8861 -8607
  21. package/dist/lorgg-components.umd.js +44 -44
  22. package/package.json +1 -1
@@ -1,16 +1,44 @@
1
1
  declare const _sfc_main: import("vue").DefineComponent<{
2
- matches: {
3
- type: import("vue").PropType<(import("../TournamentMatchup/types").TournamentMatchupProps | null)[]>;
2
+ matchups: {
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
- default: () => never[];
10
+ default: null;
6
11
  };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
- matches: {
9
- type: import("vue").PropType<(import("../TournamentMatchup/types").TournamentMatchupProps | null)[]>;
12
+ showAdminControls: {
13
+ type: BooleanConstructor;
10
14
  required: boolean;
11
- default: () => never[];
15
+ default: boolean;
12
16
  };
13
- }>>, {
14
- matches: (import("../TournamentMatchup/types").TournamentMatchupProps | null)[];
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<{
18
+ matchups: {
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)[]>;
25
+ required: boolean;
26
+ default: null;
27
+ };
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
+ matchups: ({
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 TournamentSwissRoundMatchupProps = Omit<TournamentMatchupProps, "isHorizontal" | "showAdminControls">;
3
4
  export type TournamentSwissRoundProps = {
4
- matches: (TournamentMatchupProps | null)[];
5
+ matchups: (TournamentSwissRoundMatchupProps | null)[];
6
+ showAdminControls?: boolean;
5
7
  };
6
8
  export declare const tournamentSwissRoundProps: {
7
- matches: {
8
- type: PropType<(TournamentMatchupProps | null)[]>;
9
+ matchups: {
10
+ type: PropType<(TournamentSwissRoundMatchupProps | null)[]>;
9
11
  required: boolean;
10
- default: () => never[];
12
+ default: null;
13
+ };
14
+ showAdminControls: {
15
+ type: BooleanConstructor;
16
+ required: boolean;
17
+ default: boolean;
11
18
  };
12
19
  };
20
+ export {};
@@ -159,6 +159,12 @@ export declare function setupi18n(locale?: string): import("vue-i18n").I18n<{
159
159
  };
160
160
  tournament: {
161
161
  standings: string;
162
+ oppWinrate: string;
163
+ oppGameWinrate: string;
164
+ gameWinrate: string;
165
+ admin: {
166
+ editMatchWinner: string;
167
+ };
162
168
  feed: {
163
169
  withdrawal: string;
164
170
  withdrawalMessage: string;
@@ -184,7 +190,7 @@ export declare function setupi18n(locale?: string): import("vue-i18n").I18n<{
184
190
  description: string;
185
191
  };
186
192
  };
187
- banner: {
193
+ prompt: {
188
194
  checkedIn: {
189
195
  text: string;
190
196
  button: string;
@@ -207,6 +213,7 @@ export declare function setupi18n(locale?: string): import("vue-i18n").I18n<{
207
213
  heading: string;
208
214
  description: string;
209
215
  submitDecks: string;
216
+ decksAreDue: string;
210
217
  };
211
218
  participant: {
212
219
  banDecks: {
@@ -360,6 +367,9 @@ export declare function setupi18n(locale?: string): import("vue-i18n").I18n<{
360
367
  matchRecord: string;
361
368
  gameRecord: string;
362
369
  vs: string;
370
+ game: string;
371
+ tie: string;
372
+ submit: string;
363
373
  };
364
374
  profile: {
365
375
  winrateOverTime: string;
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/components/setup/i18n.ts"],"names":[],"mappings":"AACA,wBAAgB,SAAS,CAAC,MAAM,SAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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