@timum/booking 1.13.0 → 1.13.2

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.
@@ -15225,16 +15225,18 @@ const Ls = 44, uie = zl(XC || (XC = tv`
15225
15225
  }), x4 = gie;
15226
15226
  function w4({
15227
15227
  visible: e,
15228
- backdropSx: t,
15229
- circleSx: n,
15230
- size: r,
15231
- children: i
15228
+ wrapperSx: t,
15229
+ backdropSx: n,
15230
+ circleSx: r,
15231
+ size: i,
15232
+ children: o
15232
15233
  }) {
15233
15234
  return /* @__PURE__ */ C.jsxs(
15234
15235
  _r,
15235
15236
  {
15236
15237
  sx: {
15237
- position: "relative"
15238
+ position: "relative",
15239
+ ...t
15238
15240
  },
15239
15241
  children: [
15240
15242
  /* @__PURE__ */ C.jsx(
@@ -15246,24 +15248,24 @@ function w4({
15246
15248
  position: "absolute",
15247
15249
  pointerEvents: e ? "all" : "none",
15248
15250
  backgroundColor: "#ffffffc5",
15249
- zIndex: (o) => o.zIndex.drawer + 1,
15250
- ...t
15251
+ zIndex: (s) => s.zIndex.drawer + 1,
15252
+ ...n
15251
15253
  },
15252
15254
  open: e,
15253
15255
  children: /* @__PURE__ */ C.jsx(
15254
15256
  x4,
15255
15257
  {
15256
15258
  color: "secondary",
15257
- size: r,
15259
+ size: i,
15258
15260
  sx: {
15259
- zIndex: (o) => o.zIndex.drawer + 2,
15260
- ...n
15261
+ zIndex: (s) => s.zIndex.drawer + 2,
15262
+ ...r
15261
15263
  }
15262
15264
  }
15263
15265
  )
15264
15266
  }
15265
15267
  ),
15266
- i
15268
+ o
15267
15269
  ]
15268
15270
  }
15269
15271
  );
@@ -61165,6 +61167,7 @@ function QLe(e) {
61165
61167
  children: /* @__PURE__ */ C.jsx(Nb, { CalendarView: nR })
61166
61168
  }
61167
61169
  ),
61170
+ t && // only show this error if we actually have some data
61168
61171
  r !== "fullCalendar" && r !== "detailsFullCalendar" && r !== "condensedView" && r !== "detailsCondensedView" && r !== "detailsListView" && r !== "listView" && r !== "pureListView" && /* @__PURE__ */ C.jsx(ZLe, { children: /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
61169
61172
  "You must set calendarFrontend either to ",
61170
61173
  /* @__PURE__ */ C.jsx("code", { children: "fullCalendar" }),
@@ -62235,7 +62238,7 @@ function t3(e) {
62235
62238
  ), x = r.get("conf");
62236
62239
  x && (x = MFe(x), d = x.ref || [], a = x.channelKey, i = x.pData, f = x.tslRefs || [], h = x.prdRefs || [], g = x.urlCulture, m = x.virtualTslRefs || [], v = x.postMessageTarget, b = x.enableShowAllResourcesOption);
62237
62240
  const w = t.queryHash || window.location.hash, [, , S] = (w == null ? void 0 : w.split("/")) ?? [];
62238
- if ((i || o) && (t.pData = i ?? o), a && (t.channelKey = a), d && d.length > 0 && (t.ref = d), f && f.length > 0 && (t.tslRefs = f), m && m.length > 0 && (t.virtualTslRefs = m), h && h.length > 0 && (t.prdRefs = h), g && (t.culture = g), v && (t.postMessageTarget = v), b && (t.enableShowAllResourcesOption = b), nn.isArray(t.ref) ? t.ref = [...t.ref] : t.ref ? t.ref = [t.ref] : t.ref = [], nn.isArray(t.tslRefs) ? t.tslRefs = [...t.tslRefs] : t.tslRefs ? t.tslRefs = [t.tslRefs] : t.tslRefs = [], nn.isArray(t.prdRefs) ? t.prdRefs = [...t.prdRefs] : t.prdRefs ? t.prdRefs = [t.prdRefs] : t.prdRefs = [], (!t.ref || t.ref.length === 0) && (!t.tslRefs || t.tslRefs.length === 0)) {
62241
+ if ((i || o) && (t.pData = i ?? o), a && (t.channelKey = a), d && d.length > 0 && (t.ref = d), f && f.length > 0 && (t.tslRefs = f), m && m.length > 0 && (t.virtualTslRefs = m), h && h.length > 0 && (t.prdRefs = h), g && (t.culture = g), v && (t.postMessageTarget = v), b && (t.enableShowAllResourcesOption = b), nn.isArray(t.ref) ? t.ref = [...t.ref] : t.ref ? t.ref = [t.ref] : t.ref = [], nn.isArray(t.tslRefs) ? t.tslRefs = [...t.tslRefs] : t.tslRefs ? t.tslRefs = [t.tslRefs] : t.tslRefs = [], nn.isArray(t.prdRefs) ? t.prdRefs = [...t.prdRefs] : t.prdRefs ? t.prdRefs = [t.prdRefs] : t.prdRefs = [], (!t.ref || t.ref.length === 0) && (!t.tslRefs || t.tslRefs.length === 0) && (!t.virtualTslRefs || t.virtualTslRefs.length === 0)) {
62239
62242
  console.log(
62240
62243
  "timum hides itself. No reference in either url or options detected."
62241
62244
  );
@@ -65142,26 +65145,39 @@ function OBe() {
65142
65145
  }, [e]);
65143
65146
  }
65144
65147
  function PBe({ appConfig: e = {}, muiTheme: t = {}, fcConfig: n = {} }) {
65145
- return /* @__PURE__ */ C.jsx(C.Fragment, { children: /* @__PURE__ */ C.jsx(LG, { fallback: /* @__PURE__ */ C.jsx(w4, { visible: !0 }), children: /* @__PURE__ */ C.jsx(bO, { injectFirst: !0, children: /* @__PURE__ */ C.jsx(
65146
- qre,
65148
+ return /* @__PURE__ */ C.jsx(C.Fragment, { children: /* @__PURE__ */ C.jsx(
65149
+ LG,
65147
65150
  {
65148
- maxSnack: 3,
65149
- autoHideDuration: 3e3,
65150
- anchorOrigin: { horizontal: "right", vertical: "bottom" },
65151
- children: /* @__PURE__ */ C.jsx(hJ, { store: IFe, children: /* @__PURE__ */ C.jsxs(
65152
- EB,
65151
+ fallback: /* @__PURE__ */ C.jsx(
65152
+ w4,
65153
65153
  {
65154
- muiTheme: t,
65155
- fcConfig: n,
65156
- appConfig: e,
65157
- children: [
65158
- /* @__PURE__ */ C.jsx(OBe, {}),
65159
- /* @__PURE__ */ C.jsx(gJ, { children: /* @__PURE__ */ C.jsx(QLe, {}) })
65160
- ]
65154
+ visible: !0,
65155
+ circleSx: { color: "#777" },
65156
+ wrapperSx: { height: e != null && e.height ? e == null ? void 0 : e.height : 500 }
65157
+ }
65158
+ ),
65159
+ children: /* @__PURE__ */ C.jsx(bO, { injectFirst: !0, children: /* @__PURE__ */ C.jsx(
65160
+ qre,
65161
+ {
65162
+ maxSnack: 3,
65163
+ autoHideDuration: 3e3,
65164
+ anchorOrigin: { horizontal: "right", vertical: "bottom" },
65165
+ children: /* @__PURE__ */ C.jsx(hJ, { store: IFe, children: /* @__PURE__ */ C.jsxs(
65166
+ EB,
65167
+ {
65168
+ muiTheme: t,
65169
+ fcConfig: n,
65170
+ appConfig: e,
65171
+ children: [
65172
+ /* @__PURE__ */ C.jsx(OBe, {}),
65173
+ /* @__PURE__ */ C.jsx(gJ, { children: /* @__PURE__ */ C.jsx(QLe, {}) })
65174
+ ]
65175
+ }
65176
+ ) })
65161
65177
  }
65162
65178
  ) })
65163
65179
  }
65164
- ) }) }) });
65180
+ ) });
65165
65181
  }
65166
65182
  function rze(e, t, n, r) {
65167
65183
  let i = r == null ? void 0 : r.getElementById(