{"version":3,"file":"componentStatus.mjs","names":["componentStatus"],"sources":["../../../../../../src/status/componentStatus.ts"],"sourcesContent":["// This file is auto-generated by dev/status-registry/generateStatusRegistry.ts.\n// Do not edit it by hand — regenerate with `pnpm nx build:status-registry components`.\nimport componentStatus from \"./component-status.json\";\nimport type { FlowComponentStatus, FlowComponentStatusRegistry } from \"./types\";\n\nexport const flowComponentStatus =\n  componentStatus as FlowComponentStatusRegistry;\n\n/**\n * The component-bearing public export entries — generated from\n * `STATUS_EXPORT_ENTRIES` (dev/status-registry/exportEntries.ts).\n */\nexport type FlowExportEntry =\n  | \".\"\n  | \"flr-universal\"\n  | \"nextjs\"\n  | \"react-hook-form\"\n  | \"mittwald-password-tools-js\";\n\nconst PACKAGE_NAME = \"@mittwald/flow-react-components\";\n\n/**\n * The public import specifier for an export entry (mirrors specifierOf in\n * exportEntries.ts).\n */\nconst specifierOf = (entry: FlowExportEntry): string =>\n  entry === \".\" ? PACKAGE_NAME : `${PACKAGE_NAME}/${entry}`;\n\n/**\n * Looks up a component's lifecycle status on a given public export surface.\n * `entry` defaults to the main `.` surface. Returns `undefined` when the\n * component has no derivable status on that surface (consumers fail silently).\n */\nexport const getFlowComponentStatus = (\n  name: string,\n  entry: FlowExportEntry = \".\",\n): FlowComponentStatus | undefined =>\n  flowComponentStatus[`${specifierOf(entry)}#${name}`];\n"],"mappings":";;;;AAKA,IAAa,sBACXA;AAaF,IAAM,eAAe;;;;;AAMrB,IAAM,eAAe,UACnB,UAAU,MAAM,eAAe,GAAG,aAAa,GAAG;;;;;;AAOpD,IAAa,0BACX,MACA,QAAyB,QAEzB,oBAAoB,GAAG,YAAY,KAAK,EAAE,GAAG"}