@dcrackel/meyersquaredui 1.0.129 → 1.0.130

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.
@@ -2839,7 +2839,7 @@ const js = /* @__PURE__ */ S(_s, [["render", Ls]]), Ns = {
2839
2839
  this.selectedTab = r, this.$emit("tab-clicked", r);
2840
2840
  }
2841
2841
  }
2842
- }, Os = { class: "w-full rounded-lg" }, Ds = { class: "max-w-[1200px] md:w-full flex mx-2 md:mx-auto pl-4 bg-white rounded-tr-lg rounded-tl-lg" };
2842
+ }, Os = { class: "w-full rounded-t-lg" }, Ds = { class: "max-w-[1200px] md:w-full flex mx-2 md:mx-auto pl-4 bg-white rounded-tr-lg rounded-tl-lg" };
2843
2843
  function Rs(r, e, t, a, o, s) {
2844
2844
  const n = x("BaseText");
2845
2845
  return h(), f("div", Os, [
@@ -3564,7 +3564,8 @@ function Vr(r, e, t, a, o, s) {
3564
3564
  key: 0,
3565
3565
  src: t.imageSrc,
3566
3566
  alt: "Hero Image",
3567
- class: "w-full h-full object-cover object-top max-h-96"
3567
+ class: "w-full h-full object-cover object-top max-h-96",
3568
+ loading: "lazy"
3568
3569
  }, null, 8, Mr)),
3569
3570
  i("section", Lr, [
3570
3571
  i("div", jr, [
@@ -3787,7 +3788,8 @@ function Xr(r, e, t, a, o, s) {
3787
3788
  key: 0,
3788
3789
  src: t.imageSrc,
3789
3790
  alt: "Hero Image",
3790
- class: "w-full h-full object-cover object-top max-h-96"
3791
+ class: "w-full h-full object-cover object-top max-h-96",
3792
+ loading: "lazy"
3791
3793
  }, null, 8, Kr)),
3792
3794
  i("section", Yr, [
3793
3795
  i("div", Zr, [
@@ -4629,6 +4631,11 @@ const zd = /* @__PURE__ */ S(To, [["render", jo]]), No = {
4629
4631
  beforeDestroy() {
4630
4632
  this.stopTimer();
4631
4633
  },
4634
+ watch: {
4635
+ timerStatus(r) {
4636
+ r === "running" ? this.startTimer() : this.stopTimer();
4637
+ }
4638
+ },
4632
4639
  computed: {
4633
4640
  status() {
4634
4641
  return this.isWaiting ? "waiting" : this.bout.Status;
@@ -4672,21 +4679,32 @@ const zd = /* @__PURE__ */ S(To, [["render", jo]]), No = {
4672
4679
  this.interval && clearInterval(this.interval), this.interval = null;
4673
4680
  }
4674
4681
  }
4675
- }, Oo = { class: "flex items-center justify-between rounded-lg w-full" }, Do = { class: "flex space-x-4 items-center" }, Ro = ["src"], Fo = {
4676
- key: 0,
4677
- class: "w-2/12 h-16 pt-3 text-center bg-primary"
4678
- }, Wo = { class: "flex justify-between space-x-4 ml-4 w-full" }, Go = { class: "flex" }, Uo = { class: "pt-1" }, Vo = { class: "pl-2" }, Ho = ["src"], qo = {
4682
+ }, Oo = {
4679
4683
  key: 0,
4680
4684
  class: "text-left"
4681
- };
4685
+ }, Do = { class: "flex items-center justify-between rounded-lg w-full" }, Ro = { class: "flex space-x-4 items-center" }, Fo = ["src"], Wo = {
4686
+ key: 0,
4687
+ class: "w-2/12 h-16 pt-3 text-center bg-primary"
4688
+ }, Go = { class: "flex justify-between space-x-4 ml-4 w-full" }, Uo = { class: "flex" }, Vo = { class: "pt-1" }, Ho = { class: "pl-2" }, qo = ["src"];
4682
4689
  function Ko(r, e, t, a, o, s) {
4683
4690
  const n = x("BaseText");
4684
4691
  return h(), f("section", null, [
4685
- i("div", Oo, [
4692
+ t.bout.customStatus && s.status !== "Active" ? (h(), f("div", Oo, [
4693
+ d(n, {
4694
+ size: "sm",
4695
+ color: "primary"
4696
+ }, {
4697
+ default: m(() => [
4698
+ u(p(t.bout.customStatus), 1)
4699
+ ]),
4700
+ _: 1
4701
+ })
4702
+ ])) : v("", !0),
4703
+ i("div", Do, [
4686
4704
  i("div", {
4687
4705
  class: B(["w-5/12 flex justify-between border-l border-t border-b p-2 bg-poolBox rounded-l-xl", [s.status !== "Active" ? "border-r" : ""]])
4688
4706
  }, [
4689
- i("div", Do, [
4707
+ i("div", Ro, [
4690
4708
  i("div", null, [
4691
4709
  i("div", {
4692
4710
  class: B(`w-4 h-4 rounded-full bg-${t.hostingClubColors.Color1} absolute mt-8 ml-9`)
@@ -4695,7 +4713,7 @@ function Ko(r, e, t, a, o, s) {
4695
4713
  src: s.fencer1Portrait,
4696
4714
  alt: "Portrait",
4697
4715
  class: "w-12 h-12 rounded-full"
4698
- }, null, 8, Ro)
4716
+ }, null, 8, Fo)
4699
4717
  ]),
4700
4718
  i("div", null, [
4701
4719
  d(n, {
@@ -4730,7 +4748,7 @@ function Ko(r, e, t, a, o, s) {
4730
4748
  _: 1
4731
4749
  })
4732
4750
  ], 2),
4733
- t.bout.Status === "Active" ? (h(), f("div", Fo, [
4751
+ t.bout.Status === "Active" ? (h(), f("div", Wo, [
4734
4752
  d(n, {
4735
4753
  size: "2xl",
4736
4754
  color: "white",
@@ -4745,7 +4763,7 @@ function Ko(r, e, t, a, o, s) {
4745
4763
  i("div", {
4746
4764
  class: B(["w-5/12 flex justify-between border-r border-t border-b p-2 bg-poolBox rounded-r-xl", [s.status !== "Active" ? "border-l" : ""]])
4747
4765
  }, [
4748
- i("div", Wo, [
4766
+ i("div", Go, [
4749
4767
  d(n, {
4750
4768
  size: "3xl",
4751
4769
  weight: "bold",
@@ -4756,8 +4774,8 @@ function Ko(r, e, t, a, o, s) {
4756
4774
  ]),
4757
4775
  _: 1
4758
4776
  }),
4759
- i("div", Go, [
4760
- i("div", Uo, [
4777
+ i("div", Uo, [
4778
+ i("div", Vo, [
4761
4779
  d(n, {
4762
4780
  size: "md",
4763
4781
  color: "primary",
@@ -4780,7 +4798,7 @@ function Ko(r, e, t, a, o, s) {
4780
4798
  _: 1
4781
4799
  })
4782
4800
  ]),
4783
- i("div", Vo, [
4801
+ i("div", Ho, [
4784
4802
  i("div", {
4785
4803
  class: B(`w-4 h-4 rounded-full bg-${t.hostingClubColors.Color2} absolute mt-8 mr-14`)
4786
4804
  }, null, 2),
@@ -4788,23 +4806,12 @@ function Ko(r, e, t, a, o, s) {
4788
4806
  src: s.fencer2Portrait,
4789
4807
  alt: "Portrait",
4790
4808
  class: "w-12 h-12 rounded-full"
4791
- }, null, 8, Ho)
4809
+ }, null, 8, qo)
4792
4810
  ])
4793
4811
  ])
4794
4812
  ])
4795
4813
  ], 2)
4796
- ]),
4797
- t.bout.customStatus && s.status !== "Active" ? (h(), f("div", qo, [
4798
- d(n, {
4799
- size: "sm",
4800
- color: "primary"
4801
- }, {
4802
- default: m(() => [
4803
- u(p(t.bout.customStatus), 1)
4804
- ]),
4805
- _: 1
4806
- })
4807
- ])) : v("", !0)
4814
+ ])
4808
4815
  ]);
4809
4816
  }
4810
4817
  const Yo = /* @__PURE__ */ S(No, [["render", Ko]]), Zo = {
@@ -4843,6 +4850,11 @@ const Yo = /* @__PURE__ */ S(No, [["render", Ko]]), Zo = {
4843
4850
  beforeDestroy() {
4844
4851
  this.stopTimer();
4845
4852
  },
4853
+ watch: {
4854
+ timerStatus(r) {
4855
+ r === "running" ? this.startTimer() : this.stopTimer();
4856
+ }
4857
+ },
4846
4858
  computed: {
4847
4859
  status() {
4848
4860
  return this.isWaiting ? "waiting" : this.bout.Status;
@@ -5110,13 +5122,15 @@ function Cn(r, e, t, a, o, s) {
5110
5122
  o.isMobile ? v("", !0) : (h(), W(n, {
5111
5123
  key: 0,
5112
5124
  bout: g,
5113
- hostingClubColors: t.hostingClubColors
5114
- }, null, 8, ["bout", "hostingClubColors"])),
5125
+ hostingClubColors: t.hostingClubColors,
5126
+ timerStatus: g.TimerStatus
5127
+ }, null, 8, ["bout", "hostingClubColors", "timerStatus"])),
5115
5128
  o.isMobile ? (h(), W(c, {
5116
5129
  key: 1,
5117
5130
  bout: g,
5118
- hostingClubColors: t.hostingClubColors
5119
- }, null, 8, ["bout", "hostingClubColors"])) : v("", !0)
5131
+ hostingClubColors: t.hostingClubColors,
5132
+ timerStatus: g.TimerStatus
5133
+ }, null, 8, ["bout", "hostingClubColors", "timerStatus"])) : v("", !0)
5120
5134
  ]))), 128))
5121
5135
  ])
5122
5136
  ])) : v("", !0),
@@ -7005,7 +7019,8 @@ function al(r, e, t, a, o, s) {
7005
7019
  key: 0,
7006
7020
  src: t.imageSrc,
7007
7021
  alt: "Hero Image",
7008
- class: "w-full h-full object-cover"
7022
+ class: "w-full h-full object-cover",
7023
+ loading: "lazy"
7009
7024
  }, null, 8, tl)),
7010
7025
  i("section", sl, [
7011
7026
  i("div", rl, [