Skip to content

SignInTable.vue ​

Image of the component

This component display the members registration table as part of the Sign-In App at /signinsheet

📄 View source on GitHub

Used Components ​

Used by ​

Used Stores ​

Functions ​

toggleCheckIn ​

Toggles the sign-in/sign-out status of a member entry and displays a snackbar notification. This function asynchronously calls the toggleCheckIn method from signInMembersStore to change the sign-in status of the given entry. After the status is toggled, it shows a snackbar notification with the result message and color.

Parameters:

  • entry: - The member entry whose sign-in status should be toggled.

deleteEntry ​

Deletes a member registration and displays a snackbar notification after the confirmation dialog. It asynchronously calls the deleteSignInEntry method from signInMembersStore to delete the given entry. After the deletion is complete, it shows a snackbar notification with the result message and color.

Parameters:

  • entry: - The member registration which should be deleted.

showPhone ​

Temporarily displays the phone number of a specific item for 15 seconds. The item object must contain an id property.

Parameters:

  • item: - The member entry whose phone number should be shown.

Reactivity ​

hasRun (computed) ​

Checks if the entry in thisRunsStore is a valid run.

filteredEntries (computed) ​

Toogles the entries in the table data based on the value of showAll and creates a list of all members or only members still not signed-in. Used for the filter function of the Sign-In App

totalMembers (computed) ​

Calculates the total number of members at the runsite

membersStillOut (computed) ​

Calculates the number of members not signed-in

membersAlreadyIn (computed) ​

Calculates the number of members already signed-in

beerRatio (computed) ​

Calculates the ratio of beer members to non-beer members at the runsite

runInfo (computed) ​

Returns an array of objects containing the icon and value for actual run info item.

Released under the MIT License.