@gomusdev/web-components 1.39.2 → 1.39.4
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.
|
@@ -16338,7 +16338,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16338
16338
|
return;
|
|
16339
16339
|
}
|
|
16340
16340
|
for (const [key, value] of Object.entries(errors2)) {
|
|
16341
|
-
if (key === "full_messages
|
|
16341
|
+
if (key === "full_messages") continue;
|
|
16342
16342
|
if (key === "success") continue;
|
|
16343
16343
|
if (key === "errors") continue;
|
|
16344
16344
|
const field = this.fields.find((f) => f.apiKey === key);
|
|
@@ -32325,7 +32325,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32325
32325
|
const datePart = d.start_time.slice(0, 10);
|
|
32326
32326
|
const sameDay = tsd.selectedDate?.toString() == datePart;
|
|
32327
32327
|
const after = Date.parse(d.start_time) >= Date.parse(tsd.selectedTime);
|
|
32328
|
-
|
|
32328
|
+
const availableSeats = (d.seats?.available ?? 0) > 0;
|
|
32329
|
+
return sameDay && after && availableSeats;
|
|
32329
32330
|
});
|
|
32330
32331
|
for (const date2 of dates) {
|
|
32331
32332
|
if (date2.prices) {
|
|
@@ -16338,7 +16338,7 @@ class FormDetails {
|
|
|
16338
16338
|
return;
|
|
16339
16339
|
}
|
|
16340
16340
|
for (const [key, value] of Object.entries(errors2)) {
|
|
16341
|
-
if (key === "full_messages
|
|
16341
|
+
if (key === "full_messages") continue;
|
|
16342
16342
|
if (key === "success") continue;
|
|
16343
16343
|
if (key === "errors") continue;
|
|
16344
16344
|
const field = this.fields.find((f) => f.apiKey === key);
|
|
@@ -32325,7 +32325,8 @@ async function load_Events_ScaledPricesTickets(segment) {
|
|
|
32325
32325
|
const datePart = d.start_time.slice(0, 10);
|
|
32326
32326
|
const sameDay = tsd.selectedDate?.toString() == datePart;
|
|
32327
32327
|
const after = Date.parse(d.start_time) >= Date.parse(tsd.selectedTime);
|
|
32328
|
-
|
|
32328
|
+
const availableSeats = (d.seats?.available ?? 0) > 0;
|
|
32329
|
+
return sameDay && after && availableSeats;
|
|
32329
32330
|
});
|
|
32330
32331
|
for (const date2 of dates) {
|
|
32331
32332
|
if (date2.prices) {
|