UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

84 lines (82 loc) 2.46 kB
/*! * 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 */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var VueType = require("vue"); var Vue = VueType.default || VueType; var tile_view_1 = require("devextreme/ui/tile_view"); var component_1 = require("./core/component"); var configuration_component_1 = require("./core/configuration-component"); var DxTileView = Vue.extend({ extends: component_1.DxComponent, props: { accessKey: String, activeStateEnabled: Boolean, baseItemHeight: Number, baseItemWidth: Number, dataSource: [Array, Object, String], direction: String, disabled: Boolean, elementAttr: Object, focusStateEnabled: Boolean, height: [Function, Number, String], hint: String, hoverStateEnabled: Boolean, itemHoldTimeout: Number, itemMargin: Number, items: Array, itemTemplate: {}, noDataText: String, onContentReady: Function, onDisposing: Function, onInitialized: Function, onItemClick: [Function, String], onItemContextMenu: Function, onItemHold: Function, onItemRendered: Function, onOptionChanged: Function, rtlEnabled: Boolean, showScrollbar: Boolean, tabIndex: Number, visible: Boolean, width: [Function, Number, String] }, computed: { instance: function () { return this.$_instance; } }, beforeCreate: function () { this.$_WidgetClass = tile_view_1.default; this.$_expectedChildren = { item: { isCollectionItem: true, optionName: "items" } }; } }); exports.DxTileView = DxTileView; var DxItem = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { disabled: Boolean, heightRatio: Number, html: String, template: {}, text: String, visible: Boolean, widthRatio: Number } }); exports.DxItem = DxItem; DxItem.$_optionName = "items"; DxItem.$_isCollectionItem = true; exports.default = DxTileView;