import { FieldDefine } from '@/components/dynamic-binder' ; /**
 * 属性Map接口
 */ export interface PropertiesMap < T > { [ key ] : T ; } /**
 * 组属性（属性分组）
 */ export interface GroupProperties { name ? : string ; icon ? : string ; properties : PropertiesMap < FieldDefine > ; } const modules = import . meta . glob ( './modules/*.tsx' ) ; const getBpmnGroupPropertiesConfig = ( ) => { const BpmnGroupPropertiesConfig = { } ; for ( const path in modules ) { modules [ path ] ( ) . then ( ( mod ) => { const moduleDefuatlExport = mod . default ; for ( const moduleKey in moduleDefuatlExport ) { BpmnGroupPropertiesConfig [ moduleKey ] = moduleDefuatlExport [ moduleKey ] ; } } ) ; } return BpmnGroupPropertiesConfig ; } ; export default getBpmnGroupPropertiesConfig ( ) ;