@personai/agent-ui-a2ui-core 1.0.0-preview.2 → 1.0.0-preview.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/catalog.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://a2ui.org/specification/v0_9/catalog.json","title":"EliteForge independent client catalog","description":"Unified catalog of basic A2UI components and functions.","catalogId":"https://eliteforge.dev/a2ui/v0.9.1/minimal","components":{"Text":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Text"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text content to display. While simple Markdown formatting is supported (i.e. without HTML, images, or links), utilizing dedicated UI components is generally preferred for a richer and more structured presentation."},"variant":{"type":"string","description":"A hint for the base text style.","enum":["h1","h2","h3","h4","h5","caption","body"],"default":"body"}},"required":["component","text"]}],"unevaluatedProperties":false},"Row":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","description":"A layout component that arranges its children horizontally. To create a grid layout, nest Columns within this Row.","properties":{"component":{"const":"Row"},"children":{"description":"Defines the children. Use an array of strings for a fixed set of children, or a template object to generate children from a data list. Children cannot be defined inline, they must be referred to by ID.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"justify":{"type":"string","description":"Defines the arrangement of children along the main axis (horizontally). Use 'spaceBetween' to push items to the edges, or 'start'/'end'/'center' to pack them together.","enum":["center","end","spaceAround","spaceBetween","spaceEvenly","start","stretch"],"default":"start"},"align":{"type":"string","description":"Defines the alignment of children along the cross axis (vertically). This is similar to the CSS 'align-items' property, but uses camelCase values (e.g., 'start').","enum":["start","center","end","stretch"],"default":"stretch"}},"required":["component","children"]}],"unevaluatedProperties":false},"Column":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","description":"A layout component that arranges its children vertically. To create a grid layout, nest Rows within this Column.","properties":{"component":{"const":"Column"},"children":{"description":"Defines the children. Use an array of strings for a fixed set of children, or a template object to generate children from a data list. Children cannot be defined inline, they must be referred to by ID.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"justify":{"type":"string","description":"Defines the arrangement of children along the main axis (vertically). Use 'spaceBetween' to push items to the edges (e.g. header at top, footer at bottom), or 'start'/'end'/'center' to pack them together.","enum":["start","center","end","spaceBetween","spaceAround","spaceEvenly","stretch"],"default":"start"},"align":{"type":"string","description":"Defines the alignment of children along the cross axis (horizontally). This is similar to the CSS 'align-items' property.","enum":["center","end","start","stretch"],"default":"stretch"}},"required":["component","children"]}],"unevaluatedProperties":false},"Card":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Card"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the single child component to be rendered inside the card. To display multiple elements, you MUST wrap them in a layout component (like Column or Row) and pass that container's ID here. Do NOT pass multiple IDs or a non-existent ID."}},"required":["component","child"]}],"unevaluatedProperties":false},"Button":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Button"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the child component. Use a 'Text' component for a labeled button. Only use an 'Icon' if the requirements explicitly ask for an icon-only button."},"variant":{"type":"string","description":"A hint for the button style. If omitted, a default button style is used. 'primary' indicates this is the main call-to-action button. 'borderless' means the button has no visual border or background, making its child content appear like a clickable link.","enum":["default","primary","borderless"],"default":"default"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","child","action"]}],"unevaluatedProperties":false},"TextField":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"TextField"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text label for the input field."},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The value of the text field."},"variant":{"type":"string","description":"The type of input field to display.","enum":["longText","number","shortText","obscured"],"default":"shortText"}},"required":["component","label"]}],"unevaluatedProperties":false},"CheckBox":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"CheckBox"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text to display next to the checkbox."},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicBoolean","description":"The current state of the checkbox (true for checked, false for unchecked)."}},"required":["component","label","value"]}],"unevaluatedProperties":false},"ChoicePicker":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","description":"A component that allows selecting one or more options from a list.","properties":{"component":{"const":"ChoicePicker"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The label for the group of options."},"variant":{"type":"string","description":"A hint for how the choice picker should be displayed and behave.","enum":["multipleSelection","mutuallyExclusive"],"default":"mutuallyExclusive"},"options":{"type":"array","description":"The list of available options to choose from.","items":{"type":"object","properties":{"label":{"description":"The text to display for this option.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string","description":"The stable value associated with this option."}},"required":["label","value"],"additionalProperties":false}},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicStringList","description":"The list of currently selected values. This should be bound to a string array in the data model."}},"required":["component","options","value"]}],"unevaluatedProperties":false},"Image":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Image"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The URL of the image to display."},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"Accessibility text for the image."},"fit":{"type":"string","description":"Specifies how the image should be resized to fit its container. This corresponds to the CSS 'object-fit' property.","enum":["contain","cover","fill","none","scaleDown"],"default":"fill"},"variant":{"type":"string","description":"A hint for the image size and style.","enum":["icon","avatar","smallFeature","mediumFeature","largeFeature","header"],"default":"mediumFeature"}},"required":["component","url"]}],"unevaluatedProperties":false},"Icon":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Icon"},"name":{"description":"The name of the icon to display.","oneOf":[{"type":"string","enum":["person","check","close","add","mail","search","info","warning"]},{"type":"object","properties":{"svgPath":{"type":"string"}},"required":["svgPath"],"additionalProperties":false},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","name"]}],"unevaluatedProperties":false},"Divider":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Divider"},"axis":{"type":"string","description":"The orientation of the divider.","enum":["horizontal","vertical"],"default":"horizontal"}},"required":["component"]}],"unevaluatedProperties":false},"Slider":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Slider"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The label for the slider."},"min":{"type":"number","description":"The minimum value of the slider.","default":0},"max":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","exclusiveMinimum":0,"default":1,"description":"Slider increment. Defaults to whole numbers; response schema multipleOf takes precedence."},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber","description":"The current value of the slider."}},"required":["component","value","max"]}],"unevaluatedProperties":false},"DateTimeInput":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"DateTimeInput"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The selected date and/or time value in ISO 8601 format. If not yet set, initialize with an empty string."},"enableDate":{"type":"boolean","description":"If true, allows the user to select a date.","default":false},"enableTime":{"type":"boolean","description":"If true, allows the user to select a time.","default":false},"min":{"allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},{"if":{"type":"string"},"then":{"oneOf":[{"format":"date"},{"format":"time"},{"format":"date-time"}]}}],"description":"The minimum allowed date/time in ISO 8601 format."},"max":{"allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},{"if":{"type":"string"},"then":{"oneOf":[{"format":"date"},{"format":"time"},{"format":"date-time"}]}}],"description":"The maximum allowed date/time in ISO 8601 format."},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text label for the input field."}},"required":["component","value"]}],"unevaluatedProperties":false},"Video":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Video"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The URL of the video to display."}},"required":["component","url"]}],"unevaluatedProperties":false},"AudioPlayer":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"AudioPlayer"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The URL of the audio to be played."},"description":{"description":"A description of the audio, such as a title or summary.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","url"]}],"unevaluatedProperties":false},"List":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"List"},"children":{"description":"Defines the children. Use an array of strings for a fixed set of children, or a template object to generate children from a data list.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"direction":{"type":"string","description":"The direction in which the list items are laid out.","enum":["vertical","horizontal"],"default":"vertical"},"align":{"type":"string","description":"Defines the alignment of children along the cross axis.","enum":["start","center","end","stretch"],"default":"stretch"}},"required":["component","children"]}],"unevaluatedProperties":false},"Tabs":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Tabs"},"tabs":{"type":"array","description":"An array of objects, where each object defines a tab with a title and a child component.","minItems":1,"items":{"type":"object","properties":{"title":{"description":"The tab title.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the child component."}},"required":["title","child"],"additionalProperties":false}}},"required":["component","tabs"]}],"unevaluatedProperties":false},"Modal":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Modal"},"trigger":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the component that opens the modal when interacted with (e.g., a button)."},"content":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the component to be displayed inside the modal."}},"required":["component","trigger","content"]}],"unevaluatedProperties":false},"NumberField":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"NumberField"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"min":{"type":"number"},"max":{"type":"number"},"step":{"type":"number","exclusiveMinimum":0}},"required":["component","label","value"]}],"unevaluatedProperties":false},"Select":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Select"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"Switch":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Switch"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicBoolean"}},"required":["component","label","value"]}],"unevaluatedProperties":false},"Link":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Link"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"newTab":{"type":"boolean"}},"required":["component","text","url"]}],"unevaluatedProperties":false},"Badge":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Badge"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"variant":{"enum":["neutral","info","success","warning","error"]}},"required":["component","text"]}],"unevaluatedProperties":false},"Avatar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Avatar"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"name":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"size":{"enum":["small","medium","large"]}},"required":["component","name"]}],"unevaluatedProperties":false},"Alert":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Alert"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"variant":{"enum":["neutral","info","success","warning","error"]}},"required":["component","text"]}],"unevaluatedProperties":false},"Progress":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Progress"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"max":{"type":"number","exclusiveMinimum":0}},"required":["component","value"]}],"unevaluatedProperties":false},"Spinner":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Spinner"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component"]}],"unevaluatedProperties":false},"Skeleton":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Skeleton"},"lines":{"type":"integer","minimum":1,"maximum":12}},"required":["component"]}],"unevaluatedProperties":false},"EmptyState":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"EmptyState"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId"}},"required":["component","title"]}],"unevaluatedProperties":false},"Table":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Table"},"caption":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"columns":{"type":"array","minItems":1,"items":{"type":"object","properties":{"key":{"type":"string"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["key","label"],"additionalProperties":false}},"rows":{"oneOf":[{"type":"array","items":{"type":"object"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","columns","rows"]}],"unevaluatedProperties":false},"Accordion":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Accordion"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId"},"defaultOpen":{"type":"boolean"},"items":{"type":"array","minItems":1,"items":{"type":"object","properties":{"id":{"type":"string"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"disabled":{"type":"boolean"}},"required":["id","title","child"],"additionalProperties":false}},"multiple":{"type":"boolean"}},"required":["component"],"anyOf":[{"required":["title","child"]},{"required":["items"]}]}],"unevaluatedProperties":false},"Grid":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Grid"},"children":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"columns":{"type":"integer","minimum":1,"maximum":12}},"required":["component","children"]}],"unevaluatedProperties":false},"Spacer":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Spacer"},"size":{"enum":["small","medium","large"]},"axis":{"enum":["horizontal","vertical"]}},"required":["component"]}],"unevaluatedProperties":false},"Statistic":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Statistic"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"precision":{"type":"integer","minimum":0,"maximum":20},"grouping":{"type":"boolean"},"prefix":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"unit":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","value"]}],"unevaluatedProperties":false},"Trend":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Trend"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"unit":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"precision":{"type":"integer","minimum":0,"maximum":20},"positiveIsGood":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"Sparkline":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Sparkline"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"values":{"oneOf":[{"type":"array","items":{"type":["number","null"]}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","values"]}],"unevaluatedProperties":false},"Meter":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Meter"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"min":{"type":"number"},"max":{"type":"number"},"low":{"type":"number"},"high":{"type":"number"},"optimum":{"type":"number"},"unit":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","value"]}],"unevaluatedProperties":false},"Chart":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Chart"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"type":{"enum":["line","bar","area","pie","donut"]},"labels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]},"series":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"values":{"type":"array","items":{"type":["number","null"]}}},"required":["name","values"],"additionalProperties":false}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","type","labels","series"]}],"unevaluatedProperties":false},"DescriptionList":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DescriptionList"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"items":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":["string","number","boolean","null"]}},"required":["label","value"],"additionalProperties":false}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","items"]}],"unevaluatedProperties":false},"ButtonGroup":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ButtonGroup"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"InputGroup":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"InputGroup"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"prefix":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"suffix":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"Item":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Item"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"Sidebar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Sidebar"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"ScrollArea":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ScrollArea"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"height":{"type":"number","minimum":40,"maximum":2000}},"required":["component","children"]}],"unevaluatedProperties":false},"Direction":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Direction"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"direction":{"enum":["ltr","rtl"]}},"required":["component","children"]}],"unevaluatedProperties":false},"Bubble":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Bubble"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"align":{"enum":["start","end"]}},"required":["component","children"]}],"unevaluatedProperties":false},"MessageScroller":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"MessageScroller"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"AspectRatio":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"AspectRatio"},"child":{"type":"string"},"ratio":{"type":"number","exclusiveMinimum":0}},"required":["component","child"]}],"unevaluatedProperties":false},"Label":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Label"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","text"]}],"unevaluatedProperties":false},"Kbd":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Kbd"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","text"]}],"unevaluatedProperties":false},"Marker":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Marker"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","text"]}],"unevaluatedProperties":false},"Breadcrumb":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Breadcrumb"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"items":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["label"],"additionalProperties":false},"minItems":1}},"required":["component","items"]}],"unevaluatedProperties":false},"NavigationMenu":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"NavigationMenu"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"items":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["label"],"additionalProperties":false},"minItems":1}},"required":["component","items"]}],"unevaluatedProperties":false},"Textarea":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Textarea"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"rows":{"type":"integer","minimum":1,"maximum":40},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"InputOTP":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"InputOTP"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"length":{"type":"integer","minimum":1,"maximum":12},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"Calendar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Calendar"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"DatePicker":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DatePicker"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"Combobox":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Combobox"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"}},"required":["component","value","options"]}],"unevaluatedProperties":false},"Command":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Command"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"}},"required":["component","value","options"]}],"unevaluatedProperties":false},"Toggle":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Toggle"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicBoolean"},"disabled":{"type":"boolean"}},"required":["component","label","value"]}],"unevaluatedProperties":false},"ToggleGroup":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ToggleGroup"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"oneOf":[{"type":"array","items":{"type":"string"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"multiple":{"type":"boolean"},"disabled":{"type":"boolean"}},"required":["component","value","options"]}],"unevaluatedProperties":false},"Pagination":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Pagination"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"totalPages":{"type":"integer","minimum":1},"disabled":{"type":"boolean"}},"required":["component","value","totalPages"]}],"unevaluatedProperties":false},"Collapsible":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Collapsible"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Popover":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Popover"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"HoverCard":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"HoverCard"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Tooltip":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Tooltip"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Drawer":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Drawer"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"},"side":{"enum":["left","right","top","bottom"]}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Sheet":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Sheet"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"},"side":{"enum":["left","right","top","bottom"]}},"required":["component","label","child"]}],"unevaluatedProperties":false},"AlertDialog":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"AlertDialog"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"confirmLabel":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"DropdownMenu":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DropdownMenu"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"ContextMenu":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ContextMenu"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"Menubar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Menubar"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"Field":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Field"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"error":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Carousel":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Carousel"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"children":{"type":"array","items":{"type":"string"}},"defaultIndex":{"type":"integer","minimum":0}},"required":["component","children"]}],"unevaluatedProperties":false},"Resizable":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Resizable"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"children":{"type":"array","items":{"type":"string"},"minItems":2,"maxItems":2},"defaultSize":{"type":"number","minimum":10,"maximum":90}},"required":["component","children"]}],"unevaluatedProperties":false},"Toast":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Toast"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"variant":{"enum":["info","success","error"]},"defaultOpen":{"type":"boolean"}},"required":["component","title"]}],"unevaluatedProperties":false},"Attachment":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Attachment"},"name":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","name","url"]}],"unevaluatedProperties":false},"Message":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Message"},"role":{"enum":["user","assistant","system"]},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","role","text"]}],"unevaluatedProperties":false},"DataTable":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DataTable"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"columns":{"type":"array","minItems":1,"items":{"type":"object","properties":{"key":{"type":"string"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["key","label"],"additionalProperties":false}},"rows":{"oneOf":[{"type":"array","items":{"type":"object"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]},"pageSize":{"type":"integer","minimum":1,"maximum":100}},"required":["component","columns","rows"]}],"unevaluatedProperties":false}},"functions":{},"$defs":{"CatalogComponentCommon":{"type":"object","properties":{}},"theme":{"type":"object","properties":{},"additionalProperties":false},"anyComponent":{"oneOf":[{"$ref":"#/components/Text"},{"$ref":"#/components/Row"},{"$ref":"#/components/Column"},{"$ref":"#/components/Card"},{"$ref":"#/components/Button"},{"$ref":"#/components/TextField"},{"$ref":"#/components/CheckBox"},{"$ref":"#/components/ChoicePicker"},{"$ref":"#/components/Image"},{"$ref":"#/components/Icon"},{"$ref":"#/components/Divider"},{"$ref":"#/components/Slider"},{"$ref":"#/components/DateTimeInput"},{"$ref":"#/components/Video"},{"$ref":"#/components/AudioPlayer"},{"$ref":"#/components/List"},{"$ref":"#/components/Tabs"},{"$ref":"#/components/Modal"},{"$ref":"#/components/NumberField"},{"$ref":"#/components/Select"},{"$ref":"#/components/Switch"},{"$ref":"#/components/Link"},{"$ref":"#/components/Badge"},{"$ref":"#/components/Avatar"},{"$ref":"#/components/Alert"},{"$ref":"#/components/Progress"},{"$ref":"#/components/Spinner"},{"$ref":"#/components/Skeleton"},{"$ref":"#/components/EmptyState"},{"$ref":"#/components/Table"},{"$ref":"#/components/Accordion"},{"$ref":"#/components/Grid"},{"$ref":"#/components/Spacer"},{"$ref":"#/components/Statistic"},{"$ref":"#/components/Trend"},{"$ref":"#/components/Sparkline"},{"$ref":"#/components/Meter"},{"$ref":"#/components/Chart"},{"$ref":"#/components/DescriptionList"},{"$ref":"#/components/ButtonGroup"},{"$ref":"#/components/InputGroup"},{"$ref":"#/components/Item"},{"$ref":"#/components/Sidebar"},{"$ref":"#/components/ScrollArea"},{"$ref":"#/components/Direction"},{"$ref":"#/components/Bubble"},{"$ref":"#/components/MessageScroller"},{"$ref":"#/components/AspectRatio"},{"$ref":"#/components/Label"},{"$ref":"#/components/Kbd"},{"$ref":"#/components/Marker"},{"$ref":"#/components/Breadcrumb"},{"$ref":"#/components/NavigationMenu"},{"$ref":"#/components/Textarea"},{"$ref":"#/components/InputOTP"},{"$ref":"#/components/Calendar"},{"$ref":"#/components/DatePicker"},{"$ref":"#/components/Combobox"},{"$ref":"#/components/Command"},{"$ref":"#/components/Toggle"},{"$ref":"#/components/ToggleGroup"},{"$ref":"#/components/Pagination"},{"$ref":"#/components/Collapsible"},{"$ref":"#/components/Popover"},{"$ref":"#/components/HoverCard"},{"$ref":"#/components/Tooltip"},{"$ref":"#/components/Drawer"},{"$ref":"#/components/Sheet"},{"$ref":"#/components/AlertDialog"},{"$ref":"#/components/DropdownMenu"},{"$ref":"#/components/ContextMenu"},{"$ref":"#/components/Menubar"},{"$ref":"#/components/Field"},{"$ref":"#/components/Carousel"},{"$ref":"#/components/Resizable"},{"$ref":"#/components/Toast"},{"$ref":"#/components/Attachment"},{"$ref":"#/components/Message"},{"$ref":"#/components/DataTable"}]},"anyFunction":false}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://a2ui.org/specification/v0_9/catalog.json","title":"EliteForge independent client catalog","description":"Unified catalog of basic A2UI components and functions.","catalogId":"https://eliteforge.dev/a2ui/v0.9.1/minimal","components":{"Text":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Text"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text content to display. While simple Markdown formatting is supported (i.e. without HTML, images, or links), utilizing dedicated UI components is generally preferred for a richer and more structured presentation."},"variant":{"type":"string","description":"A hint for the base text style.","enum":["h1","h2","h3","h4","h5","caption","body"],"default":"body"}},"required":["component","text"]}],"unevaluatedProperties":false},"Row":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","description":"A layout component that arranges its children horizontally. To create a grid layout, nest Columns within this Row.","properties":{"component":{"const":"Row"},"children":{"description":"Defines the children. Use an array of strings for a fixed set of children, or a template object to generate children from a data list. Children cannot be defined inline, they must be referred to by ID.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"justify":{"type":"string","description":"Defines the arrangement of children along the main axis (horizontally). Use 'spaceBetween' to push items to the edges, or 'start'/'end'/'center' to pack them together.","enum":["center","end","spaceAround","spaceBetween","spaceEvenly","start","stretch"],"default":"start"},"align":{"type":"string","description":"Defines the alignment of children along the cross axis (vertically). This is similar to the CSS 'align-items' property, but uses camelCase values (e.g., 'start').","enum":["start","center","end","stretch"],"default":"stretch"}},"required":["component","children"]}],"unevaluatedProperties":false},"Column":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","description":"A layout component that arranges its children vertically. To create a grid layout, nest Rows within this Column.","properties":{"component":{"const":"Column"},"children":{"description":"Defines the children. Use an array of strings for a fixed set of children, or a template object to generate children from a data list. Children cannot be defined inline, they must be referred to by ID.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"justify":{"type":"string","description":"Defines the arrangement of children along the main axis (vertically). Use 'spaceBetween' to push items to the edges (e.g. header at top, footer at bottom), or 'start'/'end'/'center' to pack them together.","enum":["start","center","end","spaceBetween","spaceAround","spaceEvenly","stretch"],"default":"start"},"align":{"type":"string","description":"Defines the alignment of children along the cross axis (horizontally). This is similar to the CSS 'align-items' property.","enum":["center","end","start","stretch"],"default":"stretch"}},"required":["component","children"]}],"unevaluatedProperties":false},"Card":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Card"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the single child component to be rendered inside the card. To display multiple elements, you MUST wrap them in a layout component (like Column or Row) and pass that container's ID here. Do NOT pass multiple IDs or a non-existent ID."}},"required":["component","child"]}],"unevaluatedProperties":false},"Button":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Button"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the child component. Use a 'Text' component for a labeled button. Only use an 'Icon' if the requirements explicitly ask for an icon-only button."},"variant":{"type":"string","description":"A hint for the button style. If omitted, a default button style is used. 'primary' indicates this is the main call-to-action button. 'borderless' means the button has no visual border or background, making its child content appear like a clickable link.","enum":["default","primary","borderless"],"default":"default"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","child","action"]}],"unevaluatedProperties":false},"TextField":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"TextField"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text label for the input field."},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The value of the text field."},"variant":{"type":"string","description":"The type of input field to display.","enum":["longText","number","shortText","obscured"],"default":"shortText"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"A hint shown while the field is empty. Does not replace the label or set a value."}},"required":["component","label"]}],"unevaluatedProperties":false},"CheckBox":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"CheckBox"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text to display next to the checkbox."},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicBoolean","description":"The current state of the checkbox (true for checked, false for unchecked)."}},"required":["component","label","value"]}],"unevaluatedProperties":false},"ChoicePicker":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","description":"A component that allows selecting one or more options from a list.","properties":{"component":{"const":"ChoicePicker"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The label for the group of options."},"variant":{"type":"string","description":"A hint for how the choice picker should be displayed and behave.","enum":["multipleSelection","mutuallyExclusive"],"default":"mutuallyExclusive"},"options":{"type":"array","description":"The list of available options to choose from.","items":{"type":"object","properties":{"label":{"description":"The text to display for this option.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string","description":"The stable value associated with this option."}},"required":["label","value"],"additionalProperties":false}},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicStringList","description":"The list of currently selected values. This should be bound to a string array in the data model."}},"required":["component","options","value"]}],"unevaluatedProperties":false},"Image":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Image"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The URL of the image to display."},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"Accessibility text for the image."},"fit":{"type":"string","description":"Specifies how the image should be resized to fit its container. This corresponds to the CSS 'object-fit' property.","enum":["contain","cover","fill","none","scaleDown"],"default":"fill"},"variant":{"type":"string","description":"A hint for the image size and style.","enum":["icon","avatar","smallFeature","mediumFeature","largeFeature","header"],"default":"mediumFeature"}},"required":["component","url"]}],"unevaluatedProperties":false},"Icon":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Icon"},"name":{"description":"The name of the icon to display.","oneOf":[{"type":"string","enum":["person","check","close","add","mail","search","info","warning"]},{"type":"object","properties":{"svgPath":{"type":"string"}},"required":["svgPath"],"additionalProperties":false},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","name"]}],"unevaluatedProperties":false},"Divider":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Divider"},"axis":{"type":"string","description":"The orientation of the divider.","enum":["horizontal","vertical"],"default":"horizontal"}},"required":["component"]}],"unevaluatedProperties":false},"Slider":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Slider"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The label for the slider."},"min":{"type":"number","description":"The minimum value of the slider.","default":0},"max":{"type":"number","description":"The maximum value of the slider."},"step":{"type":"number","exclusiveMinimum":0,"default":1,"description":"Slider increment. Defaults to whole numbers; response schema multipleOf takes precedence."},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber","description":"The current value of the slider."}},"required":["component","value","max"]}],"unevaluatedProperties":false},"DateTimeInput":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"DateTimeInput"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The selected date and/or time value in ISO 8601 format. If not yet set, initialize with an empty string."},"enableDate":{"type":"boolean","description":"If true, allows the user to select a date.","default":false},"enableTime":{"type":"boolean","description":"If true, allows the user to select a time.","default":false},"min":{"allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},{"if":{"type":"string"},"then":{"oneOf":[{"format":"date"},{"format":"time"},{"format":"date-time"}]}}],"description":"The minimum allowed date/time in ISO 8601 format."},"max":{"allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},{"if":{"type":"string"},"then":{"oneOf":[{"format":"date"},{"format":"time"},{"format":"date-time"}]}}],"description":"The maximum allowed date/time in ISO 8601 format."},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The text label for the input field."}},"required":["component","value"]}],"unevaluatedProperties":false},"Video":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Video"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The URL of the video to display."}},"required":["component","url"]}],"unevaluatedProperties":false},"AudioPlayer":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"AudioPlayer"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString","description":"The URL of the audio to be played."},"description":{"description":"A description of the audio, such as a title or summary.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","url"]}],"unevaluatedProperties":false},"List":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"List"},"children":{"description":"Defines the children. Use an array of strings for a fixed set of children, or a template object to generate children from a data list.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"direction":{"type":"string","description":"The direction in which the list items are laid out.","enum":["vertical","horizontal"],"default":"vertical"},"align":{"type":"string","description":"Defines the alignment of children along the cross axis.","enum":["start","center","end","stretch"],"default":"stretch"}},"required":["component","children"]}],"unevaluatedProperties":false},"Tabs":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Tabs"},"tabs":{"type":"array","description":"An array of objects, where each object defines a tab with a title and a child component.","minItems":1,"items":{"type":"object","properties":{"title":{"description":"The tab title.","$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the child component."}},"required":["title","child"],"additionalProperties":false}}},"required":["component","tabs"]}],"unevaluatedProperties":false},"Modal":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"$ref":"#/$defs/CatalogComponentCommon"},{"type":"object","properties":{"component":{"const":"Modal"},"trigger":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the component that opens the modal when interacted with (e.g., a button)."},"content":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId","description":"The ID of the component to be displayed inside the modal."}},"required":["component","trigger","content"]}],"unevaluatedProperties":false},"NumberField":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"NumberField"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"min":{"type":"number"},"max":{"type":"number"},"step":{"type":"number","exclusiveMinimum":0}},"required":["component","label","value"]}],"unevaluatedProperties":false},"Select":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Select"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"Switch":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Switch"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicBoolean"}},"required":["component","label","value"]}],"unevaluatedProperties":false},"Link":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Link"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"newTab":{"type":"boolean"}},"required":["component","text","url"]}],"unevaluatedProperties":false},"Badge":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Badge"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"variant":{"enum":["neutral","info","success","warning","error"]}},"required":["component","text"]}],"unevaluatedProperties":false},"Avatar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Avatar"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"name":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"size":{"enum":["small","medium","large"]}},"required":["component","name"]}],"unevaluatedProperties":false},"Alert":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Alert"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"variant":{"enum":["neutral","info","success","warning","error"]}},"required":["component","text"]}],"unevaluatedProperties":false},"Progress":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Progress"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"max":{"type":"number","exclusiveMinimum":0}},"required":["component","value"]}],"unevaluatedProperties":false},"Spinner":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Spinner"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component"]}],"unevaluatedProperties":false},"Skeleton":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Skeleton"},"lines":{"type":"integer","minimum":1,"maximum":12}},"required":["component"]}],"unevaluatedProperties":false},"EmptyState":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"EmptyState"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId"}},"required":["component","title"]}],"unevaluatedProperties":false},"Table":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Table"},"caption":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"columns":{"type":"array","minItems":1,"items":{"type":"object","properties":{"key":{"type":"string"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["key","label"],"additionalProperties":false}},"rows":{"oneOf":[{"type":"array","items":{"type":"object"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","columns","rows"]}],"unevaluatedProperties":false},"Accordion":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Accordion"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentId"},"defaultOpen":{"type":"boolean"},"items":{"type":"array","minItems":1,"items":{"type":"object","properties":{"id":{"type":"string"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"disabled":{"type":"boolean"}},"required":["id","title","child"],"additionalProperties":false}},"multiple":{"type":"boolean"}},"required":["component"],"anyOf":[{"required":["title","child"]},{"required":["items"]}]}],"unevaluatedProperties":false},"Grid":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Grid"},"children":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"},"columns":{"type":"integer","minimum":1,"maximum":12}},"required":["component","children"]}],"unevaluatedProperties":false},"Spacer":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Spacer"},"size":{"enum":["small","medium","large"]},"axis":{"enum":["horizontal","vertical"]}},"required":["component"]}],"unevaluatedProperties":false},"Statistic":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Statistic"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"precision":{"type":"integer","minimum":0,"maximum":20},"grouping":{"type":"boolean"},"prefix":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"unit":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","value"]}],"unevaluatedProperties":false},"Trend":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Trend"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"unit":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"precision":{"type":"integer","minimum":0,"maximum":20},"positiveIsGood":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"Sparkline":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Sparkline"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"values":{"oneOf":[{"type":"array","items":{"type":["number","null"]}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","values"]}],"unevaluatedProperties":false},"Meter":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Meter"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"min":{"type":"number"},"max":{"type":"number"},"low":{"type":"number"},"high":{"type":"number"},"optimum":{"type":"number"},"unit":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","value"]}],"unevaluatedProperties":false},"Chart":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Chart"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"type":{"enum":["line","bar","area","pie","donut"]},"labels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]},"series":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"values":{"type":"array","items":{"type":["number","null"]}}},"required":["name","values"],"additionalProperties":false}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","type","labels","series"]}],"unevaluatedProperties":false},"DescriptionList":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DescriptionList"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"items":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":["string","number","boolean","null"]}},"required":["label","value"],"additionalProperties":false}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]}},"required":["component","items"]}],"unevaluatedProperties":false},"ButtonGroup":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ButtonGroup"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"InputGroup":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"InputGroup"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"prefix":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"suffix":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"Item":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Item"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"Sidebar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Sidebar"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"ScrollArea":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ScrollArea"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"height":{"type":"number","minimum":40,"maximum":2000}},"required":["component","children"]}],"unevaluatedProperties":false},"Direction":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Direction"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"direction":{"enum":["ltr","rtl"]}},"required":["component","children"]}],"unevaluatedProperties":false},"Bubble":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Bubble"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"align":{"enum":["start","end"]}},"required":["component","children"]}],"unevaluatedProperties":false},"MessageScroller":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"MessageScroller"},"children":{"type":"array","items":{"type":"string"}},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","children"]}],"unevaluatedProperties":false},"AspectRatio":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"AspectRatio"},"child":{"type":"string"},"ratio":{"type":"number","exclusiveMinimum":0}},"required":["component","child"]}],"unevaluatedProperties":false},"Label":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Label"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","text"]}],"unevaluatedProperties":false},"Kbd":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Kbd"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","text"]}],"unevaluatedProperties":false},"Marker":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Marker"},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","text"]}],"unevaluatedProperties":false},"Breadcrumb":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Breadcrumb"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"items":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["label"],"additionalProperties":false},"minItems":1}},"required":["component","items"]}],"unevaluatedProperties":false},"NavigationMenu":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"NavigationMenu"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"items":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["label"],"additionalProperties":false},"minItems":1}},"required":["component","items"]}],"unevaluatedProperties":false},"Textarea":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Textarea"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"rows":{"type":"integer","minimum":1,"maximum":40},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"InputOTP":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"InputOTP"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"length":{"type":"integer","minimum":1,"maximum":12},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"Calendar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Calendar"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"DatePicker":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DatePicker"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"disabled":{"type":"boolean"}},"required":["component","value"]}],"unevaluatedProperties":false},"Combobox":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Combobox"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"}},"required":["component","value","options"]}],"unevaluatedProperties":false},"Command":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Command"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"}},"required":["component","value","options"]}],"unevaluatedProperties":false},"Toggle":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Toggle"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicBoolean"},"disabled":{"type":"boolean"}},"required":["component","label","value"]}],"unevaluatedProperties":false},"ToggleGroup":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ToggleGroup"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"oneOf":[{"type":"array","items":{"type":"string"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"multiple":{"type":"boolean"},"disabled":{"type":"boolean"}},"required":["component","value","options"]}],"unevaluatedProperties":false},"Pagination":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Pagination"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicNumber"},"totalPages":{"type":"integer","minimum":1},"disabled":{"type":"boolean"}},"required":["component","value","totalPages"]}],"unevaluatedProperties":false},"Collapsible":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Collapsible"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Popover":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Popover"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"HoverCard":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"HoverCard"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Tooltip":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Tooltip"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Drawer":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Drawer"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"},"side":{"enum":["left","right","top","bottom"]}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Sheet":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Sheet"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"},"side":{"enum":["left","right","top","bottom"]}},"required":["component","label","child"]}],"unevaluatedProperties":false},"AlertDialog":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"AlertDialog"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"},"defaultOpen":{"type":"boolean"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"confirmLabel":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"DropdownMenu":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DropdownMenu"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"ContextMenu":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"ContextMenu"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"Menubar":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Menubar"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"options":{"type":"array","items":{"type":"object","properties":{"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"value":{"type":"string"},"disabled":{"type":"boolean"}},"required":["label","value"],"additionalProperties":false},"minItems":1},"disabled":{"type":"boolean"},"action":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"}},"required":["component","label","value","options"]}],"unevaluatedProperties":false},"Field":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Field"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"error":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"child":{"type":"string"}},"required":["component","label","child"]}],"unevaluatedProperties":false},"Carousel":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Carousel"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"children":{"type":"array","items":{"type":"string"}},"defaultIndex":{"type":"integer","minimum":0}},"required":["component","children"]}],"unevaluatedProperties":false},"Resizable":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Resizable"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"children":{"type":"array","items":{"type":"string"},"minItems":2,"maxItems":2},"defaultSize":{"type":"number","minimum":10,"maximum":90}},"required":["component","children"]}],"unevaluatedProperties":false},"Toast":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Toast"},"title":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"variant":{"enum":["info","success","error"]},"defaultOpen":{"type":"boolean"}},"required":["component","title"]}],"unevaluatedProperties":false},"Attachment":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Attachment"},"name":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"url":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"description":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","name","url"]}],"unevaluatedProperties":false},"Message":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"Message"},"role":{"enum":["user","assistant","system"]},"text":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["component","role","text"]}],"unevaluatedProperties":false},"DataTable":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"},{"type":"object","properties":{"component":{"const":"DataTable"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"},"columns":{"type":"array","minItems":1,"items":{"type":"object","properties":{"key":{"type":"string"},"label":{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"}},"required":["key","label"],"additionalProperties":false}},"rows":{"oneOf":[{"type":"array","items":{"type":"object"}},{"$ref":"https://a2ui.org/specification/v0_9/common_types.json#/$defs/DataBinding"}]},"pageSize":{"type":"integer","minimum":1,"maximum":100}},"required":["component","columns","rows"]}],"unevaluatedProperties":false}},"functions":{},"$defs":{"CatalogComponentCommon":{"type":"object","properties":{}},"theme":{"type":"object","properties":{},"additionalProperties":false},"anyComponent":{"oneOf":[{"$ref":"#/components/Text"},{"$ref":"#/components/Row"},{"$ref":"#/components/Column"},{"$ref":"#/components/Card"},{"$ref":"#/components/Button"},{"$ref":"#/components/TextField"},{"$ref":"#/components/CheckBox"},{"$ref":"#/components/ChoicePicker"},{"$ref":"#/components/Image"},{"$ref":"#/components/Icon"},{"$ref":"#/components/Divider"},{"$ref":"#/components/Slider"},{"$ref":"#/components/DateTimeInput"},{"$ref":"#/components/Video"},{"$ref":"#/components/AudioPlayer"},{"$ref":"#/components/List"},{"$ref":"#/components/Tabs"},{"$ref":"#/components/Modal"},{"$ref":"#/components/NumberField"},{"$ref":"#/components/Select"},{"$ref":"#/components/Switch"},{"$ref":"#/components/Link"},{"$ref":"#/components/Badge"},{"$ref":"#/components/Avatar"},{"$ref":"#/components/Alert"},{"$ref":"#/components/Progress"},{"$ref":"#/components/Spinner"},{"$ref":"#/components/Skeleton"},{"$ref":"#/components/EmptyState"},{"$ref":"#/components/Table"},{"$ref":"#/components/Accordion"},{"$ref":"#/components/Grid"},{"$ref":"#/components/Spacer"},{"$ref":"#/components/Statistic"},{"$ref":"#/components/Trend"},{"$ref":"#/components/Sparkline"},{"$ref":"#/components/Meter"},{"$ref":"#/components/Chart"},{"$ref":"#/components/DescriptionList"},{"$ref":"#/components/ButtonGroup"},{"$ref":"#/components/InputGroup"},{"$ref":"#/components/Item"},{"$ref":"#/components/Sidebar"},{"$ref":"#/components/ScrollArea"},{"$ref":"#/components/Direction"},{"$ref":"#/components/Bubble"},{"$ref":"#/components/MessageScroller"},{"$ref":"#/components/AspectRatio"},{"$ref":"#/components/Label"},{"$ref":"#/components/Kbd"},{"$ref":"#/components/Marker"},{"$ref":"#/components/Breadcrumb"},{"$ref":"#/components/NavigationMenu"},{"$ref":"#/components/Textarea"},{"$ref":"#/components/InputOTP"},{"$ref":"#/components/Calendar"},{"$ref":"#/components/DatePicker"},{"$ref":"#/components/Combobox"},{"$ref":"#/components/Command"},{"$ref":"#/components/Toggle"},{"$ref":"#/components/ToggleGroup"},{"$ref":"#/components/Pagination"},{"$ref":"#/components/Collapsible"},{"$ref":"#/components/Popover"},{"$ref":"#/components/HoverCard"},{"$ref":"#/components/Tooltip"},{"$ref":"#/components/Drawer"},{"$ref":"#/components/Sheet"},{"$ref":"#/components/AlertDialog"},{"$ref":"#/components/DropdownMenu"},{"$ref":"#/components/ContextMenu"},{"$ref":"#/components/Menubar"},{"$ref":"#/components/Field"},{"$ref":"#/components/Carousel"},{"$ref":"#/components/Resizable"},{"$ref":"#/components/Toast"},{"$ref":"#/components/Attachment"},{"$ref":"#/components/Message"},{"$ref":"#/components/DataTable"}]},"anyFunction":false}}
package/dist/demo.js CHANGED
@@ -1,4 +1,4 @@
1
- import { f as e, i as t, r as n, t as r } from "./src-bjF8cL6j.js";
1
+ import { f as e, i as t, r as n, t as r } from "./src-D5j_1AaP.js";
2
2
  //#region src/shadcn-demo.ts
