- 产物替换为 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 说明产物清单与用法
36 lines
1.1 KiB
TypeScript
36 lines
1.1 KiB
TypeScript
interface ISearchField {
|
|
label: string;
|
|
/** 由 `fieldType` 推导出的默认控件 */
|
|
fieldType?: string;
|
|
/** 由 `$um_component` 显式指定的控件,优先级高于 fieldType */
|
|
component?: string;
|
|
prop: string;
|
|
placeholder?: string;
|
|
style?: any;
|
|
}
|
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
/** 配置类(构造函数或实例) */
|
|
target: {
|
|
type: any;
|
|
required: true;
|
|
};
|
|
}, unknown, {
|
|
formFields: ISearchField[];
|
|
formModel: Record<string, any>;
|
|
fieldOption: Map<string, any>;
|
|
}, {}, {
|
|
/** 收集字段并按 fieldName 初始化表单模型 */
|
|
buildFields(): Promise<void>;
|
|
onSubmit(): void;
|
|
onReset(): void;
|
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
/** 配置类(构造函数或实例) */
|
|
target: {
|
|
type: any;
|
|
required: true;
|
|
};
|
|
}>> & {
|
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
}, {}>;
|
|
export default _sfc_main;
|