{
  "$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{%- set v_zones = (p.zones ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set c_23 -%}\n  {%- set c_22 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_labels, ['caption'])) }}\n    {%- endset -%}\n    {{ include('compose/TableCaption.html.twig', {'class': 'sr-only', 'children': c_1}, with_context = false) }}\n    {%- set c_9 -%}\n      {%- set c_8 -%}\n        {%- set c_2 -%}\n          {{ og_text(og_get(v_labels, ['zone'])) }}\n        {%- endset -%}\n        {{ include('compose/TableHeadCell.html.twig', {'class': 'px-4 py-2', 'attrs': og_attrs(['scope', 'col']), 'children': c_2}, with_context = false) }}\n        {%- set c_3 -%}\n          {{ og_text(og_get(v_labels, ['price'])) }}\n        {%- endset -%}\n        {{ include('compose/TableHeadCell.html.twig', {'class': 'py-2', 'attrs': og_attrs(['scope', 'col']), 'children': c_3}, with_context = false) }}\n        {%- set c_4 -%}\n          {{ og_text(og_get(v_labels, ['freeFrom'])) }}\n        {%- endset -%}\n        {{ include('compose/TableHeadCell.html.twig', {'class': 'py-2', 'attrs': og_attrs(['scope', 'col']), 'children': c_4}, with_context = false) }}\n        {%- set c_5 -%}\n          {{ og_text(og_get(v_labels, ['minOrder'])) }}\n        {%- endset -%}\n        {{ include('compose/TableHeadCell.html.twig', {'class': 'hidden py-2 md:table-cell', 'attrs': og_attrs(['scope', 'col']), 'children': c_5}, with_context = false) }}\n        {%- set c_6 -%}\n          {{ og_text(og_get(v_labels, ['time'])) }}\n        {%- endset -%}\n        {{ include('compose/TableHeadCell.html.twig', {'class': 'py-2', 'attrs': og_attrs(['scope', 'col']), 'children': c_6}, with_context = false) }}\n        {%- set c_7 -%}\n          {{ og_text(og_get(v_labels, ['express'])) }}\n        {%- endset -%}\n        {{ include('compose/TableHeadCell.html.twig', {'class': 'hidden py-2 pr-4 sm:table-cell', 'attrs': og_attrs(['scope', 'col']), 'children': c_7}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/TableRow.html.twig', {'children': c_8}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/TableHead.html.twig', {'class': 'bg-muted', 'children': c_9}, with_context = false) }}\n    {%- set c_21 -%}\n      {%- for v_z in og_l(v_zones) %}\n        {%- set c_20 -%}\n          {%- set c_13 -%}\n            {%- set c_12 -%}\n              {%- set c_10 -%}\n                {{ og_text(og_get(v_z, ['name'])) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_10}, with_context = false) }}\n              {%- set c_11 -%}\n                {{ og_text(og_get(v_z, ['area'])) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_11}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Stack.html.twig', {'gap': '0', 'children': c_12}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/TableCell.html.twig', {'class': 'px-4 py-4', 'children': c_13}, with_context = false) }}\n          {%- set c_14 -%}\n            {{ og_text(og_money(og_get(v_z, ['price']), og_get(v_z, ['currency']))) }}\n          {%- endset -%}\n          {{ include('compose/TableCell.html.twig', {'class': 'font-medium', 'children': c_14}, with_context = false) }}\n          {%- set c_15 -%}\n            {{ og_text(og_money(og_get(v_z, ['freeFrom']), og_get(v_z, ['currency']))) }}\n          {%- endset -%}\n          {{ include('compose/TableCell.html.twig', {'children': c_15}, with_context = false) }}\n          {%- set c_16 -%}\n            {{ og_text(og_money(og_get(v_z, ['minOrder']), og_get(v_z, ['currency']))) }}\n          {%- endset -%}\n          {{ include('compose/TableCell.html.twig', {'class': 'hidden md:table-cell', 'children': c_16}, with_context = false) }}\n          {%- set c_17 -%}\n            {{ og_text(og_get(v_z, ['time'])) }}\n          {%- endset -%}\n          {{ include('compose/TableCell.html.twig', {'children': c_17}, with_context = false) }}\n          {%- set c_19 -%}\n            {%- if og_t(og_get(v_z, ['express'])) %}\n              {%- set c_18 -%}\n                {{ og_text(og_get(v_z, ['express'])) }}\n              {%- endset -%}\n              {{ include('compose/Badge.html.twig', {'variant': 'secondary', 'size': 'default', 'children': c_18}, with_context = false) }}\n            {%- endif %}\n          {%- endset -%}\n          {{ include('compose/TableCell.html.twig', {'class': 'hidden pr-4 sm:table-cell', 'children': c_19}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/TableRow.html.twig', {'class': 'border-t border-border', 'attrs': og_attrs(['data-slot', 'item']), 'children': c_20}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/TableBody.html.twig', {'children': c_21}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Table.html.twig', {'class': 'w-full text-left text-sm', 'attrs': og_attrs(['data-slot', 'zone-table']), 'children': c_22}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Box.html.twig', {'class': 'w-full overflow-x-auto rounded inset-ring inset-ring-border', 'attrs': og_attrs(['data-slot', 'zone-rows']), 'children': c_23}, with_context = false) }}\n",
      "path": "blocks/zone-rows.html.twig",
      "target": "blocks/zone-rows.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "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": "twig",
  "title": "Zone Rows",
  "type": "registry:component"
}
