@aaravpos/appointment-booking-plugin 5.0.5 → 5.0.6

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/index.js CHANGED
@@ -4294,8 +4294,8 @@ function Nd({ buttonText: e, onButtonClick: t, showTaxesOnlyIfTime: r = !1, show
4294
4294
  b
4295
4295
  ]), he = oe.reduce((k, M) => k + Number(M.price || M.min_price) * (M.qty || 1), 0), Ne = oe.reduce((k, M) => k + Number(M.duration) * (M.qty || 1), 0), te = Math.ceil(Ne / ue), fe = (k) => {
4296
4296
  if (!ie.length) return "";
4297
- const M = ie[k]?.start_time, V = ie[k + te - 1];
4298
- return !M || !V ? "" : `${M} - ${V.end_time || V.start_time}`;
4297
+ const M = ie[k]?.start_time_12h, V = ie[k + te - 1];
4298
+ return !M || !V ? "" : `${M} - ${V.end_time_12h || V.start_time_12h}`;
4299
4299
  }, Fe = p || {
4300
4300
  day: S.day,
4301
4301
  month: S.month,
@@ -19071,8 +19071,8 @@ function Ov() {
19071
19071
  ...p?.evening ?? []
19072
19072
  ], ml = pn.reduce((_, T) => _ + Number(T.duration ?? 0), 0), hl = Math.ceil(ml / Pv), vl = (_) => {
19073
19073
  if (!mn.length) return "";
19074
- const T = mn[_]?.start_time, j = mn[_ + hl - 1];
19075
- return !T || !j ? "" : `${T} - ${j.end_time ?? j.start_time}`;
19074
+ const T = mn[_]?.start_time_12h, j = mn[_ + hl - 1];
19075
+ return !T || !j ? "" : `${T} - ${j.end_time_12h ?? j.start_time_12h}`;
19076
19076
  }, qa = {
19077
19077
  day: Number(f?.day ?? N.day),
19078
19078
  month: Number(f?.month ?? N.month),
@@ -19938,7 +19938,7 @@ function Av() {
19938
19938
  n.appointmentDate,
19939
19939
  " at",
19940
19940
  " ",
19941
- n.startTime
19941
+ n.start_time_12h
19942
19942
  ]
19943
19943
  })]
19944
19944
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaravpos/appointment-booking-plugin",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "A React component library built with CSS v4 and TypeScript",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.33.0",