@zeedhi/zd-calendar-vue 1.4.3 → 1.5.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/dist/calendar-vue.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VersionService } from '@zeedhi/core';
|
|
2
2
|
import { Prop, Component } from 'vue-property-decorator';
|
|
3
|
-
import { PropWatch, ZdComponentRender } from '@zeedhi/vuetify';
|
|
3
|
+
import { PropWatch, ZdComponentRender, setFillHeight } from '@zeedhi/vuetify';
|
|
4
4
|
import { Calendar } from '@zeedhi/zd-calendar-common';
|
|
5
5
|
|
|
6
6
|
/*! *****************************************************************************
|
|
@@ -53,6 +53,9 @@ let ZdCalendar = class ZdCalendar extends ZdComponentRender {
|
|
|
53
53
|
return '';
|
|
54
54
|
}
|
|
55
55
|
mounted() {
|
|
56
|
+
if (this.instance.fillHeight) {
|
|
57
|
+
setFillHeight(this.$el);
|
|
58
|
+
}
|
|
56
59
|
this.$refs.calendar.checkChange();
|
|
57
60
|
const { value } = this.instance;
|
|
58
61
|
this.instance.value = '';
|
|
@@ -234,6 +237,10 @@ __decorate([
|
|
|
234
237
|
Prop({ type: Array, default: () => [] }),
|
|
235
238
|
__metadata("design:type", Array)
|
|
236
239
|
], ZdCalendar.prototype, "calendarEvents", void 0);
|
|
240
|
+
__decorate([
|
|
241
|
+
Prop({ type: [Boolean, String], default: false }),
|
|
242
|
+
__metadata("design:type", Boolean)
|
|
243
|
+
], ZdCalendar.prototype, "fillHeight", void 0);
|
|
237
244
|
__decorate([
|
|
238
245
|
Prop({ type: [String, Number], default: 0 }),
|
|
239
246
|
__metadata("design:type", Object)
|
package/dist/calendar-vue.umd.js
CHANGED
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
return '';
|
|
55
55
|
}
|
|
56
56
|
mounted() {
|
|
57
|
+
if (this.instance.fillHeight) {
|
|
58
|
+
vuetify.setFillHeight(this.$el);
|
|
59
|
+
}
|
|
57
60
|
this.$refs.calendar.checkChange();
|
|
58
61
|
const { value } = this.instance;
|
|
59
62
|
this.instance.value = '';
|
|
@@ -235,6 +238,10 @@
|
|
|
235
238
|
vuePropertyDecorator.Prop({ type: Array, default: () => [] }),
|
|
236
239
|
__metadata("design:type", Array)
|
|
237
240
|
], ZdCalendar.prototype, "calendarEvents", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
vuePropertyDecorator.Prop({ type: [Boolean, String], default: false }),
|
|
243
|
+
__metadata("design:type", Boolean)
|
|
244
|
+
], ZdCalendar.prototype, "fillHeight", void 0);
|
|
238
245
|
__decorate([
|
|
239
246
|
vuePropertyDecorator.Prop({ type: [String, Number], default: 0 }),
|
|
240
247
|
__metadata("design:type", Object)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/zd-calendar-vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
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": "
|
|
23
|
+
"gitHead": "92f197660fcb6df88d83cc1a7eca282809a808b1"
|
|
24
24
|
}
|
package/types/Calendar.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export default class ZdCalendar extends ZdComponentRender {
|
|
|
27
27
|
eventTextColor: string | Function;
|
|
28
28
|
eventTimed: string | Function;
|
|
29
29
|
calendarEvents: [];
|
|
30
|
+
fillHeight: boolean;
|
|
30
31
|
firstInterval: number | string;
|
|
31
32
|
firstTime: number | string | object;
|
|
32
33
|
height: number | string;
|