{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "typing-indicator-vue",
  "title": "Typing Indicator (Vue)",
  "description": "Shows that the agent is typing.",
  "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/typing-indicator.ts",
      "content": "import { typingIndicatorPrimitive } from \"@kind-ui/agent-ui/core\";\nimport { createParts } from \"@ui-sdk/vue/primitive\";\nimport { defineComponent, h } from \"vue\";\n\nconst parts = createParts(typingIndicatorPrimitive, {\n  root: \"span\",\n  label: \"span\",\n  dots: \"span\",\n  dot: \"span\",\n});\n\n/** A polite status: three flowing dots where the reply will start. Its `label`, \"Typing\" by default, is for assistive technology. */\nexport const TypingIndicator = defineComponent({\n  name: \"TypingIndicator\",\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: () => [label(), dots()] });\n  },\n}) as unknown as typeof parts.Root;\n",
      "type": "registry:ui",
      "target": "@ui/vue/typing-indicator.ts"
    }
  ],
  "meta": {
    "layer": "vue"
  },
  "type": "registry:ui"
}
