first commit

This commit is contained in:
lingxiao865
2026-02-10 08:05:03 +08:00
commit c5af079d8c
1094 changed files with 97530 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
/* eslint-disable */
/**
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
* */
import type { TdLoadingProps } from './type';
export default {
/** 延迟显示加载效果的时间,用于防止请求速度过快引起的加载闪烁,单位:毫秒 */
delay: {
type: Number,
default: 0,
},
/** 加载动画执行完成一次的时间,单位:毫秒 */
duration: {
type: Number,
default: 800,
},
/** 是否显示为全屏加载 */
fullscreen: Boolean,
/** 加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符 */
indicator: {
type: Boolean,
default: true as TdLoadingProps['indicator'],
},
/** 是否继承父元素颜色 */
inheritColor: Boolean,
/** 对齐方式 */
layout: {
type: String,
default: 'horizontal' as TdLoadingProps['layout'],
validator(val: TdLoadingProps['layout']): boolean {
if (!val) return true;
return ['horizontal', 'vertical'].includes(val);
},
},
/** 是否处于加载状态 */
loading: {
type: Boolean,
default: true,
},
/** 是否暂停动画 */
pause: Boolean,
/** 加载进度 */
progress: {
type: Number,
},
/** 加载动画是否反向 */
reverse: Boolean,
/** 尺寸示例20px */
size: {
type: String,
default: '20px',
},
/** 加载提示文案 */
text: {
type: String,
},
/** 加载组件类型 */
theme: {
type: String,
default: 'circular' as TdLoadingProps['theme'],
validator(val: TdLoadingProps['theme']): boolean {
if (!val) return true;
return ['circular', 'spinner', 'dots', 'custom'].includes(val);
},
},
};