Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-09 14:52:46 +00:00
parent 42a0efe70b
commit 47fa6d98b2
28661 changed files with 2421771 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import type { FormInstance } from 'antd';
/**
* 因为 fieldProps 支持了 function 所以新增了这个方法
*
* @param fieldProps
* @param form
*/
export declare const getFieldPropsOrFormItemProps: (fieldProps: any, form?: FormInstance<any> | null, extraProps?: any) => Record<string, any> & {
onChange: any;
colSize: number;
};

View File

@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getFieldPropsOrFormItemProps = void 0;
var _runFunction = require("../runFunction");
/**
* 因为 fieldProps 支持了 function 所以新增了这个方法
*
* @param fieldProps
* @param form
*/
var getFieldPropsOrFormItemProps = exports.getFieldPropsOrFormItemProps = function getFieldPropsOrFormItemProps(fieldProps, form, extraProps) {
if (form === undefined) {
return fieldProps;
}
return (0, _runFunction.runFunction)(fieldProps, form, extraProps);
};