Skip to content

Catalog A2UI Pantoken

Archwiliwch eirfa cydrannau Pantoken ar gyfer A2UI 1.0. Mae'r catalog hwn yn diffinio cydrannau Pantoken yn unig; mae cydrannau cynllun safonol yn aros yng Nghatalog Sylfaenol A2UI.

Cefnogaeth cleientiaid

  • Wedi'i ddilysu gyda'r SDK Lit A2UI 1.0 cyhoeddedig.
  • Wedi'i ddilysu gyda @a2ui/react 0.15.0 a React 19.3.1 yn Chromium, Firefox, a WebKit.
  • Wedi'i ddilysu gyda @a2ui/angular 0.14.0 ac Angular 21.2.5 yn Chromium, Firefox, a WebKit.
  • Flutter, SwiftUI, a Jetpack Compose: sgema yn unig; dim rendrwyr cydrannau Pantoken brodorol.

Gweithred

Nid yw'r catalog hwn yn diffinio unrhyw swyddogaethau gweithredadwy. Mae gweithredoedd botymau'n defnyddio dull trin gweithredoedd cofrestredig A2UI.

Cofrestru Lit

import { basicCatalog } from "@a2ui/web_core/catalogs/basic/v1";
import { MessageProcessor } from "@a2ui/web_core";
import { pantokenA2uiCatalog, registerPantokenA2uiComponents } from "@pantoken/web-components/a2ui";

registerPantokenA2uiComponents();
const processor = new MessageProcessor([basicCatalog, pantokenA2uiCatalog]);

Defnyddiwch @catalogId i gyfeirio at gydrannau Pantoken ochr yn ochr â chydrannau'r Catalog Sylfaenol.

{
  "id": "save",
  "@catalogId": "https://pantoken.app/a2ui/catalog/v1/catalog.json",
  "component": "PantokenButton",
  "label": "Save"
}

Cydrannau (61)

PantokenIcon

Glyff mewnlin a ddewiswyd o set eiconau Pantoken.

nameGofynnol
a-arrow-down, a-arrow-up, a-large-small, accessibility, accessibility-2, activity, ad, ai-info, ai-spinner, air-vent, airplay, alarm-clock, ...
sizeDewisol
1em, 1.25em, 1.5em, 2em

PantokenButton

Botwm gweithredu wedi'i steilio â thocynnau, gydag ymddygiad digwyddiad A2UI a Gorchmynion Invoker dewisol.

labelGofynnol
A2UI v1.0 DynamicString
variantDewisol
primary, secondary, tertiary, danger, success, ai, ai-secondary
commandTargetDewisol
A2UI v1.0 ComponentId
commandDewisol
--show, --close, --toggle, --push, --back, --goto
popoverTargetDewisol
A2UI v1.0 ComponentId
popoverActionDewisol
toggle, show, hide
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenAlert

Neges statws gydag opsiwn i'w chau ar ôl amser penodol.

variantDewisol
info, success, warning, danger
timeoutDewisol
A2UI v1.0 DynamicNumber
transitionDewisol
fade, none
hasShadowDewisol
A2UI v1.0 DynamicBoolean
messageDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenBadge

Bathodyn cryno ar gyfer cyfrif neu statws.

variantDewisol
success, danger, inverse
labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenPill

Pilsen statws gryno.

variantDewisol
neutral, info, success, warning, danger, plum, aurora, sky, orange, violet, sea, stone
labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenTag

Tag neu sglodyn wedi'i steilio â thocynnau.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenAvatar

Afatar blaenlythrennau gyda phalet, maint, a siâp cyfyngedig.

variantDewisol
ai, blue, green, grey, orange, red
sizeDewisol
2xs, xs, sm, md, lg, xl, 2xl
shapeDewisol
rectangle
initialsDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenSpinner

Dangosydd statws llwytho.

variantDewisol
inverse, ai, ai-on-color

PantokenProgress

Dangosydd cynnydd neu fesurydd llorweddol.

valueNowDewisol
A2UI v1.0 DynamicNumber
minDewisol
A2UI v1.0 DynamicNumber
valueMaxDewisol
A2UI v1.0 DynamicNumber
variantDewisol
brand, info, success, warning, danger, inverse, primary-inverse
labelDewisol
A2UI v1.0 DynamicString
shouldAnimateDewisol
A2UI v1.0 DynamicBoolean

PantokenMetric

Gwerth mawr wedi'i baru â label disgrifiadol.

valueGofynnol
A2UI v1.0 DynamicString
labelGofynnol
A2UI v1.0 DynamicString

