@gomusdev/web-components 1.21.0 → 1.22.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.
@@ -31146,7 +31146,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31146
31146
  create_custom_element(Wrapper, { host: {}, children: {} }, [], [], true);
31147
31147
  function TicketSelection($$anchor, $$props) {
31148
31148
  push($$props, true);
31149
- let mode = prop($$props, "mode", 7), filters = prop($$props, "filters", 7), eventIds = prop($$props, "eventIds", 7), museumIds = prop($$props, "museumIds", 7), exhibitionIds = prop($$props, "exhibitionIds", 7), ticketIds = prop($$props, "ticketIds", 7), ticketGroupIds = prop($$props, "ticketGroupIds", 7);
31149
+ let mode = prop($$props, "mode", 7), filters = prop($$props, "filters", 7), eventIds = prop($$props, "eventIds", 7), museumIds = prop($$props, "museumIds", 7), exhibitionIds = prop($$props, "exhibitionIds", 7), selectedDate = prop($$props, "selectedDate", 7), ticketIds = prop($$props, "ticketIds", 7), ticketGroupIds = prop($$props, "ticketGroupIds", 7);
31150
31150
  const details = new TicketSelectionDetails();
31151
31151
  user_effect(() => {
31152
31152
  details.mode = mode();
@@ -31156,6 +31156,9 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31156
31156
  details.exhibitionIds = parseIds(exhibitionIds());
31157
31157
  details.ticketIds = parseIds(ticketIds());
31158
31158
  details.ticketGroupIds = parseIds(ticketGroupIds());
31159
+ if (selectedDate()) {
31160
+ details.selectedDate = $fae977aafc393c5c$export$6b862160d295c8e(selectedDate());
31161
+ }
31159
31162
  });
31160
31163
  setTicketSelectionDetails($$props.$$host, details);
31161
31164
  var $$exports = {
@@ -31195,6 +31198,13 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31195
31198
  exhibitionIds($$value);
31196
31199
  flushSync();
31197
31200
  },
31201
+ get selectedDate() {
31202
+ return selectedDate();
31203
+ },
31204
+ set selectedDate($$value) {
31205
+ selectedDate($$value);
31206
+ flushSync();
31207
+ },
31198
31208
  get ticketIds() {
31199
31209
  return ticketIds();
31200
31210
  },
@@ -31221,6 +31231,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31221
31231
  ticketGroupIds: { attribute: "ticket-group-ids", reflect: true, type: "String" },
31222
31232
  museumIds: { attribute: "museum-ids", reflect: true, type: "String" },
31223
31233
  exhibitionIds: { attribute: "exhibition-ids", reflect: true, type: "String" },
31234
+ selectedDate: { attribute: "selected-date", reflect: true, type: "String" },
31224
31235
  filters: {}
31225
31236
  },
31226
31237
  [],
@@ -31146,7 +31146,7 @@ function Wrapper($$anchor, $$props) {
31146
31146
  create_custom_element(Wrapper, { host: {}, children: {} }, [], [], true);
31147
31147
  function TicketSelection($$anchor, $$props) {
31148
31148
  push($$props, true);
31149
- let mode = prop($$props, "mode", 7), filters = prop($$props, "filters", 7), eventIds = prop($$props, "eventIds", 7), museumIds = prop($$props, "museumIds", 7), exhibitionIds = prop($$props, "exhibitionIds", 7), ticketIds = prop($$props, "ticketIds", 7), ticketGroupIds = prop($$props, "ticketGroupIds", 7);
31149
+ let mode = prop($$props, "mode", 7), filters = prop($$props, "filters", 7), eventIds = prop($$props, "eventIds", 7), museumIds = prop($$props, "museumIds", 7), exhibitionIds = prop($$props, "exhibitionIds", 7), selectedDate = prop($$props, "selectedDate", 7), ticketIds = prop($$props, "ticketIds", 7), ticketGroupIds = prop($$props, "ticketGroupIds", 7);
31150
31150
  const details = new TicketSelectionDetails();
31151
31151
  user_effect(() => {
31152
31152
  details.mode = mode();
@@ -31156,6 +31156,9 @@ function TicketSelection($$anchor, $$props) {
31156
31156
  details.exhibitionIds = parseIds(exhibitionIds());
31157
31157
  details.ticketIds = parseIds(ticketIds());
31158
31158
  details.ticketGroupIds = parseIds(ticketGroupIds());
31159
+ if (selectedDate()) {
31160
+ details.selectedDate = $fae977aafc393c5c$export$6b862160d295c8e(selectedDate());
31161
+ }
31159
31162
  });
31160
31163
  setTicketSelectionDetails($$props.$$host, details);
31161
31164
  var $$exports = {
@@ -31195,6 +31198,13 @@ function TicketSelection($$anchor, $$props) {
31195
31198
  exhibitionIds($$value);
31196
31199
  flushSync();
31197
31200
  },
31201
+ get selectedDate() {
31202
+ return selectedDate();
31203
+ },
31204
+ set selectedDate($$value) {
31205
+ selectedDate($$value);
31206
+ flushSync();
31207
+ },
31198
31208
  get ticketIds() {
31199
31209
  return ticketIds();
31200
31210
  },
@@ -31221,6 +31231,7 @@ customElements.define("go-ticket-selection", create_custom_element(
31221
31231
  ticketGroupIds: { attribute: "ticket-group-ids", reflect: true, type: "String" },
31222
31232
  museumIds: { attribute: "museum-ids", reflect: true, type: "String" },
31223
31233
  exhibitionIds: { attribute: "exhibition-ids", reflect: true, type: "String" },
31234
+ selectedDate: { attribute: "selected-date", reflect: true, type: "String" },
31224
31235
  filters: {}
31225
31236
  },
31226
31237
  [],
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "1.21.0",
7
+ "version": "1.22.0",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",