lorgg-v2-components 0.0.106 → 0.0.108
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/DeckBlock/DeckBlock.vue.d.ts +47 -3
- package/dist/components/library/DeckBlock/types.d.ts +29 -3
- package/dist/components/library/DecksRow/DecksRow.vue.d.ts +3 -3
- package/dist/components/library/DecksRow/types.d.ts +2 -2
- package/dist/components/setup/stores/callbacks.d.ts +1 -0
- package/dist/components/setup/stores/callbacks.d.ts.map +1 -1
- package/dist/lorgg-components.cjs.js +30 -30
- package/dist/lorgg-components.css +1 -1
- package/dist/lorgg-components.es.js +1688 -1640
- package/dist/lorgg-components.umd.js +33 -33
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
13
13
|
path: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
deckCode: {
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
required: boolean;
|
|
19
19
|
default: string;
|
|
@@ -58,6 +58,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
58
58
|
required: boolean;
|
|
59
59
|
default: Date;
|
|
60
60
|
};
|
|
61
|
+
archetypeRouterLink: {
|
|
62
|
+
type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
63
|
+
required: boolean;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
deckBuilderRouterLink: {
|
|
67
|
+
type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
68
|
+
required: boolean;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
showOwnerButtons: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
required: boolean;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
isPrivate: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
required: boolean;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
61
81
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
82
|
routerLink: {
|
|
63
83
|
type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
@@ -73,7 +93,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
73
93
|
path: string;
|
|
74
94
|
};
|
|
75
95
|
};
|
|
76
|
-
|
|
96
|
+
deckCode: {
|
|
77
97
|
type: StringConstructor;
|
|
78
98
|
required: boolean;
|
|
79
99
|
default: string;
|
|
@@ -118,13 +138,37 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
118
138
|
required: boolean;
|
|
119
139
|
default: Date;
|
|
120
140
|
};
|
|
141
|
+
archetypeRouterLink: {
|
|
142
|
+
type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
143
|
+
required: boolean;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
deckBuilderRouterLink: {
|
|
147
|
+
type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
148
|
+
required: boolean;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
showOwnerButtons: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
required: boolean;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
isPrivate: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
required: boolean;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
121
161
|
}>>, {
|
|
122
162
|
type: "built" | "stats";
|
|
163
|
+
deckCode: string;
|
|
123
164
|
routerLink: import("vue-router").RouteLocationRaw;
|
|
124
|
-
deckcode: string;
|
|
125
165
|
deckId: number;
|
|
166
|
+
archetypeRouterLink: import("vue-router").RouteLocationRaw;
|
|
167
|
+
deckBuilderRouterLink: import("vue-router").RouteLocationRaw;
|
|
168
|
+
showOwnerButtons: boolean;
|
|
126
169
|
matches: number;
|
|
127
170
|
wins: number;
|
|
171
|
+
isPrivate: boolean;
|
|
128
172
|
updatedAt: Date;
|
|
129
173
|
playerRouterLink: import("vue-router").RouteLocationRaw;
|
|
130
174
|
userName: string;
|
|
@@ -2,21 +2,27 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
3
3
|
export type BuiltDeckBlockProps = {
|
|
4
4
|
type: 'built';
|
|
5
|
-
|
|
5
|
+
deckCode: string;
|
|
6
6
|
deckId: number;
|
|
7
7
|
userName: string;
|
|
8
8
|
userId: number;
|
|
9
9
|
deckName: string;
|
|
10
10
|
updatedAt: Date;
|
|
11
|
+
isPrivate: boolean;
|
|
12
|
+
showOwnerButtons: boolean;
|
|
11
13
|
routerLink: RouteLocationRaw;
|
|
14
|
+
deckBuilderRouterLink: RouteLocationRaw;
|
|
15
|
+
archetypeRouterLink: RouteLocationRaw;
|
|
12
16
|
playerRouterLink: RouteLocationRaw;
|
|
13
17
|
};
|
|
14
18
|
export type StatsDeckBlockProps = {
|
|
15
19
|
type: 'stats';
|
|
16
|
-
|
|
20
|
+
deckCode: string;
|
|
17
21
|
wins: number;
|
|
18
22
|
matches: number;
|
|
19
23
|
routerLink: RouteLocationRaw;
|
|
24
|
+
deckBuilderRouterLink: RouteLocationRaw;
|
|
25
|
+
archetypeRouterLink: RouteLocationRaw;
|
|
20
26
|
};
|
|
21
27
|
export type DeckBlockProps = BuiltDeckBlockProps | StatsDeckBlockProps;
|
|
22
28
|
export declare const deckBlockProps: {
|
|
@@ -34,7 +40,7 @@ export declare const deckBlockProps: {
|
|
|
34
40
|
path: string;
|
|
35
41
|
};
|
|
36
42
|
};
|
|
37
|
-
|
|
43
|
+
deckCode: {
|
|
38
44
|
type: StringConstructor;
|
|
39
45
|
required: boolean;
|
|
40
46
|
default: string;
|
|
@@ -79,4 +85,24 @@ export declare const deckBlockProps: {
|
|
|
79
85
|
required: boolean;
|
|
80
86
|
default: Date;
|
|
81
87
|
};
|
|
88
|
+
archetypeRouterLink: {
|
|
89
|
+
type: PropType<RouteLocationRaw>;
|
|
90
|
+
required: boolean;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
deckBuilderRouterLink: {
|
|
94
|
+
type: PropType<RouteLocationRaw>;
|
|
95
|
+
required: boolean;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
showOwnerButtons: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
required: boolean;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
isPrivate: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
required: boolean;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
82
108
|
};
|
|
@@ -44,7 +44,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
44
|
required: boolean;
|
|
45
45
|
default: number;
|
|
46
46
|
};
|
|
47
|
-
|
|
47
|
+
comparedDeckCode: {
|
|
48
48
|
type: StringConstructor;
|
|
49
49
|
required: boolean;
|
|
50
50
|
default: string;
|
|
@@ -120,7 +120,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
120
120
|
required: boolean;
|
|
121
121
|
default: number;
|
|
122
122
|
};
|
|
123
|
-
|
|
123
|
+
comparedDeckCode: {
|
|
124
124
|
type: StringConstructor;
|
|
125
125
|
required: boolean;
|
|
126
126
|
default: string;
|
|
@@ -161,7 +161,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
161
161
|
index: number;
|
|
162
162
|
matches: number;
|
|
163
163
|
wins: number;
|
|
164
|
-
|
|
164
|
+
comparedDeckCode: string;
|
|
165
165
|
isPrivate: boolean;
|
|
166
166
|
id: number;
|
|
167
167
|
updatedAt: number;
|
|
@@ -26,7 +26,7 @@ export type BuiltDecksRowProps = {
|
|
|
26
26
|
export type SimilarDecksRowProps = {
|
|
27
27
|
type: 'similar';
|
|
28
28
|
deckCode: string;
|
|
29
|
-
|
|
29
|
+
comparedDeckCode: string;
|
|
30
30
|
index: number;
|
|
31
31
|
matches: number;
|
|
32
32
|
wins: number;
|
|
@@ -81,7 +81,7 @@ export declare const decksRowProps: {
|
|
|
81
81
|
required: boolean;
|
|
82
82
|
default: number;
|
|
83
83
|
};
|
|
84
|
-
|
|
84
|
+
comparedDeckCode: {
|
|
85
85
|
type: StringConstructor;
|
|
86
86
|
required: boolean;
|
|
87
87
|
default: string;
|
|
@@ -2,6 +2,7 @@ import { PlayerData } from '../../library/LeaderboardTop10Region/types';
|
|
|
2
2
|
import { RouteLocationRaw } from "vue-router";
|
|
3
3
|
export type CallbacksStore = {
|
|
4
4
|
playerRouterLinkCallback: (player: PlayerData) => RouteLocationRaw;
|
|
5
|
+
playerIdRouterLinkCallback: (id: number | string) => RouteLocationRaw;
|
|
5
6
|
cardCodeRouterLinkCallback: (cardCode: string) => RouteLocationRaw;
|
|
6
7
|
};
|
|
7
8
|
export interface CallbacksStoreState {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../../../src/components/setup/stores/callbacks.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../../../src/components/setup/stores/callbacks.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB;;;;;;;;EAa5B,CAAC"}
|