メインコンテンツへスキップ

ARC 2.0.0-beta.28 · AUP Web-only widget

afs-stat

AUP Web-only widget `afs-stat`: purpose, boundaries, surfaces, fallback, and evidence.

AUP Web-only widget — not a cross-device primitive; not a Web Device layout component.

The name is registered in AUP_WIDGETS (packages/aup/src/aup-types.ts). It can be accepted by structure verification and implemented by a Web runtime (or native target where noted). It is not one of the 18 cross-device AUP_PRIMITIVES, does not enter DeviceCaps.primitives via fillPrimitives, and is not a Web Device theme/site layout component (for example content-card or page-breadcrumb).

Purpose

Renders a compact AFS path statistic (file/dir metadata) as a view-shaped surface after server expansion. Used inside explorer and auto-surface flows.

Boundaries

  • Do not document this type as a portable primitive.
  • Do not mix it with Web Device layout-component reference pages under widgets/.
  • A parser-accepted name is not a portability or product-readiness claim.

Author entry

AUP tree / DSL node type: "afs-stat" with src to an AFS path. Server expansion (auto-surface / node expansion) materializes children; the interactive Web client treats the node like a view.

Surfaces

Interactive Web (web-full). Not a document-target RENDERERS entry.

Fallback

No shared DEGRADATION_CHAINS entry. Missing renderer → unknown presentation. Not in DeviceCaps.primitives.

Evidence

SourcePath
Registrationpackages/aup/src/aup-types.ts (AUP_WIDGETS)
Interactive switchproviders/runtime/ui/src/web-page/core.ts case "afs-stat"→renderAupView``
Expansion / usageproviders/runtime/ui/src/auto-surface.ts; aup-node-expansion.ts``
Showcaseblocklets/showcase/.aup/pages/explorer.json

Paths are relative to the Arc repository checkout used for this documentation baseline.

Sample

Internal / experimental for public samples. Registration and renderers exist in the interactive Web runtime (and sometimes Web Device widget packages), but this site does not ship a docs-safe live sample. Do not infer product readiness from the type name alone.