@dcrackel/hematournamentui 1.0.192 → 1.0.194
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.
|
@@ -36205,21 +36205,25 @@ const LH = /* @__PURE__ */ ae(oH, [["render", aH]]), AH = {
|
|
|
36205
36205
|
data() {
|
|
36206
36206
|
return {
|
|
36207
36207
|
backgroundImage: ip,
|
|
36208
|
-
selectedBoard: "
|
|
36209
|
-
|
|
36210
|
-
|
|
36211
|
-
selectedRing: { text: "", link: "" }
|
|
36208
|
+
selectedBoard: "",
|
|
36209
|
+
selectedClub: { text: "Select Club From List", link: "" },
|
|
36210
|
+
selectedRing: { text: "Select Ring After Club is Selected", link: "" }
|
|
36212
36211
|
};
|
|
36213
36212
|
},
|
|
36213
|
+
computed: {
|
|
36214
|
+
isValid() {
|
|
36215
|
+
return this.selectedBoard && this.selectedClub.text && this.selectedRing.text;
|
|
36216
|
+
}
|
|
36217
|
+
},
|
|
36214
36218
|
methods: {
|
|
36215
36219
|
selectBoard(n) {
|
|
36216
36220
|
this.selectedBoard = n;
|
|
36217
36221
|
},
|
|
36218
36222
|
selectClub(n) {
|
|
36219
|
-
|
|
36223
|
+
this.selectedClub = n, this.$emit("update:club", n);
|
|
36220
36224
|
},
|
|
36221
36225
|
selectRing(n) {
|
|
36222
|
-
|
|
36226
|
+
this.selectedRing = n;
|
|
36223
36227
|
},
|
|
36224
36228
|
submit() {
|
|
36225
36229
|
const n = {
|
|
@@ -36272,7 +36276,7 @@ function CH(n, e, t, r, i, o) {
|
|
|
36272
36276
|
class: "w-40"
|
|
36273
36277
|
}),
|
|
36274
36278
|
p(A, {
|
|
36275
|
-
label: "",
|
|
36279
|
+
label: " ",
|
|
36276
36280
|
items: t.clubs,
|
|
36277
36281
|
"selected-item": i.selectedClub,
|
|
36278
36282
|
"onUpdate:selectedItem": [
|
|
@@ -36293,7 +36297,7 @@ function CH(n, e, t, r, i, o) {
|
|
|
36293
36297
|
class: "w-40"
|
|
36294
36298
|
}),
|
|
36295
36299
|
p(A, {
|
|
36296
|
-
label: "",
|
|
36300
|
+
label: " ",
|
|
36297
36301
|
items: t.scoreboards,
|
|
36298
36302
|
"selected-item": i.selectedRing,
|
|
36299
36303
|
"onUpdate:selectedItem": [
|
|
@@ -36315,8 +36319,9 @@ function CH(n, e, t, r, i, o) {
|
|
|
36315
36319
|
type: "whiteSecondary",
|
|
36316
36320
|
"hover-color": "highlightPrimary",
|
|
36317
36321
|
class: "mt-4",
|
|
36318
|
-
onClick: o.submit
|
|
36319
|
-
|
|
36322
|
+
onClick: o.submit,
|
|
36323
|
+
disabled: !o.isValid
|
|
36324
|
+
}, null, 8, ["onClick", "disabled"])
|
|
36320
36325
|
])
|
|
36321
36326
|
]);
|
|
36322
36327
|
}
|