PantokenRating

Sgôr sêr darllen-yn-unig gyda nifer cyfyngedig o sêr.

valueDewisol
A2UI v1.0 DynamicNumber
maxDewisol
A2UI v1.0 DynamicNumber
labelDewisol
A2UI v1.0 DynamicString

PantokenProgressCircle

Dangosydd cynnydd neu fesurydd cylchol.

valueNowDewisol
A2UI v1.0 DynamicNumber
minDewisol
A2UI v1.0 DynamicNumber
valueMaxDewisol
A2UI v1.0 DynamicNumber
labelDewisol
A2UI v1.0 DynamicString
shouldAnimateDewisol
A2UI v1.0 DynamicBoolean
animationDelayDewisol
A2UI v1.0 DynamicNumber

PantokenIconButton

Botwm eicon yn unig gyda label hygyrch.

labelGofynnol
A2UI v1.0 DynamicString
iconNameGofynnol
a-arrow-down, a-arrow-up, a-large-small, accessibility, accessibility-2, activity, ad, ai-info, ai-spinner, air-vent, airplay, alarm-clock, ...
actionDewisol
A2UI v1.0 Action

PantokenToggleButton

Botwm â dau gyflwr, gyda'i gyflwr wedi'i wasgu wedi'i glymu i ddata A2UI.

pressedDewisol
A2UI v1.0 DynamicBoolean
labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenTruncate

Ardal destun wedi'i chwtogi i nifer o linellau ar restr ganiataol.

linesDewisol
auto, 1, 2, 3, 4, 5, 6
textDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenImg

Delwedd ymatebol gydag URL cyfryngau wedi'i lanweithio a chyflwyniad cyfyngedig.

srcGofynnol
A2UI v1.0 MediaUrl
altGofynnol
A2UI v1.0 DynamicString
constrainDewisol
cover, contain
displayDewisol
block

PantokenSideNavBar

Bar llywio fertigol y gellir ei chrebachu i gyflwyniad eiconau yn unig.

minimizedDewisol
A2UI v1.0 DynamicBoolean
childrenDewisol
A2UI v1.0 ChildList

PantokenTreeBrowser

Coeden hygyrch y cyflwynir ei chydrannau plant fel eitemau coeden y gellir canolbwyntio arnynt.

labelGofynnol
A2UI v1.0 DynamicString
childrenGofynnol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenCalendar

Calendr mis rhyngweithiol sy'n diweddaru'r dyddiad ISO a ddewiswyd.

valueDewisol
A2UI v1.0 DynamicString
viewDewisol
A2UI v1.0 DynamicString
actionDewisol
A2UI v1.0 Action

PantokenTooltip

Awgrym offer anrhyngweithiol o amgylch cydran sbarduno.

triggerLabelGofynnol
A2UI v1.0 DynamicString
tipGofynnol
A2UI v1.0 DynamicString
placementDewisol
top, bottom, start, end
showDelayDewisol
A2UI v1.0 DynamicNumber
hideDelayDewisol
A2UI v1.0 DynamicNumber
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenModal

Deialog frodorol gydag ymddygiad agor a chau a yrrir gan orchmynion.

openDewisol
A2UI v1.0 DynamicBoolean
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenContextView

Ffenestr naid alwadol gyda steilio Pantoken.

openDewisol
A2UI v1.0 DynamicBoolean
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenPopover

Arwyneb ffenestr naid sy'n arnofio.

openDewisol
A2UI v1.0 DynamicBoolean
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenTray

Panel ffenestr naid ar ymyl y ffenestr, gyda lleoliad a maint cyfyngedig.

placementDewisol
top, bottom, start, end
sizeDewisol
xs, sm, md, lg, xl
openDewisol
A2UI v1.0 DynamicBoolean
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenInPlaceEdit

Gwerth mewnlin y gellir ei olygu, gyda diweddariadau cyflwr A2UI.

valueGofynnol
A2UI v1.0 DynamicString
readOnlyDewisol
A2UI v1.0 DynamicBoolean
inputTypeDewisol
text, number, email, url, tel, search
actionDewisol
A2UI v1.0 Action

PantokenDrilldown

Dewislen nythu wedi'i hadeiladu o ddata tudalennau ac eitemau diogel.

activeDewisol
A2UI v1.0 DynamicString
pagesGofynnol
array
actionDewisol
A2UI v1.0 Action

PantokenPages

Set o baneli plant A2UI sy'n ymwybodol o hanes.

