@dcrackel/hematournamentui 1.0.592 → 1.0.595
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/dist/HemaTournamentUI-lib.es.js +17 -12
- package/dist/HemaTournamentUI-lib.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/stories/Organisms/ComplexInputs/FindLocation/FindLocation.vue +10 -6
- package/src/stories/Organisms/ComplexInputs/TextBoxEditor/TextBoxEditor.vue +7 -5
- package/src/stories/Templates/ClubManagement/ClubManagement.vue +1 -1
- package/src/stories/Templates/TournamentManagement/TournamentManagement.vue +2 -0
|
@@ -29457,14 +29457,17 @@ const jf = Yf(!1, !0), Kf = Yf(!0, !0), hM = Yt.create({
|
|
|
29457
29457
|
}
|
|
29458
29458
|
});
|
|
29459
29459
|
return nn(() => n.initialContent, (o) => {
|
|
29460
|
-
|
|
29460
|
+
if (r.value) {
|
|
29461
|
+
const i = r.value.getHTML();
|
|
29462
|
+
o !== i && r.value.commands.setContent(o);
|
|
29463
|
+
}
|
|
29461
29464
|
}), { editor: r, editorContent: t };
|
|
29462
29465
|
},
|
|
29463
29466
|
methods: {}
|
|
29464
29467
|
}, PM = {
|
|
29465
29468
|
"data-testid": "editor-buttons",
|
|
29466
29469
|
class: "flex flex-row pl-2"
|
|
29467
|
-
}, zM = { class: "w-1/3 border-r border-dropdownSelect flex flex-row justify-between pr-2" }, NM = { class: "w-1/3 border-r border-dropdownSelect flex
|
|
29470
|
+
}, zM = { class: "w-1/2 md:w-1/3 border-r border-dropdownSelect flex flex-row justify-between pr-2" }, NM = { class: "hidden md:flex w-1/3 border-r border-dropdownSelect flex-row justify-around" }, FM = { class: "hidden md:flex w-1/3 flex-row justify-between pl-2" }, LM = { class: "w-36 flex flex-row justify-around ml-4 border-l" }, HM = { class: "my-4 p-4 rounded-xl h-72 bg-tertiary overflow-auto" };
|
|
29468
29471
|
function qM(n, e, t, r, o, i) {
|
|
29469
29472
|
const A = w("BaseButton"), a = w("editor-content");
|
|
29470
29473
|
return m(), I("div", {
|
|
@@ -29580,7 +29583,7 @@ function qM(n, e, t, r, o, i) {
|
|
|
29580
29583
|
])
|
|
29581
29584
|
], 2);
|
|
29582
29585
|
}
|
|
29583
|
-
const ic = /* @__PURE__ */ oe(RM, [["render", qM], ["__scopeId", "data-v-
|
|
29586
|
+
const ic = /* @__PURE__ */ oe(RM, [["render", qM], ["__scopeId", "data-v-a1dce3ee"]]), YM = {
|
|
29584
29587
|
name: "FencerName",
|
|
29585
29588
|
components: { BaseText: Be },
|
|
29586
29589
|
props: {
|
|
@@ -29983,9 +29986,9 @@ const IO = /* @__PURE__ */ oe(dO, [["render", pO]]), BO = {
|
|
|
29983
29986
|
data() {
|
|
29984
29987
|
return {
|
|
29985
29988
|
formData: {
|
|
29986
|
-
|
|
29987
|
-
|
|
29988
|
-
|
|
29989
|
+
Name: "",
|
|
29990
|
+
Address1: "",
|
|
29991
|
+
Coordinates: ""
|
|
29989
29992
|
},
|
|
29990
29993
|
locationName: "",
|
|
29991
29994
|
validAddress: !1,
|
|
@@ -30000,7 +30003,8 @@ const IO = /* @__PURE__ */ oe(dO, [["render", pO]]), BO = {
|
|
|
30000
30003
|
},
|
|
30001
30004
|
watch: {
|
|
30002
30005
|
inputValue(n) {
|
|
30003
|
-
|
|
30006
|
+
const e = n || "";
|
|
30007
|
+
this.showDropdown = e.length > 0, this.debounceSearch();
|
|
30004
30008
|
}
|
|
30005
30009
|
},
|
|
30006
30010
|
mounted() {
|
|
@@ -30041,7 +30045,8 @@ const IO = /* @__PURE__ */ oe(dO, [["render", pO]]), BO = {
|
|
|
30041
30045
|
this.formData.locationName = n, this.locationName = n, n.trim() || this.$emit("update:location", null);
|
|
30042
30046
|
},
|
|
30043
30047
|
handleNewAddress(n) {
|
|
30044
|
-
|
|
30048
|
+
const e = n.address.split(",");
|
|
30049
|
+
this.formData.Name = this.locationName, this.formData.Address1 = e[0].trim(), this.formData.City = e[1].trim(), this.formData.State = e[2].trim(), this.formData.Coordinates = n.coordinates, this.inputValue = this.locationName, this.$emit("submit:addNewAddress", this.formData);
|
|
30045
30050
|
},
|
|
30046
30051
|
handleSubmit() {
|
|
30047
30052
|
this.$emit("submit:location", this.formData), this.showNewLocation = !1, this.showDropdown = !1, this.showAddNew = !1;
|
|
@@ -30111,8 +30116,8 @@ function yO(n, e, t, r, o, i) {
|
|
|
30111
30116
|
"onUpdate:value": i.handleLocationName
|
|
30112
30117
|
}, null, 8, ["value", "onFocus", "onUpdate:value"]),
|
|
30113
30118
|
h(l, {
|
|
30114
|
-
modelValue: o.formData.
|
|
30115
|
-
"onUpdate:modelValue": e[2] || (e[2] = (u) => o.formData.
|
|
30119
|
+
modelValue: o.formData.Address1,
|
|
30120
|
+
"onUpdate:modelValue": e[2] || (e[2] = (u) => o.formData.Address1 = u),
|
|
30116
30121
|
invalid: o.validAddress,
|
|
30117
30122
|
class: "text-lg",
|
|
30118
30123
|
"onUpdate:address": i.handleNewAddress
|
|
@@ -30990,7 +30995,7 @@ const pT = (n, e) => {
|
|
|
30990
30995
|
this.localTournament = { ...this.tournament, TotalDays: t };
|
|
30991
30996
|
},
|
|
30992
30997
|
handleAddNewAddress(n) {
|
|
30993
|
-
this.localTournament.AddressId = 0, this.localTournament.Address = n, this.$emit("add:newAddress", n);
|
|
30998
|
+
this.localTournament.AddressId = 0, this.localTournament.Address = n, console.log("newAddress", n), this.$emit("add:newAddress", n);
|
|
30994
30999
|
},
|
|
30995
31000
|
handleAddressUpdate(n) {
|
|
30996
31001
|
n && (this.localTournament.AddressId = n.AddressId, this.localTournament.Address = n, this.$emit("update:address", n), this.validation.Address = ma("Address", n)), n || (this.localTournament.AddressId = 0, this.localTournament.Address = "");
|
|
@@ -40619,7 +40624,7 @@ const Xq = {
|
|
|
40619
40624
|
}, Zq = { key: 0 }, _q = {
|
|
40620
40625
|
key: 1,
|
|
40621
40626
|
class: "flex"
|
|
40622
|
-
}, $q = { class: "rounded-lg p-9 bg-neutral w-full" }, eY = { class: "w-full flex flex-row justify-center mb-4" }, tY = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, nY = { class: "flex flex-row justify-end mt-8" };
|
|
40627
|
+
}, $q = { class: "rounded-lg md:p-9 bg-neutral w-full" }, eY = { class: "w-full flex flex-row justify-center mb-4" }, tY = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, nY = { class: "flex flex-row justify-end mt-8" };
|
|
40623
40628
|
function rY(n, e, t, r, o, i) {
|
|
40624
40629
|
const A = w("ClubManagementSkeleton"), a = w("BaseText"), l = w("ImageCropper"), c = w("ClubBasic"), u = w("BaseButton");
|
|
40625
40630
|
return m(), I(ae, null, [
|