UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

36 lines (34 loc) 1.46 kB
/*! * devextreme-vue * Version: 25.2.3 * Build date: Fri Dec 12 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"; Object.defineProperty(exports, "__esModule", { value: true }); exports.prepareExtensionComponentConfig = exports.prepareConfigurationComponentConfig = exports.prepareComponentConfig = void 0; const component_1 = require("./component"); const configuration_component_1 = require("./configuration-component"); const extension_component_1 = require("./extension-component"); const vue_helper_1 = require("./vue-helper"); function prepareComponentConfig(config) { config.extends = (0, component_1.initDxComponent)(); if (config.model) { (0, vue_helper_1.setVModel)(config); } } exports.prepareComponentConfig = prepareComponentConfig; function prepareConfigurationComponentConfig(config) { config.extends = (0, configuration_component_1.initDxConfiguration)(); } exports.prepareConfigurationComponentConfig = prepareConfigurationComponentConfig; function prepareExtensionComponentConfig(config) { config.extends = (0, extension_component_1.initDxExtensionComponent)(); } exports.prepareExtensionComponentConfig = prepareExtensionComponentConfig;