activeDewisol
A2UI v1.0 DynamicString
childrenGofynnol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenDrawerLayout

Cynllun cynnwys a hambwrdd ymatebol gyda chyflwr agored a yrrir gan orchmynion.

openDewisol
A2UI v1.0 DynamicBoolean
placementDewisol
start, end
shouldOverlayTrayDewisol
A2UI v1.0 DynamicBoolean
trayLabelDewisol
A2UI v1.0 DynamicString
contentLabelDewisol
A2UI v1.0 DynamicString
trayChildrenDewisol
A2UI v1.0 ChildList
childrenDewisol
A2UI v1.0 ChildList

PantokenDateInput

Maes dyddiad gyda ffenestr naid calendr a diweddariadau gwerth ISO.

valueDewisol
A2UI v1.0 DynamicString
labelDewisol
A2UI v1.0 DynamicString
placeholderDewisol
A2UI v1.0 DynamicString
actionDewisol
A2UI v1.0 Action

PantokenDateTimeInput

Maes dyddiad ac amser cyfun gyda diweddariad gwerth ISO.

valueDewisol
A2UI v1.0 DynamicString
actionDewisol
A2UI v1.0 Action

PantokenTabs

Set tabiau hygyrch sy'n paru paneli plant A2UI â labeli.

labelGofynnol
A2UI v1.0 DynamicString
tabLabelsGofynnol
array
activeIndexDewisol
A2UI v1.0 DynamicNumber
childrenGofynnol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenCard

Cydran cerdyn Pantoken gyda thestun diogel a chynnwys plant.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenByline

Cydran llinell awdur Pantoken gyda thestun diogel a chynnwys plant.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenTable

Tabl data gyda chapsiwn, penawdau colofnau, a chelloedd testun yn unig.

captionGofynnol
A2UI v1.0 DynamicString
headersGofynnol
array
rowsGofynnol
array

PantokenLink

Dolen destun y gellir ei dilyn gyda chynllun URL ar restr ganiataol.

labelGofynnol
A2UI v1.0 DynamicString
hrefDewisol
string
targetDewisol
_self, _blank, _parent, _top
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenList

Cydran rhestr Pantoken gyda thestun diogel a chynnwys plant.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenCheckbox

Blwch ticio brodorol gyda label gweladwy a diweddariadau cyflwr wedi'i dicio.

labelGofynnol
A2UI v1.0 DynamicString
checkedDewisol
A2UI v1.0 DynamicBoolean
disabledDewisol
A2UI v1.0 DynamicBoolean
nameDewisol
A2UI v1.0 DynamicString
valueDewisol
A2UI v1.0 DynamicString
actionDewisol
A2UI v1.0 Action

PantokenRadio

Rheolydd radio brodorol gyda label gweladwy a diweddariadau gwerth a ddewiswyd.

labelGofynnol
A2UI v1.0 DynamicString
checkedDewisol
A2UI v1.0 DynamicBoolean
disabledDewisol
A2UI v1.0 DynamicBoolean
nameDewisol
A2UI v1.0 DynamicString
valueGofynnol
A2UI v1.0 DynamicString
actionDewisol
A2UI v1.0 Action

PantokenMenu

Cydran dewislen Pantoken gyda thestun diogel a chynnwys plant.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenBreadcrumb

Tirnod llywio wedi'i labelu gydag eitemau briwsion bara.

labelGofynnol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenBillboard

Cydran hysbysfwrdd Pantoken gyda thestun diogel a chynnwys plant.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenToggleGroup

Grŵp datgelu wedi'i steilio â thocynnau, gyda chrynodeb a chynnwys plant y gellir ei ehangu.

summaryGofynnol
A2UI v1.0 DynamicString
openDewisol
A2UI v1.0 DynamicBoolean
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenPagination

Tirnod llywio wedi'i labelu ar gyfer rheolyddion tudaleniad.

labelGofynnol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenToggleDetails

Datgeliad brodorol gyda chrynodeb a chynnwys plant y gellir ei ehangu.

summaryGofynnol
A2UI v1.0 DynamicString
openDewisol
A2UI v1.0 DynamicBoolean
childrenDewisol
A2UI v1.0 ChildList
actionDewisol
A2UI v1.0 Action

PantokenFileDrop

Cydran gollwng ffeiliau Pantoken gyda thestun diogel a chynnwys plant.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenRangeInput

Llithrydd amrediad brodorol gyda gwerthoedd rhifol cyfyngedig.

