devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
81 lines (79 loc) • 2.31 kB
JavaScript
/*!
* devextreme-vue
* Version: 19.2.6
* Build date: Thu Jan 30 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://github.com/DevExpress/devextreme-vue
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
var VueType = require("vue");
var Vue = VueType.default || VueType;
var calendar_1 = require("devextreme/ui/calendar");
var component_1 = require("./core/component");
var DxCalendar = Vue.extend({
extends: component_1.DxComponent,
props: {
accessKey: String,
activeStateEnabled: Boolean,
cellTemplate: {},
dateSerializationFormat: String,
disabled: Boolean,
disabledDates: [Array, Function],
elementAttr: Object,
firstDayOfWeek: {
type: Number,
validator: function (v) { return typeof (v) !== "number" || [
0,
1,
2,
3,
4,
5,
6
].indexOf(v) !== -1; }
},
focusStateEnabled: Boolean,
height: [Function, Number, String],
hint: String,
hoverStateEnabled: Boolean,
isValid: Boolean,
max: {},
maxZoomLevel: String,
min: {},
minZoomLevel: String,
name: String,
onDisposing: Function,
onInitialized: Function,
onOptionChanged: Function,
onValueChanged: Function,
readOnly: Boolean,
rtlEnabled: Boolean,
showTodayButton: Boolean,
tabIndex: Number,
validationError: Object,
validationErrors: Array,
validationMessageMode: String,
validationStatus: String,
value: {},
visible: Boolean,
width: [Function, Number, String],
zoomLevel: String
},
model: { prop: "value", event: "update:value" },
computed: {
instance: function () {
return this.$_instance;
}
},
beforeCreate: function () {
this.$_WidgetClass = calendar_1.default;
}
});
exports.DxCalendar = DxCalendar;
exports.default = DxCalendar;