{
  "$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 = og_def(p['zones'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set c_23 -%}\n  {%- set c_22 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_labels, ['caption'])) }}\n    {%- endset -%}\n    {{ og_include('compose/table-caption.html.j2', {'p': {'Class': 'sr-only'}, 'children': c_1}) }}\n    {%- set c_9 -%}\n      {%- set c_8 -%}\n        {%- set c_2 -%}\n          {{ og_text(og_get(v_labels, ['zone'])) }}\n        {%- endset -%}\n        {{ og_include('compose/table-head-cell.html.j2', {'p': {'Class': 'px-4 py-2', 'Attrs': og_attrs(['scope', 'col'])}, 'children': c_2}) }}\n        {%- set c_3 -%}\n          {{ og_text(og_get(v_labels, ['price'])) }}\n        {%- endset -%}\n        {{ og_include('compose/table-head-cell.html.j2', {'p': {'Class': 'py-2', 'Attrs': og_attrs(['scope', 'col'])}, 'children': c_3}) }}\n        {%- set c_4 -%}\n          {{ og_text(og_get(v_labels, ['freeFrom'])) }}\n        {%- endset -%}\n        {{ og_include('compose/table-head-cell.html.j2', {'p': {'Class': 'py-2', 'Attrs': og_attrs(['scope', 'col'])}, 'children': c_4}) }}\n        {%- set c_5 -%}\n          {{ og_text(og_get(v_labels, ['minOrder'])) }}\n        {%- endset -%}\n        {{ og_include('compose/table-head-cell.html.j2', {'p': {'Class': 'hidden py-2 md:table-cell', 'Attrs': og_attrs(['scope', 'col'])}, 'children': c_5}) }}\n        {%- set c_6 -%}\n          {{ og_text(og_get(v_labels, ['time'])) }}\n        {%- endset -%}\n        {{ og_include('compose/table-head-cell.html.j2', {'p': {'Class': 'py-2', 'Attrs': og_attrs(['scope', 'col'])}, 'children': c_6}) }}\n        {%- set c_7 -%}\n          {{ og_text(og_get(v_labels, ['express'])) }}\n        {%- endset -%}\n        {{ og_include('compose/table-head-cell.html.j2', {'p': {'Class': 'hidden py-2 pr-4 sm:table-cell', 'Attrs': og_attrs(['scope', 'col'])}, 'children': c_7}) }}\n      {%- endset -%}\n      {{ og_include('compose/table-row.html.j2', {'p': {}, 'children': c_8}) }}\n    {%- endset -%}\n    {{ og_include('compose/table-head.html.j2', {'p': {'Class': 'bg-muted'}, 'children': c_9}) }}\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              {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_10}) }}\n              {%- set c_11 -%}\n                {{ og_text(og_get(v_z, ['area'])) }}\n              {%- endset -%}\n              {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_11}) }}\n            {%- endset -%}\n            {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0'}, 'children': c_12}) }}\n          {%- endset -%}\n          {{ og_include('compose/table-cell.html.j2', {'p': {'Class': 'px-4 py-4'}, 'children': c_13}) }}\n          {%- set c_14 -%}\n            {{ og_text(og_money(og_get(v_z, ['price']), og_get(v_z, ['currency']))) }}\n          {%- endset -%}\n          {{ og_include('compose/table-cell.html.j2', {'p': {'Class': 'font-medium'}, 'children': c_14}) }}\n          {%- set c_15 -%}\n            {{ og_text(og_money(og_get(v_z, ['freeFrom']), og_get(v_z, ['currency']))) }}\n          {%- endset -%}\n          {{ og_include('compose/table-cell.html.j2', {'p': {}, 'children': c_15}) }}\n          {%- set c_16 -%}\n            {{ og_text(og_money(og_get(v_z, ['minOrder']), og_get(v_z, ['currency']))) }}\n          {%- endset -%}\n          {{ og_include('compose/table-cell.html.j2', {'p': {'Class': 'hidden md:table-cell'}, 'children': c_16}) }}\n          {%- set c_17 -%}\n            {{ og_text(og_get(v_z, ['time'])) }}\n          {%- endset -%}\n          {{ og_include('compose/table-cell.html.j2', {'p': {}, 'children': c_17}) }}\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              {{ og_include('compose/badge.html.j2', {'p': {'Variant': 'secondary', 'Size': 'default'}, 'children': c_18}) }}\n            {%- endif %}\n          {%- endset -%}\n          {{ og_include('compose/table-cell.html.j2', {'p': {'Class': 'hidden pr-4 sm:table-cell'}, 'children': c_19}) }}\n        {%- endset -%}\n        {{ og_include('compose/table-row.html.j2', {'p': {'Class': 'border-t border-border', 'Attrs': og_attrs(['data-slot', 'item'])}, 'children': c_20}) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ og_include('compose/table-body.html.j2', {'p': {}, 'children': c_21}) }}\n  {%- endset -%}\n  {{ og_include('compose/table.html.j2', {'p': {'Class': 'w-full text-left text-sm', 'Attrs': og_attrs(['data-slot', 'zone-table'])}, 'children': c_22}) }}\n{%- endset -%}\n{{ og_include('compose/box.html.j2', {'p': {'Class': 'w-full overflow-x-auto rounded inset-ring inset-ring-border', 'Attrs': og_attrs(['data-slot', 'zone-rows'])}, 'children': c_23}) }}\n",
      "path": "blocks/zone-rows.html.j2",
      "target": "blocks/zone-rows.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "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": "jinja2",
  "title": "Zone Rows",
  "type": "registry:component"
}