labelGofynnol
A2UI v1.0 DynamicString
valueDewisol
A2UI v1.0 DynamicNumber
minDewisol
A2UI v1.0 DynamicNumber
maxDewisol
A2UI v1.0 DynamicNumber
stepDewisol
A2UI v1.0 DynamicNumber
disabledDewisol
A2UI v1.0 DynamicBoolean
actionDewisol
A2UI v1.0 Action

PantokenMask

Cydran masg Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenScreenReaderContent

Cydran cynnwys darllenydd sgrin Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenHeading

Cydran pennawd Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenText

Cydran testun Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenCloseButton

Rheolydd hygyrch i gau sy'n anfon gweithred clicio A2UI.

labelGofynnol
A2UI v1.0 DynamicString
actionDewisol
A2UI v1.0 Action

PantokenFormField

Cydran maes ffurflen Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenFormFieldGroup

Set maes wedi'i labelu sy'n grwpio rheolyddion ffurflen cysylltiedig.

labelGofynnol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenRadioInputGroup

Set maes wedi'i labelu sy'n grwpio rheolyddion radio cysylltiedig.

labelGofynnol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenFormFieldMessages

Cydran negeseuon maes ffurflen Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenTextInput

Mewnbwn testun brodorol gyda label gweladwy a diweddariadau gwerth.

labelGofynnol
A2UI v1.0 DynamicString
valueDewisol
A2UI v1.0 DynamicString
typeDewisol
text, email, url, tel, search, date, time
placeholderDewisol
A2UI v1.0 DynamicString
nameDewisol
A2UI v1.0 DynamicString
requiredDewisol
A2UI v1.0 DynamicBoolean
disabledDewisol
A2UI v1.0 DynamicBoolean
readOnlyDewisol
A2UI v1.0 DynamicBoolean

PantokenTextArea

Maes testun aml-linell brodorol gyda label gweladwy a diweddariadau gwerth.

labelGofynnol
A2UI v1.0 DynamicString
valueDewisol
A2UI v1.0 DynamicString
placeholderDewisol
A2UI v1.0 DynamicString
nameDewisol
A2UI v1.0 DynamicString
requiredDewisol
A2UI v1.0 DynamicBoolean
disabledDewisol
A2UI v1.0 DynamicBoolean
readOnlyDewisol
A2UI v1.0 DynamicBoolean

PantokenSimpleSelect

Rheolydd dewis wedi'i labelu gydag opsiynau testun yn unig sydd â therfynau.

labelGofynnol
A2UI v1.0 DynamicString
valueDewisol
A2UI v1.0 DynamicString
nameDewisol
A2UI v1.0 DynamicString
requiredDewisol
A2UI v1.0 DynamicBoolean
disabledDewisol
A2UI v1.0 DynamicBoolean
optionsGofynnol
array

PantokenInputGroup

Cydran grŵp mewnbwn Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

PantokenNumberInput

Mewnbwn rhif brodorol gyda gwerthoedd cyfyngedig a label gweladwy.

labelGofynnol
A2UI v1.0 DynamicString
valueDewisol
A2UI v1.0 DynamicNumber
minDewisol
A2UI v1.0 DynamicNumber
maxDewisol
A2UI v1.0 DynamicNumber
stepDewisol
A2UI v1.0 DynamicNumber
nameDewisol
A2UI v1.0 DynamicString
requiredDewisol
A2UI v1.0 DynamicBoolean
disabledDewisol
A2UI v1.0 DynamicBoolean

PantokenView

Cydran golwg Pantoken gyda thestun diogel a chynnwys plentyn.

labelDewisol
A2UI v1.0 DynamicString
childrenDewisol
A2UI v1.0 ChildList

Fersiynu'r catalog

Mae ID catalog v1 yn sefydlog. Mae ychwanegu cydran, priodwedd, neu werth enum dewisol yn ychwanegiad cydnaws; mae tynnu neu ailenwi cydran neu briodwedd sy'n bodoli eisoes, cyfyngu enum, neu wneud priodwedd ddewisol yn ofynnol yn newid sy'n torri cydnawsedd ac mae angen fersiwn catalog newydd. Dim ond y cydrannau a'r priodweddau a restrir uchod sy'n rhan o gatalog A2UI Pantoken.

Nid yw'r catalog yn diffinio unrhyw swyddogaethau gweithredadwy nac yn awdurdodi gweithredoedd. Caiff gweithredoedd A2UI eu hanfon drwy ddull trin gweithredoedd arferol y rhaglen westeiwr, lle mae'n rhaid i'r rhaglen orfodi ei chaniatadau ei hun.