完全跑通1.0版本
This commit is contained in:
49
frontend/node_modules/element-plus/lib/components/text/src/text.d.ts
generated
vendored
Normal file
49
frontend/node_modules/element-plus/lib/components/text/src/text.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
||||
import { ComponentSize } from "../../../constants/size.js";
|
||||
import * as _$vue from "vue";
|
||||
import { ExtractPublicPropTypes } from "vue";
|
||||
|
||||
//#region ../../packages/components/text/src/text.d.ts
|
||||
interface TextProps {
|
||||
/**
|
||||
* @description text type
|
||||
*/
|
||||
type?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | '';
|
||||
/**
|
||||
* @description text size
|
||||
*/
|
||||
size?: ComponentSize;
|
||||
/**
|
||||
* @description render ellipsis
|
||||
*/
|
||||
truncated?: boolean;
|
||||
/**
|
||||
* @description maximum lines
|
||||
*/
|
||||
lineClamp?: number | string;
|
||||
/**
|
||||
* @description custom element tag
|
||||
*/
|
||||
tag?: string;
|
||||
}
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `TextProps` instead.
|
||||
*/
|
||||
declare const textProps: {
|
||||
readonly type: EpPropFinalized<StringConstructor, "" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
|
||||
readonly size: EpPropFinalized<StringConstructor, "" | "default" | "small" | "large", unknown, "", boolean>;
|
||||
readonly truncated: BooleanConstructor;
|
||||
readonly lineClamp: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
readonly tag: EpPropFinalized<StringConstructor, unknown, unknown, "span", boolean>;
|
||||
};
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `TextProps` instead.
|
||||
*/
|
||||
type TextPropsPublic = ExtractPublicPropTypes<typeof textProps>;
|
||||
//#endregion
|
||||
export { TextProps, TextPropsPublic, textProps };
|
||||
Reference in New Issue
Block a user