@timum/booking 1.14.4 → 1.14.5
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 +212 -189
- package/build/booking.umd.cjs +2 -2
- package/build/component/booking.js +1095 -1072
- package/build/component/booking.umd.cjs +30 -30
- package/package.json +2 -2
package/build/booking.js
CHANGED
|
@@ -53335,24 +53335,35 @@ function pm({
|
|
|
53335
53335
|
)
|
|
53336
53336
|
] });
|
|
53337
53337
|
}
|
|
53338
|
-
const lx = ({ showSkeleton: e, skeleton: t,
|
|
53338
|
+
const lx = ({ showSkeleton: e, skeleton: t, children: n }) => /* @__PURE__ */ $.jsxs(
|
|
53339
53339
|
It,
|
|
53340
53340
|
{
|
|
53341
53341
|
sx: {
|
|
53342
53342
|
width: "100%",
|
|
53343
|
-
|
|
53344
|
-
|
|
53343
|
+
// Fill the width of parent
|
|
53344
|
+
display: "inline-block",
|
|
53345
|
+
// Make the container fit content
|
|
53346
|
+
position: "relative",
|
|
53347
|
+
// Relative position for stacking
|
|
53348
|
+
overflow: "hidden"
|
|
53349
|
+
// Hide overflow for skeleton
|
|
53345
53350
|
},
|
|
53346
53351
|
children: [
|
|
53347
53352
|
/* @__PURE__ */ $.jsx(f2, { in: e, children: /* @__PURE__ */ $.jsx(
|
|
53348
53353
|
It,
|
|
53349
53354
|
{
|
|
53350
53355
|
sx: {
|
|
53356
|
+
height: "100%",
|
|
53357
|
+
// Fill the height of parent
|
|
53358
|
+
minHeight: n ? "0" : "auto",
|
|
53359
|
+
// Allow it to collapse when there are no children
|
|
53360
|
+
position: "absolute",
|
|
53361
|
+
// Position skeleton absolutely
|
|
53351
53362
|
top: "0",
|
|
53352
|
-
|
|
53363
|
+
// Stack it on top
|
|
53353
53364
|
left: "0",
|
|
53354
53365
|
right: "0",
|
|
53355
|
-
|
|
53366
|
+
bottom: "0"
|
|
53356
53367
|
},
|
|
53357
53368
|
children: t
|
|
53358
53369
|
}
|
|
@@ -53361,13 +53372,14 @@ const lx = ({ showSkeleton: e, skeleton: t, height: n = "100%", children: r }) =
|
|
|
53361
53372
|
It,
|
|
53362
53373
|
{
|
|
53363
53374
|
sx: {
|
|
53364
|
-
|
|
53365
|
-
|
|
53366
|
-
|
|
53367
|
-
|
|
53368
|
-
|
|
53375
|
+
height: "auto",
|
|
53376
|
+
// Allow children to define height
|
|
53377
|
+
position: "relative",
|
|
53378
|
+
// Position relative to parent
|
|
53379
|
+
zIndex: 1
|
|
53380
|
+
// Ensure children are above skeleton
|
|
53369
53381
|
},
|
|
53370
|
-
children:
|
|
53382
|
+
children: n
|
|
53371
53383
|
}
|
|
53372
53384
|
) })
|
|
53373
53385
|
]
|
|
@@ -53404,185 +53416,193 @@ function _4(e) {
|
|
|
53404
53416
|
return ((D = i == null ? void 0 : i.resource) == null ? void 0 : D.uuid) !== "all-option";
|
|
53405
53417
|
}, [(O = i == null ? void 0 : i.resource) == null ? void 0 : O.uuid]), y = () => {
|
|
53406
53418
|
var D, L, j, z, V, P, B, Y, U, Z, J, ae, xe, ve, me, ye, Ce, Fe, De, Ze, st, Le;
|
|
53407
|
-
return /* @__PURE__ */ $.jsx(
|
|
53408
|
-
|
|
53409
|
-
|
|
53410
|
-
|
|
53411
|
-
|
|
53412
|
-
|
|
53413
|
-
|
|
53414
|
-
|
|
53415
|
-
|
|
53416
|
-
sx: { position: "sticky", top: 0, background: "#fff" },
|
|
53417
|
-
children: /* @__PURE__ */ $.jsx(_e, { variant: "h4", component: "h2", sx: { m: 0 }, children: ((D = i == null ? void 0 : i.resource) == null ? void 0 : D.name) || t("detailsView.res_name_placeholder") })
|
|
53418
|
-
}
|
|
53419
|
-
),
|
|
53420
|
-
w() && /* @__PURE__ */ $.jsx(ue, { item: !0, xs: "auto", pb: 1, children: /* @__PURE__ */ $.jsx(
|
|
53421
|
-
Io,
|
|
53422
|
-
{
|
|
53423
|
-
size: "small",
|
|
53424
|
-
onClick: s,
|
|
53425
|
-
color: "primary",
|
|
53426
|
-
variant: "outlined",
|
|
53427
|
-
sx: {
|
|
53428
|
-
padding: "1px 0",
|
|
53429
|
-
minWidth: "44px",
|
|
53430
|
-
float: "right"
|
|
53431
|
-
},
|
|
53432
|
-
children: /* @__PURE__ */ $.jsx(yV, {})
|
|
53433
|
-
}
|
|
53434
|
-
) })
|
|
53435
|
-
] }),
|
|
53436
|
-
((L = i == null ? void 0 : i.resource) == null ? void 0 : L.imgUrl) && /* @__PURE__ */ $.jsx(ue, { item: !0, container: !0, xs: 12, children: /* @__PURE__ */ $.jsx(
|
|
53437
|
-
ue,
|
|
53438
|
-
{
|
|
53439
|
-
item: !0,
|
|
53440
|
-
container: !0,
|
|
53441
|
-
xs: 12,
|
|
53442
|
-
sx: {
|
|
53443
|
-
p: { xs: 0, sm: 0 },
|
|
53444
|
-
mb: { xs: 1, sm: 1 },
|
|
53445
|
-
minHeight: "140px",
|
|
53446
|
-
maxHeight: `${l / 2}px`
|
|
53447
|
-
},
|
|
53448
|
-
children: /* @__PURE__ */ $.jsx(
|
|
53449
|
-
lq,
|
|
53450
|
-
{
|
|
53451
|
-
src: (j = i == null ? void 0 : i.resource) == null ? void 0 : j.imgUrl,
|
|
53452
|
-
showLoading: !0,
|
|
53453
|
-
duration: 1e3,
|
|
53454
|
-
fit: "scale-down",
|
|
53455
|
-
wrapperSx: {
|
|
53456
|
-
overflow: "hidden",
|
|
53457
|
-
borderRadius: (Ne) => `${Ne.shape.borderRadius}px`
|
|
53458
|
-
}
|
|
53459
|
-
},
|
|
53460
|
-
(z = i == null ? void 0 : i.resource) == null ? void 0 : z.imgUrl
|
|
53461
|
-
)
|
|
53462
|
-
}
|
|
53463
|
-
) }),
|
|
53464
|
-
(((V = i == null ? void 0 : i.resource) == null ? void 0 : V.description) || ((P = i == null ? void 0 : i.resource) == null ? void 0 : P.url)) && /* @__PURE__ */ $.jsx(ue, { item: !0, container: !0, xs: 12, children: /* @__PURE__ */ $.jsxs(
|
|
53465
|
-
ue,
|
|
53466
|
-
{
|
|
53467
|
-
item: !0,
|
|
53468
|
-
container: !0,
|
|
53469
|
-
xs: 12,
|
|
53470
|
-
sx: {
|
|
53471
|
-
borderWidth: "1px",
|
|
53472
|
-
borderStyle: "solid",
|
|
53473
|
-
borderColor: "grey.300",
|
|
53474
|
-
borderRadius: (Ne) => `${Ne.shape.borderRadius}px`,
|
|
53475
|
-
p: { xs: 1, sm: 2 }
|
|
53476
|
-
},
|
|
53477
|
-
children: [
|
|
53478
|
-
((B = i == null ? void 0 : i.resource) == null ? void 0 : B.description) && /* @__PURE__ */ $.jsx(ue, { item: !0, xs: "12", children: /* @__PURE__ */ $.jsx(
|
|
53479
|
-
b6e,
|
|
53480
|
-
{
|
|
53481
|
-
text: (Y = i == null ? void 0 : i.resource) == null ? void 0 : Y.description,
|
|
53482
|
-
expanded: m,
|
|
53483
|
-
doOnExpand: g
|
|
53484
|
-
}
|
|
53485
|
-
) }),
|
|
53486
|
-
((U = i == null ? void 0 : i.resource) == null ? void 0 : U.url) && /* @__PURE__ */ $.jsx(
|
|
53419
|
+
return /* @__PURE__ */ $.jsx(
|
|
53420
|
+
lx,
|
|
53421
|
+
{
|
|
53422
|
+
showSkeleton: n,
|
|
53423
|
+
skeleton: /* @__PURE__ */ $.jsx(mBe, {}),
|
|
53424
|
+
height: l,
|
|
53425
|
+
children: /* @__PURE__ */ $.jsxs(ue, { id: "details-grid", container: !0, rowSpacing: 1, children: [
|
|
53426
|
+
/* @__PURE__ */ $.jsxs(ue, { item: !0, container: !0, xs: 12, pb: 1, children: [
|
|
53427
|
+
/* @__PURE__ */ $.jsx(
|
|
53487
53428
|
ue,
|
|
53488
53429
|
{
|
|
53489
53430
|
item: !0,
|
|
53490
|
-
xs:
|
|
53491
|
-
|
|
53492
|
-
|
|
53493
|
-
|
|
53494
|
-
|
|
53495
|
-
" ",
|
|
53496
|
-
/* @__PURE__ */ $.jsx(Ju, { underline: "none", href: (J = i == null ? void 0 : i.resource) == null ? void 0 : J.url, children: t("detailsView.additional_information") })
|
|
53497
|
-
] })
|
|
53431
|
+
xs: !0,
|
|
53432
|
+
zeroMinWidth: !0,
|
|
53433
|
+
alignSelf: "center",
|
|
53434
|
+
sx: { position: "sticky", top: 0, background: "#fff" },
|
|
53435
|
+
children: /* @__PURE__ */ $.jsx(_e, { variant: "h4", component: "h2", sx: { m: 0 }, children: ((D = i == null ? void 0 : i.resource) == null ? void 0 : D.name) || t("detailsView.res_name_placeholder") })
|
|
53498
53436
|
}
|
|
53499
|
-
)
|
|
53500
|
-
|
|
53501
|
-
|
|
53502
|
-
|
|
53503
|
-
|
|
53504
|
-
|
|
53505
|
-
|
|
53506
|
-
|
|
53507
|
-
|
|
53508
|
-
|
|
53509
|
-
|
|
53510
|
-
|
|
53511
|
-
|
|
53512
|
-
|
|
53513
|
-
|
|
53514
|
-
|
|
53515
|
-
},
|
|
53516
|
-
children: /* @__PURE__ */ $.jsx(
|
|
53437
|
+
),
|
|
53438
|
+
w() && /* @__PURE__ */ $.jsx(ue, { item: !0, xs: "auto", pb: 1, children: /* @__PURE__ */ $.jsx(
|
|
53439
|
+
Io,
|
|
53440
|
+
{
|
|
53441
|
+
size: "small",
|
|
53442
|
+
onClick: s,
|
|
53443
|
+
color: "primary",
|
|
53444
|
+
variant: "outlined",
|
|
53445
|
+
sx: {
|
|
53446
|
+
padding: "1px 0",
|
|
53447
|
+
minWidth: "44px",
|
|
53448
|
+
float: "right"
|
|
53449
|
+
},
|
|
53450
|
+
children: /* @__PURE__ */ $.jsx(yV, {})
|
|
53451
|
+
}
|
|
53452
|
+
) })
|
|
53453
|
+
] }),
|
|
53454
|
+
((L = i == null ? void 0 : i.resource) == null ? void 0 : L.imgUrl) && /* @__PURE__ */ $.jsx(ue, { item: !0, container: !0, xs: 12, children: /* @__PURE__ */ $.jsx(
|
|
53517
53455
|
ue,
|
|
53518
53456
|
{
|
|
53519
53457
|
item: !0,
|
|
53520
|
-
|
|
53521
|
-
|
|
53522
|
-
|
|
53523
|
-
|
|
53458
|
+
container: !0,
|
|
53459
|
+
xs: 12,
|
|
53460
|
+
sx: {
|
|
53461
|
+
p: { xs: 0, sm: 0 },
|
|
53462
|
+
mb: { xs: 1, sm: 1 },
|
|
53463
|
+
minHeight: "140px",
|
|
53464
|
+
maxHeight: `${l / 2}px`
|
|
53465
|
+
},
|
|
53466
|
+
children: /* @__PURE__ */ $.jsx(
|
|
53467
|
+
lq,
|
|
53524
53468
|
{
|
|
53525
|
-
|
|
53526
|
-
|
|
53527
|
-
|
|
53528
|
-
|
|
53529
|
-
|
|
53530
|
-
|
|
53531
|
-
|
|
53532
|
-
|
|
53533
|
-
|
|
53534
|
-
|
|
53535
|
-
|
|
53536
|
-
|
|
53469
|
+
src: (j = i == null ? void 0 : i.resource) == null ? void 0 : j.imgUrl,
|
|
53470
|
+
showLoading: !0,
|
|
53471
|
+
duration: 1e3,
|
|
53472
|
+
fit: "scale-down",
|
|
53473
|
+
wrapperSx: {
|
|
53474
|
+
overflow: "hidden",
|
|
53475
|
+
borderRadius: (Ne) => `${Ne.shape.borderRadius}px`
|
|
53476
|
+
}
|
|
53477
|
+
},
|
|
53478
|
+
(z = i == null ? void 0 : i.resource) == null ? void 0 : z.imgUrl
|
|
53479
|
+
)
|
|
53480
|
+
}
|
|
53481
|
+
) }),
|
|
53482
|
+
(((V = i == null ? void 0 : i.resource) == null ? void 0 : V.description) || ((P = i == null ? void 0 : i.resource) == null ? void 0 : P.url)) && /* @__PURE__ */ $.jsx(ue, { item: !0, container: !0, xs: 12, children: /* @__PURE__ */ $.jsxs(
|
|
53483
|
+
ue,
|
|
53484
|
+
{
|
|
53485
|
+
item: !0,
|
|
53486
|
+
container: !0,
|
|
53487
|
+
xs: 12,
|
|
53488
|
+
sx: {
|
|
53489
|
+
borderWidth: "1px",
|
|
53490
|
+
borderStyle: "solid",
|
|
53491
|
+
borderColor: "grey.300",
|
|
53492
|
+
borderRadius: (Ne) => `${Ne.shape.borderRadius}px`,
|
|
53493
|
+
p: { xs: 1, sm: 2 }
|
|
53494
|
+
},
|
|
53495
|
+
children: [
|
|
53496
|
+
((B = i == null ? void 0 : i.resource) == null ? void 0 : B.description) && /* @__PURE__ */ $.jsx(ue, { item: !0, xs: "12", children: /* @__PURE__ */ $.jsx(
|
|
53497
|
+
b6e,
|
|
53498
|
+
{
|
|
53499
|
+
text: (Y = i == null ? void 0 : i.resource) == null ? void 0 : Y.description,
|
|
53500
|
+
expanded: m,
|
|
53501
|
+
doOnExpand: g
|
|
53502
|
+
}
|
|
53503
|
+
) }),
|
|
53504
|
+
((U = i == null ? void 0 : i.resource) == null ? void 0 : U.url) && /* @__PURE__ */ $.jsx(
|
|
53505
|
+
ue,
|
|
53506
|
+
{
|
|
53507
|
+
item: !0,
|
|
53508
|
+
xs: "12",
|
|
53509
|
+
pt: (Z = i == null ? void 0 : i.resource) != null && Z.description ? 1 : 0,
|
|
53510
|
+
children: /* @__PURE__ */ $.jsxs(_e, { variant: "body2", children: [
|
|
53511
|
+
t("common.website"),
|
|
53512
|
+
":",
|
|
53513
|
+
" ",
|
|
53514
|
+
/* @__PURE__ */ $.jsx(Ju, { underline: "none", href: (J = i == null ? void 0 : i.resource) == null ? void 0 : J.url, children: t("detailsView.additional_information") })
|
|
53515
|
+
] })
|
|
53516
|
+
}
|
|
53517
|
+
)
|
|
53518
|
+
]
|
|
53519
|
+
}
|
|
53520
|
+
) }),
|
|
53521
|
+
v() && /* @__PURE__ */ $.jsx(ue, { item: !0, container: !0, xs: 12, children: /* @__PURE__ */ $.jsx(
|
|
53522
|
+
ue,
|
|
53523
|
+
{
|
|
53524
|
+
item: !0,
|
|
53525
|
+
container: !0,
|
|
53526
|
+
xs: 12,
|
|
53527
|
+
sx: {
|
|
53528
|
+
borderWidth: "1px",
|
|
53529
|
+
borderStyle: "solid",
|
|
53530
|
+
borderColor: "grey.300",
|
|
53531
|
+
borderRadius: (Ne) => `${Ne.shape.borderRadius}px`,
|
|
53532
|
+
p: { xs: 1, sm: 2 }
|
|
53533
|
+
},
|
|
53534
|
+
children: /* @__PURE__ */ $.jsx(
|
|
53535
|
+
ue,
|
|
53536
|
+
{
|
|
53537
|
+
item: !0,
|
|
53538
|
+
xs: "12",
|
|
53539
|
+
pb: 1,
|
|
53540
|
+
children: /* @__PURE__ */ $.jsx(UH, { elevation: 0, children: /* @__PURE__ */ $.jsx(
|
|
53541
|
+
HH,
|
|
53542
|
+
{
|
|
53543
|
+
sx: {
|
|
53544
|
+
p: "0 !important"
|
|
53545
|
+
},
|
|
53546
|
+
children: /* @__PURE__ */ $.jsxs(_c, { dense: !0, sx: { p: 0 }, children: [
|
|
53547
|
+
((ae = i == null ? void 0 : i.contact) == null ? void 0 : ae.name) && /* @__PURE__ */ $.jsx(Nr, { sx: { py: 0 }, disableGutters: !0, children: /* @__PURE__ */ $.jsx(Lr, { primary: (xe = i == null ? void 0 : i.contact) == null ? void 0 : xe.name }) }),
|
|
53548
|
+
((ve = i == null ? void 0 : i.contact) == null ? void 0 : ve.email) && /* @__PURE__ */ $.jsxs(Nr, { sx: { py: 0 }, disableGutters: !0, children: [
|
|
53549
|
+
/* @__PURE__ */ $.jsx(Ks, { sx: { minWidth: "30px" }, children: /* @__PURE__ */ $.jsx(vV, { fontSize: "small" }) }),
|
|
53550
|
+
/* @__PURE__ */ $.jsx(
|
|
53551
|
+
Lr,
|
|
53537
53552
|
{
|
|
53538
|
-
|
|
53539
|
-
|
|
53540
|
-
|
|
53553
|
+
primary: /* @__PURE__ */ $.jsx(
|
|
53554
|
+
Ju,
|
|
53555
|
+
{
|
|
53556
|
+
underline: "none",
|
|
53557
|
+
href: `mailto:${(me = i == null ? void 0 : i.contact) == null ? void 0 : me.email}`,
|
|
53558
|
+
children: (ye = i == null ? void 0 : i.contact) == null ? void 0 : ye.email
|
|
53559
|
+
}
|
|
53560
|
+
)
|
|
53541
53561
|
}
|
|
53542
53562
|
)
|
|
53543
|
-
}
|
|
53544
|
-
|
|
53545
|
-
|
|
53546
|
-
|
|
53547
|
-
|
|
53548
|
-
/* @__PURE__ */ $.jsx(
|
|
53549
|
-
Lr,
|
|
53550
|
-
{
|
|
53551
|
-
primary: /* @__PURE__ */ $.jsx(
|
|
53552
|
-
Ju,
|
|
53563
|
+
] }),
|
|
53564
|
+
((Ce = i == null ? void 0 : i.contact) == null ? void 0 : Ce.phone) && /* @__PURE__ */ $.jsxs(Nr, { sx: { py: 0 }, disableGutters: !0, children: [
|
|
53565
|
+
/* @__PURE__ */ $.jsx(Ks, { sx: { minWidth: "30px" }, children: /* @__PURE__ */ $.jsx(mV, { fontSize: "small" }) }),
|
|
53566
|
+
/* @__PURE__ */ $.jsx(
|
|
53567
|
+
Lr,
|
|
53553
53568
|
{
|
|
53554
|
-
|
|
53555
|
-
|
|
53556
|
-
|
|
53569
|
+
primary: /* @__PURE__ */ $.jsx(
|
|
53570
|
+
Ju,
|
|
53571
|
+
{
|
|
53572
|
+
underline: "none",
|
|
53573
|
+
href: `tel:${(Fe = i == null ? void 0 : i.contact) == null ? void 0 : Fe.phone}`,
|
|
53574
|
+
children: (De = i == null ? void 0 : i.contact) == null ? void 0 : De.phone
|
|
53575
|
+
}
|
|
53576
|
+
)
|
|
53557
53577
|
}
|
|
53558
53578
|
)
|
|
53559
|
-
}
|
|
53560
|
-
|
|
53561
|
-
|
|
53562
|
-
|
|
53563
|
-
|
|
53564
|
-
/* @__PURE__ */ $.jsx(
|
|
53565
|
-
Lr,
|
|
53566
|
-
{
|
|
53567
|
-
primary: /* @__PURE__ */ $.jsx(
|
|
53568
|
-
Ju,
|
|
53579
|
+
] }),
|
|
53580
|
+
((Ze = i == null ? void 0 : i.contact) == null ? void 0 : Ze.mobile) && /* @__PURE__ */ $.jsxs(Nr, { sx: { py: 0 }, disableGutters: !0, children: [
|
|
53581
|
+
/* @__PURE__ */ $.jsx(Ks, { sx: { minWidth: "30px" }, children: /* @__PURE__ */ $.jsx(gV, { fontSize: "small" }) }),
|
|
53582
|
+
/* @__PURE__ */ $.jsx(
|
|
53583
|
+
Lr,
|
|
53569
53584
|
{
|
|
53570
|
-
|
|
53571
|
-
|
|
53572
|
-
|
|
53585
|
+
primary: /* @__PURE__ */ $.jsx(
|
|
53586
|
+
Ju,
|
|
53587
|
+
{
|
|
53588
|
+
underline: "none",
|
|
53589
|
+
href: `tel:${(st = i == null ? void 0 : i.contact) == null ? void 0 : st.mobile}`,
|
|
53590
|
+
children: (Le = i == null ? void 0 : i.contact) == null ? void 0 : Le.mobile
|
|
53591
|
+
}
|
|
53592
|
+
)
|
|
53573
53593
|
}
|
|
53574
53594
|
)
|
|
53575
|
-
}
|
|
53576
|
-
)
|
|
53577
|
-
|
|
53578
|
-
|
|
53595
|
+
] })
|
|
53596
|
+
] })
|
|
53597
|
+
}
|
|
53598
|
+
) })
|
|
53579
53599
|
}
|
|
53580
|
-
)
|
|
53600
|
+
)
|
|
53581
53601
|
}
|
|
53582
|
-
)
|
|
53583
|
-
}
|
|
53584
|
-
|
|
53585
|
-
|
|
53602
|
+
) })
|
|
53603
|
+
] })
|
|
53604
|
+
}
|
|
53605
|
+
);
|
|
53586
53606
|
}, S = () => /* @__PURE__ */ $.jsxs(ue, { container: !0, columnSpacing: 2, rowSpacing: 0, children: [
|
|
53587
53607
|
b && /* @__PURE__ */ $.jsx(
|
|
53588
53608
|
ue,
|
|
@@ -53641,9 +53661,9 @@ function _4(e) {
|
|
|
53641
53661
|
}
|
|
53642
53662
|
const mBe = () => /* @__PURE__ */ $.jsxs(It, { sx: { width: "100%" }, children: [
|
|
53643
53663
|
/* @__PURE__ */ $.jsx(_e, { variant: "h1", sx: { mb: 1 }, children: /* @__PURE__ */ $.jsx(Jn, { width: "120px" }) }),
|
|
53644
|
-
/* @__PURE__ */ $.jsx(It, { sx: { mb: 1 }, children: /* @__PURE__ */ $.jsx(Jn, { variant: "rounded", height: "
|
|
53645
|
-
/* @__PURE__ */ $.jsx(It, { sx: { mb: 1 }, children: /* @__PURE__ */ $.jsx(Jn, { variant: "rounded", height: "
|
|
53646
|
-
/* @__PURE__ */ $.jsx(It, { sx: { mb: 1 }, children: /* @__PURE__ */ $.jsx(Jn, { variant: "rounded", height: "
|
|
53664
|
+
/* @__PURE__ */ $.jsx(It, { sx: { mb: 1 }, children: /* @__PURE__ */ $.jsx(Jn, { variant: "rounded", height: "150px", width: "100%" }) }),
|
|
53665
|
+
/* @__PURE__ */ $.jsx(It, { sx: { mb: 1 }, children: /* @__PURE__ */ $.jsx(Jn, { variant: "rounded", height: "150px", width: "100%" }) }),
|
|
53666
|
+
/* @__PURE__ */ $.jsx(It, { sx: { mb: 1 }, children: /* @__PURE__ */ $.jsx(Jn, { variant: "rounded", height: "150px", width: "100%" }) })
|
|
53647
53667
|
] });
|
|
53648
53668
|
var ZT = {}, gBe = Pn;
|
|
53649
53669
|
Object.defineProperty(ZT, "__esModule", {
|
|
@@ -68972,11 +68992,11 @@ const WN = (e, t) => {
|
|
|
68972
68992
|
});
|
|
68973
68993
|
};
|
|
68974
68994
|
async function YN(e, t, n, r, i, o) {
|
|
68975
|
-
var
|
|
68995
|
+
var b, y, S, C;
|
|
68976
68996
|
let s = {};
|
|
68977
68997
|
const a = t == null ? void 0 : t.ref, l = t == null ? void 0 : t.tslRefs, u = t == null ? void 0 : t.virtualTslRefs, c = t == null ? void 0 : t.prdRefs, f = t == null ? void 0 : t.additionalData, m = t == null ? void 0 : t.allResourcesOption, p = t == null ? void 0 : t.publicData, g = t == null ? void 0 : t.tsls, v = t == null ? void 0 : t.channelKey;
|
|
68978
68998
|
if ((a == null ? void 0 : a.length) > 0 && !(p != null && p.length) > 0) {
|
|
68979
|
-
const
|
|
68999
|
+
const T = await r({
|
|
68980
69000
|
channelOrResourceId: a[0],
|
|
68981
69001
|
params: {
|
|
68982
69002
|
channelKey: v,
|
|
@@ -68984,10 +69004,10 @@ async function YN(e, t, n, r, i, o) {
|
|
|
68984
69004
|
...f
|
|
68985
69005
|
}
|
|
68986
69006
|
});
|
|
68987
|
-
qN(
|
|
69007
|
+
qN(T == null ? void 0 : T.data, s);
|
|
68988
69008
|
}
|
|
68989
69009
|
if ((p == null ? void 0 : p.length) > 0 && qN(p, s), ((l == null ? void 0 : l.length) > 0 || (u == null ? void 0 : u.length) > 0) && !(g != null && g.length) > 0) {
|
|
68990
|
-
const
|
|
69010
|
+
const T = await i({
|
|
68991
69011
|
params: {
|
|
68992
69012
|
channelKey: v,
|
|
68993
69013
|
tslIds: l,
|
|
@@ -68995,9 +69015,11 @@ async function YN(e, t, n, r, i, o) {
|
|
|
68995
69015
|
},
|
|
68996
69016
|
body: u
|
|
68997
69017
|
});
|
|
68998
|
-
GN(
|
|
69018
|
+
GN(T == null ? void 0 : T.data, s);
|
|
68999
69019
|
}
|
|
69000
|
-
|
|
69020
|
+
(g == null ? void 0 : g.length) > 0 && GN(g, s);
|
|
69021
|
+
let w;
|
|
69022
|
+
if ((c == null ? void 0 : c.length) > 0) {
|
|
69001
69023
|
Object.values(s).forEach((E) => {
|
|
69002
69024
|
var A;
|
|
69003
69025
|
E != null && E.bookables && ((A = Object.values(E == null ? void 0 : E.bookables)) == null || A.forEach((_) => {
|
|
@@ -69008,17 +69030,17 @@ async function YN(e, t, n, r, i, o) {
|
|
|
69008
69030
|
});
|
|
69009
69031
|
});
|
|
69010
69032
|
}));
|
|
69011
|
-
})
|
|
69012
|
-
const C = await o({
|
|
69033
|
+
}), w = await o({
|
|
69013
69034
|
params: {
|
|
69014
69035
|
prdRefs: c,
|
|
69015
69036
|
additionalData: f
|
|
69016
69037
|
}
|
|
69017
|
-
})
|
|
69038
|
+
});
|
|
69039
|
+
const T = Object.entries(s).filter(([, E]) => {
|
|
69018
69040
|
var _, O;
|
|
69019
69041
|
if (((O = (_ = E == null ? void 0 : E.resource) == null ? void 0 : _.supportedProducts) == null ? void 0 : O.length) === 0)
|
|
69020
69042
|
return !1;
|
|
69021
|
-
const A =
|
|
69043
|
+
const A = w.data.filter((D) => {
|
|
69022
69044
|
var j;
|
|
69023
69045
|
const L = (j = E == null ? void 0 : E.resource) == null ? void 0 : j.supportedProducts;
|
|
69024
69046
|
return L && L.some((z) => z === D.uuid);
|
|
@@ -69030,15 +69052,16 @@ async function YN(e, t, n, r, i, o) {
|
|
|
69030
69052
|
if (m && (!l || l.length === 0) && (!u || u.length === 0) && (s = {
|
|
69031
69053
|
"all-option": {
|
|
69032
69054
|
resource: { uuid: "all-option", name: e("common.All") },
|
|
69033
|
-
provider: (
|
|
69055
|
+
provider: (y = (b = Object.values(s)) == null ? void 0 : b[0]) == null ? void 0 : y.provider,
|
|
69056
|
+
products: w.data
|
|
69034
69057
|
},
|
|
69035
69058
|
...s
|
|
69036
69059
|
}), n(Fue(s)), Object.values(s).length > 1)
|
|
69037
69060
|
if (t.cancelableAppointment) {
|
|
69038
|
-
let
|
|
69039
|
-
for (const
|
|
69040
|
-
((
|
|
69041
|
-
|
|
69061
|
+
let T = !1;
|
|
69062
|
+
for (const E of Object.values(s))
|
|
69063
|
+
((S = E == null ? void 0 : E.resource) == null ? void 0 : S.uuid) === ((C = t.cancelableAppointment) == null ? void 0 : C.resId) && (n(Qd(E)), T = !0);
|
|
69064
|
+
T || n(Qd(Object.values(s)[0]));
|
|
69042
69065
|
} else
|
|
69043
69066
|
n(Qd(Object.values(s)[0]));
|
|
69044
69067
|
else
|