@zeedhi/zd-calendar-vue 1.7.3 → 1.7.4

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.
@@ -1,6 +1,6 @@
1
1
  import { I18n, VersionService } from '@zeedhi/core';
2
2
  import { Prop, Component } from 'vue-property-decorator';
3
- import { PropWatch, ZdComponentRender, setFillHeight } from '@zeedhi/vuetify';
3
+ import { PropWatch, FillHeightMixin, ZdComponentRender } from '@zeedhi/vuetify';
4
4
  import { Calendar } from '@zeedhi/zd-calendar-common';
5
5
 
6
6
  /*! *****************************************************************************
@@ -53,9 +53,6 @@ let ZdCalendar = class ZdCalendar extends ZdComponentRender {
53
53
  return '';
54
54
  }
55
55
  mounted() {
56
- if (this.instance.fillHeight) {
57
- setFillHeight(this.$el);
58
- }
59
56
  this.$refs.calendar.checkChange();
60
57
  const { value } = this.instance;
61
58
  this.instance.value = '';
@@ -390,7 +387,9 @@ __decorate([
390
387
  __metadata("design:type", Object)
391
388
  ], ZdCalendar.prototype, "selectTypeData", void 0);
392
389
  ZdCalendar = __decorate([
393
- Component
390
+ Component({
391
+ mixins: [FillHeightMixin],
392
+ })
394
393
  ], ZdCalendar);
395
394
  var script = ZdCalendar;
396
395
 
@@ -54,9 +54,6 @@
54
54
  return '';
55
55
  }
56
56
  mounted() {
57
- if (this.instance.fillHeight) {
58
- vuetify.setFillHeight(this.$el);
59
- }
60
57
  this.$refs.calendar.checkChange();
61
58
  const { value } = this.instance;
62
59
  this.instance.value = '';
@@ -391,7 +388,9 @@
391
388
  __metadata("design:type", Object)
392
389
  ], ZdCalendar.prototype, "selectTypeData", void 0);
393
390
  ZdCalendar = __decorate([
394
- vuePropertyDecorator.Component
391
+ vuePropertyDecorator.Component({
392
+ mixins: [vuetify.FillHeightMixin],
393
+ })
395
394
  ], ZdCalendar);
396
395
  var script = ZdCalendar;
397
396
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/zd-calendar-vue",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "Powered by Zeedhi",
5
5
  "main": "dist/calendar-vue.umd.js",
6
6
  "module": "dist/calendar-vue.esm.js",
@@ -20,5 +20,5 @@
20
20
  "vue-class-component": "7.2.*",
21
21
  "vue-property-decorator": "9.1.*"
22
22
  },
23
- "gitHead": "babf9128218e441b057767e218a90828a40b8cfb"
23
+ "gitHead": "dbc1404248d23730e920b4d18b800bd19093bed2"
24
24
  }