@timum/booking 1.6.1 → 1.6.3

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/build/booking.js CHANGED
@@ -47747,15 +47747,12 @@ function H0({
47747
47747
  children: /* @__PURE__ */ $.jsx(JW, {})
47748
47748
  }
47749
47749
  ),
47750
- i && /* @__PURE__ */ $.jsxs(
47750
+ i && /* @__PURE__ */ $.jsx(
47751
47751
  f,
47752
47752
  {
47753
47753
  open: b.open,
47754
47754
  onClose: b.onClose,
47755
- children: [
47756
- /* @__PURE__ */ $.jsx(yq, {}),
47757
- ";"
47758
- ]
47755
+ children: /* @__PURE__ */ $.jsx(yq, {})
47759
47756
  }
47760
47757
  ),
47761
47758
  o && /* @__PURE__ */ $.jsx(
@@ -66447,26 +66444,26 @@ const sKe = Hf`
66447
66444
  }
66448
66445
  `, aKe = Hf`
66449
66446
  :root {
66450
- --fc-border-color: #efefef;
66451
- --fc-button-text-color: #2c2f34;
66452
- --fc-button-bg-color: transparent;
66453
- --fc-button-border-color: #d0d0d0;
66454
- --fc-button-hover-bg-color: #e2f0fc;
66455
- --fc-button-active-bg-color: #94adc3;
66456
- --fc-event-bg-color: #fff;
66457
- --fc-event-text-color: #555;
66458
- --fc-event-border-color: #fff;
66459
- --fc-today-bg-color: transparent;
66460
- --fc-event-shadow-color: #d0d0d0;
66447
+ --fc-border-color: #efefef !important;
66448
+ --fc-button-text-color: #2c2f34 !important;
66449
+ --fc-button-bg-color: transparent !important;
66450
+ --fc-button-border-color: #d0d0d0 !important;
66451
+ --fc-button-hover-bg-color: #e2f0fc !important;
66452
+ --fc-button-active-bg-color: #94adc3 !important;
66453
+ --fc-event-bg-color: #fff !important;
66454
+ --fc-event-text-color: #555 !important;
66455
+ --fc-event-border-color: #fff !important;
66456
+ --fc-today-bg-color: transparent !important;
66457
+ --fc-event-shadow-color: #d0d0d0 !important;
66461
66458
  }
66462
66459
  .fc .fc-today-button {
66463
- border: 0px;
66460
+ border: 0px !important;
66464
66461
  }
66465
66462
  .fc .fc-prev-button {
66466
- border: 0px;
66463
+ border: 0px !important;
66467
66464
  }
66468
66465
  .fc .fc-next-button {
66469
- border: 0px;
66466
+ border: 0px !important;
66470
66467
  }
66471
66468
  .fc .fc-button-primary:focus {
66472
66469
  box-shadow: 0 0 0 0rem #4c5b6a80 !important;
@@ -66480,77 +66477,82 @@ const sKe = Hf`
66480
66477
  }
66481
66478
  @media (max-width: 767px) {
66482
66479
  .fc-toolbar.fc-header-toolbar {
66483
- font-size: 80%;
66480
+ font-size: 80% !important;
66484
66481
  }
66485
66482
  }
66486
66483
  @media (max-width: 767px) {
66487
66484
  .fc-footer-toolbar.fc-toolbar {
66488
- font-size: 80%;
66489
- margin-top: 0.5em;
66485
+ font-size: 80% !important;
66486
+ margin-top: 0.5em !important;
66490
66487
  }
66491
66488
  }
66492
66489
 
66493
66490
  .fc .fc-col-header-cell-cushion {
66494
66491
  /*column label*/
66495
- display: inline-block;
66496
- padding: 2px 4px;
66492
+ display: inline-block !important;
66493
+ padding: 2px 4px !important;
66497
66494
  font-size: 0.8em !important;
66498
- color: #888;
66499
- font-weight: normal;
66495
+ color: #888 !important;
66496
+ font-weight: normal !important;
66500
66497
  }
66501
66498
  .fc .fc-timegrid-slot-label-cushion {
66502
66499
  /*row label*/
66503
- font-size: 0.8em;
66504
- color: #888;
66500
+ font-size: 0.8em !important;
66501
+ color: #888 !important;
66505
66502
  }
66506
66503
  .fc .fc-timegrid-slot-minor {
66507
- border-top-width: 0px;
66504
+ border-top-width: 0px !important;
66508
66505
  }
66509
66506
  .fc .fc-timegrid-slot-lane {
66510
- border-top-width: 1px;
66511
- border-top-color: #f1f1f1;
66512
- border-top-style: dotted;
66507
+ border-top-width: 1px !important;
66508
+ border-top-color: #f1f1f1 !important;
66509
+ border-top-style: dotted !important;
66513
66510
  }
66514
66511
  .fc .fc-v-event {
66515
- cursor: pointer;
66516
- box-shadow: 0px 0px 3px 1px var(--fc-event-shadow-color);
66512
+ cursor: pointer !important;
66513
+ box-shadow: 0px 0px 3px 1px var(--fc-event-shadow-color) !important;
66517
66514
  }
66518
66515
  .fc .fc-v-event:hover {
66519
- cursor: pointer;
66520
- background-color: var(--fc-button-hover-bg-color);
66521
- border: 1px solid var(--fc-button-hover-bg-color);
66522
- box-shadow: 0px 0px 3px 1px (--fc-event-shadow-color);
66516
+ cursor: pointer !important;
66517
+ background-color: var(--fc-button-hover-bg-color) !important;
66518
+ border: 1px solid var(--fc-button-hover-bg-color) !important;
66519
+ box-shadow: 0px 0px 3px 1px (--fc-event-shadow-color) !important;
66523
66520
  }
66524
66521
 
66525
66522
  .fc .fc-v-event .fc-event-time {
66526
- text-align: center;
66527
- width: 100%;
66523
+ text-align: center !important;
66524
+ width: 100% !important;
66528
66525
  }
66529
66526
 
66530
66527
  .fc .fc-v-event .fc-event-main {
66531
- container-type: size;
66532
- container-name: custom-event-container;
66528
+ container-type: size !important;
66529
+ container-name: custom-event-container !important;
66530
+ }
66531
+
66532
+ .fc .fc-event-title {
66533
+ text-align: center !important;
66534
+ width: 100% !important;
66533
66535
  }
66534
66536
 
66535
66537
  @container custom-event-container (height < 22px) {
66536
66538
  .fc .fc-v-event .fc-event-time {
66537
- line-height: 1em;
66538
- font-size: 0.8em;
66539
+ line-height: 1em !important;
66540
+ font-size: 0.8em !important;
66539
66541
  }
66540
66542
  }
66541
66543
  @container custom-event-container (width < 15px) {
66542
66544
  .fc .fc-v-event .fc-event-time {
66543
- line-height: 1em;
66544
- font-size: 0.7em;
66545
+ line-height: 1em !important;
66546
+ font-size: 0.7em !important;
66545
66547
  }
66546
66548
  }
66547
66549
 
66548
66550
  .fc .fc-v-event .fc-event-time:after {
66549
- display: none;
66551
+ display: none !important;
66550
66552
  }
66551
66553
 
66552
66554
  .fc .fc-v-event .fc-event-title {
66553
- display: none;
66555
+ display: none !important;
66554
66556
  }
66555
66557
  `;
66556
66558
  function lKe() {
@@ -67189,8 +67191,8 @@ const Yl = 14, du = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
67189
67191
  );
67190
67192
  if (ie.useEffect(() => {
67191
67193
  var b;
67192
- (b = window == null ? void 0 : window.parent) != null && b.document && (window.parent.document.rerenderTimumBooking = w);
67193
- }, [w]), ie.useEffect(() => {
67194
+ (b = window == null ? void 0 : window.parent) != null && b.document && (n != null && n.isComponent) && (window.parent.document.rerenderTimumBooking = w);
67195
+ }, [w, n]), ie.useEffect(() => {
67194
67196
  const b = gN(n);
67195
67197
  b && (vN(
67196
67198
  b,
@@ -70188,7 +70190,7 @@ function WQe(e, t, n) {
70188
70190
  function qQe({ appConfig: e, muiTheme: t, fcConfig: n }) {
70189
70191
  var i, o;
70190
70192
  const r = e.cdnUrl ?? "https://cdn.timum.de/bookingjs/1/booking.js";
70191
- if (e.queryString = window.location.search, e.queryHash = window.location.hash, !sn.isEqual(document.appConfig, e) || !sn.isEqual(document.muiTheme, t) || !sn.isEqual(document.fcConfig, n)) {
70193
+ if (e.queryString = window.location.search, e.queryHash = window.location.hash, e.isComponent = !0, !sn.isEqual(document.appConfig, e) || !sn.isEqual(document.muiTheme, t) || !sn.isEqual(document.fcConfig, n)) {
70192
70194
  const s = (o = (i = window == null ? void 0 : window.parent) == null ? void 0 : i.document) == null ? void 0 : o.rerenderTimumBooking;
70193
70195
  s && s({ ...e }, { ...t }, { ...n });
70194
70196
  }