@dcrackel/hematournamentui 1.0.714 → 1.0.716

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 (25) hide show
  1. package/README.md +2 -0
  2. package/dist/HemaTournamentUI-lib.es.js +4367 -3850
  3. package/dist/HemaTournamentUI-lib.umd.js +27 -27
  4. package/dist/hematournamentui-tailwind.css +267 -9
  5. package/package.json +1 -1
  6. package/src/index.js +45 -43
  7. package/src/stories/Organisms/Cards/RingBoutCard/RingBoutCard.vue +158 -0
  8. package/src/stories/Organisms/Cards/TableauFencerCard/TableauFencerCard.stories.js +10 -0
  9. package/src/stories/Organisms/Cards/TableauFencerCard/TableauFencerCard.vue +140 -80
  10. package/src/stories/Organisms/Cards/WaitlistFencerCard/WaitlistFencerCard.test.js +94 -0
  11. package/src/stories/Organisms/Cards/WaitlistFencerCard/WaitlistFencerCard.vue +180 -153
  12. package/src/stories/Organisms/Containers/Tableau/components/BracketDirectorAssignmentPanel.test.js +19 -3
  13. package/src/stories/Organisms/Containers/Tableau/components/BracketDirectorAssignmentPanel.vue +59 -22
  14. package/src/stories/Templates/EventManagement/Bracket/Bracket.stories.js +13 -0
  15. package/src/stories/Templates/EventManagement/Bracket/Bracket.test.js +26 -0
  16. package/src/stories/Templates/EventManagement/Bracket/Bracket.vue +6 -2
  17. package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.stories.js +35 -3
  18. package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.test.js +73 -0
  19. package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.vue +417 -403
  20. package/src/stories/Templates/EventManagement/RingBoard/README.md +29 -0
  21. package/src/stories/Templates/EventManagement/RingBoard/RingBoard.stories.js +118 -0
  22. package/src/stories/Templates/EventManagement/RingBoard/RingBoard.test.js +208 -0
  23. package/src/stories/Templates/EventManagement/RingBoard/RingBoard.vue +170 -0
  24. package/src/stories/Util/ringBoard.js +103 -0
  25. package/src/stories/Util/waitlistAttendance.js +8 -0
package/README.md CHANGED
@@ -56,6 +56,8 @@ The right-column director cards include a remove control. `Bracket` emits `reque
56
56
 
57
57
  Supply `availableDirectors` and `rings` to `Bracket` to enable the roster modal. Add director and Manage open a list with selection checkboxes and a ring dropdown per person. The parent prepares eligible staff and optional default rings from Staff and pool assignments; staff who only help in DE need no pool assignment. This package does not read or change the Staff screen or pool data.
58
58
 
59
+ The director column starts with compact icon-and-label buttons: Manage, Redistribute, and Refresh. Their full descriptions are available as tooltips and accessible labels. Redistribute emits `request:redistribute-scheduled-bouts`; the parent redistributes scheduled coverage and returns updated assignment props, preserving active and completed bouts. Refresh emits `request:refresh-assignments`; the parent reloads current stations and assignments and supplies fresh props. Both events have no payload and leave existing data visible until the parent responds. The toolbar uses the same `availableDirectors` and `rings` availability as Manage. Standalone `BracketDirectorAssignmentPanel` consumers enable it with `canManageDirectors` and receive the same request events.
60
+
59
61
  `availableDirectors` contains `{ PersonId, DisplayName, Color, PortraitUrl?, DefaultRingId? }`. `rings` contains `{ RingId, RingName, Color?, Disabled? }`. Saved `plannedDirectingStations` keep the existing `{ RingId, RingName, Color, Director: { PersonId, DisplayName, PortraitUrl? } }` shape. Director IDs identify people; ring IDs identify coverage stations. One selected director per ring matches the current station and bout-assignment contract. The modal permits changing both draft rows before saving a ring swap and reports duplicate or missing rings.
60
62
 
61
63
  Saving emits `update:planned-directing-stations` with a detached full station list. Unchecking a person removes them from DE coverage. Ring changes are made in the modal; right-column cards display the selected ring as plain text. The parent saves the intent, redistributes scheduled coverage as appropriate, and returns authoritative props. Existing active/completed bout fields and pool assignments remain parent-owned. Each director keeps their supplied color when changing rings.