@simsustech/quasar-components 0.4.0 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a1de056: fix(components): fix DatePicker undefined value
8
+
3
9
  ## 0.4.0
4
10
 
5
11
  ### Minor Changes
package/dist/form.js CHANGED
@@ -560,7 +560,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
560
560
  const { periods, range, options: parentOptions } = toRefs(props);
561
561
  const update = (val) => {
562
562
  var _a;
563
- if (typeof val !== "string") {
563
+ if (val && typeof val !== "string") {
564
564
  const parsedFrom = val.from.replaceAll("/", "-");
565
565
  const parsedTo = val.to.replaceAll("/", "-");
566
566
  const unavailablePeriods = (_a = periods == null ? void 0 : periods.value) == null ? void 0 : _a.filter(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@ const lang = useLang()
36
36
  const { periods, range, options: parentOptions } = toRefs(props)
37
37
 
38
38
  const update = (val: { from: string; to: string } | string) => {
39
- if (typeof val !== 'string') {
39
+ if (val && typeof val !== 'string') {
40
40
  const parsedFrom = val.from.replaceAll('/', '-')
41
41
  const parsedTo = val.to.replaceAll('/', '-')
42
42
  const unavailablePeriods = periods?.value?.filter(