@dcrackel/hematournamentui 1.0.80 → 1.0.81
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
|
<section :class="boxClass">
|
|
7
7
|
<div class="flex flex-row items-center justify-between h-14 py-2 px-2">
|
|
8
8
|
<button @click="increase" class="py-1"><BaseIcon icon-name="fa-caret-up" size="xl" color="primaryHighlight" /></button>
|
|
9
|
-
<span class="px-1"><BaseText :text="
|
|
9
|
+
<span class="px-1"><BaseText :text="count" size="xl" color="primary"/></span>
|
|
10
10
|
<button @click="decrease" class="py-1"><BaseIcon icon-name="fa-caret-down" size="xl" color="primaryHighlight" /></button>
|
|
11
11
|
</div>
|
|
12
12
|
</section>
|
|
@@ -34,14 +34,9 @@ export default {
|
|
|
34
34
|
required: true
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
-
data() {
|
|
38
|
-
return {
|
|
39
|
-
counter: this.count
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
37
|
computed: {
|
|
43
38
|
isRecommended() {
|
|
44
|
-
return this.
|
|
39
|
+
return this.count === this.recommended;
|
|
45
40
|
},
|
|
46
41
|
boxClass() {
|
|
47
42
|
return {
|
|
@@ -29,7 +29,6 @@ export default {
|
|
|
29
29
|
'EventName',
|
|
30
30
|
'RuleSummary'
|
|
31
31
|
];
|
|
32
|
-
|
|
33
32
|
const missingFields = requiredFields.filter(field => !(field in event));
|
|
34
33
|
if (missingFields.length) {
|
|
35
34
|
console.warn(`Invalid event object: Missing fields: ${missingFields.join(', ')}`);
|
|
@@ -41,11 +40,15 @@ export default {
|
|
|
41
40
|
},
|
|
42
41
|
computed: {
|
|
43
42
|
poolSize() {
|
|
43
|
+
console.log(`poolSize: ${this.event.PoolSize}`)
|
|
44
44
|
return this.event.PoolSize || 0;
|
|
45
45
|
},
|
|
46
46
|
numberOfRings() {
|
|
47
|
+
console.log(`numberOfRings: ${this.event.NumberOfRings}`)
|
|
47
48
|
return this.event.NumberOfRings || 0;
|
|
48
49
|
},
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
49
52
|
handlePoolSizeChange(poolSize) {
|
|
50
53
|
this.$emit('update:poolSize', poolSize);
|
|
51
54
|
},
|