UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

62 lines (60 loc) 1.83 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 validation_summary_1 = require("devextreme/ui/validation_summary"); var component_1 = require("./core/component"); var configuration_component_1 = require("./core/configuration-component"); var DxValidationSummary = Vue.extend({ extends: component_1.DxComponent, props: { elementAttr: Object, hoverStateEnabled: Boolean, items: Array, itemTemplate: {}, onContentReady: Function, onDisposing: Function, onInitialized: Function, onItemClick: [Function, String], onOptionChanged: Function, validationGroup: String }, computed: { instance: function () { return this.$_instance; } }, beforeCreate: function () { this.$_WidgetClass = validation_summary_1.default; this.$_expectedChildren = { item: { isCollectionItem: true, optionName: "items" } }; } }); exports.DxValidationSummary = DxValidationSummary; var DxItem = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { disabled: Boolean, html: String, template: {}, text: String, visible: Boolean } }); exports.DxItem = DxItem; DxItem.$_optionName = "items"; DxItem.$_isCollectionItem = true; exports.default = DxValidationSummary;