{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "thinking-indicator-vue",
  "title": "Thinking Indicator (Vue)",
  "description": "Shows that the agent is thinking.",
  "dependencies": [
    "@kind-ui/agent-ui@0.9.0",
    "@ui-sdk/core@0.1.0-beta.17",
    "@ui-sdk/vue@0.1.0-beta.17"
  ],
  "registryDependencies": [
    "@kind-ui/agent-ui-setup"
  ],
  "files": [
    {
      "path": "packages/agent-ui/src/vue/thinking-indicator.ts",
      "content": "import { thinkingIndicatorPrimitive } from \"@kind-ui/agent-ui/core\";\nimport { createParts } from \"@ui-sdk/vue/primitive\";\nimport { defineComponent, h } from \"vue\";\n\nconst parts = createParts(thinkingIndicatorPrimitive, {\n  root: \"span\",\n  label: \"span\",\n  dots: \"span\",\n  dot: \"span\",\n});\n\n/** A polite status: three flowing dots, then its `label`, \"Thinking…\" by default. */\nexport const ThinkingIndicator = defineComponent({\n  name: \"ThinkingIndicator\",\n  inheritAttrs: false,\n  setup(_, { attrs, slots }) {\n    const dots = () => h(parts.Dots, null, () => [h(parts.Dot), h(parts.Dot), h(parts.Dot)]);\n    const label = () =>\n      h(parts.Label, null, { default: ({ state }: { state: { label: string } }) => state.label });\n    return () => h(parts.Root, attrs, { ...slots, default: () => [dots(), label()] });\n  },\n}) as unknown as typeof parts.Root;\n",
      "type": "registry:ui",
      "target": "@ui/vue/thinking-indicator.ts"
    }
  ],
  "meta": {
    "layer": "vue"
  },
  "type": "registry:ui"
}
