Skip to main content

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

afs-preview

AUP Web-only widget `afs-preview`: 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

Server-driven file preview: set src to an AFS file path; the server stats the file and drives presentation. Pairs with afs-stat in explorer layouts.

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 type: "afs-preview". Registry category subsystem in aup-registry.ts.

Surfaces

Interactive Web. Client switch maps to renderAupView after server work.

Fallback

No degradation chain. Document target has no dedicated renderer.

Evidence

SourcePath
Registrationpackages/aup/src/aup-types.ts; packages/aup/test/aup-widget-registration.test.ts
Registryproviders/runtime/ui/src/aup-registry.ts (afs-preview)
Interactive switchproviders/runtime/ui/src/web-page/core.ts case "afs-preview"``
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.