UNPKG

ant-design-x-vue-next

Version:

Ant Design X for Vue — community continuation aligned with @ant-design/x

11 lines (10 loc) 592 B
import type { Catalog } from './types'; export declare function registerCatalog(catalog: Catalog): void; /** * Load catalog by local id or allowlisted remote URL. * @param catalogId catalog URL or local:// id * @param allowedCatalogIds enterprise allowlist; remote URLs outside the list are rejected */ export declare function loadCatalog(catalogId: string, allowedCatalogIds?: string[]): Promise<Catalog>; export declare function validateComponent(catalog: Catalog, componentName: string, componentProps: Record<string, any>): boolean; export declare function clearCatalogCache(): void;