{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Checkout Submit component",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->\n<!-- The end of the checkout form: the consent checkbox, the submit button and the legal line. -->\n<script lang=\"ts\">\nexport type CheckoutSubmitProps = {\n  id: string;\n  consent: string;\n  submit: string;\n  legal: string;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Button from \"../compose/Button.vue\";\nimport Checkbox from \"../compose/Checkbox.vue\";\nimport Group from \"../compose/Group.vue\";\nimport Label from \"../compose/Label.vue\";\nimport Stack from \"../compose/Stack.vue\";\nimport Text from \"../compose/Text.vue\";\nimport { cn, tpl } from \"../utils\";\n\nconst { id, consent, submit, legal } = defineProps<CheckoutSubmitProps>();\n</script>\n\n<template>\n  <Stack gap=\"4\" align=\"start\" data-slot=\"checkout-submit\">\n    <Group gap=\"2\" align=\"center\" :class=\"cn('w-fit', '')\">\n      <Checkbox name=\"consent\" :id=\"tpl('{0}-consent', id)\" />\n      <Label :for=\"tpl('{0}-consent', id)\" class=\"text-sm\">\n        {{ consent }}\n      </Label>\n    </Group>\n    <Button variant=\"default\" size=\"lg\" type=\"submit\">\n      {{ submit }}\n    </Button>\n    <Text size=\"xs\" class=\"text-muted-foreground\">\n      {{ legal }}\n    </Text>\n  </Stack>\n</template>\n",
      "path": "components/checkout-submit.vue",
      "target": "components/checkout-submit.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "checkout-submit",
  "registryDependencies": [
    "button",
    "checkbox",
    "group",
    "label",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "vue",
  "title": "Checkout Submit",
  "type": "registry:component"
}
