UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

194 lines (192 loc) • 6.08 kB
/*! * devextreme-vue * Version: 25.1.5 * Build date: Wed Sep 03 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.DxTooltip = exports.DxLabel = exports.DxFormat = exports.DxRangeSlider = void 0; const vue_1 = require("vue"); const index_1 = require("./core/index"); const range_slider_1 = __importDefault(require("devextreme/ui/range_slider")); const index_2 = require("./core/index"); const componentConfig = { props: { accessKey: String, activeStateEnabled: Boolean, disabled: Boolean, elementAttr: Object, end: Number, endName: String, focusStateEnabled: Boolean, height: [Number, String], hint: String, hoverStateEnabled: Boolean, isDirty: Boolean, isValid: Boolean, keyStep: Number, label: Object, max: Number, min: Number, onContentReady: Function, onDisposing: Function, onInitialized: Function, onOptionChanged: Function, onValueChanged: Function, readOnly: Boolean, rtlEnabled: Boolean, showRange: Boolean, start: Number, startName: String, step: Number, tabIndex: Number, tooltip: Object, validationError: {}, validationErrors: Array, validationMessageMode: String, validationMessagePosition: String, validationStatus: String, value: Array, valueChangeMode: String, visible: Boolean, width: [Number, String] }, emits: { "update:isActive": null, "update:hoveredElement": null, "update:accessKey": null, "update:activeStateEnabled": null, "update:disabled": null, "update:elementAttr": null, "update:end": null, "update:endName": null, "update:focusStateEnabled": null, "update:height": null, "update:hint": null, "update:hoverStateEnabled": null, "update:isDirty": null, "update:isValid": null, "update:keyStep": null, "update:label": null, "update:max": null, "update:min": null, "update:onContentReady": null, "update:onDisposing": null, "update:onInitialized": null, "update:onOptionChanged": null, "update:onValueChanged": null, "update:readOnly": null, "update:rtlEnabled": null, "update:showRange": null, "update:start": null, "update:startName": null, "update:step": null, "update:tabIndex": null, "update:tooltip": null, "update:validationError": null, "update:validationErrors": null, "update:validationMessageMode": null, "update:validationMessagePosition": null, "update:validationStatus": null, "update:value": null, "update:valueChangeMode": null, "update:visible": null, "update:width": null, }, model: { prop: "value", event: "update:value" }, computed: { instance() { return this.$_instance; } }, beforeCreate() { this.$_WidgetClass = range_slider_1.default; this.$_hasAsyncTemplate = true; this.$_expectedChildren = { label: { isCollectionItem: false, optionName: "label" }, tooltip: { isCollectionItem: false, optionName: "tooltip" } }; } }; (0, index_1.prepareComponentConfig)(componentConfig); const DxRangeSlider = (0, vue_1.defineComponent)(componentConfig); exports.DxRangeSlider = DxRangeSlider; const DxFormatConfig = { emits: { "update:isActive": null, "update:hoveredElement": null, "update:currency": null, "update:formatter": null, "update:parser": null, "update:precision": null, "update:type": null, "update:useCurrencyAccountingStyle": null, }, props: { currency: String, formatter: Function, parser: Function, precision: Number, type: String, useCurrencyAccountingStyle: Boolean } }; (0, index_2.prepareConfigurationComponentConfig)(DxFormatConfig); const DxFormat = (0, vue_1.defineComponent)(DxFormatConfig); exports.DxFormat = DxFormat; DxFormat.$_optionName = "format"; const DxLabelConfig = { emits: { "update:isActive": null, "update:hoveredElement": null, "update:format": null, "update:position": null, "update:visible": null, }, props: { format: [Object, String, Function], position: String, visible: Boolean } }; (0, index_2.prepareConfigurationComponentConfig)(DxLabelConfig); const DxLabel = (0, vue_1.defineComponent)(DxLabelConfig); exports.DxLabel = DxLabel; DxLabel.$_optionName = "label"; DxLabel.$_expectedChildren = { format: { isCollectionItem: false, optionName: "format" } }; const DxTooltipConfig = { emits: { "update:isActive": null, "update:hoveredElement": null, "update:enabled": null, "update:format": null, "update:position": null, "update:showMode": null, }, props: { enabled: Boolean, format: [Object, String, Function], position: String, showMode: String } }; (0, index_2.prepareConfigurationComponentConfig)(DxTooltipConfig); const DxTooltip = (0, vue_1.defineComponent)(DxTooltipConfig); exports.DxTooltip = DxTooltip; DxTooltip.$_optionName = "tooltip"; DxTooltip.$_expectedChildren = { format: { isCollectionItem: false, optionName: "format" } }; exports.default = DxRangeSlider;