@hotelcard/ui 0.0.23 → 0.0.25
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.
Potentially problematic release.
This version of @hotelcard/ui might be problematic. Click here for more details.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2397,11 +2397,11 @@ const b2 = (e, a) => {
|
|
|
2397
2397
|
const be = F[te];
|
|
2398
2398
|
be == null && M.push({
|
|
2399
2399
|
index: te,
|
|
2400
|
-
message: $("
|
|
2400
|
+
message: $("form.age-error")
|
|
2401
2401
|
});
|
|
2402
2402
|
}
|
|
2403
2403
|
return M;
|
|
2404
|
-
}, X = () => E.trim() || $("
|
|
2404
|
+
}, X = () => E.trim() || $("label.anywhere"), se = (M) => {
|
|
2405
2405
|
M.stopPropagation(), I(null), N(null), e({
|
|
2406
2406
|
query: E.trim(),
|
|
2407
2407
|
guests: H,
|
|
@@ -2440,7 +2440,7 @@ const b2 = (e, a) => {
|
|
|
2440
2440
|
const te = Array.isArray(M.childrenAges) ? M.childrenAges : [], be = [];
|
|
2441
2441
|
for (let $e = 0; $e < M.children; $e++) {
|
|
2442
2442
|
const je = te[$e];
|
|
2443
|
-
je == null && be.push({ index: $e, message: $("
|
|
2443
|
+
je == null && be.push({ index: $e, message: $("form.age-error") });
|
|
2444
2444
|
}
|
|
2445
2445
|
if (be.length > 0) {
|
|
2446
2446
|
U(be);
|
|
@@ -2475,7 +2475,7 @@ const b2 = (e, a) => {
|
|
|
2475
2475
|
destinationMode: $e
|
|
2476
2476
|
});
|
|
2477
2477
|
},
|
|
2478
|
-
placeholder: $("
|
|
2478
|
+
placeholder: $("label.anywhere"),
|
|
2479
2479
|
disabled: g,
|
|
2480
2480
|
className: q.input
|
|
2481
2481
|
}
|
|
@@ -2505,7 +2505,7 @@ const b2 = (e, a) => {
|
|
|
2505
2505
|
type: "button",
|
|
2506
2506
|
className: q.clearButton,
|
|
2507
2507
|
onClick: se,
|
|
2508
|
-
"aria-label": $("
|
|
2508
|
+
"aria-label": $("label.clear", "Clear date"),
|
|
2509
2509
|
children: /* @__PURE__ */ t(wt, {})
|
|
2510
2510
|
}
|
|
2511
2511
|
)
|
|
@@ -2532,7 +2532,7 @@ const b2 = (e, a) => {
|
|
|
2532
2532
|
type: "button",
|
|
2533
2533
|
className: q.clearButton,
|
|
2534
2534
|
onClick: Me,
|
|
2535
|
-
"aria-label": $("
|
|
2535
|
+
"aria-label": $("label.clear", "Clear guests"),
|
|
2536
2536
|
children: /* @__PURE__ */ t(wt, {})
|
|
2537
2537
|
}
|
|
2538
2538
|
)
|
|
@@ -2544,7 +2544,7 @@ const b2 = (e, a) => {
|
|
|
2544
2544
|
size: "small",
|
|
2545
2545
|
type: "submit",
|
|
2546
2546
|
disabled: g,
|
|
2547
|
-
children: $("
|
|
2547
|
+
children: $("button.search")
|
|
2548
2548
|
}
|
|
2549
2549
|
) })
|
|
2550
2550
|
] }) }) : /* @__PURE__ */ l("div", { className: q.mobileContainer, children: [
|
|
@@ -2578,7 +2578,7 @@ const b2 = (e, a) => {
|
|
|
2578
2578
|
disabled: g,
|
|
2579
2579
|
children: [
|
|
2580
2580
|
/* @__PURE__ */ t(xo, {}),
|
|
2581
|
-
/* @__PURE__ */ t("span", { children: $("
|
|
2581
|
+
/* @__PURE__ */ t("span", { children: $("label.filter") })
|
|
2582
2582
|
]
|
|
2583
2583
|
}
|
|
2584
2584
|
),
|
|
@@ -2593,7 +2593,7 @@ const b2 = (e, a) => {
|
|
|
2593
2593
|
disabled: g,
|
|
2594
2594
|
children: [
|
|
2595
2595
|
/* @__PURE__ */ t(Mo, {}),
|
|
2596
|
-
/* @__PURE__ */ t("span", { children: $("
|
|
2596
|
+
/* @__PURE__ */ t("span", { children: $("label.sort") })
|
|
2597
2597
|
]
|
|
2598
2598
|
}
|
|
2599
2599
|
),
|
|
@@ -2608,7 +2608,7 @@ const b2 = (e, a) => {
|
|
|
2608
2608
|
disabled: g,
|
|
2609
2609
|
children: [
|
|
2610
2610
|
/* @__PURE__ */ t(Lo, {}),
|
|
2611
|
-
/* @__PURE__ */ t("span", { children: $("
|
|
2611
|
+
/* @__PURE__ */ t("span", { children: $("label.map") })
|
|
2612
2612
|
]
|
|
2613
2613
|
}
|
|
2614
2614
|
)
|