{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The zones as a table (the table layout of ZoneTable): the zone and its areas, the price, free from, the minimum order, the time and an express badge.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/zone-rows.json\n    The zones as a table (the table layout of ZoneTable): the zone and its areas, the price, free from, the minimum order, the time and an express badge.\n    Props (p): zones, labels. *}\n{var $v_zones = ($p['zones'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{capture $c_23}\n  {capture $c_22}\n    {capture $c_1}\n      {=og_text(og_get($v_labels, ['caption']))}\n    {/capture}\n    {=og_include('compose/TableCaption.latte', ['class' => 'sr-only', 'children' => (string) $c_1])|noescape}\n    {capture $c_9}\n      {capture $c_8}\n        {capture $c_2}\n          {=og_text(og_get($v_labels, ['zone']))}\n        {/capture}\n        {=og_include('compose/TableHeadCell.latte', ['class' => 'px-4 py-2', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_2])|noescape}\n        {capture $c_3}\n          {=og_text(og_get($v_labels, ['price']))}\n        {/capture}\n        {=og_include('compose/TableHeadCell.latte', ['class' => 'py-2', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_3])|noescape}\n        {capture $c_4}\n          {=og_text(og_get($v_labels, ['freeFrom']))}\n        {/capture}\n        {=og_include('compose/TableHeadCell.latte', ['class' => 'py-2', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_4])|noescape}\n        {capture $c_5}\n          {=og_text(og_get($v_labels, ['minOrder']))}\n        {/capture}\n        {=og_include('compose/TableHeadCell.latte', ['class' => 'hidden py-2 md:table-cell', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_5])|noescape}\n        {capture $c_6}\n          {=og_text(og_get($v_labels, ['time']))}\n        {/capture}\n        {=og_include('compose/TableHeadCell.latte', ['class' => 'py-2', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_6])|noescape}\n        {capture $c_7}\n          {=og_text(og_get($v_labels, ['express']))}\n        {/capture}\n        {=og_include('compose/TableHeadCell.latte', ['class' => 'hidden py-2 pr-4 sm:table-cell', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_7])|noescape}\n      {/capture}\n      {=og_include('compose/TableRow.latte', ['children' => (string) $c_8])|noescape}\n    {/capture}\n    {=og_include('compose/TableHead.latte', ['class' => 'bg-muted', 'children' => (string) $c_9])|noescape}\n    {capture $c_21}\n      {foreach og_l($v_zones) as $v_z}\n        {capture $c_20}\n          {capture $c_13}\n            {capture $c_12}\n              {capture $c_10}\n                {=og_text(og_get($v_z, ['name']))}\n              {/capture}\n              {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_10])|noescape}\n              {capture $c_11}\n                {=og_text(og_get($v_z, ['area']))}\n              {/capture}\n              {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_11])|noescape}\n            {/capture}\n            {=og_include('compose/Stack.latte', ['gap' => '0', 'children' => (string) $c_12])|noescape}\n          {/capture}\n          {=og_include('compose/TableCell.latte', ['class' => 'px-4 py-4', 'children' => (string) $c_13])|noescape}\n          {capture $c_14}\n            {=og_text(og_money(og_get($v_z, ['price']), og_get($v_z, ['currency'])))}\n          {/capture}\n          {=og_include('compose/TableCell.latte', ['class' => 'font-medium', 'children' => (string) $c_14])|noescape}\n          {capture $c_15}\n            {=og_text(og_money(og_get($v_z, ['freeFrom']), og_get($v_z, ['currency'])))}\n          {/capture}\n          {=og_include('compose/TableCell.latte', ['children' => (string) $c_15])|noescape}\n          {capture $c_16}\n            {=og_text(og_money(og_get($v_z, ['minOrder']), og_get($v_z, ['currency'])))}\n          {/capture}\n          {=og_include('compose/TableCell.latte', ['class' => 'hidden md:table-cell', 'children' => (string) $c_16])|noescape}\n          {capture $c_17}\n            {=og_text(og_get($v_z, ['time']))}\n          {/capture}\n          {=og_include('compose/TableCell.latte', ['children' => (string) $c_17])|noescape}\n          {capture $c_19}\n            {if og_t(og_get($v_z, ['express']))}\n              {capture $c_18}\n                {=og_text(og_get($v_z, ['express']))}\n              {/capture}\n              {=og_include('compose/Badge.latte', ['variant' => 'secondary', 'size' => 'default', 'children' => (string) $c_18])|noescape}\n            {/if}\n          {/capture}\n          {=og_include('compose/TableCell.latte', ['class' => 'hidden pr-4 sm:table-cell', 'children' => (string) $c_19])|noescape}\n        {/capture}\n        {=og_include('compose/TableRow.latte', ['class' => 'border-t border-border', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_20])|noescape}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/TableBody.latte', ['children' => (string) $c_21])|noescape}\n  {/capture}\n  {=og_include('compose/Table.latte', ['class' => 'w-full text-left text-sm', 'attrs' => og_attrs(['data-slot', 'zone-table']), 'children' => (string) $c_22])|noescape}\n{/capture}\n{=og_include('compose/Box.latte', ['class' => 'w-full overflow-x-auto rounded inset-ring inset-ring-border', 'attrs' => og_attrs(['data-slot', 'zone-rows']), 'children' => (string) $c_23])|noescape}\n",
      "path": "blocks/zone-rows.latte",
      "target": "blocks/zone-rows.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "zone-rows",
  "registryDependencies": [
    "badge",
    "box",
    "stack",
    "table",
    "table-body",
    "table-caption",
    "table-cell",
    "table-head",
    "table-head-cell",
    "table-row",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Zone Rows",
  "type": "registry:component"
}
