@praxisui/list 9.0.0-beta.25 → 9.0.0-beta.26
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-
|
|
3
|
+
"generatedAt": "2026-07-01T18:24:10.710Z",
|
|
4
4
|
"packageName": "@praxisui/list",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.26",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -3086,7 +3086,7 @@
|
|
|
3086
3086
|
"button",
|
|
3087
3087
|
"icon action"
|
|
3088
3088
|
],
|
|
3089
|
-
"safetyNotes": "showIf deve ser Json Logic
|
|
3089
|
+
"safetyNotes": "showIf deve ser objeto Json Logic quando informado. O placeholder textual e apenas molde de prompt; nao gere DSL textual nem publique string como contrato.",
|
|
3090
3090
|
"patchTemplate": {
|
|
3091
3091
|
"actions": [
|
|
3092
3092
|
{
|
|
@@ -3153,7 +3153,7 @@
|
|
|
3153
3153
|
"show if",
|
|
3154
3154
|
"condition"
|
|
3155
3155
|
],
|
|
3156
|
-
"safetyNotes": "
|
|
3156
|
+
"safetyNotes": "Forneca showIf como objeto Json Logic no contexto row, por exemplo {\"==\": [{\"var\": \"row.status\"}, \"done\"]}; nao use DSL textual.",
|
|
3157
3157
|
"patchTemplate": {
|
|
3158
3158
|
"actions": [
|
|
3159
3159
|
{
|
|
@@ -6564,9 +6564,9 @@
|
|
|
6564
6564
|
{
|
|
6565
6565
|
"chunkIndex": 3,
|
|
6566
6566
|
"chunkKind": "context_pack",
|
|
6567
|
-
"content": "{\n \"componentContext\": {\n \"version\": \"v1\",\n \"hints\": [\n \"Use actions[].id and templating.features[].expr as merge keys; avoid array indexes.\",\n \"Template expressions support only ${item.path} with simple pipes (bool/date/map/number).\",\n \"dataSource.data overrides resourcePath; prefer one or the other for clarity.\",\n \"layout.lines expects numeric values (1, 2, 3).\",\n \"DOC: Widget purpose: list/cards with selection, grouping, and templating.\",\n \"DOC: Host inputs: config (required) and listId (required); form is optional; enableCustomization is the canonical customization input.\",\n \"DOC: Minimal data source: dataSource.data (inline) or dataSource.resourcePath (API).\",\n \"DOC: Minimal rendering: set templating.primary.expr (label) or templating.secondary.expr.\"\n ],\n \"optionsByPath\": {\n \"layout.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"list\",\n \"label\": \"List\"\n },\n {\n \"value\": \"cards\",\n \"label\": \"Cards\"\n },\n {\n \"value\": \"tiles\",\n \"label\": \"Tiles\"\n }\n ]\n },\n \"layout.density\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"default\",\n \"label\": \"Default\"\n },\n {\n \"value\": \"comfortable\",\n \"label\": \"Comfortable\"\n },\n {\n \"value\": \"compact\",\n \"label\": \"Compact\"\n }\n ]\n },\n \"layout.itemSpacing\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"tight\",\n \"label\": \"Tight\"\n },\n {\n \"value\": \"default\",\n \"label\": \"Default\"\n },\n {\n \"value\": \"relaxed\",\n \"label\": \"Relaxed\"\n }\n ]\n },\n \"layout.lines\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": 1,\n \"label\": \"1 line\"\n },\n {\n \"value\": 2,\n \"label\": \"2 lines\"\n },\n {\n \"value\": 3,\n \"label\": \"3 lines\"\n }\n ]\n },\n \"layout.dividers\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"between\",\n \"label\": \"Between\"\n },\n {\n \"value\": \"all\",\n \"label\": \"All\"\n }\n ]\n },\n \"layout.model\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"standard\",\n \"label\": \"Standard\"\n },\n {\n \"value\": \"media\",\n \"label\": \"Media\"\n },\n {\n \"value\": \"hotel\",\n \"label\": \"Hotel\"\n }\n ]\n },\n \"selection.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"single\",\n \"label\": \"Single\"\n },\n {\n \"value\": \"multiple\",\n \"label\": \"Multiple\"\n }\n ]\n },\n \"selection.return\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"value\",\n \"label\": \"Value\"\n },\n {\n \"value\": \"item\",\n \"label\": \"Item\"\n },\n {\n \"value\": \"id\",\n \"label\": \"Id\"\n }\n ]\n },\n \"skin.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"pill-soft\",\n \"label\": \"Pill soft\"\n },\n {\n \"value\": \"gradient-tile\",\n \"label\": \"Gradient tile\"\n },\n {\n \"value\": \"glass\",\n \"label\": \"Glass\"\n },\n {\n \"value\": \"elevated\",\n \"label\": \"Elevated\"\n },\n {\n \"value\": \"outline\",\n \"label\": \"Outline\"\n },\n {\n \"value\": \"flat\",\n \"label\": \"Flat\"\n },\n {\n \"value\": \"neumorphism\",\n \"label\": \"Neumorphism\"\n },\n {\n \"value\": \"custom\",\n \"label\": \"Custom\"\n }\n ]\n },\n \"templating.leading.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.primary.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n }\n ]\n },\n \"templating.secondary.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n }\n ]\n },\n \"templating.meta.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.trailing.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.sectionHeader.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.emptyState.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.leading.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.primary.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.secondary.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.meta.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.trailing.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.sectionHeader.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.emptyState.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.metaPlacement\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"side\",\n \"label\": \"Side\"\n },\n {\n \"value\": \"line\",\n \"label\": \"Line\"\n }\n ]\n },\n \"templating.statusPosition\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"inline\",\n \"label\": \"Inline\"\n },\n {\n \"value\": \"top-right\",\n \"label\": \"Top right\"\n }\n ]\n },\n \"templating.meta.props.rating.max\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": 5,\n \"label\": \"5 estrelas\"\n },\n {\n \"value\": 10,\n \"label\": \"10 pontos\"\n }\n ]\n },\n \"templating.meta.props.rating.size\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": 12,\n \"label\": \"Compacto\"\n },\n {\n \"value\": 16,\n \"label\": \"Padrão\"\n },\n {\n \"value\": 20,\n \"label\": \"Destaque\"\n }\n ]\n },\n \"templating.meta.props.rating.color\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"primary\",\n \"label\": \"Primary\"\n },\n {\n \"value\": \"accent\",\n \"label\": \"Accent\"\n },\n {\n \"value\": \"warn\",\n \"label\": \"Warn\"\n },\n {\n \"value\": \"var(--md-sys-color-tertiary)\",\n \"label\": \"M3 Tertiary\"\n }\n ]\n },\n \"templating.featuresMode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icons+labels\",\n \"label\": \"Icons + labels\"\n },\n {\n \"value\": \"icons-only\",\n \"label\": \"Icons only\"\n },\n {\n \"value\": \"labels-only\",\n \"label\": \"Labels only\"\n }\n ]\n },\n \"actions[].kind\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n }\n ]\n },\n \"actions[].buttonVariant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"stroked\",\n \"label\": \"Stroked\"\n },\n {\n \"value\": \"raised\",\n \"label\": \"Raised\"\n },\n {\n \"value\": \"flat\",\n \"label\": \"Flat\"\n }\n ]\n },\n \"actions[].globalAction.[actionId]\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"toast.success\",\n \"label\": \"Toast success\"\n },\n {\n \"value\": \"toast.error\",\n \"label\": \"Toast error\"\n },\n {\n \"value\": \"dialog.alert\",\n \"label\": \"Dialog alert\"\n },\n {\n \"value\": \"dialog.open\",\n \"label\": \"Dialog open\"\n },\n {\n \"value\": \"navigation.openExternal\",\n \"label\": \"Open external URL\"\n },\n {\n \"value\": \"navigation.openRoute\",\n \"label\": \"Open internal route\"\n },\n {\n \"value\": \"api.post\",\n \"label\": \"API POST\"\n },\n {\n \"value\": \"api.patch\",\n \"label\": \"API PATCH\"\n }\n ]\n },\n \"actions[].globalAction.payloadExpr\": {\n \"mode\": \"expression\"\n }\n },\n \"actionCatalog\": [\n {\n \"id\": \"dataSource.resourcePath.set\",\n \"intentExamples\": [\n \"resource\",\n \"endpoint\",\n \"api\",\n \"path\"\n ],\n \"patchTemplate\": {\n \"dataSource\": {\n \"resourcePath\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"dataSource.sort.set\",\n \"intentExamples\": [\n \"sort\",\n \"order\",\n \"ordenar\"\n ],\n \"patchTemplate\": {\n \"dataSource\": {\n \"sort\": [\n \"{{value}}\"\n ]\n }\n }\n },\n {\n \"id\": \"layout.variant.set\",\n \"intentExamples\": [\n \"layout\",\n \"variant\",\n \"list\",\n \"cards\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.variant.set.tiles\",\n \"intentExamples\": [\n \"tiles\",\n \"grid\",\n \"cards grid\",\n \"catalog\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"tiles\"\n }\n }\n },\n {\n \"id\": \"layout.variant.set.list\",\n \"intentExamples\": [\n \"list\",\n \"lista\",\n \"linha\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"list\"\n }\n }\n },\n {\n \"id\": \"layout.variant.set.cards\",\n \"intentExamples\": [\n \"cards\",\n \"card\",\n \"cartões\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"cards\"\n }\n }\n },\n {\n \"id\": \"layout.density.set\",\n \"intentExamples\": [\n \"density\",\n \"compact\",\n \"comfortable\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"density\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.density.compact\",\n \"intentExamples\": [\n \"compact\",\n \"dense\",\n \"mais itens\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"density\": \"compact\"\n }\n }\n },\n {\n \"id\": \"layout.density.comfortable\",\n \"intentExamples\": [\n \"comfortable\",\n \"confortável\",\n \"mais espaço\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"density\": \"comfortable\"\n }\n }\n },\n {\n \"id\": \"layout.lines.set.1\",\n \"intentExamples\": [\n \"lines\",\n \"1 line\",\n \"one line\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 1\n }\n }\n },\n {\n \"id\": \"layout.lines.set.2\",\n \"intentExamples\": [\n \"lines\",\n \"2 lines\",\n \"two lines\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 2\n }\n }\n },\n {\n \"id\": \"layout.lines.set.3\",\n \"intentExamples\": [\n \"lines\",\n \"3 lines\",\n \"three lines\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 3\n }\n }\n },\n {\n \"id\": \"layout.dividers.none\",\n \"intentExamples\": [\n \"no dividers\",\n \"sem divisores\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"dividers\": \"none\"\n }\n }\n },\n {\n \"id\": \"layout.dividers.between\",\n \"intentExamples\": [\n \"dividers\",\n \"separadores\",\n \"entre itens\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"dividers\": \"between\"\n }\n }\n },\n {\n \"id\": \"layout.dividers.set\",\n \"intentExamples\": [\n \"divider\",\n \"dividers\",\n \"separators\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"dividers\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.model.set\",\n \"intentExamples\": [\n \"model\",\n \"card style\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"model\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.groupBy.set\",\n \"intentExamples\": [\n \"group\",\n \"group by\",\n \"section\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.groupBy.department\",\n \"intentExamples\": [\n \"department\",\n \"setor\",\n \"área\",\n \"group by department\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"department\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"chip\",\n \"expr\": \"${item.key}\",\n \"color\": \"primary\"\n }\n }\n }\n },\n {\n \"id\": \"layout.groupBy.status\",\n \"intentExamples\": [\n \"status group\",\n \"group by status\",\n \"agrupado por status\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"status\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"text\",\n \"expr\": \"${item.key}\"\n }\n }\n }\n },\n {\n \"id\": \"layout.groupBy.category\",\n \"intentExamples\": [\n \"category\",\n \"categoria\",\n \"group by category\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"category\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"chip\",\n \"expr\": \"${item.key}\",\n \"color\": \"accent\"\n }\n }\n }\n },\n {\n \"id\": \"layout.groupBy.date\",\n \"intentExamples\": [\n \"date group\",\n \"group by date\",\n \"agrupado por data\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"date\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"text\",\n \"expr\": \"${item.key|date:pt-BR:short}\"\n }\n }\n }\n },\n {\n \"id\": \"layout.stickyHeader.enable\",\n \"intentExamples\": [\n \"sticky\",\n \"section header\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"stickySectionHeader\": true\n }\n }\n },\n {\n \"id\": \"layout.stickyHeader.disable\",\n \"intentExamples\": [\n \"sticky\",\n \"section header\",\n \"disable\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"stickySectionHeader\": false\n }\n }\n },\n {\n \"id\": \"layout.pageSize.set.10\",\n \"intentExamples\": [\n \"page size\",\n \"pagination\",\n \"10\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"pageSize\": 10\n }\n }\n },\n {\n \"id\": \"layout.pageSize.set.20\",\n \"intentExamples\": [\n \"page size\",\n \"pagination\",\n \"20\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"pageSize\": 20\n }\n }\n },\n {\n \"id\": \"layout.pageSize.set.50\",\n \"intentExamples\": [\n \"page size\",\n \"pagination\",\n \"50\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"pageSize\": 50\n }\n }\n },\n {\n \"id\": \"selection.mode.set\",\n \"intentExamples\": [\n \"selection\",\n \"select\",\n \"multi\",\n \"single\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"mode\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"selection.mode.single\",\n \"intentExamples\": [\n \"single select\",\n \"seleção única\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"mode\": \"single\",\n \"return\": \"value\"\n }\n }\n },\n {\n \"id\": \"selection.mode.multiple\",\n \"intentExamples\": [\n \"multi select\",\n \"seleção múltipla\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"mode\": \"multiple\",\n \"return\": \"id\"\n }\n }\n },\n {\n \"id\": \"selection.compareBy.set\",\n \"intentExamples\": [\n \"compare\",\n \"key\",\n \"identity\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"compareBy\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"selection.return.set\",\n \"intentExamples\": [\n \"return\",\n \"payload\",\n \"selection output\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"return\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"skin.type.set\",\n \"intentExamples\": [\n \"skin\",\n \"theme\",\n \"style\"\n ],\n \"patchTemplate\": {\n \"skin\": {\n \"type\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"skin.glass\",\n \"intentExamples\": [\n \"glass\",\n \"vidro\",\n \"blur\"\n ],\n \"patchTemplate\": {\n \"skin\": {\n \"type\": \"glass\",\n \"backdropBlur\": \"12px\",\n \"border\": \"1px solid var(--md-sys-color-outline-variant)\"\n }\n }\n },\n {\n \"id\": \"skin.gradient.tile\",\n \"intentExamples\": [\n \"gradient\",\n \"tile\",\n \"degradê\"\n ],\n \"patchTemplate\": {\n \"skin\": {\n \"type\": \"gradient-tile\",\n \"gradient\": {\n \"from\": \"var(--md-sys-color-primary)\",\n \"to\": \"var(--md-sys-color-tertiary)\",\n \"angle\": 135\n }\n }\n }\n },\n {\n \"id\": \"templating.primary.set\",\n \"intentExamples\": [\n \"primary\",\n \"title\",\n \"main text\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"primary\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.secondary.set\",\n \"intentExamples\": [\n \"secondary\",\n \"subtitle\",\n \"detail text\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"secondary\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.meta.set\",\n \"intentExamples\": [\n \"meta\",\n \"side text\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"meta\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.meta.rating.set\",\n \"intentExamples\": [\n \"rating\",\n \"stars\",\n \"nota\",\n \"score\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"meta\": {\n \"type\": \"rating\",\n \"expr\": \"${item.rating}\",\n \"props\": {\n \"rating\": {\n \"max\": 5,\n \"size\": 16,\n \"color\": \"primary\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"templating.meta.currency.set\",\n \"intentExamples\": [\n \"price\",\n \"preço\",\n \"valor\",\n \"currency\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"meta\": {\n \"type\": \"currency\",\n \"expr\": \"${item.price}|BRL:pt-BR\"\n }\n }\n }\n },\n {\n \"id\": \"templating.trailing.status.chip\",\n \"intentExamples\": [\n \"status chip\",\n \"badge\",\n \"estado\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"chip\",\n \"expr\": \"${item.status}\",\n \"color\": \"primary\"\n },\n \"statusPosition\": \"top-right\"\n }\n }\n },\n {\n \"id\": \"templating.trailing.status.icon\",\n \"intentExamples\": [\n \"status icon\",\n \"icone status\",\n \"state icon\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"icon\",\n \"expr\": \"${item.status|map:OK=check_circle,ALERTA=warning,ERRO=error}\"\n },\n \"statusPosition\": \"top-right\"\n }\n }\n },\n {\n \"id\": \"templating.trailing.currency\",\n \"intentExamples\": [\n \"trailing price\",\n \"valor à direita\",\n \"preço à direita\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"currency\",\n \"expr\": \"${item.price}|BRL:pt-BR\"\n }\n }\n }\n },\n {\n \"id\": \"templating.leading.avatar.image\",\n \"intentExamples\": [\n \"avatar\",\n \"foto\",\n \"imagem principal\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"leading\": {\n \"type\": \"image\",\n \"expr\": \"${item.imageUrl}\",\n \"imageAlt\": \"Imagem\"\n }\n }\n }\n },\n {\n \"id\": \"templating.leading.avatar.icon\",\n \"intentExamples\": [\n \"avatar icon\",\n \"icone pessoa\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"leading\": {\n \"type\": \"icon\",\n \"expr\": \"person\",\n \"color\": \"primary\"\n }\n }\n }\n },\n {\n \"id\": \"templating.features.add.wifi\",\n \"intentExamples\": [\n \"wifi\",\n \"amenities\",\n \"features\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"features\": [\n {\n \"icon\": \"wifi\",\n \"expr\": \"${item.hasWifi}\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"templating.features.mode.icons-only\",\n \"intentExamples\": [\n \"icons only\",\n \"somente ícones\",\n \"icons\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresMode\": \"icons-only\"\n }\n }\n },\n {\n \"id\": \"templating.features.mode.labels-only\",\n \"intentExamples\": [\n \"labels only\",\n \"somente texto\",\n \"labels\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresMode\": \"labels-only\"\n }\n }\n },\n {\n \"id\": \"templating.features.mode.icons-labels\",\n \"intentExamples\": [\n \"icons + labels\",\n \"ícones e texto\",\n \"icons labels\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresMode\": \"icons+labels\"\n }\n }\n },\n {\n \"id\": \"templating.meta.placement.side\",\n \"intentExamples\": [\n \"meta side\",\n \"meta lateral\",\n \"meta direita\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"metaPlacement\": \"side\"\n }\n }\n },\n {\n \"id\": \"templating.meta.placement.line\",\n \"intentExamples\": [\n \"meta line\",\n \"meta abaixo\",\n \"meta na linha\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"metaPlacement\": \"line\"\n }\n }\n },\n {\n \"id\": \"layout.lines.compact\",\n \"intentExamples\": [\n \"1 line\",\n \"uma linha\",\n \"compact\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 1\n }\n }\n },\n {\n \"id\": \"layout.lines.standard\",\n \"intentExamples\": [\n \"2 lines\",\n \"duas linhas\",\n \"standard\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 2\n }\n }\n },\n {\n \"id\": \"layout.lines.rich\",\n \"intentExamples\": [\n \"3 lines\",\n \"três linhas\",\n \"rich\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 3\n }\n }\n },\n {\n \"id\": \"ui.search.enable\",\n \"intentExamples\": [\n \"search\",\n \"buscar\",\n \"pesquisa\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSearch\": true,\n \"searchField\": \"name\",\n \"searchPlaceholder\": \"Buscar\"\n }\n }\n },\n {\n \"id\": \"ui.sort.enable\",\n \"intentExamples\": [\n \"sort\",\n \"ordenar\",\n \"order\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSort\": true,\n \"sortOptions\": [\n \"name,asc\",\n \"name,desc\"\n ]\n }\n }\n },\n {\n \"id\": \"ui.range.enable\",\n \"intentExamples\": [\n \"range\",\n \"faixa\",\n \"x-y\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showRange\": true\n }\n }\n },\n {\n \"id\": \"actions.add.edit\",\n \"intentExamples\": [\n \"edit action\",\n \"editar\",\n \"ação editar\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"edit\",\n \"icon\": \"edit\",\n \"label\": \"Editar\"\n }\n ]\n }\n },\n {\n \"id\": \"actions.add.delete\",\n \"intentExamples\": [\n \"delete action\",\n \"remover\",\n \"excluir\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"delete\",\n \"icon\": \"delete\",\n \"label\": \"Excluir\",\n \"color\": \"warn\"\n }\n ]\n }\n },\n {\n \"id\": \"actions.add.details.button\",\n \"intentExamples\": [\n \"details button\",\n \"detalhes\",\n \"ver mais\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"details\",\n \"kind\": \"button\",\n \"buttonVariant\": \"stroked\",\n \"label\": \"Detalhes\"\n }\n ]\n }\n },\n {\n \"id\": \"templating.trailing.set\",\n \"intentExamples\": [\n \"trailing\",\n \"end\",\n \"right\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.features.add\",\n \"intentExamples\": [\n \"features\",\n \"amenities\",\n \"icons\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"features\": [\n {\n \"icon\": \"{{params.icon}}\",\n \"expr\": \"{{value}}\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"templating.features.enable\",\n \"intentExamples\": [\n \"features\",\n \"show features\",\n \"enable features\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresVisible\": true\n }\n }\n },\n {\n \"id\": \"templating.features.disable\",\n \"intentExamples\": [\n \"features\",\n \"hide features\",\n \"disable features\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresVisible\": false\n }\n }\n },\n {\n \"id\": \"templating.metaPlacement.set\",\n \"intentExamples\": [\n \"meta placement\",\n \"meta position\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"metaPlacement\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"templating.statusPosition.set\",\n \"intentExamples\": [\n \"status position\",\n \"badge position\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"statusPosition\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"action.add\",\n \"intentExamples\": [\n \"add action\",\n \"action\",\n \"button\",\n \"icon action\"\n ],\n \"safetyNotes\": \"showIf deve ser Json Logic serializável quando informado. O placeholder textual é apenas um molde de prompt, não um contrato público string.\",\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"icon\": \"{{params.icon}}\",\n \"label\": \"{{value}}\",\n \"kind\": \"{{params.kind}}\",\n \"buttonVariant\": \"{{params.buttonVariant}}\",\n \"showIf\": \"{{params.showIf}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.label.set\",\n \"intentExamples\": [\n \"action label\",\n \"rename action\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"label\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.icon.set\",\n \"intentExamples\": [\n \"action icon\",\n \"icon\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"icon\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.kind.set\",\n \"intentExamples\": [\n \"action kind\",\n \"button\",\n \"icon\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"kind\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.showIf.set\",\n \"intentExamples\": [\n \"visible when\",\n \"show if\",\n \"condition\"\n ],\n \"safetyNotes\": \"Forneça showIf como objeto Json Logic no contexto row, por exemplo {\\\"==\\\":[{\\\"var\\\":\\\"row.status\\\"},\\\"done\\\"]}.\",\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"showIf\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"ui.search.enable\",\n \"intentExamples\": [\n \"search\",\n \"enable search\",\n \"show search\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSearch\": true\n }\n }\n },\n {\n \"id\": \"ui.search.disable\",\n \"intentExamples\": [\n \"search\",\n \"disable search\",\n \"hide search\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSearch\": false\n }\n }\n },\n {\n \"id\": \"ui.searchField.set\",\n \"intentExamples\": [\n \"search field\",\n \"search by\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"searchField\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"ui.sort.enable\",\n \"intentExamples\": [\n \"sort\",\n \"enable sort\",\n \"show sort\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSort\": true\n }\n }\n },\n {\n \"id\": \"ui.sort.disable\",\n \"intentExamples\": [\n \"sort\",\n \"disable sort\",\n \"hide sort\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSort\": false\n }\n }\n }\n ],\n \"fieldResolvers\": {\n \"actions[]\": [\n \"id\",\n \"label\"\n ],\n \"dataSource.resourcePath\": [],\n \"layout.groupBy\": [],\n \"ui.searchField\": [],\n \"selection.compareBy\": []\n }\n }\n}",
|
|
6567
|
+
"content": "{\n \"componentContext\": {\n \"version\": \"v1\",\n \"hints\": [\n \"Use actions[].id and templating.features[].expr as merge keys; avoid array indexes.\",\n \"Template expressions support only ${item.path} with simple pipes (bool/date/map/number).\",\n \"dataSource.data overrides resourcePath; prefer one or the other for clarity.\",\n \"layout.lines expects numeric values (1, 2, 3).\",\n \"DOC: Widget purpose: list/cards with selection, grouping, and templating.\",\n \"DOC: Host inputs: config (required) and listId (required); form is optional; enableCustomization is the canonical customization input.\",\n \"DOC: Minimal data source: dataSource.data (inline) or dataSource.resourcePath (API).\",\n \"DOC: Minimal rendering: set templating.primary.expr (label) or templating.secondary.expr.\"\n ],\n \"optionsByPath\": {\n \"layout.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"list\",\n \"label\": \"List\"\n },\n {\n \"value\": \"cards\",\n \"label\": \"Cards\"\n },\n {\n \"value\": \"tiles\",\n \"label\": \"Tiles\"\n }\n ]\n },\n \"layout.density\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"default\",\n \"label\": \"Default\"\n },\n {\n \"value\": \"comfortable\",\n \"label\": \"Comfortable\"\n },\n {\n \"value\": \"compact\",\n \"label\": \"Compact\"\n }\n ]\n },\n \"layout.itemSpacing\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"tight\",\n \"label\": \"Tight\"\n },\n {\n \"value\": \"default\",\n \"label\": \"Default\"\n },\n {\n \"value\": \"relaxed\",\n \"label\": \"Relaxed\"\n }\n ]\n },\n \"layout.lines\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": 1,\n \"label\": \"1 line\"\n },\n {\n \"value\": 2,\n \"label\": \"2 lines\"\n },\n {\n \"value\": 3,\n \"label\": \"3 lines\"\n }\n ]\n },\n \"layout.dividers\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"between\",\n \"label\": \"Between\"\n },\n {\n \"value\": \"all\",\n \"label\": \"All\"\n }\n ]\n },\n \"layout.model\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"standard\",\n \"label\": \"Standard\"\n },\n {\n \"value\": \"media\",\n \"label\": \"Media\"\n },\n {\n \"value\": \"hotel\",\n \"label\": \"Hotel\"\n }\n ]\n },\n \"selection.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"single\",\n \"label\": \"Single\"\n },\n {\n \"value\": \"multiple\",\n \"label\": \"Multiple\"\n }\n ]\n },\n \"selection.return\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"value\",\n \"label\": \"Value\"\n },\n {\n \"value\": \"item\",\n \"label\": \"Item\"\n },\n {\n \"value\": \"id\",\n \"label\": \"Id\"\n }\n ]\n },\n \"skin.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"pill-soft\",\n \"label\": \"Pill soft\"\n },\n {\n \"value\": \"gradient-tile\",\n \"label\": \"Gradient tile\"\n },\n {\n \"value\": \"glass\",\n \"label\": \"Glass\"\n },\n {\n \"value\": \"elevated\",\n \"label\": \"Elevated\"\n },\n {\n \"value\": \"outline\",\n \"label\": \"Outline\"\n },\n {\n \"value\": \"flat\",\n \"label\": \"Flat\"\n },\n {\n \"value\": \"neumorphism\",\n \"label\": \"Neumorphism\"\n },\n {\n \"value\": \"custom\",\n \"label\": \"Custom\"\n }\n ]\n },\n \"templating.leading.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.primary.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n }\n ]\n },\n \"templating.secondary.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n }\n ]\n },\n \"templating.meta.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.trailing.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.sectionHeader.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.emptyState.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n },\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"slot\",\n \"label\": \"Slot\"\n }\n ]\n },\n \"templating.leading.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.primary.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.secondary.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.meta.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.trailing.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.sectionHeader.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.emptyState.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n }\n ]\n },\n \"templating.metaPlacement\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"side\",\n \"label\": \"Side\"\n },\n {\n \"value\": \"line\",\n \"label\": \"Line\"\n }\n ]\n },\n \"templating.statusPosition\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"inline\",\n \"label\": \"Inline\"\n },\n {\n \"value\": \"top-right\",\n \"label\": \"Top right\"\n }\n ]\n },\n \"templating.meta.props.rating.max\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": 5,\n \"label\": \"5 estrelas\"\n },\n {\n \"value\": 10,\n \"label\": \"10 pontos\"\n }\n ]\n },\n \"templating.meta.props.rating.size\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": 12,\n \"label\": \"Compacto\"\n },\n {\n \"value\": 16,\n \"label\": \"Padrão\"\n },\n {\n \"value\": 20,\n \"label\": \"Destaque\"\n }\n ]\n },\n \"templating.meta.props.rating.color\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"primary\",\n \"label\": \"Primary\"\n },\n {\n \"value\": \"accent\",\n \"label\": \"Accent\"\n },\n {\n \"value\": \"warn\",\n \"label\": \"Warn\"\n },\n {\n \"value\": \"var(--md-sys-color-tertiary)\",\n \"label\": \"M3 Tertiary\"\n }\n ]\n },\n \"templating.featuresMode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icons+labels\",\n \"label\": \"Icons + labels\"\n },\n {\n \"value\": \"icons-only\",\n \"label\": \"Icons only\"\n },\n {\n \"value\": \"labels-only\",\n \"label\": \"Labels only\"\n }\n ]\n },\n \"actions[].kind\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n }\n ]\n },\n \"actions[].buttonVariant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"stroked\",\n \"label\": \"Stroked\"\n },\n {\n \"value\": \"raised\",\n \"label\": \"Raised\"\n },\n {\n \"value\": \"flat\",\n \"label\": \"Flat\"\n }\n ]\n },\n \"actions[].globalAction.[actionId]\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"toast.success\",\n \"label\": \"Toast success\"\n },\n {\n \"value\": \"toast.error\",\n \"label\": \"Toast error\"\n },\n {\n \"value\": \"dialog.alert\",\n \"label\": \"Dialog alert\"\n },\n {\n \"value\": \"dialog.open\",\n \"label\": \"Dialog open\"\n },\n {\n \"value\": \"navigation.openExternal\",\n \"label\": \"Open external URL\"\n },\n {\n \"value\": \"navigation.openRoute\",\n \"label\": \"Open internal route\"\n },\n {\n \"value\": \"api.post\",\n \"label\": \"API POST\"\n },\n {\n \"value\": \"api.patch\",\n \"label\": \"API PATCH\"\n }\n ]\n },\n \"actions[].globalAction.payloadExpr\": {\n \"mode\": \"expression\"\n }\n },\n \"actionCatalog\": [\n {\n \"id\": \"dataSource.resourcePath.set\",\n \"intentExamples\": [\n \"resource\",\n \"endpoint\",\n \"api\",\n \"path\"\n ],\n \"patchTemplate\": {\n \"dataSource\": {\n \"resourcePath\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"dataSource.sort.set\",\n \"intentExamples\": [\n \"sort\",\n \"order\",\n \"ordenar\"\n ],\n \"patchTemplate\": {\n \"dataSource\": {\n \"sort\": [\n \"{{value}}\"\n ]\n }\n }\n },\n {\n \"id\": \"layout.variant.set\",\n \"intentExamples\": [\n \"layout\",\n \"variant\",\n \"list\",\n \"cards\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.variant.set.tiles\",\n \"intentExamples\": [\n \"tiles\",\n \"grid\",\n \"cards grid\",\n \"catalog\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"tiles\"\n }\n }\n },\n {\n \"id\": \"layout.variant.set.list\",\n \"intentExamples\": [\n \"list\",\n \"lista\",\n \"linha\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"list\"\n }\n }\n },\n {\n \"id\": \"layout.variant.set.cards\",\n \"intentExamples\": [\n \"cards\",\n \"card\",\n \"cartões\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"variant\": \"cards\"\n }\n }\n },\n {\n \"id\": \"layout.density.set\",\n \"intentExamples\": [\n \"density\",\n \"compact\",\n \"comfortable\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"density\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.density.compact\",\n \"intentExamples\": [\n \"compact\",\n \"dense\",\n \"mais itens\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"density\": \"compact\"\n }\n }\n },\n {\n \"id\": \"layout.density.comfortable\",\n \"intentExamples\": [\n \"comfortable\",\n \"confortável\",\n \"mais espaço\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"density\": \"comfortable\"\n }\n }\n },\n {\n \"id\": \"layout.lines.set.1\",\n \"intentExamples\": [\n \"lines\",\n \"1 line\",\n \"one line\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 1\n }\n }\n },\n {\n \"id\": \"layout.lines.set.2\",\n \"intentExamples\": [\n \"lines\",\n \"2 lines\",\n \"two lines\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 2\n }\n }\n },\n {\n \"id\": \"layout.lines.set.3\",\n \"intentExamples\": [\n \"lines\",\n \"3 lines\",\n \"three lines\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 3\n }\n }\n },\n {\n \"id\": \"layout.dividers.none\",\n \"intentExamples\": [\n \"no dividers\",\n \"sem divisores\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"dividers\": \"none\"\n }\n }\n },\n {\n \"id\": \"layout.dividers.between\",\n \"intentExamples\": [\n \"dividers\",\n \"separadores\",\n \"entre itens\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"dividers\": \"between\"\n }\n }\n },\n {\n \"id\": \"layout.dividers.set\",\n \"intentExamples\": [\n \"divider\",\n \"dividers\",\n \"separators\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"dividers\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.model.set\",\n \"intentExamples\": [\n \"model\",\n \"card style\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"model\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.groupBy.set\",\n \"intentExamples\": [\n \"group\",\n \"group by\",\n \"section\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"layout.groupBy.department\",\n \"intentExamples\": [\n \"department\",\n \"setor\",\n \"área\",\n \"group by department\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"department\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"chip\",\n \"expr\": \"${item.key}\",\n \"color\": \"primary\"\n }\n }\n }\n },\n {\n \"id\": \"layout.groupBy.status\",\n \"intentExamples\": [\n \"status group\",\n \"group by status\",\n \"agrupado por status\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"status\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"text\",\n \"expr\": \"${item.key}\"\n }\n }\n }\n },\n {\n \"id\": \"layout.groupBy.category\",\n \"intentExamples\": [\n \"category\",\n \"categoria\",\n \"group by category\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"category\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"chip\",\n \"expr\": \"${item.key}\",\n \"color\": \"accent\"\n }\n }\n }\n },\n {\n \"id\": \"layout.groupBy.date\",\n \"intentExamples\": [\n \"date group\",\n \"group by date\",\n \"agrupado por data\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"groupBy\": \"date\",\n \"stickySectionHeader\": true\n },\n \"templating\": {\n \"sectionHeader\": {\n \"type\": \"text\",\n \"expr\": \"${item.key|date:pt-BR:short}\"\n }\n }\n }\n },\n {\n \"id\": \"layout.stickyHeader.enable\",\n \"intentExamples\": [\n \"sticky\",\n \"section header\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"stickySectionHeader\": true\n }\n }\n },\n {\n \"id\": \"layout.stickyHeader.disable\",\n \"intentExamples\": [\n \"sticky\",\n \"section header\",\n \"disable\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"stickySectionHeader\": false\n }\n }\n },\n {\n \"id\": \"layout.pageSize.set.10\",\n \"intentExamples\": [\n \"page size\",\n \"pagination\",\n \"10\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"pageSize\": 10\n }\n }\n },\n {\n \"id\": \"layout.pageSize.set.20\",\n \"intentExamples\": [\n \"page size\",\n \"pagination\",\n \"20\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"pageSize\": 20\n }\n }\n },\n {\n \"id\": \"layout.pageSize.set.50\",\n \"intentExamples\": [\n \"page size\",\n \"pagination\",\n \"50\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"pageSize\": 50\n }\n }\n },\n {\n \"id\": \"selection.mode.set\",\n \"intentExamples\": [\n \"selection\",\n \"select\",\n \"multi\",\n \"single\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"mode\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"selection.mode.single\",\n \"intentExamples\": [\n \"single select\",\n \"seleção única\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"mode\": \"single\",\n \"return\": \"value\"\n }\n }\n },\n {\n \"id\": \"selection.mode.multiple\",\n \"intentExamples\": [\n \"multi select\",\n \"seleção múltipla\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"mode\": \"multiple\",\n \"return\": \"id\"\n }\n }\n },\n {\n \"id\": \"selection.compareBy.set\",\n \"intentExamples\": [\n \"compare\",\n \"key\",\n \"identity\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"compareBy\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"selection.return.set\",\n \"intentExamples\": [\n \"return\",\n \"payload\",\n \"selection output\"\n ],\n \"patchTemplate\": {\n \"selection\": {\n \"return\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"skin.type.set\",\n \"intentExamples\": [\n \"skin\",\n \"theme\",\n \"style\"\n ],\n \"patchTemplate\": {\n \"skin\": {\n \"type\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"skin.glass\",\n \"intentExamples\": [\n \"glass\",\n \"vidro\",\n \"blur\"\n ],\n \"patchTemplate\": {\n \"skin\": {\n \"type\": \"glass\",\n \"backdropBlur\": \"12px\",\n \"border\": \"1px solid var(--md-sys-color-outline-variant)\"\n }\n }\n },\n {\n \"id\": \"skin.gradient.tile\",\n \"intentExamples\": [\n \"gradient\",\n \"tile\",\n \"degradê\"\n ],\n \"patchTemplate\": {\n \"skin\": {\n \"type\": \"gradient-tile\",\n \"gradient\": {\n \"from\": \"var(--md-sys-color-primary)\",\n \"to\": \"var(--md-sys-color-tertiary)\",\n \"angle\": 135\n }\n }\n }\n },\n {\n \"id\": \"templating.primary.set\",\n \"intentExamples\": [\n \"primary\",\n \"title\",\n \"main text\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"primary\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.secondary.set\",\n \"intentExamples\": [\n \"secondary\",\n \"subtitle\",\n \"detail text\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"secondary\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.meta.set\",\n \"intentExamples\": [\n \"meta\",\n \"side text\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"meta\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.meta.rating.set\",\n \"intentExamples\": [\n \"rating\",\n \"stars\",\n \"nota\",\n \"score\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"meta\": {\n \"type\": \"rating\",\n \"expr\": \"${item.rating}\",\n \"props\": {\n \"rating\": {\n \"max\": 5,\n \"size\": 16,\n \"color\": \"primary\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"templating.meta.currency.set\",\n \"intentExamples\": [\n \"price\",\n \"preço\",\n \"valor\",\n \"currency\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"meta\": {\n \"type\": \"currency\",\n \"expr\": \"${item.price}|BRL:pt-BR\"\n }\n }\n }\n },\n {\n \"id\": \"templating.trailing.status.chip\",\n \"intentExamples\": [\n \"status chip\",\n \"badge\",\n \"estado\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"chip\",\n \"expr\": \"${item.status}\",\n \"color\": \"primary\"\n },\n \"statusPosition\": \"top-right\"\n }\n }\n },\n {\n \"id\": \"templating.trailing.status.icon\",\n \"intentExamples\": [\n \"status icon\",\n \"icone status\",\n \"state icon\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"icon\",\n \"expr\": \"${item.status|map:OK=check_circle,ALERTA=warning,ERRO=error}\"\n },\n \"statusPosition\": \"top-right\"\n }\n }\n },\n {\n \"id\": \"templating.trailing.currency\",\n \"intentExamples\": [\n \"trailing price\",\n \"valor à direita\",\n \"preço à direita\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"currency\",\n \"expr\": \"${item.price}|BRL:pt-BR\"\n }\n }\n }\n },\n {\n \"id\": \"templating.leading.avatar.image\",\n \"intentExamples\": [\n \"avatar\",\n \"foto\",\n \"imagem principal\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"leading\": {\n \"type\": \"image\",\n \"expr\": \"${item.imageUrl}\",\n \"imageAlt\": \"Imagem\"\n }\n }\n }\n },\n {\n \"id\": \"templating.leading.avatar.icon\",\n \"intentExamples\": [\n \"avatar icon\",\n \"icone pessoa\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"leading\": {\n \"type\": \"icon\",\n \"expr\": \"person\",\n \"color\": \"primary\"\n }\n }\n }\n },\n {\n \"id\": \"templating.features.add.wifi\",\n \"intentExamples\": [\n \"wifi\",\n \"amenities\",\n \"features\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"features\": [\n {\n \"icon\": \"wifi\",\n \"expr\": \"${item.hasWifi}\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"templating.features.mode.icons-only\",\n \"intentExamples\": [\n \"icons only\",\n \"somente ícones\",\n \"icons\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresMode\": \"icons-only\"\n }\n }\n },\n {\n \"id\": \"templating.features.mode.labels-only\",\n \"intentExamples\": [\n \"labels only\",\n \"somente texto\",\n \"labels\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresMode\": \"labels-only\"\n }\n }\n },\n {\n \"id\": \"templating.features.mode.icons-labels\",\n \"intentExamples\": [\n \"icons + labels\",\n \"ícones e texto\",\n \"icons labels\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresMode\": \"icons+labels\"\n }\n }\n },\n {\n \"id\": \"templating.meta.placement.side\",\n \"intentExamples\": [\n \"meta side\",\n \"meta lateral\",\n \"meta direita\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"metaPlacement\": \"side\"\n }\n }\n },\n {\n \"id\": \"templating.meta.placement.line\",\n \"intentExamples\": [\n \"meta line\",\n \"meta abaixo\",\n \"meta na linha\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"metaPlacement\": \"line\"\n }\n }\n },\n {\n \"id\": \"layout.lines.compact\",\n \"intentExamples\": [\n \"1 line\",\n \"uma linha\",\n \"compact\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 1\n }\n }\n },\n {\n \"id\": \"layout.lines.standard\",\n \"intentExamples\": [\n \"2 lines\",\n \"duas linhas\",\n \"standard\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 2\n }\n }\n },\n {\n \"id\": \"layout.lines.rich\",\n \"intentExamples\": [\n \"3 lines\",\n \"três linhas\",\n \"rich\"\n ],\n \"patchTemplate\": {\n \"layout\": {\n \"lines\": 3\n }\n }\n },\n {\n \"id\": \"ui.search.enable\",\n \"intentExamples\": [\n \"search\",\n \"buscar\",\n \"pesquisa\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSearch\": true,\n \"searchField\": \"name\",\n \"searchPlaceholder\": \"Buscar\"\n }\n }\n },\n {\n \"id\": \"ui.sort.enable\",\n \"intentExamples\": [\n \"sort\",\n \"ordenar\",\n \"order\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSort\": true,\n \"sortOptions\": [\n \"name,asc\",\n \"name,desc\"\n ]\n }\n }\n },\n {\n \"id\": \"ui.range.enable\",\n \"intentExamples\": [\n \"range\",\n \"faixa\",\n \"x-y\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showRange\": true\n }\n }\n },\n {\n \"id\": \"actions.add.edit\",\n \"intentExamples\": [\n \"edit action\",\n \"editar\",\n \"ação editar\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"edit\",\n \"icon\": \"edit\",\n \"label\": \"Editar\"\n }\n ]\n }\n },\n {\n \"id\": \"actions.add.delete\",\n \"intentExamples\": [\n \"delete action\",\n \"remover\",\n \"excluir\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"delete\",\n \"icon\": \"delete\",\n \"label\": \"Excluir\",\n \"color\": \"warn\"\n }\n ]\n }\n },\n {\n \"id\": \"actions.add.details.button\",\n \"intentExamples\": [\n \"details button\",\n \"detalhes\",\n \"ver mais\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"details\",\n \"kind\": \"button\",\n \"buttonVariant\": \"stroked\",\n \"label\": \"Detalhes\"\n }\n ]\n }\n },\n {\n \"id\": \"templating.trailing.set\",\n \"intentExamples\": [\n \"trailing\",\n \"end\",\n \"right\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"trailing\": {\n \"type\": \"{{params.type}}\",\n \"expr\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"templating.features.add\",\n \"intentExamples\": [\n \"features\",\n \"amenities\",\n \"icons\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"features\": [\n {\n \"icon\": \"{{params.icon}}\",\n \"expr\": \"{{value}}\"\n }\n ]\n }\n }\n },\n {\n \"id\": \"templating.features.enable\",\n \"intentExamples\": [\n \"features\",\n \"show features\",\n \"enable features\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresVisible\": true\n }\n }\n },\n {\n \"id\": \"templating.features.disable\",\n \"intentExamples\": [\n \"features\",\n \"hide features\",\n \"disable features\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"featuresVisible\": false\n }\n }\n },\n {\n \"id\": \"templating.metaPlacement.set\",\n \"intentExamples\": [\n \"meta placement\",\n \"meta position\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"metaPlacement\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"templating.statusPosition.set\",\n \"intentExamples\": [\n \"status position\",\n \"badge position\"\n ],\n \"patchTemplate\": {\n \"templating\": {\n \"statusPosition\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"action.add\",\n \"intentExamples\": [\n \"add action\",\n \"action\",\n \"button\",\n \"icon action\"\n ],\n \"safetyNotes\": \"showIf deve ser objeto Json Logic quando informado. O placeholder textual e apenas molde de prompt; nao gere DSL textual nem publique string como contrato.\",\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"icon\": \"{{params.icon}}\",\n \"label\": \"{{value}}\",\n \"kind\": \"{{params.kind}}\",\n \"buttonVariant\": \"{{params.buttonVariant}}\",\n \"showIf\": \"{{params.showIf}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.label.set\",\n \"intentExamples\": [\n \"action label\",\n \"rename action\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"label\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.icon.set\",\n \"intentExamples\": [\n \"action icon\",\n \"icon\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"icon\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.kind.set\",\n \"intentExamples\": [\n \"action kind\",\n \"button\",\n \"icon\"\n ],\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"kind\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"action.showIf.set\",\n \"intentExamples\": [\n \"visible when\",\n \"show if\",\n \"condition\"\n ],\n \"safetyNotes\": \"Forneca showIf como objeto Json Logic no contexto row, por exemplo {\\\"==\\\": [{\\\"var\\\": \\\"row.status\\\"}, \\\"done\\\"]}; nao use DSL textual.\",\n \"patchTemplate\": {\n \"actions\": [\n {\n \"id\": \"{{target}}\",\n \"showIf\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"ui.search.enable\",\n \"intentExamples\": [\n \"search\",\n \"enable search\",\n \"show search\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSearch\": true\n }\n }\n },\n {\n \"id\": \"ui.search.disable\",\n \"intentExamples\": [\n \"search\",\n \"disable search\",\n \"hide search\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSearch\": false\n }\n }\n },\n {\n \"id\": \"ui.searchField.set\",\n \"intentExamples\": [\n \"search field\",\n \"search by\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"searchField\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"ui.sort.enable\",\n \"intentExamples\": [\n \"sort\",\n \"enable sort\",\n \"show sort\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSort\": true\n }\n }\n },\n {\n \"id\": \"ui.sort.disable\",\n \"intentExamples\": [\n \"sort\",\n \"disable sort\",\n \"hide sort\"\n ],\n \"patchTemplate\": {\n \"ui\": {\n \"showSort\": false\n }\n }\n }\n ],\n \"fieldResolvers\": {\n \"actions[]\": [\n \"id\",\n \"label\"\n ],\n \"dataSource.resourcePath\": [],\n \"layout.groupBy\": [],\n \"ui.searchField\": [],\n \"selection.compareBy\": []\n }\n }\n}",
|
|
6568
6568
|
"sourcePointer": "praxis-ui-angular/projects/praxis-list/src/lib/ai/list-context-pack.ts",
|
|
6569
|
-
"contentHash": "
|
|
6569
|
+
"contentHash": "8bdb741f84aababb9314db8b1b56377a1cccfc14b97dd664bf604e63a8532e7d",
|
|
6570
6570
|
"sourceKind": "component_definition",
|
|
6571
6571
|
"sourceId": "praxis-list",
|
|
6572
6572
|
"corpusVersion": "1.0.0"
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/list",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.26",
|
|
4
4
|
"description": "List components and helpers for Praxis UI.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/material": "^21.0.0",
|
|
9
|
-
"@praxisui/dynamic-fields": "^9.0.0-beta.
|
|
9
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.26",
|
|
10
10
|
"rxjs": ">=7 <9",
|
|
11
11
|
"@angular/forms": "^21.0.0",
|
|
12
12
|
"@angular/router": "^21.0.0",
|
|
13
|
-
"@praxisui/ai": "^9.0.0-beta.
|
|
14
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
15
|
-
"@praxisui/rich-content": "^9.0.0-beta.
|
|
16
|
-
"@praxisui/settings-panel": "^9.0.0-beta.
|
|
13
|
+
"@praxisui/ai": "^9.0.0-beta.26",
|
|
14
|
+
"@praxisui/core": "^9.0.0-beta.26",
|
|
15
|
+
"@praxisui/rich-content": "^9.0.0-beta.26",
|
|
16
|
+
"@praxisui/settings-panel": "^9.0.0-beta.26"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"tslib": "^2.3.0",
|
|
@@ -273,7 +273,7 @@ A maior parte das falhas opera em modo fail-open (persistência, inferência, co
|
|
|
273
273
|
| Condition | Mode | Runtime behavior | Consumer impact |
|
|
274
274
|
| --------------------------------- | --------- | ------------------------------------------------ | ---------------------------------- |
|
|
275
275
|
| Falha em `loadConfig/saveConfig` | fail-open | ignora persistência e mantém config ativa | sem perda de renderização |
|
|
276
|
-
| `showIf`
|
|
276
|
+
| `showIf` invalido | fail-closed | item/acao e ocultado com warning | evita renderizacao indevida |
|
|
277
277
|
| comando global não disponível | fail-open | ação global não executa; fluxo local continua | comportamento parcial, sem crash |
|
|
278
278
|
| contrato de seleção inconsistente | fail-soft | adapter normaliza payload para formato suportado | pode reduzir fidelidade do payload |
|
|
279
279
|
|