3
3
  function i(e) {
4
4
  let r = [
@@ -360,6 +360,7 @@ function i(e) {
360
360
  id: "sample-input",
361
361
  component: "TextField",
362
362
  label: "账户",
363
+ placeholder: "请输入账户名称",
363
364
  value: { path: "/account" }
364
365
  },
365
366
  {
@@ -450,6 +451,7 @@ var a = [
450
451
  surfaceId: "profile",
451
452
  value: {
452
453
  name: "Alice",
454
+ nameHint: "请输入姓名",
453
455
  newsletter: !1,
454
456
  role: ["developer"],
455
457
  status: "请修改资料后提交"
@@ -465,6 +467,7 @@ var a = [
465
467
  id: "name",
466
468
  component: "TextField",
467
469
  label: "姓名",
470
+ placeholder: { path: "/nameHint" },
468
471
  value: { path: "/name" }
469
472
  },
470
473
  {
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./src-bjF8cL6j.js";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./src-D5j_1AaP.js";
2
2
  export { l as A2UIClient, a as AGENT_CATALOG_ID, s as CATALOG_ID, i as FormValidationError, r as VERSION, e as agentCatalog, o as catalog, u as compileResponseSchema, c as readPath, t as renderSurface, n as validationMessage };
@@ -44,6 +44,7 @@ export declare const profileMessages: ({
44
44
  surfaceId: string;
45
45
  value: {
46
46
  name: string;
47
+ nameHint: string;
47
48
  newsletter: boolean;
48
49
  role: string[];
49
50
  status: string;
@@ -56,12 +57,28 @@ export declare const profileMessages: ({
56
57
  updateComponents: {
57
58
  surfaceId: string;
58
59
  components: ({
60
+ id: string;
61
+ component: string;
62
+ label: string;
63
+ placeholder: {
64
+ path: string;
65
+ };
66
+ value: {
67
+ path: string;
68
+ };
69
+ options?: undefined;
70
+ child?: undefined;
71
+ variant?: undefined;
72
+ action?: undefined;
73
+ text?: undefined;
74
+ } | {
59
75
  id: string;
60
76
  component: string;
61
77
  label: string;
62
78
  value: {
63
79
  path: string;
64
80
  };
81
+ placeholder?: undefined;
65
82
  options?: undefined;
66
83
  child?: undefined;
67
84
  variant?: undefined;
@@ -78,6 +95,7 @@ export declare const profileMessages: ({
78
95
  label: string;
79
96
  value: string;
80
97
  }[];
98
+ placeholder?: undefined;
81
99
  child?: undefined;
82
100
  variant?: undefined;
83
101
  action?: undefined;
@@ -104,6 +122,7 @@ export declare const profileMessages: ({
104
122
  };
105
123
  };
106
124
  label?: undefined;
125
+ placeholder?: undefined;
107
126
  value?: undefined;
108
127
  options?: undefined;
109
128
  text?: undefined;
@@ -112,6 +131,7 @@ export declare const profileMessages: ({
112
131
  component: string;
113
132
  text: string;
114
133
  label?: undefined;
134
+ placeholder?: undefined;
115
135
  value?: undefined;
116
136
  options?: undefined;
117
137
  child?: undefined;
@@ -124,6 +144,7 @@ export declare const profileMessages: ({
124
144
  path: string;
125
145
  };
126
146
  label?: undefined;
147
+ placeholder?: undefined;
127
148
  value?: undefined;
128
149
  options?: undefined;
129
150
  child?: undefined;