@dcrackel/hematournamentui 1.0.87 → 1.0.88
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/HemaTouranmentUI-lib.es.js +6778 -6288
- package/dist/HemaTouranmentUI-lib.umd.js +28 -28
- package/package.json +1 -1
- package/src/index.js +2 -1
- package/src/mocks/eventPersonGetInitialPoolAssignments.js +148 -136
- package/src/mocks/eventPersonGetInitialPoolAssignments2.js +420 -0
- package/src/mocks/eventPersonGetInitialStaff.js +38 -0
- package/src/mocks/eventPersonGetPoolAssignmentEvent.js +1 -1
- package/src/mocks/getAllStaffByTournamentId.js +80 -0
- package/src/stories/Molecules/Boxes/CounterBox/CounterBox.vue +6 -2
- package/src/stories/Molecules/Buttons/BaseButton/BaseButton.vue +43 -50
- package/src/stories/Organisms/Cards/StaffCard/StaffCard.stories.js +73 -0
- package/src/stories/Organisms/Cards/StaffCard/StaffCard.vue +73 -0
- package/src/stories/Organisms/Containers/Pool/Pool.vue +21 -7
- package/src/stories/Organisms/Headers/PoolSummary/PoolSummary.vue +40 -17
- package/src/stories/Organisms/Headers/StaffSummary/StaffSummary.stories.js +35 -0
- package/src/stories/Organisms/Headers/StaffSummary/StaffSummary.vue +55 -0
- package/src/stories/Templates/EventManagement/PoolManagement/PoolManagement.stories.js +45 -20
- package/src/stories/Templates/EventManagement/PoolManagement/PoolManagement.vue +81 -31
- package/src/stories/Templates/EventManagement/StaffList/StaffList.stories.js +58 -0
- package/src/stories/Templates/EventManagement/StaffList/StaffList.vue +136 -0
- package/src/stories/Templates/Menus/EditEventsTopMenu/EditEventsTopMenu.vue +6 -1
- package/tailwind.config.js +2 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -25,4 +25,5 @@ export { default as AddTournamentPageTwo } from './stories/Templates/TournamentM
|
|
|
25
25
|
export { default as AdminLeftMenu } from './stories/Templates/Menus/Admin/AdminLeftMenu.vue';
|
|
26
26
|
export { default as ListEvents } from './stories/Templates/EventManagement/ListEvents/ListEvents.vue';
|
|
27
27
|
export { default as EventAttendance } from './stories/Templates/EventManagement/EventAttendance/EventAttendance.vue';
|
|
28
|
-
export { default as PoolManagement } from './stories/Templates/EventManagement/PoolManagement/PoolManagement.vue';
|
|
28
|
+
export { default as PoolManagement } from './stories/Templates/EventManagement/PoolManagement/PoolManagement.vue';
|
|
29
|
+
export { default as StaffList } from './stories/Templates/EventManagement/StaffList/StaffList.vue';
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
const eventPersonGetInitialPoolAssignments =
|
|
2
2
|
[
|
|
3
3
|
{
|
|
4
|
-
"PoolId":
|
|
4
|
+
"PoolId": 102,
|
|
5
5
|
"Name": "Pool 1",
|
|
6
6
|
"RingName": "Ring 1",
|
|
7
|
+
"Flight": 1,
|
|
7
8
|
"PoolType": "STANDARD",
|
|
8
9
|
"EventId": 5,
|
|
9
|
-
"PersonId":
|
|
10
|
+
"PersonId": null,
|
|
10
11
|
"Status": "preview",
|
|
11
|
-
"Updated": "2024-06-
|
|
12
|
-
"Person":
|
|
13
|
-
"DisplayName": "Lucas Garcia"
|
|
14
|
-
},
|
|
12
|
+
"Updated": "2024-06-08T04:12:43.000Z",
|
|
13
|
+
"Person": null,
|
|
15
14
|
"participants": [
|
|
16
15
|
{
|
|
17
16
|
"Id": 103,
|
|
18
17
|
"EventId": 5,
|
|
19
18
|
"PersonId": 10,
|
|
20
19
|
"Seed": 1,
|
|
21
|
-
"PoolPosition":
|
|
20
|
+
"PoolPosition": 1,
|
|
22
21
|
"Status": "Absent",
|
|
23
22
|
"Person": {
|
|
24
23
|
"PersonId": 10,
|
|
@@ -46,31 +45,31 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
46
45
|
}
|
|
47
46
|
},
|
|
48
47
|
{
|
|
49
|
-
"Id":
|
|
48
|
+
"Id": 109,
|
|
50
49
|
"EventId": 5,
|
|
51
|
-
"PersonId":
|
|
52
|
-
"Seed":
|
|
53
|
-
"PoolPosition":
|
|
50
|
+
"PersonId": 6,
|
|
51
|
+
"Seed": 8,
|
|
52
|
+
"PoolPosition": 8,
|
|
54
53
|
"Status": "Absent",
|
|
55
54
|
"Person": {
|
|
56
|
-
"PersonId":
|
|
57
|
-
"DisplayName": "
|
|
58
|
-
"Pronouns": "
|
|
59
|
-
"FirstName": "
|
|
60
|
-
"LastName": "
|
|
61
|
-
"Birthday": "
|
|
62
|
-
"ClubId":
|
|
55
|
+
"PersonId": 6,
|
|
56
|
+
"DisplayName": "Courtney Medina",
|
|
57
|
+
"Pronouns": "They/Them",
|
|
58
|
+
"FirstName": "Courtney",
|
|
59
|
+
"LastName": "Medina",
|
|
60
|
+
"Birthday": "1983-09-25",
|
|
61
|
+
"ClubId": 3,
|
|
63
62
|
"ShowData": true,
|
|
64
63
|
"Club": {
|
|
65
|
-
"ClubId":
|
|
66
|
-
"Name": "
|
|
67
|
-
"ShortName": "
|
|
68
|
-
"Description": "
|
|
64
|
+
"ClubId": 3,
|
|
65
|
+
"Name": "Sword & Blade of Callie",
|
|
66
|
+
"ShortName": "SBoC",
|
|
67
|
+
"Description": "adsasdf",
|
|
69
68
|
"AddressId": 1,
|
|
70
69
|
"SocialMedia": [
|
|
71
70
|
{
|
|
72
71
|
"Type": "Web",
|
|
73
|
-
"Link": "https://meyersquared.com/images/
|
|
72
|
+
"Link": "https://meyersquared.com/images/Club8.png",
|
|
74
73
|
"Label": null
|
|
75
74
|
}
|
|
76
75
|
]
|
|
@@ -78,31 +77,31 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
78
77
|
}
|
|
79
78
|
},
|
|
80
79
|
{
|
|
81
|
-
"Id":
|
|
80
|
+
"Id": 110,
|
|
82
81
|
"EventId": 5,
|
|
83
|
-
"PersonId":
|
|
84
|
-
"Seed":
|
|
85
|
-
"PoolPosition":
|
|
82
|
+
"PersonId": 7,
|
|
83
|
+
"Seed": 9,
|
|
84
|
+
"PoolPosition": 9,
|
|
86
85
|
"Status": "Absent",
|
|
87
86
|
"Person": {
|
|
88
|
-
"PersonId":
|
|
89
|
-
"DisplayName": "
|
|
87
|
+
"PersonId": 7,
|
|
88
|
+
"DisplayName": "Emily Carlson",
|
|
90
89
|
"Pronouns": "He/Him",
|
|
91
|
-
"FirstName": "
|
|
92
|
-
"LastName": "
|
|
93
|
-
"Birthday": "
|
|
94
|
-
"ClubId":
|
|
90
|
+
"FirstName": "Emily",
|
|
91
|
+
"LastName": "Carlson",
|
|
92
|
+
"Birthday": "1997-06-13",
|
|
93
|
+
"ClubId": 4,
|
|
95
94
|
"ShowData": true,
|
|
96
95
|
"Club": {
|
|
97
|
-
"ClubId":
|
|
98
|
-
"Name": "
|
|
99
|
-
"ShortName": "
|
|
100
|
-
"Description":
|
|
101
|
-
"AddressId":
|
|
96
|
+
"ClubId": 4,
|
|
97
|
+
"Name": "Guardians of the Guard",
|
|
98
|
+
"ShortName": "GotG",
|
|
99
|
+
"Description": "Guardians of the Guard",
|
|
100
|
+
"AddressId": 1,
|
|
102
101
|
"SocialMedia": [
|
|
103
102
|
{
|
|
104
103
|
"Type": "Web",
|
|
105
|
-
"Link": "https://meyersquared.com/images/
|
|
104
|
+
"Link": "https://meyersquared.com/images/Club9.png",
|
|
106
105
|
"Label": null
|
|
107
106
|
}
|
|
108
107
|
]
|
|
@@ -110,28 +109,27 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
],
|
|
113
|
-
"poolStrength":
|
|
114
|
-
"poolStrengthInd":
|
|
112
|
+
"poolStrength": 18,
|
|
113
|
+
"poolStrengthInd": 4
|
|
115
114
|
},
|
|
116
115
|
{
|
|
117
|
-
"PoolId":
|
|
116
|
+
"PoolId": 103,
|
|
118
117
|
"Name": "Pool 2",
|
|
119
118
|
"RingName": "Ring 2",
|
|
119
|
+
"Flight": 1,
|
|
120
120
|
"PoolType": "STANDARD",
|
|
121
121
|
"EventId": 5,
|
|
122
|
-
"PersonId":
|
|
122
|
+
"PersonId": null,
|
|
123
123
|
"Status": "preview",
|
|
124
|
-
"Updated": "2024-06-
|
|
125
|
-
"Person":
|
|
126
|
-
"DisplayName": "Mia Rodriguez"
|
|
127
|
-
},
|
|
124
|
+
"Updated": "2024-06-08T04:12:43.000Z",
|
|
125
|
+
"Person": null,
|
|
128
126
|
"participants": [
|
|
129
127
|
{
|
|
130
128
|
"Id": 106,
|
|
131
129
|
"EventId": 5,
|
|
132
130
|
"PersonId": 4,
|
|
133
131
|
"Seed": 2,
|
|
134
|
-
"PoolPosition":
|
|
132
|
+
"PoolPosition": 2,
|
|
135
133
|
"Status": "Absent",
|
|
136
134
|
"Person": {
|
|
137
135
|
"PersonId": 4,
|
|
@@ -159,31 +157,31 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
159
157
|
}
|
|
160
158
|
},
|
|
161
159
|
{
|
|
162
|
-
"Id":
|
|
160
|
+
"Id": 108,
|
|
163
161
|
"EventId": 5,
|
|
164
|
-
"PersonId":
|
|
165
|
-
"Seed":
|
|
166
|
-
"PoolPosition":
|
|
162
|
+
"PersonId": 5,
|
|
163
|
+
"Seed": 7,
|
|
164
|
+
"PoolPosition": 7,
|
|
167
165
|
"Status": "Absent",
|
|
168
166
|
"Person": {
|
|
169
|
-
"PersonId":
|
|
170
|
-
"DisplayName": "
|
|
171
|
-
"Pronouns": "
|
|
172
|
-
"FirstName": "
|
|
173
|
-
"LastName": "
|
|
174
|
-
"Birthday": "
|
|
175
|
-
"ClubId":
|
|
167
|
+
"PersonId": 5,
|
|
168
|
+
"DisplayName": "Darlene Acevedo",
|
|
169
|
+
"Pronouns": "He/Him",
|
|
170
|
+
"FirstName": "Darlene",
|
|
171
|
+
"LastName": "Acevedo",
|
|
172
|
+
"Birthday": "1992-08-11",
|
|
173
|
+
"ClubId": 9,
|
|
176
174
|
"ShowData": true,
|
|
177
175
|
"Club": {
|
|
178
|
-
"ClubId":
|
|
179
|
-
"Name": "
|
|
180
|
-
"ShortName": "
|
|
181
|
-
"Description":
|
|
182
|
-
"AddressId":
|
|
176
|
+
"ClubId": 9,
|
|
177
|
+
"Name": "Cats Cutlass Club of Canton",
|
|
178
|
+
"ShortName": "CCCoC",
|
|
179
|
+
"Description": null,
|
|
180
|
+
"AddressId": null,
|
|
183
181
|
"SocialMedia": [
|
|
184
182
|
{
|
|
185
183
|
"Type": "Web",
|
|
186
|
-
"Link": "https://meyersquared.com/images/
|
|
184
|
+
"Link": "https://meyersquared.com/images/Club12.png",
|
|
187
185
|
"Label": null
|
|
188
186
|
}
|
|
189
187
|
]
|
|
@@ -191,31 +189,31 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
191
189
|
}
|
|
192
190
|
},
|
|
193
191
|
{
|
|
194
|
-
"Id":
|
|
192
|
+
"Id": 111,
|
|
195
193
|
"EventId": 5,
|
|
196
|
-
"PersonId":
|
|
197
|
-
"Seed":
|
|
198
|
-
"PoolPosition":
|
|
194
|
+
"PersonId": 8,
|
|
195
|
+
"Seed": 10,
|
|
196
|
+
"PoolPosition": 10,
|
|
199
197
|
"Status": "Absent",
|
|
200
198
|
"Person": {
|
|
201
|
-
"PersonId":
|
|
202
|
-
"DisplayName": "
|
|
203
|
-
"Pronouns": "
|
|
204
|
-
"FirstName": "
|
|
205
|
-
"LastName": "
|
|
206
|
-
"Birthday": "
|
|
207
|
-
"ClubId":
|
|
199
|
+
"PersonId": 8,
|
|
200
|
+
"DisplayName": "Julie Riddle",
|
|
201
|
+
"Pronouns": "He/Him",
|
|
202
|
+
"FirstName": "Julie",
|
|
203
|
+
"LastName": "Riddle",
|
|
204
|
+
"Birthday": "1984-07-18",
|
|
205
|
+
"ClubId": 2,
|
|
208
206
|
"ShowData": true,
|
|
209
207
|
"Club": {
|
|
210
|
-
"ClubId":
|
|
211
|
-
"Name": "
|
|
212
|
-
"ShortName": "
|
|
213
|
-
"Description": "
|
|
208
|
+
"ClubId": 2,
|
|
209
|
+
"Name": "Historical Fencing Of Anywhere",
|
|
210
|
+
"ShortName": "HFoA",
|
|
211
|
+
"Description": "is",
|
|
214
212
|
"AddressId": 1,
|
|
215
213
|
"SocialMedia": [
|
|
216
214
|
{
|
|
217
215
|
"Type": "Web",
|
|
218
|
-
"Link": "https://meyersquared.com/images/
|
|
216
|
+
"Link": "https://meyersquared.com/images/Club7.png",
|
|
219
217
|
"Label": null
|
|
220
218
|
}
|
|
221
219
|
]
|
|
@@ -223,21 +221,20 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
223
221
|
}
|
|
224
222
|
}
|
|
225
223
|
],
|
|
226
|
-
"poolStrength":
|
|
227
|
-
"poolStrengthInd":
|
|
224
|
+
"poolStrength": 19,
|
|
225
|
+
"poolStrengthInd": 5
|
|
228
226
|
},
|
|
229
227
|
{
|
|
230
|
-
"PoolId":
|
|
228
|
+
"PoolId": 105,
|
|
231
229
|
"Name": "Pool 3",
|
|
232
|
-
"RingName": "Ring
|
|
230
|
+
"RingName": "Ring 1",
|
|
231
|
+
"Flight": 2,
|
|
233
232
|
"PoolType": "STANDARD",
|
|
234
233
|
"EventId": 5,
|
|
235
|
-
"PersonId":
|
|
234
|
+
"PersonId": null,
|
|
236
235
|
"Status": "preview",
|
|
237
|
-
"Updated": "2024-06-
|
|
238
|
-
"Person":
|
|
239
|
-
"DisplayName": "Isabella Hernandez"
|
|
240
|
-
},
|
|
236
|
+
"Updated": "2024-06-08T04:16:56.000Z",
|
|
237
|
+
"Person": null,
|
|
241
238
|
"participants": [
|
|
242
239
|
{
|
|
243
240
|
"Id": 107,
|
|
@@ -272,51 +269,67 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
272
269
|
}
|
|
273
270
|
},
|
|
274
271
|
{
|
|
275
|
-
"Id":
|
|
272
|
+
"Id": 105,
|
|
276
273
|
"EventId": 5,
|
|
277
|
-
"PersonId":
|
|
278
|
-
"Seed":
|
|
279
|
-
"PoolPosition":
|
|
274
|
+
"PersonId": 22,
|
|
275
|
+
"Seed": 6,
|
|
276
|
+
"PoolPosition": 6,
|
|
280
277
|
"Status": "Absent",
|
|
281
278
|
"Person": {
|
|
282
|
-
"PersonId":
|
|
283
|
-
"DisplayName": "
|
|
284
|
-
"Pronouns":
|
|
285
|
-
"FirstName": "
|
|
279
|
+
"PersonId": 22,
|
|
280
|
+
"DisplayName": "Bob Smith",
|
|
281
|
+
"Pronouns": "He/Him",
|
|
282
|
+
"FirstName": "Bob",
|
|
286
283
|
"LastName": "Smith",
|
|
287
|
-
"Birthday":
|
|
288
|
-
"ClubId":
|
|
284
|
+
"Birthday": "2024-06-06",
|
|
285
|
+
"ClubId": 6,
|
|
289
286
|
"ShowData": true,
|
|
290
287
|
"Club": {
|
|
291
|
-
"ClubId":
|
|
292
|
-
"Name": "
|
|
293
|
-
"ShortName": "
|
|
294
|
-
"Description": "
|
|
288
|
+
"ClubId": 6,
|
|
289
|
+
"Name": "SwordPlay Society",
|
|
290
|
+
"ShortName": "SS",
|
|
291
|
+
"Description": "SwordPlay Society",
|
|
295
292
|
"AddressId": 1,
|
|
296
293
|
"SocialMedia": [
|
|
297
294
|
{
|
|
298
295
|
"Type": "Web",
|
|
299
|
-
"Link": "https://meyersquared.com/images/
|
|
296
|
+
"Link": "https://meyersquared.com/images/Club1.jpg",
|
|
300
297
|
"Label": null
|
|
301
298
|
}
|
|
302
299
|
]
|
|
303
300
|
}
|
|
304
301
|
}
|
|
305
|
-
}
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"poolStrength": 9,
|
|
305
|
+
"poolStrengthInd": -5
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"PoolId": 106,
|
|
309
|
+
"Name": "Pool 4",
|
|
310
|
+
"RingName": "Ring 2",
|
|
311
|
+
"Flight": 2,
|
|
312
|
+
"PoolType": "STANDARD",
|
|
313
|
+
"EventId": 5,
|
|
314
|
+
"PersonId": null,
|
|
315
|
+
"Status": "preview",
|
|
316
|
+
"Updated": "2024-06-08T04:16:57.000Z",
|
|
317
|
+
"Person": null,
|
|
318
|
+
"participants": [
|
|
306
319
|
{
|
|
307
|
-
"Id":
|
|
320
|
+
"Id": 97,
|
|
308
321
|
"EventId": 5,
|
|
309
|
-
"PersonId":
|
|
310
|
-
"Seed":
|
|
311
|
-
"PoolPosition":
|
|
322
|
+
"PersonId": 1,
|
|
323
|
+
"Seed": 4,
|
|
324
|
+
"PoolPosition": 4,
|
|
312
325
|
"Status": "Absent",
|
|
313
326
|
"Person": {
|
|
314
|
-
"PersonId":
|
|
315
|
-
"DisplayName": "
|
|
316
|
-
"Pronouns":
|
|
317
|
-
"FirstName": "
|
|
318
|
-
"LastName": "
|
|
319
|
-
"Birthday":
|
|
327
|
+
"PersonId": 1,
|
|
328
|
+
"DisplayName": "Dave Smith",
|
|
329
|
+
"Pronouns": null,
|
|
330
|
+
"FirstName": "Dave",
|
|
331
|
+
"LastName": "Smith",
|
|
332
|
+
"Birthday": null,
|
|
320
333
|
"ClubId": 4,
|
|
321
334
|
"ShowData": true,
|
|
322
335
|
"Club": {
|
|
@@ -336,31 +349,31 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
336
349
|
}
|
|
337
350
|
},
|
|
338
351
|
{
|
|
339
|
-
"Id":
|
|
352
|
+
"Id": 102,
|
|
340
353
|
"EventId": 5,
|
|
341
|
-
"PersonId":
|
|
342
|
-
"Seed":
|
|
343
|
-
"PoolPosition":
|
|
354
|
+
"PersonId": 14,
|
|
355
|
+
"Seed": 5,
|
|
356
|
+
"PoolPosition": 5,
|
|
344
357
|
"Status": "Absent",
|
|
345
358
|
"Person": {
|
|
346
|
-
"PersonId":
|
|
347
|
-
"DisplayName": "
|
|
348
|
-
"Pronouns": "
|
|
349
|
-
"FirstName": "
|
|
350
|
-
"LastName": "
|
|
351
|
-
"Birthday": "
|
|
352
|
-
"ClubId":
|
|
359
|
+
"PersonId": 14,
|
|
360
|
+
"DisplayName": "Jordan Allen",
|
|
361
|
+
"Pronouns": "They/Them",
|
|
362
|
+
"FirstName": "Jordan",
|
|
363
|
+
"LastName": "Allen",
|
|
364
|
+
"Birthday": "1995-08-12",
|
|
365
|
+
"ClubId": 5,
|
|
353
366
|
"ShowData": true,
|
|
354
367
|
"Club": {
|
|
355
|
-
"ClubId":
|
|
356
|
-
"Name": "
|
|
357
|
-
"ShortName": "
|
|
358
|
-
"Description": "
|
|
368
|
+
"ClubId": 5,
|
|
369
|
+
"Name": "Fechtastic Fighters",
|
|
370
|
+
"ShortName": "FF",
|
|
371
|
+
"Description": "Fechtastic Fighters",
|
|
359
372
|
"AddressId": 1,
|
|
360
373
|
"SocialMedia": [
|
|
361
374
|
{
|
|
362
375
|
"Type": "Web",
|
|
363
|
-
"Link": "https://meyersquared.com/images/
|
|
376
|
+
"Link": "https://meyersquared.com/images/Club10.png",
|
|
364
377
|
"Label": null
|
|
365
378
|
}
|
|
366
379
|
]
|
|
@@ -368,10 +381,9 @@ const eventPersonGetInitialPoolAssignments =
|
|
|
368
381
|
}
|
|
369
382
|
}
|
|
370
383
|
],
|
|
371
|
-
"poolStrength":
|
|
372
|
-
"poolStrengthInd":
|
|
384
|
+
"poolStrength": 9,
|
|
385
|
+
"poolStrengthInd": -5
|
|
373
386
|
}
|
|
374
|
-
|
|
375
|
-
|
|
387
|
+
];
|
|
376
388
|
|
|
377
389
|
export default eventPersonGetInitialPoolAssignments;
|