@gomusdev/web-components 4.7.0 → 4.8.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.
- package/README.md +10 -0
- package/dist-js/gomus-webcomponents.iife.js +11 -1
- package/dist-js/gomus-webcomponents.js +11 -1
- package/dist-js/gomus-webcomponents.min.iife.js +10 -10
- package/dist-js/gomus-webcomponents.min.js +150 -140
- package/dist-js/src/components/forms/lib/allFields.spec.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.8.0 (2026-07-15)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **forms:** add dateOfBirth field for annual ticket personalization, closes [#149](https://gitlab.giantmonkey.de/gomus/frontend/issues/149)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **forms:** tolerate undefined shop.locales in language field options
|
|
12
|
+
|
|
3
13
|
## 4.7.0 (2026-07-14)
|
|
4
14
|
|
|
5
15
|
### Features
|
|
@@ -14465,7 +14465,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14465
14465
|
placeholder: "",
|
|
14466
14466
|
description: "",
|
|
14467
14467
|
autocomplete: "language",
|
|
14468
|
-
options: () => shop.locales.map((c) => ({
|
|
14468
|
+
options: () => (shop.locales ?? []).map((c) => ({
|
|
14469
14469
|
label: shop.t(`languages.${c.locale}`),
|
|
14470
14470
|
value: c.id
|
|
14471
14471
|
}))
|
|
@@ -14489,6 +14489,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14489
14489
|
autocomplete: "off",
|
|
14490
14490
|
validator: string().date()
|
|
14491
14491
|
},
|
|
14492
|
+
dateOfBirth: {
|
|
14493
|
+
key: "dateOfBirth",
|
|
14494
|
+
apiKey: "date_of_birth",
|
|
14495
|
+
type: "date",
|
|
14496
|
+
label: "user.registration.form.dateOfBirth",
|
|
14497
|
+
placeholder: "",
|
|
14498
|
+
description: "",
|
|
14499
|
+
autocomplete: "bday",
|
|
14500
|
+
validator: string().date()
|
|
14501
|
+
},
|
|
14492
14502
|
token: {
|
|
14493
14503
|
key: "token",
|
|
14494
14504
|
apiKey: "id",
|
|
@@ -14464,7 +14464,7 @@ var allFields = {
|
|
|
14464
14464
|
placeholder: "",
|
|
14465
14465
|
description: "",
|
|
14466
14466
|
autocomplete: "language",
|
|
14467
|
-
options: () => shop.locales.map((c) => ({
|
|
14467
|
+
options: () => (shop.locales ?? []).map((c) => ({
|
|
14468
14468
|
label: shop.t(`languages.${c.locale}`),
|
|
14469
14469
|
value: c.id
|
|
14470
14470
|
}))
|
|
@@ -14488,6 +14488,16 @@ var allFields = {
|
|
|
14488
14488
|
autocomplete: "off",
|
|
14489
14489
|
validator: string().date()
|
|
14490
14490
|
},
|
|
14491
|
+
dateOfBirth: {
|
|
14492
|
+
key: "dateOfBirth",
|
|
14493
|
+
apiKey: "date_of_birth",
|
|
14494
|
+
type: "date",
|
|
14495
|
+
label: "user.registration.form.dateOfBirth",
|
|
14496
|
+
placeholder: "",
|
|
14497
|
+
description: "",
|
|
14498
|
+
autocomplete: "bday",
|
|
14499
|
+
validator: string().date()
|
|
14500
|
+
},
|
|
14491
14501
|
token: {
|
|
14492
14502
|
key: "token",
|
|
14493
14503
|
apiKey: "id",
|