Files
game-cards-poker-design/frontend/node_modules/element-plus/es/components/countdown/src/countdown.mjs
Poker Design Developer 5dbcebf7a2 Fix frontend blank page issues
- Fix router import path in main.js
- Handle Django REST Framework pagination format in API calls
- Add getTemplates function to project API
- Restart frontend development server
2026-05-31 18:40:56 +08:00

55 lines
1.1 KiB
JavaScript

import { CHANGE_EVENT } from "../../../constants/event.mjs";
import { isNumber } from "../../../utils/types.mjs";
import { buildProps, definePropType } from "../../../utils/vue/props/runtime.mjs";
//#region ../../packages/components/countdown/src/countdown.ts
/**
* @deprecated Removed after 3.0.0, Use `CountdownProps` instead.
*/
const countdownProps = 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: definePropType([Number, Object]),
default: 0
},
/**
* @description Styles countdown values
*/
valueStyle: {
type: definePropType([
String,
Object,
Array,
Boolean
]),
default: void 0
}
});
const countdownEmits = {
finish: () => true,
[CHANGE_EVENT]: (value) => isNumber(value)
};
//#endregion
export { countdownEmits, countdownProps };
//# sourceMappingURL=countdown.mjs.map