@gomusdev/web-components 1.31.2 → 1.32.0

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.
@@ -30960,6 +30960,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30960
30960
  if (!tsd) return;
30961
30961
  untrack(() => tsd?.addTicketSegment(details));
30962
30962
  });
30963
+ const numTickets = /* @__PURE__ */ user_derived(() => details.preCart.items.length);
30964
+ user_effect(() => {
30965
+ $$props.$$host.classList.toggle("is-empty", get$2(numTickets) === 0);
30966
+ });
30963
30967
  var $$exports = {
30964
30968
  details,
30965
30969
  get filters() {
@@ -30960,6 +30960,10 @@ function TicketSegment($$anchor, $$props) {
30960
30960
  if (!tsd) return;
30961
30961
  untrack(() => tsd?.addTicketSegment(details));
30962
30962
  });
30963
+ const numTickets = /* @__PURE__ */ user_derived(() => details.preCart.items.length);
30964
+ user_effect(() => {
30965
+ $$props.$$host.classList.toggle("is-empty", get$2(numTickets) === 0);
30966
+ });
30963
30967
  var $$exports = {
30964
30968
  details,
30965
30969
  get filters() {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "1.31.2",
7
+ "version": "1.32.0",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",