73 lines
1.4 KiB
JavaScript
73 lines
1.4 KiB
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
const require_runtime = require("../../../utils/vue/props/runtime.js");
|
|
const require_icon = require("../../../utils/vue/icon.js");
|
|
//#region ../../packages/components/timeline/src/timeline-item.ts
|
|
/**
|
|
* @deprecated Removed after 3.0.0, Use `TimelineItemProps` instead.
|
|
*/
|
|
const timelineItemProps = require_runtime.buildProps({
|
|
/**
|
|
* @description timestamp content
|
|
*/
|
|
timestamp: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
/**
|
|
* @description whether to show timestamp
|
|
*/
|
|
hideTimestamp: Boolean,
|
|
/**
|
|
* @description whether vertically centered
|
|
*/
|
|
center: Boolean,
|
|
/**
|
|
* @description position of timestamp
|
|
*/
|
|
placement: {
|
|
type: String,
|
|
values: ["top", "bottom"],
|
|
default: "bottom"
|
|
},
|
|
/**
|
|
* @description node type
|
|
*/
|
|
type: {
|
|
type: String,
|
|
values: [
|
|
"primary",
|
|
"success",
|
|
"warning",
|
|
"danger",
|
|
"info"
|
|
],
|
|
default: ""
|
|
},
|
|
/**
|
|
* @description background color of node
|
|
*/
|
|
color: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
/**
|
|
* @description node size
|
|
*/
|
|
size: {
|
|
type: String,
|
|
values: ["normal", "large"],
|
|
default: "normal"
|
|
},
|
|
/**
|
|
* @description icon component
|
|
*/
|
|
icon: { type: require_icon.iconPropType },
|
|
/**
|
|
* @description icon is hollow
|
|
*/
|
|
hollow: Boolean
|
|
});
|
|
//#endregion
|
|
exports.timelineItemProps = timelineItemProps;
|
|
|
|
//# sourceMappingURL=timeline-item.js.map
|