UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

90 lines (88 loc) 2.77 kB
/*! * devextreme-vue * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 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"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DxDrawer = void 0; const vue_1 = require("vue"); const index_1 = require("./core/index"); const drawer_1 = __importDefault(require("devextreme/ui/drawer")); const componentConfig = { props: { activeStateEnabled: Boolean, animationDuration: Number, animationEnabled: Boolean, closeOnOutsideClick: [Boolean, Function], disabled: Boolean, elementAttr: Object, height: [Number, String], hint: String, hoverStateEnabled: Boolean, maxSize: Number, minSize: Number, onDisposing: Function, onInitialized: Function, onOptionChanged: Function, opened: Boolean, openedStateMode: String, position: String, revealMode: String, rtlEnabled: Boolean, shading: Boolean, template: {}, visible: Boolean, width: [Number, String] }, emits: { "update:isActive": null, "update:hoveredElement": null, "update:activeStateEnabled": null, "update:animationDuration": null, "update:animationEnabled": null, "update:closeOnOutsideClick": null, "update:disabled": null, "update:elementAttr": null, "update:height": null, "update:hint": null, "update:hoverStateEnabled": null, "update:maxSize": null, "update:minSize": null, "update:onDisposing": null, "update:onInitialized": null, "update:onOptionChanged": null, "update:opened": null, "update:openedStateMode": null, "update:position": null, "update:revealMode": null, "update:rtlEnabled": null, "update:shading": null, "update:template": null, "update:visible": null, "update:width": null, }, computed: { instance() { return this.$_instance; } }, beforeCreate() { this.$_WidgetClass = drawer_1.default; this.$_hasAsyncTemplate = true; } }; (0, index_1.prepareComponentConfig)(componentConfig); const DxDrawer = (0, vue_1.defineComponent)(componentConfig); exports.DxDrawer = DxDrawer; exports.default = DxDrawer;