devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
92 lines (90 loc) • 2.79 kB
JavaScript
/*!
* 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
*/
import { defineComponent } from "vue";
import { prepareComponentConfig } from "./core/index";
import ProgressBar from "devextreme/ui/progress_bar";
const componentConfig = {
props: {
disabled: Boolean,
elementAttr: Object,
height: [Number, String],
hint: String,
hoverStateEnabled: Boolean,
isDirty: Boolean,
isValid: Boolean,
max: Number,
min: Number,
onComplete: Function,
onContentReady: Function,
onDisposing: Function,
onInitialized: Function,
onOptionChanged: Function,
onValueChanged: Function,
readOnly: Boolean,
rtlEnabled: Boolean,
showStatus: Boolean,
statusFormat: [Function, String],
validationError: {},
validationErrors: Array,
validationMessageMode: String,
validationMessagePosition: String,
validationStatus: String,
value: {},
visible: Boolean,
width: [Number, String]
},
emits: {
"update:isActive": null,
"update:hoveredElement": null,
"update:disabled": null,
"update:elementAttr": null,
"update:height": null,
"update:hint": null,
"update:hoverStateEnabled": null,
"update:isDirty": null,
"update:isValid": null,
"update:max": null,
"update:min": null,
"update:onComplete": null,
"update:onContentReady": null,
"update:onDisposing": null,
"update:onInitialized": null,
"update:onOptionChanged": null,
"update:onValueChanged": null,
"update:readOnly": null,
"update:rtlEnabled": null,
"update:showStatus": null,
"update:statusFormat": null,
"update:validationError": null,
"update:validationErrors": null,
"update:validationMessageMode": null,
"update:validationMessagePosition": null,
"update:validationStatus": null,
"update:value": null,
"update:visible": null,
"update:width": null,
},
computed: {
instance() {
return this.$_instance;
}
},
beforeCreate() {
this.$_WidgetClass = ProgressBar;
this.$_hasAsyncTemplate = true;
}
};
prepareComponentConfig(componentConfig);
const DxProgressBar = defineComponent(componentConfig);
export default DxProgressBar;
export { DxProgressBar };