@gomusdev/web-components 2.1.1-next.1 → 3.0.0-next.1
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 +936 -12
- package/dist-js/components/cart/components/CartCoupons.svelte.d.ts +1 -0
- package/dist-js/components/cart/components/CartDiscountedAmount.svelte.d.ts +1 -0
- package/dist-js/components/cart/components/CartItems.svelte.d.ts +1 -0
- package/dist-js/components/cart/components/CartSubtotalAmount.svelte.d.ts +1 -0
- package/dist-js/components/cart/components/CartTotalAmount.svelte.d.ts +1 -0
- package/dist-js/gomus-webcomponents.css +52 -15
- package/dist-js/gomus-webcomponents.iife.js +406 -272
- package/dist-js/gomus-webcomponents.js +406 -272
- package/dist-js/gomus-webcomponents.min.css +1 -1
- package/dist-js/gomus-webcomponents.min.iife.js +12 -12
- package/dist-js/gomus-webcomponents.min.js +7131 -7026
- package/dist-js/src/components/cart/components/CartCounter.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/CartCoupons.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/CartDetails.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/CartDetails.svelte.d.ts +15 -0
- package/dist-js/src/components/cart/components/CartDiscountedAmount.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/CartItems.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/CartSubtotalAmount.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/CartTotalAmount.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/Item.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/itemTitles/Event.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/itemTitles/Ticket.spec.d.ts +1 -0
- package/dist-js/src/components/cart/components/utils.spec.d.ts +1 -0
- package/dist-js/src/factories/CartItemFactories.d.ts +173 -0
- package/dist-js/src/test-helpers/resetShop.d.ts +1 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -1,18 +1,942 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.0.11
|
|
4
|
-
- Selected Timeslot have now the attribute `data-go-selected`
|
|
3
|
+
## 3.0.0-next.1 (2026-05-11)
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
- Fix import for `go-total`
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
-
|
|
7
|
+
* **cart:** <go-cart> is now a composable shell. The old self-rendering
|
|
8
|
+
<go-cart></go-cart> markup no longer renders the standard layout — integrators
|
|
9
|
+
must migrate to the new subcomponents (<go-cart-items>, <go-cart-coupons>,
|
|
10
|
+
<go-cart-subtotal-amount>, <go-cart-discounted-amount>, <go-cart-total-amount>)
|
|
11
|
+
or use the `default` attribute as a drop-in. Coupon row classes are renamed
|
|
12
|
+
(.go-cart-coupon, .go-cart-coupon-code, .go-cart-coupon-remove). The remove
|
|
13
|
+
button uses the shared .go-cart-remove class. <go-if> now exposes the cart
|
|
14
|
+
projection as data.cartView. See README.md and the cart documentation for
|
|
15
|
+
the full migration.
|
|
13
16
|
|
|
17
|
+
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
|
14
18
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **cart, if:** expose cart projection to go-if and document coupon scenarios
|
|
22
|
+
* **cart:** enhance layout & UX with new coupon redemption and styling updates
|
|
23
|
+
* **cart:** modularize cart components and add customizable subcomponents
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* flush unsubmitted coupon token before checkout
|
|
28
|
+
* validate coupon on go-after-validation, not just submit
|
|
29
|
+
|
|
30
|
+
### Documentation
|
|
31
|
+
|
|
32
|
+
* **cart:** announce 3.0.0 breaking change for cart composable rewrite
|
|
33
|
+
|
|
34
|
+
# Changelog
|
|
35
|
+
|
|
36
|
+
## 2.1.1-next.1 (2026-05-08)
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* Just testing next release
|
|
41
|
+
|
|
42
|
+
## 2.1.0 (2026-05-05)
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* add bundle analysis scripts for web components
|
|
47
|
+
|
|
48
|
+
## 2.0.0 (2026-05-05)
|
|
49
|
+
|
|
50
|
+
Major release. All ticket-selection filter names changed. `mode` attribute removed. `<go-ticket-segment filters>` now multi-valued and optional (inherits from parent). New `event:admission` / `events:admission` filter family with `:day` / `:timeslot` ticket-type splits.
|
|
51
|
+
|
|
52
|
+
### ⚠ BREAKING CHANGES — what integrators must update
|
|
53
|
+
|
|
54
|
+
#### 1. Rename your filters
|
|
55
|
+
|
|
56
|
+
All filter tokens used in `<go-ticket-selection filters="...">` and `<go-ticket-segment filters="...">` must be renamed.
|
|
57
|
+
|
|
58
|
+
| Old (≤ 1.57) | New (2.0) | Notes |
|
|
59
|
+
|-----------------------|-----------------------------|---------------------------------------------------|
|
|
60
|
+
| `timeslot` | `ticket:timeslot` | renamed |
|
|
61
|
+
| `day` | `ticket:day` | renamed |
|
|
62
|
+
| `annual` | `ticket:annual` | renamed |
|
|
63
|
+
| `event:ticket` | `event:admission` | renamed |
|
|
64
|
+
| `event:scaled-price` | `event:price` | renamed |
|
|
65
|
+
| `events:scaled-price` | `events:price` | renamed |
|
|
66
|
+
| — | `event:admission:day` | **new** — single event, day tickets only |
|
|
67
|
+
| — | `event:admission:timeslot` | **new** — single event, timed-entry tickets only |
|
|
68
|
+
| — | `events:admission` | **new** — multi-event admission listing |
|
|
69
|
+
| — | `events:admission:day` | **new** — multi-event admission, day tickets only |
|
|
70
|
+
| — | `events:admission:timeslot` | **new** — multi-event admission, timed-entry only |
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
Unknown filter tokens now emit a `console.warn` listing valid names instead of failing silently.
|
|
74
|
+
|
|
75
|
+
#### 2. Drop the `mode` attribute
|
|
76
|
+
|
|
77
|
+
```html
|
|
78
|
+
<!-- before -->
|
|
79
|
+
<go-ticket-selection mode="ticket" filters="timeslot"></go-ticket-selection>
|
|
80
|
+
|
|
81
|
+
<!-- after -->
|
|
82
|
+
<go-ticket-selection filters="ticket:timeslot"></go-ticket-selection>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
The `mode` attribute is ignored and emits a deprecation warning if present. Remove it.
|
|
86
|
+
|
|
87
|
+
#### 3. `<go-ticket-segment filters>` is now multi-valued and optional
|
|
88
|
+
|
|
89
|
+
* Comma-separated: `<go-ticket-segment filters="ticket:day,ticket:timeslot">` runs both filters in the same segment in parallel.
|
|
90
|
+
* Optional: when omitted, the segment inherits the parent `<go-ticket-selection filters>`. Previously the segment threw if `filters` was missing.
|
|
91
|
+
|
|
92
|
+
```html
|
|
93
|
+
<!-- before — filters required, single value -->
|
|
94
|
+
<go-ticket-selection filters="timeslot">
|
|
95
|
+
<go-ticket-segment filters="timeslot"></go-ticket-segment>
|
|
96
|
+
</go-ticket-selection>
|
|
97
|
+
|
|
98
|
+
<!-- after — segment inherits parent -->
|
|
99
|
+
<go-ticket-selection filters="ticket:timeslot">
|
|
100
|
+
<go-ticket-segment></go-ticket-segment>
|
|
101
|
+
</go-ticket-selection>
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Parent and child filters still need to stay consistent — no auto-inference between selection-level visibility and segment-level loading.
|
|
105
|
+
|
|
106
|
+
### Features
|
|
107
|
+
|
|
108
|
+
* **New filter `event:admission`** (replaces `event:ticket`). Renders an event's admission tickets and scopes timeslot capacity to the event's own ticket IDs, so unrelated shop-wide timeslot tickets no longer leak into the picker.
|
|
109
|
+
|
|
110
|
+
* **New filter `events:admission`** — multi-event listing that renders each event's admission tickets for the selected date + time window. Use for "What's on today" pages.
|
|
111
|
+
|
|
112
|
+
* **New filters `event:admission:day`, `event:admission:timeslot`, `events:admission:day`, `events:admission:timeslot`** — split admission flows by ticket type so day tickets and timed-entry tickets render in separate segments. Plain `event:admission` / `events:admission` still render every type.
|
|
113
|
+
|
|
114
|
+
* **Multiple filters per segment.** `<go-ticket-segment filters="a,b">` loads both filters in parallel and merges their tickets into the same segment.
|
|
115
|
+
|
|
116
|
+
* **Segment filter inheritance.** Omit `filters` on `<go-ticket-segment>` to fall back to the parent `<go-ticket-selection filters>`.
|
|
117
|
+
|
|
118
|
+
* **Better diagnostics.** Unknown filter tokens log a warning listing the valid names. The deprecated `mode` attribute logs a deprecation warning.
|
|
119
|
+
|
|
120
|
+
### Bug Fixes
|
|
121
|
+
|
|
122
|
+
* **`event:admission` timeslot picker no longer mixes capacities from unrelated shop tickets.** Previously, slots (e.g. 10:00) could appear sold-out on an event because an unrelated shop-wide timeslot ticket had no capacity, even though the event's own tickets did. Each filter's timeslot fetch is now scoped to its own ticket IDs.
|
|
123
|
+
|
|
124
|
+
## 1.57.0 (2026-05-04)
|
|
125
|
+
|
|
126
|
+
### Features
|
|
127
|
+
|
|
128
|
+
* Add photo upload field to annual ticket personalization
|
|
129
|
+
|
|
130
|
+
## 1.56.1 (2026-04-28)
|
|
131
|
+
|
|
132
|
+
### Bug Fixes
|
|
133
|
+
|
|
134
|
+
* Import type issue
|
|
135
|
+
|
|
136
|
+
## 1.56.0 (2026-04-28)
|
|
137
|
+
|
|
138
|
+
### Features
|
|
139
|
+
|
|
140
|
+
* add support for flat event tickets with subtype handling
|
|
141
|
+
* enhance cart model with improved type safety and subtype handling
|
|
142
|
+
* refactor product model to a proper discriminated union
|
|
143
|
+
* refactor product model to replace `product_type` with `type` and introduce `subtype`
|
|
144
|
+
* Update Naming: replace scaling price tickets with event tickets and update references
|
|
145
|
+
|
|
146
|
+
## 1.55.3 (2026-04-27)
|
|
147
|
+
|
|
148
|
+
### Bug Fixes
|
|
149
|
+
|
|
150
|
+
* Clear go-auth data for guest accounts after checkout
|
|
151
|
+
|
|
152
|
+
## 1.55.2 (2026-04-21)
|
|
153
|
+
|
|
154
|
+
### Bug Fixes
|
|
155
|
+
|
|
156
|
+
* Pass correct payment Id to order api
|
|
157
|
+
|
|
158
|
+
## 1.55.1 (2026-04-20)
|
|
159
|
+
|
|
160
|
+
### Bug Fixes
|
|
161
|
+
|
|
162
|
+
* Remove date from annual ticket cart item
|
|
163
|
+
|
|
164
|
+
## 1.55.0 (2026-04-20)
|
|
165
|
+
|
|
166
|
+
### Features
|
|
167
|
+
|
|
168
|
+
* implement CSP-safe expression evaluator with extended syntax support
|
|
169
|
+
|
|
170
|
+
## 1.54.2 (2026-04-17)
|
|
171
|
+
|
|
172
|
+
### Bug Fixes
|
|
173
|
+
|
|
174
|
+
* Disable cross tab sync for cart
|
|
175
|
+
* Do not call cart api when there are no coupons applied
|
|
176
|
+
|
|
177
|
+
## 1.54.1 (2026-04-16)
|
|
178
|
+
|
|
179
|
+
### Bug Fixes
|
|
180
|
+
|
|
181
|
+
* cart event scale prices display
|
|
182
|
+
|
|
183
|
+
## 1.54.0 (2026-04-16)
|
|
184
|
+
|
|
185
|
+
### Features
|
|
186
|
+
|
|
187
|
+
* simplify timeslot selection logic with reusable dispatch function
|
|
188
|
+
|
|
189
|
+
### Bug Fixes
|
|
190
|
+
|
|
191
|
+
* auto-select the only available timeslot
|
|
192
|
+
|
|
193
|
+
## 1.53.0 (2026-04-14)
|
|
194
|
+
|
|
195
|
+
### Features
|
|
196
|
+
|
|
197
|
+
* add action token scenarios for cart with storybook integration
|
|
198
|
+
* Add createCart api call
|
|
199
|
+
* add display model and coupon handling logic for cart
|
|
200
|
+
* Allow to remove coupons from the cart
|
|
201
|
+
* enhance localStorage cart sync with deduplication and cross-tab support
|
|
202
|
+
* refactor cart logic to enhance coupon handling and display item model integration
|
|
203
|
+
* update cart display logic with new display model integration
|
|
204
|
+
* Update redeem function to call createCart when token is an action token
|
|
205
|
+
|
|
206
|
+
### Bug Fixes
|
|
207
|
+
|
|
208
|
+
* remove redundant `orderData` call and unused coupon logic
|
|
209
|
+
|
|
210
|
+
## 1.52.0 (2026-04-13)
|
|
211
|
+
|
|
212
|
+
### Features
|
|
213
|
+
|
|
214
|
+
* Add PaymentModes web component
|
|
215
|
+
* Refactor PaymentModes web component into form field
|
|
216
|
+
|
|
217
|
+
### Bug Fixes
|
|
218
|
+
|
|
219
|
+
* Hide payment mode input if there is only one option
|
|
220
|
+
|
|
221
|
+
## 1.51.1 (2026-03-31)
|
|
222
|
+
|
|
223
|
+
### Bug Fixes
|
|
224
|
+
|
|
225
|
+
* nest Web Components box inside Kunden-Website in presentation diagram
|
|
226
|
+
|
|
227
|
+
## 1.51.0 (2026-03-30)
|
|
228
|
+
|
|
229
|
+
### Features
|
|
230
|
+
|
|
231
|
+
* fix defining form fields via go.config
|
|
232
|
+
|
|
233
|
+
## 1.50.1 (2026-03-30)
|
|
234
|
+
|
|
235
|
+
### Bug Fixes
|
|
236
|
+
|
|
237
|
+
* ensure timeslots are sorted chronologically in QuotaManager
|
|
238
|
+
|
|
239
|
+
## 1.50.0 (2026-03-26)
|
|
240
|
+
|
|
241
|
+
### Features
|
|
242
|
+
|
|
243
|
+
* Form Errors Screen Reader Fix
|
|
244
|
+
* improve dynamic ID handling in Field
|
|
245
|
+
* update field components to support multiple describedBy IDs
|
|
246
|
+
|
|
247
|
+
## 1.49.0 (2026-03-24)
|
|
248
|
+
|
|
249
|
+
### Features
|
|
250
|
+
|
|
251
|
+
* Use tickets dynamic_prices to update price based on timeslot selected
|
|
252
|
+
|
|
253
|
+
### Bug Fixes
|
|
254
|
+
|
|
255
|
+
* Remove items from the cart when they are in the past
|
|
256
|
+
|
|
257
|
+
## 1.48.0 (2026-03-19)
|
|
258
|
+
|
|
259
|
+
### Features
|
|
260
|
+
|
|
261
|
+
* add floor option to generateQuantityOptions and update cart item selector to use it
|
|
262
|
+
|
|
263
|
+
## 1.47.1 (2026-03-19)
|
|
264
|
+
|
|
265
|
+
### Bug Fixes
|
|
266
|
+
|
|
267
|
+
* show only edge on doc storybook shop selector
|
|
268
|
+
|
|
269
|
+
## 1.47.0 (2026-03-17)
|
|
270
|
+
|
|
271
|
+
### Features
|
|
272
|
+
|
|
273
|
+
* add accessibility tests to CI pipeline
|
|
274
|
+
* add preVisit hook to wait for Storybook to load
|
|
275
|
+
* implement accessibility test runner for Storybook
|
|
276
|
+
* increase test timeout for Storybook in CI
|
|
277
|
+
* refactor a11y test script into standalone bash file
|
|
278
|
+
|
|
279
|
+
### Bug Fixes
|
|
280
|
+
|
|
281
|
+
* extend Storybook timeout and add initialization check in a11y test script
|
|
282
|
+
* extend test timeout for a11y tests in Storybook
|
|
283
|
+
|
|
284
|
+
## 1.46.0 (2026-03-06)
|
|
285
|
+
|
|
286
|
+
### Features
|
|
287
|
+
|
|
288
|
+
* add personalization details to If component
|
|
289
|
+
|
|
290
|
+
## 1.45.0 (2026-03-04)
|
|
291
|
+
|
|
292
|
+
### Features
|
|
293
|
+
|
|
294
|
+
* improve form wrapping behavior and update form configuration logic
|
|
295
|
+
|
|
296
|
+
### Bug Fixes
|
|
297
|
+
|
|
298
|
+
* improve form configs merge logic in ConfigStore
|
|
299
|
+
|
|
300
|
+
## 1.44.0 (2026-03-04)
|
|
301
|
+
|
|
302
|
+
### Features
|
|
303
|
+
|
|
304
|
+
* Add ical_url to order items and add translations for hardcoded strings
|
|
305
|
+
|
|
306
|
+
## 1.43.0 (2026-03-03)
|
|
307
|
+
|
|
308
|
+
### Features
|
|
309
|
+
|
|
310
|
+
* add web components management presentation with FTP deploy
|
|
311
|
+
|
|
312
|
+
## 1.42.0 (2026-03-02)
|
|
313
|
+
|
|
314
|
+
### Features
|
|
315
|
+
|
|
316
|
+
* add localStorage support for capacity management with cross-tab sync
|
|
317
|
+
* add tests to ensure cart respects ticket capacity limits
|
|
318
|
+
* extract cart item rendering into a dedicated component
|
|
319
|
+
* improve accessibility and cart item rendering logic
|
|
320
|
+
|
|
321
|
+
### Bug Fixes
|
|
322
|
+
|
|
323
|
+
* ensure minimum seats default to 0 when undefined
|
|
324
|
+
|
|
325
|
+
## 1.41.0 (2026-02-25)
|
|
326
|
+
|
|
327
|
+
### Features
|
|
328
|
+
|
|
329
|
+
* add boockedOutCount for timeslots and improve test coverage
|
|
330
|
+
* add message display for booked out timeslots
|
|
331
|
+
* register timeslot details in TicketSelectionDetails
|
|
332
|
+
|
|
333
|
+
## 1.40.0 (2026-02-24)
|
|
334
|
+
|
|
335
|
+
### Features
|
|
336
|
+
|
|
337
|
+
* add `go` snippet loader and interface implementation with tests
|
|
338
|
+
* add Playwright unit test configuration and example test
|
|
339
|
+
* add static server support for Playwright tests
|
|
340
|
+
* migrate from `go` to `configStore` implementation
|
|
341
|
+
* refactor `go` implementation and enhance `configStore`
|
|
342
|
+
|
|
343
|
+
### Bug Fixes
|
|
344
|
+
|
|
345
|
+
* correct file path for snippet in interface test
|
|
346
|
+
* handle localStorage unavailability in shop mock setup
|
|
347
|
+
* update Vitest config to exclude additional e2e spec patterns
|
|
348
|
+
|
|
349
|
+
## 1.39.5 (2026-02-17)
|
|
350
|
+
|
|
351
|
+
### Bug Fixes
|
|
352
|
+
|
|
353
|
+
* Display event start_time along side event title
|
|
354
|
+
* Filter dates that are too far in the future
|
|
355
|
+
|
|
356
|
+
## 1.39.4 (2026-02-16)
|
|
357
|
+
|
|
358
|
+
### Bug Fixes
|
|
359
|
+
|
|
360
|
+
* Remove space from string
|
|
361
|
+
|
|
362
|
+
## 1.39.3 (2026-02-12)
|
|
363
|
+
|
|
364
|
+
### Bug Fixes
|
|
365
|
+
|
|
366
|
+
* Filter dates by available seats
|
|
367
|
+
|
|
368
|
+
## 1.39.2 (2026-02-05)
|
|
369
|
+
|
|
370
|
+
### Bug Fixes
|
|
371
|
+
|
|
372
|
+
* Add missing translations to annual ticket personalization list
|
|
373
|
+
|
|
374
|
+
## 1.39.1 (2026-01-26)
|
|
375
|
+
|
|
376
|
+
### Bug Fixes
|
|
377
|
+
|
|
378
|
+
* Passbook showing when ticket doesn't have it
|
|
379
|
+
|
|
380
|
+
## 1.39.0 (2026-01-23)
|
|
381
|
+
|
|
382
|
+
### Features
|
|
383
|
+
|
|
384
|
+
* add museum ID filtering for ticket segments
|
|
385
|
+
|
|
386
|
+
## 1.38.0 (2026-01-23)
|
|
387
|
+
|
|
388
|
+
### Features
|
|
389
|
+
|
|
390
|
+
* move timeslot filtering to the model level and removed some legacy code that was unused
|
|
391
|
+
|
|
392
|
+
### Bug Fixes
|
|
393
|
+
|
|
394
|
+
* Show correct timeslots when multiple exist with the same startAt
|
|
395
|
+
|
|
396
|
+
## 1.37.1 (2026-01-23)
|
|
397
|
+
|
|
398
|
+
### Bug Fixes
|
|
399
|
+
|
|
400
|
+
* Ensure that we pass locale parameters with post requests
|
|
401
|
+
|
|
402
|
+
## 1.37.0 (2026-01-20)
|
|
403
|
+
|
|
404
|
+
### Features
|
|
405
|
+
|
|
406
|
+
* Allow to pass date_id param to event:tickets segment
|
|
407
|
+
|
|
408
|
+
## 1.36.0 (2026-01-19)
|
|
409
|
+
|
|
410
|
+
### Features
|
|
411
|
+
|
|
412
|
+
* add configurable submit label support for forms
|
|
413
|
+
* add localization support for form submit labels
|
|
414
|
+
|
|
415
|
+
### Bug Fixes
|
|
416
|
+
|
|
417
|
+
* simplify form submit label localization logic
|
|
418
|
+
|
|
419
|
+
## 1.35.0 (2026-01-16)
|
|
420
|
+
|
|
421
|
+
### Features
|
|
422
|
+
|
|
423
|
+
* **cart:** Add coupon support with local storage persistence
|
|
424
|
+
* **coupon:** add coupon redemption component
|
|
425
|
+
|
|
426
|
+
## 1.34.0 (2026-01-16)
|
|
427
|
+
|
|
428
|
+
### Features
|
|
429
|
+
|
|
430
|
+
* add `fill` method to FormDetails and update components for data population
|
|
431
|
+
* add change password component with form validation
|
|
432
|
+
* add change password component with form validation
|
|
433
|
+
* add functionality to load scaled price tickets for events
|
|
434
|
+
* add new API methods for PUT and DELETE requests in shop store
|
|
435
|
+
* add new API methods for PUT and DELETE requests in shop store
|
|
436
|
+
* add onsubmit callback support for forms
|
|
437
|
+
* add onsubmit callback support for forms
|
|
438
|
+
* add Profile Details component
|
|
439
|
+
* add profile entry component for improved modularization
|
|
440
|
+
* add profile entry component for improved modularization
|
|
441
|
+
* add profile overview component with token validation
|
|
442
|
+
* add profile overview component with token validation
|
|
443
|
+
* add ticket group ID support for ticket loading and improve error handling
|
|
444
|
+
* add ticket group ID support for ticket loading and improve error handling
|
|
445
|
+
* add toString method to FormDetails class
|
|
446
|
+
* add toString method to FormDetails class
|
|
447
|
+
* enhance support for scaled price ticket filtering and event handling
|
|
448
|
+
* go-form to dispatch a submit event only after submitting valid forms
|
|
449
|
+
* go-form to dispatch a submit event only after submitting valid forms
|
|
450
|
+
* introduce support for bulk event scaled price tickets and query-based filters
|
|
451
|
+
* load auth on init
|
|
452
|
+
* load auth on init
|
|
453
|
+
* rename and update methods for loading scaled price tickets
|
|
454
|
+
* replace form binding with event-driven submission handling
|
|
455
|
+
* replace form binding with event-driven submission handling
|
|
456
|
+
* restructure profile components for modularity and add `Details` component
|
|
457
|
+
* restructure profile components for modularity and add `Details` component
|
|
458
|
+
* update password components and enhance submission handling
|
|
459
|
+
* update password components and enhance submission handling
|
|
460
|
+
* update Profile components to enhance data handling and structure
|
|
461
|
+
|
|
462
|
+
### Bug Fixes
|
|
463
|
+
|
|
464
|
+
* remove unused `[#fields](https://gitlab.giantmonkey.de/gomus/frontend/issues/fields)` property in FormDetails class
|
|
465
|
+
* remove unused `[#fields](https://gitlab.giantmonkey.de/gomus/frontend/issues/fields)` property in FormDetails class
|
|
466
|
+
|
|
467
|
+
## 1.33.1 (2026-01-15)
|
|
468
|
+
|
|
469
|
+
### Bug Fixes
|
|
470
|
+
|
|
471
|
+
* correct typo in LocalStorageCartItem type name
|
|
472
|
+
|
|
473
|
+
## 1.33.0 (2026-01-08)
|
|
474
|
+
|
|
475
|
+
### Features
|
|
476
|
+
|
|
477
|
+
* remove debugger
|
|
478
|
+
|
|
479
|
+
## 1.32.0 (2026-01-05)
|
|
480
|
+
|
|
481
|
+
### Features
|
|
482
|
+
|
|
483
|
+
* update TicketSegment to toggle 'is-empty' class based on ticket count
|
|
484
|
+
|
|
485
|
+
### Bug Fixes
|
|
486
|
+
|
|
487
|
+
* correct typo in TicketSegment comment
|
|
488
|
+
* update snapshot tests to include explicit class attribute
|
|
489
|
+
|
|
490
|
+
## 1.31.2 (2026-01-05)
|
|
491
|
+
|
|
492
|
+
### Bug Fixes
|
|
493
|
+
|
|
494
|
+
* fix is-selected class in calendar to always been correctly set
|
|
495
|
+
|
|
496
|
+
## 1.31.1 (2026-01-05)
|
|
497
|
+
|
|
498
|
+
### Bug Fixes
|
|
499
|
+
|
|
500
|
+
* adjust cart item rendering to remove extra whitespaces
|
|
501
|
+
|
|
502
|
+
## 1.31.0 (2026-01-05)
|
|
503
|
+
|
|
504
|
+
### Features
|
|
505
|
+
|
|
506
|
+
* add documentation for TicketsEmpty component
|
|
507
|
+
* add TicketsEmpty component for empty state handling
|
|
508
|
+
* enhance AddToCartButton tests with new ticket factory and capacity logic
|
|
509
|
+
* enhance timeslot and ticket handling with availability filters and CSS updates
|
|
510
|
+
* introduce ticket factory and enhance tests with capacities
|
|
511
|
+
|
|
512
|
+
## 1.30.0 (2025-12-29)
|
|
513
|
+
|
|
514
|
+
### Features
|
|
515
|
+
|
|
516
|
+
* add support for event titles and scaled prices in cart
|
|
517
|
+
|
|
518
|
+
### Bug Fixes
|
|
519
|
+
|
|
520
|
+
* remove unnecessary debug calls and adjust snapshots for ticket titles
|
|
521
|
+
|
|
522
|
+
## 1.29.0 (2025-12-29)
|
|
523
|
+
|
|
524
|
+
### Features
|
|
525
|
+
|
|
526
|
+
* enhance ticket selection calendar and localization support
|
|
527
|
+
|
|
528
|
+
## 1.28.0 (2025-12-25)
|
|
529
|
+
|
|
530
|
+
### Features
|
|
531
|
+
|
|
532
|
+
* ensure real-time error updates in forms for better feedback accessibility
|
|
533
|
+
* improve dynamic form handling and refine field validation logic
|
|
534
|
+
|
|
535
|
+
### Bug Fixes
|
|
536
|
+
|
|
537
|
+
* remove unused $inspect call in ErrorsFeedback component
|
|
538
|
+
|
|
539
|
+
## 1.27.2 (2025-12-25)
|
|
540
|
+
|
|
541
|
+
### Bug Fixes
|
|
542
|
+
|
|
543
|
+
* handle additional error cases and improve error counting in forms
|
|
544
|
+
|
|
545
|
+
## 1.27.1 (2025-12-25)
|
|
546
|
+
|
|
547
|
+
### Bug Fixes
|
|
548
|
+
|
|
549
|
+
* ensure beforeSubmit function supports async operations in checkout form
|
|
550
|
+
|
|
551
|
+
## 1.27.0 (2025-12-24)
|
|
552
|
+
|
|
553
|
+
### Features
|
|
554
|
+
|
|
555
|
+
* add country field to checkout form and improve select field handling
|
|
556
|
+
* add localization support for cart headers and update documentation
|
|
557
|
+
* add localization support for cart headers and update documentation
|
|
558
|
+
* enhance form localization and error handling
|
|
559
|
+
* enhance form localization and error handling
|
|
560
|
+
* localize field errors and documentation for forms
|
|
561
|
+
* localize field errors and documentation for forms
|
|
562
|
+
* remove HostWC.svelte and refactor ticket and cart components
|
|
563
|
+
* remove HostWC.svelte and refactor ticket and cart components
|
|
564
|
+
* update form fields and localization handling
|
|
565
|
+
* update form fields and localization handling
|
|
566
|
+
|
|
567
|
+
### Bug Fixes
|
|
568
|
+
|
|
569
|
+
* Show sold out timeslots
|
|
570
|
+
|
|
571
|
+
## 1.26.3 (2025-12-16)
|
|
572
|
+
|
|
573
|
+
### Bug Fixes
|
|
574
|
+
|
|
575
|
+
* Use depth param for calendar api
|
|
576
|
+
|
|
577
|
+
## 1.26.2 (2025-12-15)
|
|
578
|
+
|
|
579
|
+
### Bug Fixes
|
|
580
|
+
|
|
581
|
+
* Day tickets checking wrong time for their quota
|
|
582
|
+
|
|
583
|
+
## 1.26.1 (2025-12-15)
|
|
584
|
+
|
|
585
|
+
### Bug Fixes
|
|
586
|
+
|
|
587
|
+
* Use $derived for cart in checkoutForm
|
|
588
|
+
|
|
589
|
+
## 1.26.0 (2025-12-15)
|
|
590
|
+
|
|
591
|
+
### Features
|
|
592
|
+
|
|
593
|
+
* Adjusted seat capacity calculation to sum only matching items in the cart and precart.
|
|
594
|
+
|
|
595
|
+
### Bug Fixes
|
|
596
|
+
|
|
597
|
+
* specs
|
|
598
|
+
|
|
599
|
+
## 1.25.4 (2025-12-11)
|
|
600
|
+
|
|
601
|
+
### Bug Fixes
|
|
602
|
+
|
|
603
|
+
* Add event times in order confirmation
|
|
604
|
+
* Show event times in cart
|
|
605
|
+
|
|
606
|
+
## 1.25.3 (2025-12-11)
|
|
607
|
+
|
|
608
|
+
### Bug Fixes
|
|
609
|
+
|
|
610
|
+
* cart unsafe mutation issue
|
|
611
|
+
|
|
612
|
+
## 1.25.2 (2025-12-10)
|
|
613
|
+
|
|
614
|
+
### Bug Fixes
|
|
615
|
+
|
|
616
|
+
* Reset timeslots when date changes
|
|
617
|
+
|
|
618
|
+
## 1.25.1 (2025-12-09)
|
|
619
|
+
|
|
620
|
+
### Bug Fixes
|
|
621
|
+
|
|
622
|
+
* Use barcodeId param for pdf download url
|
|
623
|
+
|
|
624
|
+
## 1.25.0 (2025-12-09)
|
|
625
|
+
|
|
626
|
+
### Features
|
|
627
|
+
|
|
628
|
+
* introduce availability policies for cart item management
|
|
629
|
+
* remove availability policies and introduce centralized capacity management
|
|
630
|
+
|
|
631
|
+
## 1.24.1 (2025-12-03)
|
|
632
|
+
|
|
633
|
+
### Bug Fixes
|
|
634
|
+
|
|
635
|
+
* Filter out tickets that do not have capacities for the selected timeslot
|
|
636
|
+
|
|
637
|
+
## 1.24.0 (2025-12-02)
|
|
638
|
+
|
|
639
|
+
### Features
|
|
640
|
+
|
|
641
|
+
* add descriptive class names to CalendarUI components
|
|
642
|
+
* add selected-date and filters as reflected attrs to the go-ticket-selection
|
|
643
|
+
* add warning for undefined routes in Link component
|
|
644
|
+
* optimize calendar fetch logic: Fetch 3 months
|
|
645
|
+
|
|
646
|
+
## 1.23.0 (2025-11-30)
|
|
647
|
+
|
|
648
|
+
### Features
|
|
649
|
+
|
|
650
|
+
* refactor ticket loading methods and introduce `loadEventTickets`
|
|
651
|
+
* update ticket segment logic for event tickets
|
|
652
|
+
|
|
653
|
+
### Bug Fixes
|
|
654
|
+
|
|
655
|
+
* remove unused logs and improve ticket capacity handling
|
|
656
|
+
* update eventTickets imports and unskip TicketSegment test
|
|
657
|
+
|
|
658
|
+
## 1.22.3 (2025-11-26)
|
|
659
|
+
|
|
660
|
+
### Bug Fixes
|
|
661
|
+
|
|
662
|
+
* Add Event item to go-orders-breakdown
|
|
663
|
+
|
|
664
|
+
## 1.22.2 (2025-11-26)
|
|
665
|
+
|
|
666
|
+
### Bug Fixes
|
|
667
|
+
|
|
668
|
+
* Clear cart when go-order mounts
|
|
669
|
+
|
|
670
|
+
## 1.22.1 (2025-11-26)
|
|
671
|
+
|
|
672
|
+
### Bug Fixes
|
|
673
|
+
|
|
674
|
+
* Remove throw error from generateQuantityOptions
|
|
675
|
+
|
|
676
|
+
## 1.22.0 (2025-11-25)
|
|
677
|
+
|
|
678
|
+
### Features
|
|
679
|
+
|
|
680
|
+
* selected-date
|
|
681
|
+
|
|
682
|
+
## 1.21.0 (2025-11-25)
|
|
683
|
+
|
|
684
|
+
### Features
|
|
685
|
+
|
|
686
|
+
* cart.continget to cap the amount of items in the cart
|
|
687
|
+
* go link component
|
|
688
|
+
* Scaled Price Events respect data.seat to calculate the capacity
|
|
689
|
+
* Ticket Selection, event mode
|
|
690
|
+
|
|
691
|
+
### Bug Fixes
|
|
692
|
+
|
|
693
|
+
* make the cartItem.uuid unique
|
|
694
|
+
|
|
695
|
+
## 1.20.1 (2025-11-24)
|
|
696
|
+
|
|
697
|
+
### Bug Fixes
|
|
698
|
+
|
|
699
|
+
* $ in class
|
|
700
|
+
|
|
701
|
+
## 1.20.0 (2025-11-19)
|
|
702
|
+
|
|
703
|
+
### Features
|
|
704
|
+
|
|
705
|
+
* Add go-order component
|
|
706
|
+
|
|
707
|
+
## 1.19.0 (2025-11-18)
|
|
708
|
+
|
|
709
|
+
### Features
|
|
710
|
+
|
|
711
|
+
* update dummy component styles
|
|
712
|
+
|
|
713
|
+
## 1.18.0 (2025-11-18)
|
|
714
|
+
|
|
715
|
+
### Features
|
|
716
|
+
|
|
717
|
+
* update dummy component styles
|
|
718
|
+
|
|
719
|
+
## 1.17.0 (2025-11-18)
|
|
720
|
+
|
|
721
|
+
### Features
|
|
722
|
+
|
|
723
|
+
* new version
|
|
724
|
+
|
|
725
|
+
## 1.16.2 (2025-11-13)
|
|
726
|
+
|
|
727
|
+
### Bug Fixes
|
|
728
|
+
|
|
729
|
+
* Log error instead of throwing
|
|
730
|
+
|
|
731
|
+
## 1.16.1 (2025-11-12)
|
|
732
|
+
|
|
733
|
+
### Bug Fixes
|
|
734
|
+
|
|
735
|
+
* Do not throw error when evaluating expression
|
|
736
|
+
|
|
737
|
+
## 1.16.0 (2025-11-12)
|
|
738
|
+
|
|
739
|
+
### Features
|
|
740
|
+
|
|
741
|
+
* getDetails
|
|
742
|
+
|
|
743
|
+
## 1.15.0 (2025-11-11)
|
|
744
|
+
|
|
745
|
+
### Features
|
|
746
|
+
|
|
747
|
+
* add cart event dispatching for item addition/removal
|
|
748
|
+
|
|
749
|
+
## 1.14.0 (2025-11-11)
|
|
750
|
+
|
|
751
|
+
### Features
|
|
752
|
+
|
|
753
|
+
* update belvedere staging shop domain
|
|
754
|
+
|
|
755
|
+
## 1.13.0 (2025-11-10)
|
|
756
|
+
|
|
757
|
+
### Features
|
|
758
|
+
|
|
759
|
+
* add confirmation email and password validation for forms
|
|
760
|
+
* remove API required fields validation from FormDetails
|
|
761
|
+
* remove support for required API keys in forms
|
|
762
|
+
* shop.apiPost add validation utilities and integrate body validation in API methods
|
|
763
|
+
* update form validation logic and downgrade vitest version
|
|
764
|
+
|
|
765
|
+
### Bug Fixes
|
|
766
|
+
|
|
767
|
+
* handle missing host connection in createGetDetails
|
|
768
|
+
|
|
769
|
+
## 1.12.0 (2025-11-10)
|
|
770
|
+
|
|
771
|
+
### Features
|
|
772
|
+
|
|
773
|
+
* Add classButton property to go-submit
|
|
774
|
+
* Add classLabel and classInput properties to go-field component
|
|
775
|
+
|
|
776
|
+
## 1.11.0 (2025-11-04)
|
|
777
|
+
|
|
778
|
+
### Features
|
|
779
|
+
|
|
780
|
+
* add `go-cart-empty` component for empty cart state handling
|
|
781
|
+
* enhance cart item structure
|
|
782
|
+
|
|
783
|
+
## 1.10.0 (2025-11-04)
|
|
784
|
+
|
|
785
|
+
### Features
|
|
786
|
+
|
|
787
|
+
* Add annual ticket personalization components
|
|
788
|
+
|
|
789
|
+
## 1.9.0 (2025-11-03)
|
|
790
|
+
|
|
791
|
+
### Features
|
|
792
|
+
|
|
793
|
+
* rename ticket group component to ticket segment component
|
|
794
|
+
* rename ticket group components to segment components
|
|
795
|
+
|
|
796
|
+
## 1.8.6 (2025-10-28)
|
|
797
|
+
|
|
798
|
+
### Bug Fixes
|
|
799
|
+
|
|
800
|
+
* merge customOptions to go.options
|
|
801
|
+
|
|
802
|
+
## 1.8.5 (2025-10-28)
|
|
803
|
+
|
|
804
|
+
### Bug Fixes
|
|
805
|
+
|
|
806
|
+
* Add Cart counter to exports
|
|
807
|
+
|
|
808
|
+
## 1.8.4 (2025-10-23)
|
|
809
|
+
|
|
810
|
+
### Bug Fixes
|
|
811
|
+
|
|
812
|
+
* Use locales data from gomus
|
|
813
|
+
|
|
814
|
+
## 1.8.3 (2025-10-21)
|
|
815
|
+
|
|
816
|
+
### Bug Fixes
|
|
817
|
+
|
|
818
|
+
* go-if not working inside of go-checkout-form
|
|
819
|
+
|
|
820
|
+
## 1.8.2 (2025-10-17)
|
|
821
|
+
|
|
822
|
+
### Bug Fixes
|
|
823
|
+
|
|
824
|
+
* Do not throw when api is not yet set
|
|
825
|
+
* field definition for custom form docs
|
|
826
|
+
* Typos
|
|
827
|
+
|
|
828
|
+
## 1.8.1 (2025-10-14)
|
|
829
|
+
|
|
830
|
+
### Bug Fixes
|
|
831
|
+
|
|
832
|
+
* correct `apiKey` mapping in form field definitions
|
|
833
|
+
|
|
834
|
+
## 1.8.0 (2025-10-14)
|
|
835
|
+
|
|
836
|
+
### Features
|
|
837
|
+
|
|
838
|
+
* semantic release
|
|
839
|
+
|
|
840
|
+
## 1.7.0 (2025-10-14)
|
|
841
|
+
|
|
842
|
+
### Features
|
|
843
|
+
|
|
844
|
+
* enhance form handling with updated field and error management
|
|
845
|
+
* improve form validation and error handling
|
|
846
|
+
* refactor form field management and add new form handling logic
|
|
847
|
+
* replace `id` with `key` in form fields for consistency
|
|
848
|
+
* replace `name` attribute with `key` in `go-field` and enhance form handling
|
|
849
|
+
* update form fields to use `go-field` and deprecate `go-input`
|
|
850
|
+
|
|
851
|
+
### Bug Fixes
|
|
852
|
+
|
|
853
|
+
* remove unnecessary fetch condition and update tests
|
|
854
|
+
|
|
855
|
+
## 1.6.0 (2025-10-13)
|
|
856
|
+
|
|
857
|
+
### Features
|
|
858
|
+
|
|
859
|
+
* add `fields` getter to `FormDetails` component
|
|
860
|
+
* add `beforeSubmit` callback for forms
|
|
861
|
+
* add `beforeSubmit` hook for guest checkout
|
|
862
|
+
* add conditional logic for form fields in `IfInForm`
|
|
863
|
+
* add custom form documentation and update field serialization logic
|
|
864
|
+
* add dynamic conditional logic and documentation for `IfInForm`
|
|
865
|
+
* add support for guest checkout with salutation and validation
|
|
866
|
+
* fix spex
|
|
867
|
+
* remove `guestCheckout` and related utilities in favor of direct `shop` API integration
|
|
868
|
+
|
|
869
|
+
## 1.5.0 (2025-10-07)
|
|
870
|
+
|
|
871
|
+
### Features
|
|
872
|
+
|
|
873
|
+
* (Auth) add expiry handling to the auth
|
|
874
|
+
* (Auth) small change
|
|
875
|
+
* (Forms) add a formData to form details
|
|
876
|
+
|
|
877
|
+
### Bug Fixes
|
|
878
|
+
|
|
879
|
+
* **auth:** ensure invalid auth JSON triggers sign out
|
|
880
|
+
* **auth:** small fix
|
|
881
|
+
* **auth:** small fix
|
|
882
|
+
|
|
883
|
+
## 1.4.0 (2025-10-07)
|
|
884
|
+
|
|
885
|
+
### Features
|
|
886
|
+
|
|
887
|
+
* (Ticket Selection) add ticket-group-ids attribute and also filter by day
|
|
888
|
+
|
|
889
|
+
## 1.3.0 (2025-10-06)
|
|
890
|
+
|
|
891
|
+
### Features
|
|
892
|
+
|
|
893
|
+
* **auth:** Auth Store and Middleware
|
|
894
|
+
* **auth:** implement AuthMiddleware for request authentication and response handling
|
|
895
|
+
|
|
896
|
+
## 1.2.0 (2025-09-30)
|
|
897
|
+
|
|
898
|
+
### Features
|
|
899
|
+
|
|
900
|
+
* add standard input fields documentation for CheckoutForm
|
|
901
|
+
|
|
902
|
+
## 1.1.0 (2025-09-30)
|
|
903
|
+
|
|
904
|
+
### Features
|
|
905
|
+
|
|
906
|
+
* login form
|
|
907
|
+
* login form
|
|
908
|
+
|
|
909
|
+
## 1.0.0 (2025-09-25)
|
|
910
|
+
|
|
911
|
+
### Features
|
|
912
|
+
|
|
913
|
+
* **cart, localStorage:** Improve cart and localStorage synchronization logic
|
|
914
|
+
* **cart, tickets:** Add local storage handling and integrate cart button
|
|
915
|
+
* **cart, tickets:** Enhance cart attributes and improve local storage handling
|
|
916
|
+
* **cart, tickets:** Enhance cart structure and simplify ticket quantity handling
|
|
917
|
+
* **cart, tickets:** Improve cart and local storage synchronization
|
|
918
|
+
* **cart, tickets:** Refactor `Cart` logic, improve localStorage sync, and enhance tests
|
|
919
|
+
* **cart, tickets:** Refactor add-to-cart logic and enhance associated tests
|
|
920
|
+
* **cart, tickets:** Refactor cart and ticket components for improved functionality
|
|
921
|
+
* **cart, tickets:** Refactor components, tests, and mocks for maintainability
|
|
922
|
+
* **cart, tickets:** Update layouts, enhance state handling, and improve UI consistency
|
|
923
|
+
* **cart, tickets:** Update layouts, enhance state handling, and improve UI consistency
|
|
924
|
+
* **cart:** Add CartHost, improve cart functionality, and update tests
|
|
925
|
+
* **cart:** Enhance cart handling with property tracking and sum utility
|
|
926
|
+
* Kitbook multilingual preview
|
|
927
|
+
* **tickets, calendar:** Refactor ticket selection and calendar components
|
|
928
|
+
* **tickets, cart:** Modularize and enhance ticket group functionality
|
|
929
|
+
* **tickets, cart:** Refactor ticket selection components and introduce documentation
|
|
930
|
+
* **wrapInElement:** Add utility function and tests for wrapping elements
|
|
931
|
+
|
|
932
|
+
### Bug Fixes
|
|
933
|
+
|
|
934
|
+
* **tickets, cart:** Standardize filter usage and improve navigation logic
|
|
935
|
+
* Update navigation URLs and clean up snapshots
|
|
936
|
+
* Use gomusOrderToken instead of gomusOrderId
|
|
937
|
+
* use order token for apm also
|
|
938
|
+
|
|
939
|
+
### Reverts
|
|
940
|
+
|
|
941
|
+
* Revert "Add back azin specs"
|
|
942
|
+
* Revert Azin commits
|