element-plus
Version:
A Component Library for Vue 3
57 lines (56 loc) • 1.32 kB
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_event = require("../../../constants/event.js");
const require_types = require("../../../utils/types.js");
const require_runtime = require("../../../utils/vue/props/runtime.js");
//#region ../../packages/components/countdown/src/countdown.ts
/**
* @deprecated Removed after 3.0.0, Use `CountdownProps` instead.
*/
const countdownProps = require_runtime.buildProps({
/**
* @description Formatting the countdown display
*/
format: {
type: String,
default: "HH:mm:ss"
},
/**
* @description Sets the prefix of a countdown
*/
prefix: String,
/**
* @description Sets the suffix of a countdown
*/
suffix: String,
/**
* @description countdown titles
*/
title: String,
/**
* @description target time
*/
value: {
type: require_runtime.definePropType([Number, Object]),
default: 0
},
/**
* @description Styles countdown values
*/
valueStyle: {
type: require_runtime.definePropType([
String,
Object,
Array,
Boolean
]),
default: void 0
}
});
const countdownEmits = {
finish: () => true,
[require_event.CHANGE_EVENT]: (value) => require_types.isNumber(value)
};
//#endregion
exports.countdownEmits = countdownEmits;
exports.countdownProps = countdownProps;
//# sourceMappingURL=countdown.js.map