{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Counters, a chart and recent activity in one section.",
  "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/dashboard-overview.json\n    The first screen of an app: counters, a chart and recent activity. Axes: layout (split: the chart and the activity side by side, stacked: one below the other), cols (2, 4), tone, density.\n    Props (p): id, title, metrics, chart, activity, layout, cols, tone, density, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_metrics = (p.metrics ?? null) -%}\n{%- set v_chart = (p.chart ?? null) -%}\n{%- set v_activity = (p.activity ?? null) -%}\n{%- set v_layout = (p.layout ?? 'split') -%}\n{%- set v_cols = (p.cols ?? '4') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_7 -%}\n  {%- set c_6 -%}\n    {%- if og_t(og_gt(og_len(v_metrics), 0)) %}\n      {%- set c_2 -%}\n        {%- for v_m in og_l(v_metrics) %}\n          {%- set c_1 -%}\n            {{ include('blocks/stat-tile.html.twig', {'p': {'label': og_get(v_m, ['label']), 'value': og_get(v_m, ['value']), 'icon': og_get(v_m, ['icon']), 'hint': og_get(v_m, ['hint'])}}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Box.html.twig', {'attrs': og_attrs(['data-slot', 'item']), 'children': c_1}, with_context = false) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/Grid.html.twig', {'cols': og_s((og_t(og_eq(v_cols, '2')) ? '1-2' : '1-4')), 'class': 'gap-4', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_2}, with_context = false) }}\n    {%- endif %}\n    {%- set c_5 -%}\n      {%- if og_t(og_gt(og_len(og_get(v_chart, ['series'])), 0)) %}\n        {%- set c_3 -%}\n          {{ include('blocks/bar-chart.html.twig', {'p': {'bars': og_get(v_chart, ['series']), 'label': og_get(v_chart, ['summary']), 'height': 144}}, with_context = false) }}\n        {%- endset -%}\n        {{ include('blocks/panel.html.twig', {'p': {'title': og_get(v_chart, ['title']), 'description': og_get(v_chart, ['text']), 'id': og_tpl('{0}-chart', [v_id]), 'className': og_cnv(['h-full'])}, 'children': og_markup(c_3)}, with_context = false) }}\n      {%- endif %}\n      {%- if og_t(og_gt(og_len(og_get(v_activity, ['events'])), 0)) %}\n        {%- set c_4 -%}\n          {{ include('blocks/timeline.html.twig', {'p': {'items': og_get(v_activity, ['events'])}}, with_context = false) }}\n        {%- endset -%}\n        {{ include('blocks/panel.html.twig', {'p': {'title': og_get(v_activity, ['title']), 'description': og_get(v_activity, ['text']), 'id': og_tpl('{0}-feed', [v_id]), 'className': og_cnv(['h-full'])}, 'children': og_markup(c_4)}, with_context = false) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ include('compose/Grid.html.twig', {'cols': og_s((og_t(og_eq(v_layout, 'split')) ? '1-2' : '1')), 'class': 'items-stretch gap-4', 'attrs': og_attrs(['data-slot', 'panels']), 'children': c_5}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Stack.html.twig', {'gap': '6', 'align': 'stretch', 'children': c_6}, with_context = false) }}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_7)}, with_context = false) }}\n",
      "path": "blocks/dashboard-overview.html.twig",
      "target": "blocks/dashboard-overview.html.twig"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "widgets",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "dashboard-overview",
  "registryDependencies": [
    "bar-chart",
    "box",
    "grid",
    "panel",
    "section-frame",
    "stack",
    "stat-tile",
    "timeline",
    "utils"
  ],
  "runtime": "twig",
  "title": "Dashboard Overview",
  "type": "registry:block"
}
