UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

229 lines (227 loc) • 6.67 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 popover_1 = require("devextreme/ui/popover"); var component_1 = require("./core/component"); var configuration_component_1 = require("./core/configuration-component"); var DxPopover = Vue.extend({ extends: component_1.DxComponent, props: { animation: Object, closeOnOutsideClick: [Boolean, Function], container: {}, contentTemplate: {}, deferRendering: Boolean, disabled: Boolean, elementAttr: Object, height: [Function, Number, String], hideEvent: [Object, String], hint: String, hoverStateEnabled: Boolean, maxHeight: [Function, Number, String], maxWidth: [Function, Number, String], minHeight: [Function, Number, String], minWidth: [Function, Number, String], onContentReady: Function, onDisposing: Function, onHidden: Function, onHiding: Function, onInitialized: Function, onOptionChanged: Function, onShowing: Function, onShown: Function, onTitleRendered: Function, position: [Object, String], rtlEnabled: Boolean, shading: Boolean, shadingColor: String, showCloseButton: Boolean, showEvent: [Object, String], showTitle: Boolean, target: {}, title: String, titleTemplate: {}, toolbarItems: Array, visible: Boolean, width: [Function, Number, String] }, computed: { instance: function () { return this.$_instance; } }, beforeCreate: function () { this.$_hasTranscludedContent = true; this.$_WidgetClass = popover_1.default; this.$_expectedChildren = { animation: { isCollectionItem: false, optionName: "animation" }, hideEvent: { isCollectionItem: false, optionName: "hideEvent" }, position: { isCollectionItem: false, optionName: "position" }, showEvent: { isCollectionItem: false, optionName: "showEvent" }, toolbarItem: { isCollectionItem: true, optionName: "toolbarItems" } }; } }); exports.DxPopover = DxPopover; var DxAnimation = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { hide: Object, show: Object } }); exports.DxAnimation = DxAnimation; DxAnimation.$_optionName = "animation"; DxAnimation.$_expectedChildren = { hide: { isCollectionItem: false, optionName: "hide" }, show: { isCollectionItem: false, optionName: "show" } }; var DxAt = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { x: String, y: String } }); exports.DxAt = DxAt; DxAt.$_optionName = "at"; var DxBoundaryOffset = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { x: Number, y: Number } }); exports.DxBoundaryOffset = DxBoundaryOffset; DxBoundaryOffset.$_optionName = "boundaryOffset"; var DxCollision = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { x: String, y: String } }); exports.DxCollision = DxCollision; DxCollision.$_optionName = "collision"; var DxHide = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { complete: Function, delay: Number, direction: String, duration: Number, easing: String, from: [Number, Object, String], staggerDelay: Number, start: Function, to: [Number, Object, String], type: String } }); exports.DxHide = DxHide; DxHide.$_optionName = "hide"; var DxHideEvent = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { delay: Number, name: String } }); exports.DxHideEvent = DxHideEvent; DxHideEvent.$_optionName = "hideEvent"; var DxMy = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { x: String, y: String } }); exports.DxMy = DxMy; DxMy.$_optionName = "my"; var DxOffset = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { x: Number, y: Number } }); exports.DxOffset = DxOffset; DxOffset.$_optionName = "offset"; var DxPosition = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { at: [Object, String], boundary: {}, boundaryOffset: [Object, String], collision: [Object, String], my: [Object, String], of: {}, offset: [Object, String] } }); exports.DxPosition = DxPosition; DxPosition.$_optionName = "position"; DxPosition.$_expectedChildren = { at: { isCollectionItem: false, optionName: "at" }, boundaryOffset: { isCollectionItem: false, optionName: "boundaryOffset" }, collision: { isCollectionItem: false, optionName: "collision" }, my: { isCollectionItem: false, optionName: "my" }, offset: { isCollectionItem: false, optionName: "offset" } }; var DxShow = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { complete: Function, delay: Number, direction: String, duration: Number, easing: String, from: [Number, Object, String], staggerDelay: Number, start: Function, to: [Number, Object, String], type: String } }); exports.DxShow = DxShow; DxShow.$_optionName = "show"; var DxShowEvent = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { delay: Number, name: String } }); exports.DxShowEvent = DxShowEvent; DxShowEvent.$_optionName = "showEvent"; var DxToolbarItem = Vue.extend({ extends: configuration_component_1.DxConfiguration, props: { disabled: Boolean, html: String, location: String, options: Object, template: {}, text: String, toolbar: String, visible: Boolean, widget: String } }); exports.DxToolbarItem = DxToolbarItem; DxToolbarItem.$_optionName = "toolbarItems"; DxToolbarItem.$_isCollectionItem = true; exports.default = DxPopover;