feat: 更新为 1.2.0 构建产物(内核重构版)
- 产物替换为 funjiaui.es.js / funjiaui.cjs.js / funjiaui.umd.js - style.css 更新,新增 index.d.ts 与各组件类型声明目录 - 移除旧产物 um_table.es.js(1.0.0 的 ES 包,历史与 v1.0.0 标签仍可回溯) - package.json 补齐 module / types / unpkg / jsdelivr / files 字段, 并将 vue、element-plus、@element-plus/icons-vue 声明为 peerDependencies - 新增 README 说明产物清单与用法
This commit is contained in:
Vendored
+77
@@ -0,0 +1,77 @@
|
||||
import type { PropType } from "vue";
|
||||
import type { TColumnRender, tFieldType } from "./types";
|
||||
declare const _sfc_main: import("vue").DefineComponent<{
|
||||
fieldType: {
|
||||
type: PropType<tFieldType>;
|
||||
default: string;
|
||||
};
|
||||
data: {
|
||||
type: PropType<Record<string, any>>;
|
||||
default: () => {};
|
||||
};
|
||||
prop: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
/** 自定义渲染函数 */
|
||||
render: {
|
||||
type: PropType<TColumnRender>;
|
||||
default: undefined;
|
||||
};
|
||||
/**
|
||||
* 日期格式化模板(仅 fieldType === "date" 生效)。
|
||||
* 不传时沿用历史默认 `YYYY-MM-DD HH:mm:ss`。
|
||||
*/
|
||||
dateFormat: {
|
||||
type: StringConstructor;
|
||||
default: undefined;
|
||||
};
|
||||
/** 是否显示单元格内容(支持异步) */
|
||||
isShow: {
|
||||
type: PropType<(data: any) => boolean | Promise<boolean>>;
|
||||
default: undefined;
|
||||
};
|
||||
}, unknown, {
|
||||
visible: boolean;
|
||||
}, {}, {
|
||||
refreshVisible(): Promise<void>;
|
||||
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
fieldType: {
|
||||
type: PropType<tFieldType>;
|
||||
default: string;
|
||||
};
|
||||
data: {
|
||||
type: PropType<Record<string, any>>;
|
||||
default: () => {};
|
||||
};
|
||||
prop: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
/** 自定义渲染函数 */
|
||||
render: {
|
||||
type: PropType<TColumnRender>;
|
||||
default: undefined;
|
||||
};
|
||||
/**
|
||||
* 日期格式化模板(仅 fieldType === "date" 生效)。
|
||||
* 不传时沿用历史默认 `YYYY-MM-DD HH:mm:ss`。
|
||||
*/
|
||||
dateFormat: {
|
||||
type: StringConstructor;
|
||||
default: undefined;
|
||||
};
|
||||
/** 是否显示单元格内容(支持异步) */
|
||||
isShow: {
|
||||
type: PropType<(data: any) => boolean | Promise<boolean>>;
|
||||
default: undefined;
|
||||
};
|
||||
}>>, {
|
||||
data: Record<string, any>;
|
||||
fieldType: tFieldType;
|
||||
prop: string;
|
||||
dateFormat: string;
|
||||
isShow: (data: any) => boolean | Promise<boolean>;
|
||||
render: TColumnRender;
|
||||
}>;
|
||||
export default _sfc_main;
|
||||
Reference in New Issue
Block a user