@timum/booking 1.3.7 → 1.3.9

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.
@@ -1,4 +1,4 @@
1
- import { k as e, n as l, m as t } from "./index-34d12ed9.js";
1
+ import { k as e, n as l, m as t } from "./index-bbec6028.js";
2
2
  export {
3
3
  e as default,
4
4
  l as getTableBodyUtilityClass,
@@ -1,4 +1,4 @@
1
- import { h as e, j as l, i as t } from "./index-34d12ed9.js";
1
+ import { h as e, j as l, i as t } from "./index-bbec6028.js";
2
2
  export {
3
3
  e as default,
4
4
  l as getTableUtilityClass,
@@ -1,4 +1,4 @@
1
- import { b as a, B as e, g as l } from "./index-34d12ed9.js";
1
+ import { b as a, B as e, g as l } from "./index-bbec6028.js";
2
2
  export {
3
3
  a as buttonClasses,
4
4
  e as default,
@@ -1,4 +1,4 @@
1
- import { o as e, q as s, p as t } from "./index-34d12ed9.js";
1
+ import { o as e, q as s, p as t } from "./index-bbec6028.js";
2
2
  export {
3
3
  e as default,
4
4
  s as getTableCellUtilityClass,
@@ -1,4 +1,4 @@
1
- import { r as b, s as f, u as m, v as F, w as d, _ as C, x as l, y as n, z as T, A as v, C as x } from "./index-34d12ed9.js";
1
+ import { r as b, s as f, u as m, v as F, w as d, _ as C, x as l, y as n, z as T, A as v, C as x } from "./index-bbec6028.js";
2
2
  function y(o) {
3
3
  return b("MuiTableFooter", o);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { r as p, s as b, u as m, v as H, w as C, _ as T, x as r, y as n, z as f, A as h, C as v } from "./index-34d12ed9.js";
1
+ import { r as p, s as b, u as m, v as H, w as C, _ as T, x as r, y as n, z as f, A as h, C as v } from "./index-bbec6028.js";
2
2
  function x(e) {
3
3
  return p("MuiTableHead", e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { L as l, a as t, l as e } from "./index-34d12ed9.js";
1
+ import { L as l, a as t, l as e } from "./index-bbec6028.js";
2
2
  export {
3
3
  l as default,
4
4
  t as getLinkUtilityClass,
@@ -1,4 +1,4 @@
1
- import { T as t, f as p, t as y } from "./index-34d12ed9.js";
1
+ import { T as t, f as p, t as y } from "./index-bbec6028.js";
2
2
  export {
3
3
  t as default,
4
4
  p as getTypographyUtilityClass,
@@ -43668,27 +43668,27 @@ function yL(e, t) {
43668
43668
  return n;
43669
43669
  }
43670
43670
  var X7 = ce.lazy(function() {
43671
- return import("./index-5889f095.js");
43671
+ return import("./index-34a34127.js");
43672
43672
  }), J7 = ce.lazy(function() {
43673
- return import("./index-96a3208f.js");
43673
+ return import("./index-b003abf0.js");
43674
43674
  });
43675
43675
  ce.lazy(function() {
43676
- return import("./index-904b443c.js");
43676
+ return import("./index-ed275a4e.js");
43677
43677
  });
43678
43678
  var wl = ce.lazy(function() {
43679
- return import("./index-416fb863.js");
43679
+ return import("./index-b2aea804.js");
43680
43680
  }), LCe = ce.lazy(function() {
43681
- return import("./index-7794ed3e.js");
43681
+ return import("./index-29f62622.js");
43682
43682
  }), FCe = ce.lazy(function() {
43683
- return import("./index-11b6d28e.js");
43683
+ return import("./index-249cc842.js");
43684
43684
  }), eA = ce.lazy(function() {
43685
- return import("./index-4c286dca.js");
43685
+ return import("./index-9359193c.js");
43686
43686
  }), zCe = ce.lazy(function() {
43687
- return import("./index-723e0158.js");
43687
+ return import("./index-a2a61e0d.js");
43688
43688
  }), BCe = ce.lazy(function() {
43689
- return import("./index-3cfe33af.js");
43689
+ return import("./index-acf0708a.js");
43690
43690
  }), HCe = ce.lazy(function() {
43691
- return import("./index-4b3b5a08.js");
43691
+ return import("./index-bd668c9b.js");
43692
43692
  }), UCe = ce.lazy(function() {
43693
43693
  return Promise.resolve().then(function() {
43694
43694
  return VCe;
@@ -44298,43 +44298,54 @@ function $L() {
44298
44298
  Fi,
44299
44299
  {
44300
44300
  sx: {
44301
- mt: "8px",
44302
- height: "20px",
44303
- width: "100%",
44304
- // backgroundColor: 'grey.50',
44301
+ height: "28px !important",
44302
+ width: "100% !important",
44303
+ position: "sticky !important",
44304
+ bottom: "0 !important",
44305
+ display: "flex",
44306
+ backgroundColor: "#fff",
44305
44307
  zIndex: (e) => e.zIndex.drawer + 1
44306
44308
  // borderTopWidth: '1px',
44307
44309
  // borderTopStyle: 'solid',
44308
44310
  // borderColor: 'grey.100',
44309
44311
  },
44310
- children: /* @__PURE__ */ _(tt, { container: !0, justifyContent: "flex-end", sx: { height: "inherit" }, children: /* @__PURE__ */ _(tt, { item: !0, children: /* @__PURE__ */ be(
44311
- yN,
44312
+ children: /* @__PURE__ */ _(
44313
+ tt,
44312
44314
  {
44313
- color: "text.secondary",
44314
- variant: "caption",
44315
- underline: "none",
44316
- target: "_blank",
44317
- href: `http://timum.de?utm_medium=link&utm_source=${window.location.hostname.replace(
44318
- /\./g,
44319
- "-"
44320
- )}&utm_campaign=bookingjs2&utm_content=powered-by`,
44321
- sx: {
44322
- pr: 1,
44323
- /* make it harder for people to hide this who aren't allowed to do it */
44324
- fontSize: "10px",
44325
- lineHeight: "20px",
44326
- position: "static!important",
44327
- display: "block!important",
44328
- visibility: "visible!important",
44329
- opacity: "1.0!important"
44330
- },
44331
- children: [
44332
- "powered by",
44333
- " ",
44334
- /* @__PURE__ */ _(Fi, { fontWeight: 900, display: "inline", children: "timum" })
44335
- ]
44315
+ container: !0,
44316
+ justifyContent: "flex-end",
44317
+ alignContent: "center",
44318
+ sx: { height: "inherit", pr: 2 },
44319
+ children: /* @__PURE__ */ _(tt, { item: !0, children: /* @__PURE__ */ be(
44320
+ yN,
44321
+ {
44322
+ color: "text.secondary",
44323
+ variant: "caption",
44324
+ underline: "none",
44325
+ target: "_blank",
44326
+ href: `http://timum.de?utm_medium=link&utm_source=${window.location.hostname.replace(
44327
+ /\./g,
44328
+ "-"
44329
+ )}&utm_campaign=bookingjs2&utm_content=powered-by`,
44330
+ sx: {
44331
+ pr: 1,
44332
+ /* make it harder for people to hide this who aren't allowed to do it */
44333
+ fontSize: "10px !important",
44334
+ lineHeight: "20px !important",
44335
+ position: "static!important",
44336
+ display: "block!important",
44337
+ visibility: "visible!important",
44338
+ opacity: "1.0!important"
44339
+ },
44340
+ children: [
44341
+ "powered by",
44342
+ " ",
44343
+ /* @__PURE__ */ _(Fi, { fontWeight: 900, display: "inline", children: "timum" })
44344
+ ]
44345
+ }
44346
+ ) })
44336
44347
  }
44337
- ) }) })
44348
+ )
44338
44349
  }
44339
44350
  );
44340
44351
  }
@@ -47777,7 +47788,7 @@ function c1({
47777
47788
  );
47778
47789
  }
47779
47790
  c1.propTypes = {
47780
- bookables: Re.array.isRequired,
47791
+ bookables: Re.object.isRequired,
47781
47792
  product: Re.object,
47782
47793
  products: Re.array.isRequired,
47783
47794
  openProductPage: Re.func.isRequired,
@@ -48435,9 +48446,9 @@ const tl = 14, Sl = '"Helvetica Neue", Helvetica, Arial, sans-serif', BTe = 1.42
48435
48446
  "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": {
48436
48447
  borderRadius: 8,
48437
48448
  backgroundColor: "#bfbfbf",
48438
- minHeight: 16,
48439
- width: 8,
48440
- border: "3px solid #ffffff"
48449
+ minHeight: 8,
48450
+ width: 3,
48451
+ border: "5px solid #ffffff"
48441
48452
  },
48442
48453
  "&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus": {
48443
48454
  backgroundColor: "#8f8f8f"
@@ -62368,23 +62379,82 @@ const aIe = eu`
62368
62379
  filter: var(--icon-filter);
62369
62380
  }
62370
62381
  `, sIe = eu`
62371
- .fc-toolbar.fc-header-toolbar {
62372
- font-size: 0.85em;
62382
+ :root {
62383
+ --fc-border-color: #efefef;
62384
+ --fc-button-text-color: #2c2f34;
62385
+ --fc-button-bg-color: transparent;
62386
+ --fc-button-border-color: #d0d0d0;
62387
+ --fc-button-hover-bg-color: #e2f0fc;
62388
+ --fc-button-active-bg-color: #94adc3;
62389
+ --fc-event-bg-color: #fff;
62390
+ --fc-event-text-color: #555;
62391
+ --fc-event-border-color: #fff;
62392
+ --fc-today-bg-color: transparent;
62393
+ --fc-event-shadow-color: #d0d0d0;
62394
+ }
62395
+ .fc .fc-today-button {
62396
+ border: 0px;
62397
+ }
62398
+ .fc .fc-prev-button {
62399
+ border: 0px;
62400
+ }
62401
+ .fc .fc-next-button {
62402
+ border: 0px;
62403
+ }
62404
+ .fc .fc-button-primary:focus {
62405
+ box-shadow: 0 0 0 0rem #4c5b6a80 !important;
62406
+ }
62407
+ .fc .fc-toolbar.fc-header-toolbar {
62408
+ flex-direction: row !important; /* for alle view port sizes */
62409
+ margin-bottom: 0.3em !important;
62410
+ }
62411
+ .fc .fc-toolbar-title {
62412
+ font-size: 1.2em !important;
62413
+ }
62414
+ .fc .fc-col-header-cell-cushion {
62415
+ /*column label*/
62416
+ display: inline-block;
62417
+ padding: 2px 4px;
62418
+ font-size: 0.8em !important;
62419
+ color: #888;
62420
+ font-weight: normal;
62373
62421
  }
62374
- .fc-toolbar-title {
62375
- font-size: 1.5em !important;
62422
+ .fc .fc-timegrid-slot-label-cushion {
62423
+ /*row label*/
62424
+ font-size: 0.8em;
62425
+ color: #888;
62426
+ }
62427
+ .fc .fc-timegrid-slot-minor {
62428
+ border-top-width: 0px;
62429
+ }
62430
+ .fc .fc-timegrid-slot-lane {
62431
+ border-top-width: 1px;
62432
+ border-top-color: #f1f1f1;
62433
+ border-top-style: dotted;
62434
+ }
62435
+ .fc .fc-v-event {
62436
+ cursor: pointer;
62437
+ box-shadow: 0px 0px 3px 1px var(--fc-event-shadow-color);
62438
+ }
62439
+ .fc .fc-v-event:hover {
62440
+ cursor: pointer;
62441
+ background-color: var(--fc-button-hover-bg-color);
62442
+ border: 1px solid var(--fc-button-hover-bg-color);
62443
+ box-shadow: 0px 0px 3px 1px (--fc-event-shadow-color);
62444
+ }
62445
+ .fc .fc-v-event .fc-event-time {
62446
+ font-size: 1em;
62447
+ text-align: center;
62448
+ width: 100%;
62449
+ }
62450
+
62451
+ .fc .fc-v-event .fc-event-time:after {
62452
+ display: none;
62453
+ }
62454
+
62455
+ .fc .fc-v-event .fc-event-title {
62456
+ display: none;
62376
62457
  }
62377
- @media screen and (max-width: 601px) {
62378
- .fc-toolbar.fc-header-toolbar {
62379
- font-size: 0.8em;
62380
- flex-direction: column;
62381
- }
62382
- .fc-toolbar-chunk {
62383
- display: table-row;
62384
- text-align: center;
62385
- padding: 5px 0;
62386
- }
62387
- } ;
62388
62458
  `;
62389
62459
  function lIe() {
62390
62460
  const e = Ge(
@@ -62429,12 +62499,19 @@ function hIe({ appConfig: e = {}, muiTheme: t = {}, fcConfig: n = {} }) {
62429
62499
  return [];
62430
62500
  const S = [];
62431
62501
  for (const [, $] of Object.entries(s))
62432
- for (const E of $)
62433
- E.start = E.start.toISO({
62434
- suppressMilliseconds: !0
62435
- }), E.end = E.end.toISO({
62436
- suppressMilliseconds: !0
62437
- }), S.push(E);
62502
+ for (const E of $) {
62503
+ const T = {
62504
+ start: E.start.toISO({
62505
+ suppressMilliseconds: !0
62506
+ }),
62507
+ end: E.end.toISO({
62508
+ suppressMilliseconds: !0
62509
+ }),
62510
+ title: "",
62511
+ extendedProps: E
62512
+ };
62513
+ S.push(T);
62514
+ }
62438
62515
  return S;
62439
62516
  };
62440
62517
  return /* @__PURE__ */ _(YQ, { ref: v, children: /* @__PURE__ */ _(
@@ -62461,7 +62538,7 @@ function hIe({ appConfig: e = {}, muiTheme: t = {}, fcConfig: n = {} }) {
62461
62538
  },
62462
62539
  headerToolbar: {
62463
62540
  left: "productSelection",
62464
- center: "title",
62541
+ center: "",
62465
62542
  right: "today prev,next"
62466
62543
  },
62467
62544
  noEventsText: g("noEventsMessage"),
@@ -1,4 +1,4 @@
1
- import { D as e, F as l, E as t } from "./index-34d12ed9.js";
1
+ import { D as e, F as l, E as t } from "./index-bbec6028.js";
2
2
  export {
3
3
  e as default,
4
4
  l as getTableRowUtilityClass,
@@ -1,4 +1,4 @@
1
- import { c as e, e as a, d as l } from "./index-34d12ed9.js";
1
+ import { c as e, e as a, d as l } from "./index-bbec6028.js";
2
2
  export {
3
3
  e as default,
4
4
  a as getListItemTextUtilityClass,
@@ -9,9 +9,9 @@
9
9
 
10
10
  <body>
11
11
  <div id="bookingjs" style="margin: 15px"></div>
12
- <script type="text/javascript" src="../build/booking.umd.js"></script>
12
+ <script type="text/javascript" src="../build/booking.umd.cjs"></script>
13
13
  <script
14
- type="text/javascript">timum.init({ ref: "booking-widget-demo-resource@timum", calendarFrontend: "fullCalendar" }); </script>
14
+ type="text/javascript">timum.init({ ref: "39@b51c8a60-c607-11ec-9249-0239547cf090@onofficeEstate", calendarFrontend: "fullCalendar", height: 1000 }); </script>
15
15
  </body>
16
16
 
17
17
  </html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timum/booking",
3
- "version": "1.3.7",
4
- "next_version": "1.3.7",
3
+ "version": "1.3.9",
4
+ "next_version": "1.3.9",
5
5
  "current_major_version": "1",
6
6
  "license": "CC-BY-ND-4.0",
7
7
  "type": "module",