跳到主要內容

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

pagination

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

Page controls for collection lists (page, pageSize, total) with optional onChange events. Also mirrored as a Web Device surface package for site collection indexes.

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 type: "pagination" via createPagination, or Web Device surface providers/runtime/web-device/surfaces/pagination/.

Surfaces

Interactive Web AUP + Web Device collection surface. Showcase list-pagination.

Fallback

No shared degradation chain. Surface empty when totals are zero depends on host.

Evidence

SourcePath
Registrationpackages/aup/src/aup-types.ts
Factorypackages/aup/src/components/pagination.ts
AUP rendererproviders/runtime/ui/src/web-page/renderers/pagination.ts
Web Device surfaceproviders/runtime/web-device/surfaces/pagination/manifest.json
Showcaseblocklets/showcase/.aup/pages/list-pagination.json

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

Sample

No docs-safe live sample on this site yet. Use the listed Showcase source / factory API as a source-only reference. Run Showcase locally if you need interactive acceptance.