@dcrackel/hematournamentui 1.0.69 → 1.0.70
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/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<i class="fa-solid fa-chevron-down text-xs" />
|
|
7
7
|
</div>
|
|
8
8
|
<transition name="fade-in-down">
|
|
9
|
-
<div v-if="isDropDownOpen" class="flex flex-col shadow-lg mt-9 z-
|
|
9
|
+
<div v-if="isDropDownOpen" class="flex flex-col shadow-lg mt-9 z-20 rounded-b-xl absolute bg-neutral border border-dropdownSelect" :class="dropDownWidth">
|
|
10
10
|
<a v-for="item in items" :key="item.id" @click="handleClick(item)" class="hover:bg-dropdownSelect py-1 px-2 border-b border-l border-r border-dropdownSelect">
|
|
11
11
|
<BaseText :text="item.text" color="primary" size="sm" weight="normal" class="py-0.5" />
|
|
12
12
|
</a>
|
|
@@ -120,14 +120,17 @@ export default {
|
|
|
120
120
|
},
|
|
121
121
|
methods: {
|
|
122
122
|
handleSelectedItem(selectedItem) {
|
|
123
|
+
console.log(`selectedItem: ${selectedItem}`)
|
|
123
124
|
this.localSelectedItem = selectedItem;
|
|
124
125
|
},
|
|
125
126
|
handleStatus(person) {
|
|
127
|
+
console.log(`handleStatus: ${person}`)
|
|
126
128
|
person.Status = person.Status === 'Absent' ? 'Present' : 'Absent';
|
|
127
129
|
this.$emit('update:person', person);
|
|
128
130
|
},
|
|
129
131
|
handleNewPerson(value)
|
|
130
132
|
{
|
|
133
|
+
console.log(`handleNewPerson: ${value}`)
|
|
131
134
|
this.$emit('add:person', value);
|
|
132
135
|
}
|
|
133
136
|
}
|