@gomusdev/web-components 3.3.2 → 3.3.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.
package/README.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.3.4 (2026-06-08)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **tickets:** render scaled ticket title via event_title prop
|
|
8
|
+
|
|
9
|
+
## 3.3.3 (2026-06-04)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Mark timeslots as unavailable if max-capacity is 0
|
|
14
|
+
|
|
3
15
|
## 3.3.2 (2026-06-03)
|
|
4
16
|
|
|
5
17
|
### Bug Fixes
|
|
@@ -37068,7 +37068,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37068
37068
|
reset(span_1);
|
|
37069
37069
|
template_effect(
|
|
37070
37070
|
($0) => {
|
|
37071
|
-
set_text(text2, `${item().product.
|
|
37071
|
+
set_text(text2, `${item().product.event_title ?? ""} - ${$0 ?? ""}`);
|
|
37072
37072
|
set_text(text_1, item().product.title);
|
|
37073
37073
|
},
|
|
37074
37074
|
[() => formatTime(item().time)]
|
|
@@ -37329,8 +37329,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37329
37329
|
var consequent = ($$anchor2) => {
|
|
37330
37330
|
var ul = root_1$1();
|
|
37331
37331
|
each(ul, 20, () => details.timeslots, (timeslot) => timeslot, ($$anchor3, timeslot) => {
|
|
37332
|
-
const
|
|
37333
|
-
const
|
|
37332
|
+
const unavailable = /* @__PURE__ */ user_derived(() => timeslot.totalCapacity === 0);
|
|
37333
|
+
const soldOut = /* @__PURE__ */ user_derived(() => !get$2(unavailable) && timeslot.capacity === 0);
|
|
37334
|
+
const disabled = /* @__PURE__ */ user_derived(() => get$2(unavailable) || get$2(soldOut) || !timeslot.available);
|
|
37334
37335
|
const selected = /* @__PURE__ */ user_derived(() => details.tsd?.selectedTimeslot === timeslot.startAt);
|
|
37335
37336
|
var li = root_2$1();
|
|
37336
37337
|
var label = child(li);
|
|
@@ -37344,6 +37345,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
37344
37345
|
template_effect(() => {
|
|
37345
37346
|
set_class(li, 1, clsx({
|
|
37346
37347
|
"go-timeslot": true,
|
|
37348
|
+
"is-unavailable": get$2(unavailable),
|
|
37347
37349
|
"is-sold-out": get$2(soldOut),
|
|
37348
37350
|
"is-disabled": get$2(disabled),
|
|
37349
37351
|
"is-selected": get$2(selected)
|
|
@@ -37068,7 +37068,7 @@ function Item($$anchor, $$props) {
|
|
|
37068
37068
|
reset(span_1);
|
|
37069
37069
|
template_effect(
|
|
37070
37070
|
($0) => {
|
|
37071
|
-
set_text(text2, `${item().product.
|
|
37071
|
+
set_text(text2, `${item().product.event_title ?? ""} - ${$0 ?? ""}`);
|
|
37072
37072
|
set_text(text_1, item().product.title);
|
|
37073
37073
|
},
|
|
37074
37074
|
[() => formatTime(item().time)]
|
|
@@ -37329,8 +37329,9 @@ function Timeslots($$anchor, $$props) {
|
|
|
37329
37329
|
var consequent = ($$anchor2) => {
|
|
37330
37330
|
var ul = root_1$1();
|
|
37331
37331
|
each(ul, 20, () => details.timeslots, (timeslot) => timeslot, ($$anchor3, timeslot) => {
|
|
37332
|
-
const
|
|
37333
|
-
const
|
|
37332
|
+
const unavailable = /* @__PURE__ */ user_derived(() => timeslot.totalCapacity === 0);
|
|
37333
|
+
const soldOut = /* @__PURE__ */ user_derived(() => !get$2(unavailable) && timeslot.capacity === 0);
|
|
37334
|
+
const disabled = /* @__PURE__ */ user_derived(() => get$2(unavailable) || get$2(soldOut) || !timeslot.available);
|
|
37334
37335
|
const selected = /* @__PURE__ */ user_derived(() => details.tsd?.selectedTimeslot === timeslot.startAt);
|
|
37335
37336
|
var li = root_2$1();
|
|
37336
37337
|
var label = child(li);
|
|
@@ -37344,6 +37345,7 @@ function Timeslots($$anchor, $$props) {
|
|
|
37344
37345
|
template_effect(() => {
|
|
37345
37346
|
set_class(li, 1, clsx({
|
|
37346
37347
|
"go-timeslot": true,
|
|
37348
|
+
"is-unavailable": get$2(unavailable),
|
|
37347
37349
|
"is-sold-out": get$2(soldOut),
|
|
37348
37350
|
"is-disabled": get$2(disabled),
|
|
37349
37351
|
"is-selected": get$2(selected)
|