@simsustech/quasar-components 0.5.5 → 0.5.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - ba791dc: fix(components): change OTP email label
8
+
9
+ ## 0.5.6
10
+
11
+ ### Patch Changes
12
+
13
+ - 8cd7bb8: fix(DateInput): do not emit invalid date
14
+
3
15
  ## 0.5.5
4
16
 
5
17
  ### Patch Changes
@@ -27,7 +27,7 @@ const lang$1 = {
27
27
  },
28
28
  otp: {
29
29
  fields: {
30
- email: "Email"
30
+ email: "Your (current) email address"
31
31
  },
32
32
  validations: {
33
33
  fieldRequired: "Field is required.",
@@ -98,7 +98,7 @@ var define_import_meta_env_default = { BASE_URL: "/", MODE: "production", DEV: f
98
98
  const lang = ref(lang$1);
99
99
  const locales = /* @__PURE__ */ Object.assign({
100
100
  "./en-US.ts": () => Promise.resolve().then(() => enUS),
101
- "./nl.ts": () => import("./nl-CBxnt0JS.js")
101
+ "./nl.ts": () => import("./nl-D4kRrjEa.js")
102
102
  });
103
103
  const useLang = () => {
104
104
  return lang;
package/dist/form.js CHANGED
@@ -388,7 +388,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
388
388
  };
389
389
  watch([year, month, day], () => {
390
390
  const date = `${year.value}-${String(month.value).padStart(2, "0")}-${String(day.value).padStart(2, "0")}`;
391
- if (Date.parse(date)) {
391
+ if (year.value && month.value && day.value && !isNaN(Date.parse(date))) {
392
392
  emit("update:modelValue", date);
393
393
  } else {
394
394
  emit("update:modelValue", "");
@@ -24,7 +24,7 @@ const lang = {
24
24
  },
25
25
  otp: {
26
26
  fields: {
27
- email: "Email"
27
+ email: "Uw (huidige) email adres"
28
28
  },
29
29
  validations: {
30
30
  fieldRequired: "Veld is vereist.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -26,7 +26,7 @@ const lang: Language = {
26
26
  },
27
27
  otp: {
28
28
  fields: {
29
- email: 'Email'
29
+ email: 'Your (current) email address'
30
30
  },
31
31
  validations: {
32
32
  fieldRequired: 'Field is required.',
@@ -26,7 +26,7 @@ const lang: Language = {
26
26
  },
27
27
  otp: {
28
28
  fields: {
29
- email: 'Email'
29
+ email: 'Uw (huidige) email adres'
30
30
  },
31
31
  validations: {
32
32
  fieldRequired: 'Veld is vereist.',
@@ -139,7 +139,7 @@ const setDate: InstanceType<typeof QDate>['$props']['onUpdate:modelValue'] = (
139
139
 
140
140
  watch([year, month, day], () => {
141
141
  const date = `${year.value}-${String(month.value).padStart(2, '0')}-${String(day.value).padStart(2, '0')}`
142
- if (Date.parse(date)) {
142
+ if (year.value && month.value && day.value && !isNaN(Date.parse(date))) {
143
143
  emit('update:modelValue', date)
144
144
  } else {
145
145
  emit('update:modelValue', '')