{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/factories/element.factory.ts",
          "name": "clearChildren",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
            "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
            "label": "core/factories/element.factory.ts",
            "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
            "ref": "anatomy:file-core-factories-element-factory-ts"
          }
        },
        {
          "file": "presentation/components/reference.component.ts",
          "name": "clampPanel",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-reference-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/reference.component.ts",
            "label": "presentation/components/reference.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/reference.component.ts.md",
            "ref": "anatomy:file-presentation-components-reference-component-ts"
          }
        },
        {
          "file": "presentation/components/reference.component.ts",
          "name": "clampPanel",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-reference-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/reference.component.ts",
            "label": "presentation/components/reference.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/reference.component.ts.md",
            "ref": "anatomy:file-presentation-components-reference-component-ts"
          }
        },
        {
          "file": "presentation/components/reference.component.ts",
          "name": "createRecordPanel",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-reference-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/reference.component.ts",
            "label": "presentation/components/reference.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/reference.component.ts.md",
            "ref": "anatomy:file-presentation-components-reference-component-ts"
          }
        },
        {
          "file": "presentation/components/reference.component.ts",
          "name": "placePanel",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-reference-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/reference.component.ts",
            "label": "presentation/components/reference.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/reference.component.ts.md",
            "ref": "anatomy:file-presentation-components-reference-component-ts"
          }
        },
        {
          "file": "presentation/components/walk.component.ts",
          "name": "cellRecord",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-walk-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/walk.component.ts",
            "label": "presentation/components/walk.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/walk.component.ts.md",
            "ref": "anatomy:file-presentation-components-walk-component-ts"
          }
        },
        {
          "file": "presentation/components/walk.component.ts",
          "name": "cellText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-walk-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/walk.component.ts",
            "label": "presentation/components/walk.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/walk.component.ts.md",
            "ref": "anatomy:file-presentation-components-walk-component-ts"
          }
        },
        {
          "file": "presentation/components/walk.component.ts",
          "name": "loadSnippet",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-walk-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/walk.component.ts",
            "label": "presentation/components/walk.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/walk.component.ts.md",
            "ref": "anatomy:file-presentation-components-walk-component-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "method_definition",
      "line": 76,
      "name": "show",
      "signature": "public show(index: number, replace: boolean): void {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/factories/element.factory.ts",
          "name": "createElement",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
            "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
            "label": "core/factories/element.factory.ts",
            "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
            "ref": "anatomy:file-core-factories-element-factory-ts"
          }
        },
        {
          "file": "core/factories/element.factory.ts",
          "name": "createElement",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
            "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
            "label": "core/factories/element.factory.ts",
            "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
            "ref": "anatomy:file-core-factories-element-factory-ts"
          }
        },
        {
          "file": "core/factories/element.factory.ts",
          "name": "createElement",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
            "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
            "label": "core/factories/element.factory.ts",
            "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
            "ref": "anatomy:file-core-factories-element-factory-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "method_definition",
      "line": 139,
      "name": "stepRow",
      "signature": "private stepRow(index: number): HTMLElement {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/registries/style.registry.ts",
          "name": "declareStyle",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-registries-style-registry-ts",
            "json": "https://banes-lab.com/json/source/tree/core/registries/style.registry.ts",
            "label": "core/registries/style.registry.ts",
            "markdown": "https://banes-lab.com/source/tree/core/registries/style.registry.ts.md",
            "ref": "anatomy:file-core-registries-style-registry-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "sharedPanel",
      "signature": "const sharedPanel = function sharedPanel(): HTMLElement {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/factories/element.factory.ts",
          "name": "clearChildren",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
            "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
            "label": "core/factories/element.factory.ts",
            "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
            "ref": "anatomy:file-core-factories-element-factory-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "method_definition",
      "line": 103,
      "name": "hide",
      "signature": "public hide(): void {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "presentation/components/reference.component.ts",
          "name": "armLink",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-reference-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/reference.component.ts",
            "label": "presentation/components/reference.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/reference.component.ts.md",
            "ref": "anatomy:file-presentation-components-reference-component-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "method_definition",
      "line": 119,
      "name": "stepLink",
      "signature": "private stepLink(label: string, index: number): HTMLAnchorElement {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "existing",
      "signature": "const existing = document.getElementById(WALK_PANEL_ID);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "class_declaration",
      "line": 34,
      "name": "WalkInspector",
      "signature": "export class WalkInspector {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 35,
      "name": "panel",
      "signature": "private readonly panel = sharedPanel();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 36,
      "name": "polygons",
      "signature": "private readonly polygons: ReadonlyMap<string, Element>;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 37,
      "name": "cells",
      "signature": "private readonly cells: readonly WalkCellView[];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 38,
      "name": "status",
      "signature": "private readonly status: HTMLElement;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 39,
      "name": "current",
      "signature": "private current = -1;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 40,
      "name": "timer",
      "signature": "private timer: ReturnType<typeof setTimeout> | null = null;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 41,
      "name": "disarm",
      "signature": "private disarm: Disposer | null = null;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 43,
      "name": "constructor",
      "signature": "public constructor(element: HTMLElement, status: HTMLElement, cells: readonly WalkCellView[]) {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 54,
      "name": "indexAt",
      "signature": "public indexAt(target: EventTarget | null): number {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "ref",
      "signature": "const ref = polygon?.getAttribute(WALK_REF_ATTRIBUTE) ?? null;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 60,
      "name": "schedule",
      "signature": "public schedule(action: () => void, delay: number): void {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 65,
      "name": "cancel",
      "signature": "public cancel(): void {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 77,
      "name": "cell",
      "signature": "const cell = this.cells[index];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 78,
      "name": "polygon",
      "signature": "const polygon = this.polygons.get(cell?.ref ?? \"\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 88,
      "name": "step",
      "signature": "const step = this.stepRow(index);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 111,
      "name": "isOpen",
      "signature": "public isOpen(): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 115,
      "name": "holds",
      "signature": "public holds(node: EventTarget | null): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 120,
      "name": "link",
      "signature": "const link = createElement(\"a\", { attributes: { href: ANCHOR_PREFIX + WALK_PANEL_ID }, text: label });"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 140,
      "name": "edges",
      "signature": "const edges: (HTMLElement | string)[] = [String(index + 1) + OF_STEPS_LABEL + String(this.cells.length)];"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-step-component-ts",
  "language": "typescript",
  "layer": "product",
  "name": "step.component.ts",
  "path": "presentation/components/step.component.ts",
  "ref": "anatomy:file-presentation-components-step-component-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-components",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-components",
          "label": "presentation/components",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-components.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-components"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
          "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
          "label": "core/factories/element.factory.ts",
          "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
          "ref": "anatomy:file-core-factories-element-factory-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-registries-style-registry-ts",
          "json": "https://banes-lab.com/json/source/tree/core/registries/style.registry.ts",
          "label": "core/registries/style.registry.ts",
          "markdown": "https://banes-lab.com/source/tree/core/registries/style.registry.ts.md",
          "ref": "anatomy:file-core-registries-style-registry-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-reference-component-ts",
          "json": "https://banes-lab.com/json/source/tree/presentation/components/reference.component.ts",
          "label": "presentation/components/reference.component.ts",
          "markdown": "https://banes-lab.com/source/tree/presentation/components/reference.component.ts.md",
          "ref": "anatomy:file-presentation-components-reference-component-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-walk-component-ts",
          "json": "https://banes-lab.com/json/source/tree/presentation/components/walk.component.ts",
          "label": "presentation/components/walk.component.ts",
          "markdown": "https://banes-lab.com/source/tree/presentation/components/walk.component.ts.md",
          "ref": "anatomy:file-presentation-components-walk-component-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-factories",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-factories",
          "label": "core/factories",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-factories.md",
          "ref": "chapter:/anatomy/tree#folder-core-factories"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-registries",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-registries",
          "label": "core/registries",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-registries.md",
          "ref": "chapter:/anatomy/tree#folder-core-registries"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-components",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-components",
          "label": "presentation/components",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-components.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-components"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "component",
    "subject": "step",
    "variant": null
  },
  "stats": {
    "bytes": 6152,
    "callable": 11,
    "definitions": 26,
    "edges": 14,
    "exported": 24,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 5,
      "isolated": 21
    },
    "lines": {
      "blank": 12,
      "code": 143,
      "total": 155
    }
  },
  "summary": "143 lines of code and 26 definitions.",
  "text": "https://banes-lab.com/source/tree/presentation/components/step.component.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-surface-component-ts",
      "json": "https://banes-lab.com/json/source/tree/presentation/components/surface.component.ts",
      "label": "presentation/components/surface.component.ts",
      "markdown": "https://banes-lab.com/source/tree/presentation/components/surface.component.ts.md",
      "ref": "anatomy:file-presentation-components-surface-component-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-stage-component-ts",
      "json": "https://banes-lab.com/json/source/tree/presentation/components/stage.component.ts",
      "label": "presentation/components/stage.component.ts",
      "markdown": "https://banes-lab.com/source/tree/presentation/components/stage.component.ts.md",
      "ref": "anatomy:file-presentation-components-stage-component-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/presentation/components",
    "label": "presentation/components",
    "markdown": "https://banes-lab.com/api/source/tree/presentation/components.md",
    "ref": "api:source/tree/presentation/components"
  }
}
