@praxisui/table 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-06-30T12:05:08.567Z",
3
+ "generatedAt": "2026-07-01T18:24:10.710Z",
4
4
  "packageName": "@praxisui/table",
5
- "packageVersion": "9.0.0-beta.25",
5
+ "packageVersion": "9.0.0-beta.26",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 3,
@@ -9931,7 +9931,7 @@
9931
9931
  "valueKind": "expression",
9932
9932
  "description": "Condicao canonica em JSON Logic para exibir a acao da toolbar.",
9933
9933
  "dependsOn": "toolbar.visible",
9934
- "safetyNotes": "Invalid Json Logic segue a politica de fallback da toolbar por ambiente."
9934
+ "safetyNotes": "Invalid Json Logic falha fechado; a acao nao deve ser exibida em nenhum ambiente."
9935
9935
  },
9936
9936
  {
9937
9937
  "path": "actions.row.enabled",
@@ -10029,7 +10029,7 @@
10029
10029
  "valueKind": "expression",
10030
10030
  "description": "Condicao canonica em JSON Logic para exibir a acao por linha.",
10031
10031
  "dependsOn": "actions.row.enabled",
10032
- "safetyNotes": "Invalid Json Logic segue a politica de fallback da tabela por ambiente."
10032
+ "safetyNotes": "Invalid Json Logic falha fechado; a acao de linha nao deve ser exibida em nenhum ambiente."
10033
10033
  },
10034
10034
  {
10035
10035
  "path": "actions.row.actions[].disabledWhen",
@@ -14057,7 +14057,7 @@
14057
14057
  {
14058
14058
  "name": "condition",
14059
14059
  "type": "STRING",
14060
- "description": "Expressao condicional (ex: recompensa > 500000)"
14060
+ "description": "Objeto JSON Logic canonico serializado, nunca DSL textual (ex: { \">\": [{ \"var\": \"recompensa\" }, 500000] })"
14061
14061
  },
14062
14062
  {
14063
14063
  "name": "renderer",
@@ -14575,16 +14575,16 @@
14575
14575
  "title": "Expressoes Condicionais",
14576
14576
  "description": "Sintaxe de condições para conditionalRenderers e filtros de estilo.",
14577
14577
  "rules": [
14578
- "Use nomes de fields diretamente (ex: status == \"Ativo\").",
14579
- "Operadores suportados: ==, !=, >, <, >=, <=, and, or, not.",
14580
- "Funções comuns: contains(field, \"texto\").",
14578
+ "Use objetos JSON Logic com referencias var (ex: { \"===\": [{ \"var\": \"status\" }, \"Ativo\"] }).",
14579
+ "Operadores suportados: ===, !==, >, <, >=, <=, and, or, !.",
14580
+ "Funcoes comuns: { \"contains\": [{ \"var\": \"name\" }, \"Silva\"] }.",
14581
14581
  "Pode referenciar computed.<field> quando existir.",
14582
- "NÃO use JavaScript (row., this., Math., ternário, eval)."
14582
+ "NAO use DSL textual, JavaScript (row., this., Math., ternario, eval) nem strings de expressao."
14583
14583
  ],
14584
14584
  "syntax": "{\"and\":[{\"contains\":[{\"var\":\"status\"},\"Ativo\"]},{\">=\":[{\"var\":\"price\"},100]}]}",
14585
14585
  "examples": [
14586
14586
  "{\"===\":[{\"var\":\"status\"},\"Ativo\"]}",
14587
- "contains(name, \"Silva\")",
14587
+ "{\"contains\":[{\"var\":\"name\"},\"Silva\"]}",
14588
14588
  "{\">\":[{\"var\":\"computed.total\"},1000]}"
14589
14589
  ],
14590
14590
  "antiPatterns": [
@@ -21700,9 +21700,9 @@
21700
21700
  {
21701
21701
  "chunkIndex": 3,
21702
21702
  "chunkKind": "context_pack",
21703
- "content": "{\n \"componentContext\": {\n \"version\": \"v1\",\n \"optionsByPath\": {\n \"appearance.density\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"compact\",\n \"label\": \"Compact\"\n },\n {\n \"value\": \"comfortable\",\n \"label\": \"Comfortable\"\n },\n {\n \"value\": \"spacious\",\n \"label\": \"Spacious\"\n }\n ]\n },\n \"export.formats\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"excel\",\n \"label\": \"Excel\"\n },\n {\n \"value\": \"pdf\",\n \"label\": \"PDF\"\n },\n {\n \"value\": \"csv\",\n \"label\": \"CSV\"\n },\n {\n \"value\": \"json\",\n \"label\": \"JSON\"\n },\n {\n \"value\": \"print\",\n \"label\": \"Print\"\n }\n ]\n },\n \"columns[].type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"string\",\n \"label\": \"String\"\n },\n {\n \"value\": \"number\",\n \"label\": \"Number\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"percentage\",\n \"label\": \"Percentage\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"boolean\",\n \"label\": \"Boolean\"\n },\n {\n \"value\": \"custom\",\n \"label\": \"Custom\"\n }\n ]\n },\n \"columns[].format\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"shortDate\",\n \"label\": \"Date short\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"mediumDate\",\n \"label\": \"Date medium\",\n \"example\": \"01 Dec 2023\"\n },\n {\n \"value\": \"longDate\",\n \"label\": \"Date long\",\n \"example\": \"01 December 2023\"\n },\n {\n \"value\": \"fullDate\",\n \"label\": \"Date full\",\n \"example\": \"Friday, 01 December 2023\"\n },\n {\n \"value\": \"MMM/yyyy\",\n \"label\": \"Month/Year\",\n \"example\": \"Dec/2023\"\n },\n {\n \"value\": \"shortTime\",\n \"label\": \"Time short\",\n \"example\": \"14:30\"\n },\n {\n \"value\": \"short\",\n \"label\": \"Date+Time short\",\n \"example\": \"01/12/2023 14:30\"\n },\n {\n \"value\": \"yyyy-MM-dd\",\n \"label\": \"ISO 8601\",\n \"example\": \"2023-12-01\"\n },\n {\n \"value\": \"dd/MM/yyyy\",\n \"label\": \"Date dd/MM/yyyy\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"yyyy-MM-dd HH:mm\",\n \"label\": \"DateTime yyyy-MM-dd HH:mm\",\n \"example\": \"2023-12-01 14:30\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Number integer\",\n \"example\": \"1,234\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Number 1 decimal\",\n \"example\": \"1,234.5\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Number 2 decimals\",\n \"example\": \"1,234.56\"\n },\n {\n \"value\": \"1.0-3\",\n \"label\": \"Number up to 3 decimals\",\n \"example\": \"1,234.567\"\n },\n {\n \"value\": \"1.0-0|nosep\",\n \"label\": \"Number no grouping\",\n \"example\": \"1234\"\n },\n {\n \"value\": \"BRL|symbol|2\",\n \"label\": \"Currency BRL symbol\",\n \"example\": \"R$ 1.234,56\"\n },\n {\n \"value\": \"BRL|symbol|2|nosep\",\n \"label\": \"Currency BRL symbol (no grouping)\",\n \"example\": \"R$ 1234,56\"\n },\n {\n \"value\": \"USD|symbol|2\",\n \"label\": \"Currency USD symbol\",\n \"example\": \"US$ 1,234.56\"\n },\n {\n \"value\": \"EUR|symbol|2\",\n \"label\": \"Currency EUR symbol\",\n \"example\": \"EUR 1,234.56\"\n },\n {\n \"value\": \"BRL|code|2\",\n \"label\": \"Currency code\",\n \"example\": \"1,234.56 BRL\"\n },\n {\n \"value\": \"USD|code|0\",\n \"label\": \"Currency USD code (0 decimals)\",\n \"example\": \"1234 USD\"\n },\n {\n \"value\": \"EUR|symbol|2|nosep\",\n \"label\": \"Currency EUR symbol (no grouping)\",\n \"example\": \"EUR 1234,56\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Percent 0 decimals\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Percent 1 decimal\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Percent 2 decimals\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"1.0-0|x100\",\n \"label\": \"Percent 0 decimals (x100)\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1|x100\",\n \"label\": \"Percent 1 decimal (x100)\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2|x100\",\n \"label\": \"Percent 2 decimals (x100)\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"none\",\n \"label\": \"String none\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase\",\n \"label\": \"String uppercase\",\n \"example\": \"SAMPLE\"\n },\n {\n \"value\": \"lowercase\",\n \"label\": \"String lowercase\",\n \"example\": \"sample\"\n },\n {\n \"value\": \"titlecase\",\n \"label\": \"String titlecase\",\n \"example\": \"Sample Text\"\n },\n {\n \"value\": \"capitalize\",\n \"label\": \"String capitalize\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase|truncate|50|...\",\n \"label\": \"String uppercase + truncate 50\",\n \"example\": \"SAMPLE...\"\n },\n {\n \"value\": \"true-false\",\n \"label\": \"Boolean true/false\",\n \"example\": \"True / False\"\n },\n {\n \"value\": \"yes-no\",\n \"label\": \"Boolean yes/no\",\n \"example\": \"Yes / No\"\n },\n {\n \"value\": \"active-inactive\",\n \"label\": \"Boolean active/inactive\",\n \"example\": \"Active / Inactive\"\n },\n {\n \"value\": \"on-off\",\n \"label\": \"Boolean on/off\",\n \"example\": \"On / Off\"\n },\n {\n \"value\": \"enabled-disabled\",\n \"label\": \"Boolean enabled/disabled\",\n \"example\": \"Enabled / Disabled\"\n },\n {\n \"value\": \"custom|Sim|Nao\",\n \"label\": \"Boolean custom (Sim/Nao)\",\n \"example\": \"Sim / Nao\"\n }\n ]\n },\n \"columns[].computed.outputType\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"string\",\n \"label\": \"String\"\n },\n {\n \"value\": \"number\",\n \"label\": \"Number\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"percentage\",\n \"label\": \"Percentage\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"boolean\",\n \"label\": \"Boolean\"\n },\n {\n \"value\": \"custom\",\n \"label\": \"Custom\"\n }\n ]\n },\n \"columns[].computed.format\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"shortDate\",\n \"label\": \"Date short\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"mediumDate\",\n \"label\": \"Date medium\",\n \"example\": \"01 Dec 2023\"\n },\n {\n \"value\": \"longDate\",\n \"label\": \"Date long\",\n \"example\": \"01 December 2023\"\n },\n {\n \"value\": \"fullDate\",\n \"label\": \"Date full\",\n \"example\": \"Friday, 01 December 2023\"\n },\n {\n \"value\": \"MMM/yyyy\",\n \"label\": \"Month/Year\",\n \"example\": \"Dec/2023\"\n },\n {\n \"value\": \"shortTime\",\n \"label\": \"Time short\",\n \"example\": \"14:30\"\n },\n {\n \"value\": \"short\",\n \"label\": \"Date+Time short\",\n \"example\": \"01/12/2023 14:30\"\n },\n {\n \"value\": \"yyyy-MM-dd\",\n \"label\": \"ISO 8601\",\n \"example\": \"2023-12-01\"\n },\n {\n \"value\": \"dd/MM/yyyy\",\n \"label\": \"Date dd/MM/yyyy\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"yyyy-MM-dd HH:mm\",\n \"label\": \"DateTime yyyy-MM-dd HH:mm\",\n \"example\": \"2023-12-01 14:30\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Number integer\",\n \"example\": \"1,234\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Number 1 decimal\",\n \"example\": \"1,234.5\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Number 2 decimals\",\n \"example\": \"1,234.56\"\n },\n {\n \"value\": \"1.0-3\",\n \"label\": \"Number up to 3 decimals\",\n \"example\": \"1,234.567\"\n },\n {\n \"value\": \"1.0-0|nosep\",\n \"label\": \"Number no grouping\",\n \"example\": \"1234\"\n },\n {\n \"value\": \"BRL|symbol|2\",\n \"label\": \"Currency BRL symbol\",\n \"example\": \"R$ 1.234,56\"\n },\n {\n \"value\": \"BRL|symbol|2|nosep\",\n \"label\": \"Currency BRL symbol (no grouping)\",\n \"example\": \"R$ 1234,56\"\n },\n {\n \"value\": \"USD|symbol|2\",\n \"label\": \"Currency USD symbol\",\n \"example\": \"US$ 1,234.56\"\n },\n {\n \"value\": \"EUR|symbol|2\",\n \"label\": \"Currency EUR symbol\",\n \"example\": \"EUR 1,234.56\"\n },\n {\n \"value\": \"BRL|code|2\",\n \"label\": \"Currency code\",\n \"example\": \"1,234.56 BRL\"\n },\n {\n \"value\": \"USD|code|0\",\n \"label\": \"Currency USD code (0 decimals)\",\n \"example\": \"1234 USD\"\n },\n {\n \"value\": \"EUR|symbol|2|nosep\",\n \"label\": \"Currency EUR symbol (no grouping)\",\n \"example\": \"EUR 1234,56\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Percent 0 decimals\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Percent 1 decimal\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Percent 2 decimals\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"1.0-0|x100\",\n \"label\": \"Percent 0 decimals (x100)\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1|x100\",\n \"label\": \"Percent 1 decimal (x100)\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2|x100\",\n \"label\": \"Percent 2 decimals (x100)\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"none\",\n \"label\": \"String none\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase\",\n \"label\": \"String uppercase\",\n \"example\": \"SAMPLE\"\n },\n {\n \"value\": \"lowercase\",\n \"label\": \"String lowercase\",\n \"example\": \"sample\"\n },\n {\n \"value\": \"titlecase\",\n \"label\": \"String titlecase\",\n \"example\": \"Sample Text\"\n },\n {\n \"value\": \"capitalize\",\n \"label\": \"String capitalize\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase|truncate|50|...\",\n \"label\": \"String uppercase + truncate 50\",\n \"example\": \"SAMPLE...\"\n },\n {\n \"value\": \"true-false\",\n \"label\": \"Boolean true/false\",\n \"example\": \"True / False\"\n },\n {\n \"value\": \"yes-no\",\n \"label\": \"Boolean yes/no\",\n \"example\": \"Yes / No\"\n },\n {\n \"value\": \"active-inactive\",\n \"label\": \"Boolean active/inactive\",\n \"example\": \"Active / Inactive\"\n },\n {\n \"value\": \"on-off\",\n \"label\": \"Boolean on/off\",\n \"example\": \"On / Off\"\n },\n {\n \"value\": \"enabled-disabled\",\n \"label\": \"Boolean enabled/disabled\",\n \"example\": \"Enabled / Disabled\"\n },\n {\n \"value\": \"custom|Sim|Nao\",\n \"label\": \"Boolean custom (Sim/Nao)\",\n \"example\": \"Sim / Nao\"\n }\n ]\n },\n \"behavior.filtering.advancedFilters.settings.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filter\",\n \"label\": \"Filter\"\n }\n ]\n },\n \"behavior.expansion.state.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"controlled\",\n \"label\": \"Controlled\"\n },\n {\n \"value\": \"uncontrolled\",\n \"label\": \"Uncontrolled\"\n }\n ]\n },\n \"behavior.expansion.interaction.trigger\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"row\",\n \"label\": \"Row\"\n },\n {\n \"value\": \"both\",\n \"label\": \"Both\"\n }\n ]\n },\n \"behavior.expansion.interaction.keyboard.profile\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"disclosure\",\n \"label\": \"Disclosure\"\n },\n {\n \"value\": \"grid\",\n \"label\": \"Grid\"\n }\n ]\n },\n \"behavior.expansion.limits.onOverflow\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"collapseOldest\",\n \"label\": \"Collapse Oldest\"\n },\n {\n \"value\": \"denyNew\",\n \"label\": \"Deny New\"\n },\n {\n \"value\": \"collapseAll\",\n \"label\": \"Collapse All\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.sortChange\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.pageChange\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.filterChange\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.dataRefresh\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.detail.source.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"inline\",\n \"label\": \"Inline\"\n },\n {\n \"value\": \"resource\",\n \"label\": \"Resource\"\n },\n {\n \"value\": \"resourcePath\",\n \"label\": \"Resource Path\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resource.kind\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"ui-composition\",\n \"label\": \"UI Composition\"\n },\n {\n \"value\": \"form-schema\",\n \"label\": \"Form Schema\"\n },\n {\n \"value\": \"table-schema\",\n \"label\": \"Table Schema\"\n },\n {\n \"value\": \"dashboard-schema\",\n \"label\": \"Dashboard Schema\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resourcePath.method\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"GET\",\n \"label\": \"GET\"\n },\n {\n \"value\": \"POST\",\n \"label\": \"POST\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resourcePath.paramsMap\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"{\\\"id\\\":\\\"$row.id\\\"}\",\n \"label\": \"Row ID\"\n },\n {\n \"value\": \"{\\\"id\\\":\\\"$row.id\\\",\\\"table\\\":\\\"$ctx.tableId\\\"}\",\n \"label\": \"Row + Table\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resourceAllowList[]\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"api/orders/*/detail-schema\",\n \"label\": \"Orders detail schema\"\n },\n {\n \"value\": \"api/customers/*/detail-schema\",\n \"label\": \"Customers detail schema\"\n }\n ]\n },\n \"behavior.expansion.detail.rendering.strategy\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"registry\",\n \"label\": \"Registry\"\n }\n ]\n },\n \"behavior.expansion.detail.rendering.hostLayout\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"auto\",\n \"label\": \"Auto\"\n },\n {\n \"value\": \"stack\",\n \"label\": \"Stack\"\n },\n {\n \"value\": \"tabs\",\n \"label\": \"Tabs\"\n }\n ]\n },\n \"behavior.expansion.detail.rendering.fallbackNodePolicy\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"failClosed\",\n \"label\": \"Fail Closed\"\n },\n {\n \"value\": \"renderPlaceholder\",\n \"label\": \"Render Placeholder\"\n }\n ]\n },\n \"behavior.expansion.detail.height.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"fixed\",\n \"label\": \"Fixed\"\n },\n {\n \"value\": \"dynamic\",\n \"label\": \"Dynamic\"\n }\n ]\n },\n \"behavior.expansion.virtualization.policy\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"fixed-height-only\",\n \"label\": \"Fixed Height Only\"\n },\n {\n \"value\": \"allow-dynamic-under-flag\",\n \"label\": \"Allow Dynamic Under Flag\"\n }\n ]\n },\n \"behavior.expansion.security.eventExposureDefault.rowId\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"redacted\",\n \"label\": \"Redacted\"\n },\n {\n \"value\": \"hashed\",\n \"label\": \"Hashed\"\n },\n {\n \"value\": \"raw\",\n \"label\": \"Raw\"\n }\n ]\n },\n \"behavior.expansion.security.eventExposureDefault.expandedKeys\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"hashed\",\n \"label\": \"Hashed\"\n },\n {\n \"value\": \"raw\",\n \"label\": \"Raw\"\n }\n ]\n },\n \"behavior.expansion.deepLink.encoding\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"csv\",\n \"label\": \"CSV\"\n }\n ]\n },\n \"behavior.expansion.deepLink.parsing.duplicateParams\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"firstWins\",\n \"label\": \"First Wins\"\n },\n {\n \"value\": \"reject\",\n \"label\": \"Reject\"\n }\n ]\n },\n \"behavior.expansion.deepLink.integrity.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"opaqueToken\",\n \"label\": \"Opaque Token\"\n }\n ]\n },\n \"behavior.expansion.deepLink.privacy.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"denyByDefault\",\n \"label\": \"Deny By Default\"\n },\n {\n \"value\": \"allowByDefault\",\n \"label\": \"Allow By Default\"\n }\n ]\n },\n \"columns[].renderer.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n },\n {\n \"value\": \"compose\",\n \"label\": \"Compose\"\n }\n ]\n },\n \"columns[].renderer.image.shape\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"square\",\n \"label\": \"Square\"\n },\n {\n \"value\": \"rounded\",\n \"label\": \"Rounded\"\n },\n {\n \"value\": \"circle\",\n \"label\": \"Circle\"\n }\n ]\n },\n \"columns[].renderer.image.fit\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"cover\",\n \"label\": \"Cover\"\n },\n {\n \"value\": \"contain\",\n \"label\": \"Contain\"\n }\n ]\n },\n \"columns[].renderer.link.target\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"_blank\",\n \"label\": \"New tab\"\n },\n {\n \"value\": \"_self\",\n \"label\": \"Same tab\"\n },\n {\n \"value\": \"_parent\",\n \"label\": \"Parent frame\"\n },\n {\n \"value\": \"_top\",\n \"label\": \"Top frame\"\n }\n ]\n },\n \"columns[].renderer.button.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n }\n ]\n },\n \"columns[].renderer.button.color\": {\n \"mode\": \"enum\",\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 },\n \"columns[].renderer.button.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"sm\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"md\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"lg\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].renderer.badge.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].renderer.chip.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].renderer.rating.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"small\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"medium\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"large\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].renderer.compose.items[].type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n }\n ]\n },\n \"columns[].renderer.microVisualization.visualization.valueExpr\": {},\n \"columns[].renderer.microVisualization.visualization.valueSuffixExpr\": {},\n \"columns[].renderer.microVisualization.visualization.totalExpr\": {},\n \"columns[].renderer.microVisualization.visualization.targetExpr\": {},\n \"columns[].renderer.microVisualization.visualization.baselineExpr\": {},\n \"columns[].renderer.microVisualization.visualization.segmentsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.pointsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.thresholdsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.itemsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.toneExpr\": {},\n \"columns[].renderer.microVisualization.visualization.ariaLabelExpr\": {},\n \"columns[].renderer.microVisualization.visualization.fallbackTextExpr\": {},\n \"columns[].conditionalRenderers[].renderer.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n },\n {\n \"value\": \"compose\",\n \"label\": \"Compose\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.image.shape\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"square\",\n \"label\": \"Square\"\n },\n {\n \"value\": \"rounded\",\n \"label\": \"Rounded\"\n },\n {\n \"value\": \"circle\",\n \"label\": \"Circle\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.image.fit\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"cover\",\n \"label\": \"Cover\"\n },\n {\n \"value\": \"contain\",\n \"label\": \"Contain\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.link.target\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"_blank\",\n \"label\": \"New tab\"\n },\n {\n \"value\": \"_self\",\n \"label\": \"Same tab\"\n },\n {\n \"value\": \"_parent\",\n \"label\": \"Parent frame\"\n },\n {\n \"value\": \"_top\",\n \"label\": \"Top frame\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.button.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.button.color\": {\n \"mode\": \"enum\",\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 },\n \"columns[].conditionalRenderers[].renderer.button.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"sm\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"md\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"lg\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.badge.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.chip.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.rating.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"small\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"medium\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"large\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.compose.items[].type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n }\n ]\n },\n \"actions.row.actions[].color\": {\n \"mode\": \"enum\",\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 },\n \"actions.row.actions[].icon\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"edit\",\n \"label\": \"Edit\"\n },\n {\n \"value\": \"delete\",\n \"label\": \"Delete\"\n },\n {\n \"value\": \"visibility\",\n \"label\": \"View\"\n },\n {\n \"value\": \"more_vert\",\n \"label\": \"More\"\n },\n {\n \"value\": \"check\",\n \"label\": \"Approve\"\n },\n {\n \"value\": \"close\",\n \"label\": \"Reject\"\n },\n {\n \"value\": \"download\",\n \"label\": \"Download\"\n }\n ]\n },\n \"actions.row.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 \"rowConditionalStyles[].condition\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"status == \\\"active\\\"\",\n \"label\": \"Status Active\"\n },\n {\n \"value\": \"amount < 0\",\n \"label\": \"Negative Amount\"\n },\n {\n \"value\": \"priority == \\\"high\\\"\",\n \"label\": \"High Priority\"\n }\n ]\n }\n },\n \"actionCatalog\": [\n {\n \"id\": \"ADD_COLUMN\",\n \"intentExamples\": [\n \"add column\",\n \"nova coluna\",\n \"criar coluna\",\n \"insert column\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"params\": [\n {\n \"name\": \"field\",\n \"type\": \"STRING\",\n \"description\": \"Nome técnico da nova coluna\"\n },\n {\n \"name\": \"header\",\n \"type\": \"STRING\",\n \"description\": \"Título da coluna\"\n }\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{params.field}}\",\n \"header\": \"{{params.header}}\",\n \"visible\": true\n }\n ]\n }\n },\n {\n \"id\": \"ADD_COLUMN_COMPUTED\",\n \"intentExamples\": [\n \"calculated column\",\n \"coluna calculada\",\n \"compute\",\n \"formula\",\n \"expression\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"params\": [\n {\n \"name\": \"field\",\n \"type\": \"STRING\",\n \"description\": \"Nome técnico da nova coluna (ex: total)\"\n },\n {\n \"name\": \"header\",\n \"type\": \"STRING\",\n \"description\": \"Título da coluna\"\n },\n {\n \"name\": \"expression\",\n \"type\": \"STRING\",\n \"description\": \"AST Json Logic canônico serializado em JSON para derived values (ex: { \\\"*\\\": [{ \\\"var\\\": \\\"quantity\\\" }, { \\\"var\\\": \\\"price\\\" }] })\"\n },\n {\n \"name\": \"type\",\n \"type\": \"ENUM\",\n \"options\": [\n \"number\",\n \"currency\",\n \"percentage\",\n \"string\",\n \"boolean\"\n ],\n \"description\": \"Tipo de dado resultante\"\n }\n ],\n \"relatedConcepts\": [\n \"computed-logic\"\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{params.field}}\",\n \"header\": \"{{params.header}}\",\n \"visible\": true,\n \"computed\": {\n \"expression\": \"{{params.expression}}\",\n \"outputType\": \"{{params.type}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"HIDE_COLUMN\",\n \"intentExamples\": [\n \"hide column\",\n \"ocultar coluna\",\n \"esconder coluna\",\n \"invisible\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"visible\": false\n }\n ]\n }\n },\n {\n \"id\": \"SHOW_COLUMN\",\n \"intentExamples\": [\n \"show column\",\n \"mostrar coluna\",\n \"exibir coluna\",\n \"visible\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"visible\": true\n }\n ]\n }\n },\n {\n \"id\": \"RENAME_COLUMN\",\n \"intentExamples\": [\n \"rename column\",\n \"renomear coluna\",\n \"titulo\",\n \"cabecalho\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"header\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.format.set\",\n \"intentExamples\": [\n \"format\",\n \"formatar\",\n \"date format\",\n \"number format\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"format\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.type.set\",\n \"intentExamples\": [\n \"type\",\n \"tipo\",\n \"data type\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"type\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"DISABLE_SORT\",\n \"intentExamples\": [\n \"disable sort\",\n \"desativar ordenacao\",\n \"sem ordenacao\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"sortable\": false\n }\n ]\n }\n },\n {\n \"id\": \"ENABLE_SORT\",\n \"intentExamples\": [\n \"enable sort\",\n \"ativar ordenacao\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"sortable\": true\n }\n ]\n }\n },\n {\n \"id\": \"column.width.set\",\n \"intentExamples\": [\n \"width\",\n \"largura\",\n \"col width\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"width\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.order.set\",\n \"intentExamples\": [\n \"ordem visual\",\n \"mover coluna\",\n \"colocar depois de\",\n \"colocar antes de\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"NUMBER\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"order\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.align.set\",\n \"intentExamples\": [\n \"align\",\n \"alinhamento\",\n \"left\",\n \"center\",\n \"right\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"align\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.sticky.set\",\n \"intentExamples\": [\n \"sticky\",\n \"fixar coluna\",\n \"pin column\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"sticky\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.type.set\",\n \"intentExamples\": [\n \"renderer\",\n \"render\",\n \"cell type\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"{{value}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.image.shape.set\",\n \"intentExamples\": [\n \"image shape\",\n \"avatar shape\",\n \"imagem recorte\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"image\",\n \"image\": {\n \"shape\": \"{{value}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.link.target.set\",\n \"intentExamples\": [\n \"link target\",\n \"abrir em nova aba\",\n \"target blank\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"link\",\n \"link\": {\n \"target\": \"{{value}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.button.style.set\",\n \"intentExamples\": [\n \"button style\",\n \"botao estilo\",\n \"variant\",\n \"color\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"button\",\n \"button\": {\n \"variant\": \"{{params.variant}}\",\n \"color\": \"{{params.color}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_BADGE\",\n \"intentExamples\": [\n \"render badge\",\n \"exibir como badge\",\n \"status badge\",\n \"etiqueta\",\n \"tag\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"params\": [\n {\n \"name\": \"variant\",\n \"type\": \"ENUM\",\n \"options\": [\n \"filled\",\n \"outlined\",\n \"soft\"\n ],\n \"description\": \"Estilo visual do badge\"\n },\n {\n \"name\": \"color\",\n \"type\": \"ENUM\",\n \"options\": [\n \"primary\",\n \"accent\",\n \"warn\",\n \"success\",\n \"info\"\n ],\n \"description\": \"Cor semântica do badge\"\n }\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"{{target}}\",\n \"textField\": \"{{target}}\",\n \"color\": \"{{params.color}}\",\n \"variant\": \"{{params.variant}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_CHIP\",\n \"intentExamples\": [\n \"render chip\",\n \"exibir como chip\",\n \"chip\",\n \"pilula\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"textField\": \"{{target}}\",\n \"color\": \"{{params.color}}\",\n \"variant\": \"{{params.variant}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_ICON\",\n \"intentExamples\": [\n \"render icon\",\n \"exibir como icone\",\n \"icone\",\n \"icon\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"{{value}}\",\n \"color\": \"{{params.color}}\",\n \"size\": 18\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_COMPOSE_TITLE_SUBTITLE\",\n \"intentExamples\": [\n \"compose title subtitle\",\n \"titulo e subtitulo\",\n \"two lines\",\n \"duas linhas\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"layout\": {\n \"direction\": \"column\",\n \"gap\": 4\n },\n \"items\": [\n {\n \"type\": \"value\",\n \"style\": \"font-weight: 500;\"\n },\n {\n \"type\": \"value\",\n \"textField\": \"{{params.subtitleField}}\",\n \"style\": \"font-size: 0.85em; color: var(--text-secondary);\"\n }\n ]\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_COMPOSE_AVATAR_TEXT\",\n \"intentExamples\": [\n \"compose avatar text\",\n \"avatar e texto\",\n \"user card\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 12,\n \"align\": \"center\"\n },\n \"items\": [\n {\n \"type\": \"avatar\",\n \"avatar\": {\n \"srcField\": \"{{params.imageField}}\",\n \"initialsField\": \"{{target}}\",\n \"shape\": \"circle\"\n }\n },\n {\n \"type\": \"compose\",\n \"compose\": {\n \"layout\": {\n \"direction\": \"column\",\n \"gap\": 2\n },\n \"items\": [\n {\n \"type\": \"value\",\n \"style\": \"font-weight: 500;\"\n },\n {\n \"type\": \"value\",\n \"textField\": \"{{params.subtitleField}}\",\n \"style\": \"font-size: 0.85em; opacity: 0.7;\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"ENABLE_PAGINATION\",\n \"intentExamples\": [\n \"enable pagination\",\n \"paginar\",\n \"paginação\",\n \"pagination\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"pagination\": {\n \"enabled\": true,\n \"pageSize\": \"{{params.pageSize}}\"\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_PAGINATION\",\n \"intentExamples\": [\n \"disable pagination\",\n \"remover paginacao\",\n \"lista infinita\",\n \"no pagination\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"pagination\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_FILTERING\",\n \"intentExamples\": [\n \"enable filtering\",\n \"ligar filtros\",\n \"filtrar\",\n \"searchable\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"enabled\": true\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_FILTERING\",\n \"intentExamples\": [\n \"disable filtering\",\n \"desligar filtros\",\n \"no filter\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_ADVANCED_FILTERS\",\n \"intentExamples\": [\n \"advanced filters\",\n \"filtros avancados\",\n \"filtro complexo\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"enabled\": true\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_FILTER_MODE\",\n \"intentExamples\": [\n \"filter mode\",\n \"modo de filtro\",\n \"modo unico do filtro\",\n \"painel de filtro\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"settings\": {\n \"mode\": \"{{value}}\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_ALWAYS_VISIBLE_FILTERS\",\n \"intentExamples\": [\n \"always visible filter\",\n \"filtro fixo\",\n \"fixar filtro\",\n \"pin filter\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"settings\": {\n \"alwaysVisibleFields\": [\n \"{{target}}\"\n ]\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_FILTER_SAVING\",\n \"intentExamples\": [\n \"save filters\",\n \"salvar filtros\",\n \"filter tags\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"settings\": {\n \"allowSaveTags\": true\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_SORTING\",\n \"intentExamples\": [\n \"enable sorting\",\n \"ligar ordenacao\",\n \"ordenar\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"sorting\": {\n \"enabled\": true\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_SORTING\",\n \"intentExamples\": [\n \"disable sorting\",\n \"desligar ordenacao\",\n \"no sort\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"sorting\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_SELECTION\",\n \"intentExamples\": [\n \"enable selection\",\n \"ativar selecao\",\n \"selecionavel\",\n \"selectable\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"enabled\": true\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_SELECTION\",\n \"intentExamples\": [\n \"disable selection\",\n \"remover selecao\",\n \"not selectable\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"SET_SELECTION_SINGLE\",\n \"intentExamples\": [\n \"single selection\",\n \"selecao unica\",\n \"selecionar um\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": \"single\",\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"type\": \"single\"\n }\n }\n }\n },\n {\n \"id\": \"SET_SELECTION_MULTIPLE\",\n \"intentExamples\": [\n \"multiple selection\",\n \"selecao multipla\",\n \"selecionar varios\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": \"multiple\",\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"type\": \"multiple\"\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_EXPORT\",\n \"intentExamples\": [\n \"enable export\",\n \"ativar exportacao\",\n \"botão exportar\",\n \"excel\",\n \"pdf\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"export\": {\n \"enabled\": true\n },\n \"toolbar\": {\n \"visible\": true\n }\n }\n },\n {\n \"id\": \"DISABLE_EXPORT\",\n \"intentExamples\": [\n \"disable export\",\n \"remover exportacao\",\n \"esconder exportar\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"export\": {\n \"enabled\": false\n }\n }\n },\n {\n \"id\": \"SET_DENSITY\",\n \"intentExamples\": [\n \"set density\",\n \"mudar densidade\",\n \"compacto\",\n \"confortavel\",\n \"espacoso\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"appearance\": {\n \"density\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"SHOW_BORDERS\",\n \"intentExamples\": [\n \"show borders\",\n \"mostrar bordas\",\n \"com bordas\",\n \"grid lines\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"appearance\": {\n \"borders\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": true\n }\n }\n }\n },\n {\n \"id\": \"HIDE_BORDERS\",\n \"intentExamples\": [\n \"hide borders\",\n \"ocultar bordas\",\n \"sem bordas\",\n \"clean look\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"appearance\": {\n \"borders\": {\n \"showRowBorders\": false,\n \"showColumnBorders\": false,\n \"showOuterBorder\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_STRIPED_ROWS\",\n \"intentExamples\": [\n \"striped rows\",\n \"zebrado\",\n \"linhas alternadas\",\n \"zebra\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"appearance\": {\n \"colors\": {\n \"alternateRowBackground\": \"#f7f9fc\"\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_STRIPED_ROWS\",\n \"intentExamples\": [\n \"disable striped\",\n \"remover zebrado\",\n \"fundo solido\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"appearance\": {\n \"colors\": {}\n }\n }\n },\n {\n \"id\": \"SHOW_TOOLBAR\",\n \"intentExamples\": [\n \"show toolbar\",\n \"mostrar toolbar\",\n \"barra de ferramentas\",\n \"titulo da tabela\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"toolbar\": {\n \"visible\": true\n }\n }\n },\n {\n \"id\": \"HIDE_TOOLBAR\",\n \"intentExamples\": [\n \"hide toolbar\",\n \"esconder toolbar\",\n \"remover titulo\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"visible\": false\n }\n }\n },\n {\n \"id\": \"SET_TOOLBAR_POSITION\",\n \"intentExamples\": [\n \"toolbar position\",\n \"posicao da toolbar\",\n \"toolbar no topo\",\n \"toolbar embaixo\",\n \"toolbar em cima\",\n \"toolbar ambos\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"position\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"SET_TOOLBAR_ACTIONS_POSITION\",\n \"intentExamples\": [\n \"acoes da toolbar\",\n \"barra de acoes\",\n \"acoes no topo\",\n \"acoes embaixo\",\n \"acoes em cima\",\n \"acoes em ambos\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"actionsPosition\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"SET_TOOLBAR_ACTIONS_BG\",\n \"intentExamples\": [\n \"cor barra de acoes\",\n \"fundo da barra de acoes\",\n \"background acoes\",\n \"acoes com cor\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"actionsBackgroundColor\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"ENABLE_VIRTUALIZATION\",\n \"intentExamples\": [\n \"enable virtualization\",\n \"virtualizar\",\n \"scroll infinito\",\n \"performance\",\n \"large dataset\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 48\n }\n },\n \"performance\": {\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 48\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_VIRTUALIZATION\",\n \"intentExamples\": [\n \"disable virtualization\",\n \"desativar virtualizacao\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"virtualization\": {\n \"enabled\": false\n }\n },\n \"performance\": {\n \"virtualization\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_ROW_EXPANSION\",\n \"intentExamples\": [\n \"expand row\",\n \"expandir linha\",\n \"detalhe expansivel\",\n \"row details\",\n \"master detail\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"expansion\": {\n \"enabled\": true,\n \"contractVersion\": \"1.0.0\",\n \"interaction\": {\n \"trigger\": \"icon\",\n \"keyboard\": {\n \"profile\": \"disclosure\"\n }\n },\n \"limits\": {\n \"allowMultiple\": false,\n \"maxExpandedRows\": 1,\n \"onOverflow\": \"collapseOldest\"\n },\n \"detail\": {\n \"schemaContract\": {\n \"kind\": \"praxis.detail.schema\",\n \"version\": \"1.0.0\"\n },\n \"source\": {\n \"mode\": \"inline\",\n \"inlineSchema\": {\n \"layout\": \"stack\",\n \"items\": []\n }\n },\n \"rendering\": {\n \"strategy\": \"registry\",\n \"registryId\": \"praxis.detail.default\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_EXPANSION_SOURCE_MODE\",\n \"intentExamples\": [\n \"expansion source\",\n \"detail source\",\n \"schema source\",\n \"resource detail\",\n \"resourcePath detail\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"expansion\": {\n \"detail\": {\n \"source\": {\n \"mode\": \"{{value}}\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_EXPANSION_RESOURCE\",\n \"intentExamples\": [\n \"detail resource id\",\n \"resource detail id\",\n \"ui composition detail\",\n \"schema detail resource\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"expansion\": {\n \"detail\": {\n \"source\": {\n \"mode\": \"resource\",\n \"resource\": {\n \"kind\": \"{{params.kind}}\",\n \"id\": \"{{params.id}}\",\n \"version\": \"{{params.version}}\"\n }\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_COLUMN_BOLD\",\n \"intentExamples\": [\n \"column bold\",\n \"coluna negrito\",\n \"destacar coluna\",\n \"bold text\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"style\": \"font-weight: 600;\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_COLUMN_COLOR\",\n \"intentExamples\": [\n \"column color\",\n \"cor da coluna\",\n \"pintar coluna\",\n \"text color\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"style\": \"color: {{value}};\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_UPPERCASE\",\n \"intentExamples\": [\n \"header uppercase\",\n \"cabecalho maiuscula\",\n \"titulo caixa alta\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"text-transform: uppercase;\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_BOLD\",\n \"intentExamples\": [\n \"header bold\",\n \"cabecalho negrito\",\n \"titulo forte\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"font-weight: 600;\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_BG_COLOR\",\n \"intentExamples\": [\n \"header background\",\n \"fundo cabecalho\",\n \"cor titulo\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"background-color: {{value}};\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_TEXT_COLOR\",\n \"intentExamples\": [\n \"header text color\",\n \"cor texto cabecalho\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"color: {{value}};\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_TOOLBAR_ALIGNMENT\",\n \"intentExamples\": [\n \"toolbar align\",\n \"alinhar toolbar\",\n \"alinhamento barra\",\n \"space-between\",\n \"start\",\n \"end\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"layout\": {\n \"alignment\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_GROUPING\",\n \"intentExamples\": [\n \"group by\",\n \"agrupar por\",\n \"agrupamento\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"grouping\": {\n \"enabled\": true,\n \"fields\": [\n \"{{target}}\"\n ],\n \"expanded\": true\n }\n }\n }\n },\n {\n \"id\": \"CLEAR_GROUPING\",\n \"intentExamples\": [\n \"ungroup\",\n \"desagrupar\",\n \"remover agrupamento\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"grouping\": {\n \"enabled\": false,\n \"fields\": []\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_ROW_ACTIONS\",\n \"intentExamples\": [\n \"enable row actions\",\n \"acoes de linha\",\n \"botoes na linha\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"actions\": {\n \"row\": {\n \"enabled\": true,\n \"sticky\": \"end\"\n }\n }\n }\n },\n {\n \"id\": \"ADD_ROW_ACTION_ICON\",\n \"intentExamples\": [\n \"add row action\",\n \"botao de acao\",\n \"adicionar botao\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"actions\": {\n \"row\": {\n \"actions\": [\n {\n \"id\": \"{{id}}\",\n \"icon\": \"{{icon}}\",\n \"label\": \"{{label}}\",\n \"color\": \"{{params.color}}\",\n \"overflow\": false\n }\n ]\n }\n }\n }\n },\n {\n \"id\": \"ADD_ROW_ACTION_MENU\",\n \"intentExamples\": [\n \"add row menu\",\n \"acao no menu\",\n \"item de menu\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"actions\": {\n \"row\": {\n \"actions\": [\n {\n \"id\": \"{{id}}\",\n \"icon\": \"{{icon}}\",\n \"label\": \"{{label}}\",\n \"overflow\": true\n }\n ]\n }\n }\n }\n },\n {\n \"id\": \"ADD_ROW_STYLE_BG\",\n \"intentExamples\": [\n \"row background condition\",\n \"pintar linha se\",\n \"cor de fundo condicional\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"rowConditionalStyles\": [\n {\n \"condition\": \"{{condition}}\",\n \"style\": {\n \"background-color\": \"{{value}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"ADD_ROW_STYLE_COLOR\",\n \"intentExamples\": [\n \"row text color condition\",\n \"cor texto linha se\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"rowConditionalStyles\": [\n {\n \"condition\": \"{{condition}}\",\n \"style\": {\n \"color\": \"{{value}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"ADD_CONDITIONAL_RENDERER\",\n \"intentExamples\": [\n \"conditional renderer\",\n \"renderer condicional\",\n \"badge condicional\",\n \"chip condicional\",\n \"badge se\",\n \"chip se\",\n \"conditional badge\",\n \"conditional chip\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": true,\n \"params\": [\n {\n \"name\": \"condition\",\n \"type\": \"STRING\",\n \"description\": \"Expressao condicional (ex: recompensa > 500000)\"\n },\n {\n \"name\": \"renderer\",\n \"type\": \"STRING\",\n \"description\": \"Renderer completo com type e config (ex: { type: \\\"badge\\\", badge: { textField: \\\"recompensa\\\", color: \\\"#ff69b4\\\", variant: \\\"filled\\\" } })\"\n }\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"conditionalRenderers\": [\n {\n \"condition\": \"{{params.condition}}\",\n \"renderer\": \"{{params.renderer}}\"\n }\n ]\n }\n ]\n }\n },\n {\n \"id\": \"ADD_CONDITIONAL_ICON\",\n \"intentExamples\": [\n \"conditional icon\",\n \"icone condicional\",\n \"icone se\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"conditionalRenderers\": [\n {\n \"condition\": \"{{condition}}\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"{{value}}\",\n \"color\": \"{{params.color}}\"\n }\n }\n }\n ]\n }\n ]\n }\n }\n ],\n \"fieldResolvers\": {\n \"columns[].field\": [\n \"field\",\n \"header\"\n ],\n \"actions.row.actions[].id\": [\n \"id\",\n \"label\"\n ],\n \"rowConditionalStyles[].condition\": [\n \"condition\"\n ]\n },\n \"hints\": [\n \"Use semantic patches with columns[] and field, not JSON Patch or column indexes.\",\n \"Set columns[].type before choosing columns[].format presets to avoid mismatched formatting.\",\n \"Renderer config overrides format/valueMapping; avoid mixing unless required.\",\n \"Use ADD_CONDITIONAL_RENDERER with renderer.type + renderer.<type> config for conditional badges/chips.\",\n \"When the table already shows a status/boolean column as valueMapping or chip/badge and the user refines colors, variants, icons, animation or tooltip, preserve the target column and create conditionalRenderers per semantic value instead of repeating the same valueMapping.\",\n \"For boolean chips/badges, model true/false branches explicitly: condition {\\\"==\\\":[{\\\"var\\\":\\\"<field>\\\"},true]} for the positive label and {\\\"==\\\":[{\\\"var\\\":\\\"<field>\\\"},false]} for the negative label; use renderer.type \\\"chip\\\" or \\\"badge\\\" with text, color and variant.\",\n \"DOC: Widget purpose: data table with sorting, filtering, pagination, and actions.\",\n \"DOC: Host inputs: tableId (required), resourcePath (optional), config (optional).\",\n \"DOC: config defaults to createDefaultTableConfig(); columns may start empty.\",\n \"DOC: behavior.expansion.detail é schema-driven; altere source.mode (inline/resource/resourcePath), não use detail.type.\",\n \"DOC: Para detail.source.mode=resource, sempre informar resource.kind + resource.id + resource.version.\",\n \"DOC: Para detail.source.mode=resourcePath, sempre informar resourcePath.paramsMap + resourceAllowList[]; URL absoluta/scheme (http:, https:, data:, javascript:) é bloqueada e o runtime aplica fail-closed.\",\n \"DOC: collapseOn ativo no runtime P0A: sortChange, pageChange, filterChange e dataRefresh.\",\n \"DOC: When resourcePath is available, the table can load schema and data; ask the user to pick an API resource when missing.\",\n \"DOC: resourcePath must be the base resource path only (no /filter, /all, /{id}). CRUD endpoints are handled internally.\",\n \"DOC: columns[].computed.expression agora usa AST Json Logic canônico para derived values; não use fórmulas string.\",\n \"DOC: Operadores/funções canônicos úteis: +, -, *, /, %, min, max, cat, substr, round, ceil, floor, abs, coalesce, now, date, yearsSince, monthsSince, daysSince, len, toNumber e stringify.\",\n \"DOC: Examples: {\\\"yearsSince\\\":[{\\\"var\\\":\\\"dataNascimento\\\"}]} → idade; {\\\"yearsSince\\\":[{\\\"var\\\":\\\"dataAdmissao\\\"}]} → tempoEmpresa (anos); {\\\"monthsSince\\\":[{\\\"var\\\":\\\"dataAdmissao\\\"}]} → tempoEmpresa (meses); {\\\"daysSince\\\":[{\\\"var\\\":\\\"dataCadastro\\\"}]} → dias desde cadastro; {\\\"+\\\":[{\\\"coalesce\\\":[{\\\"var\\\":\\\"bonus\\\"},0]},{\\\"var\\\":\\\"salario\\\"}]} → total com fallback.\",\n \"### DATA ARCHETYPE TO VISUAL STRATEGY\",\n \"Apply these patterns based on the SEMANTIC NATURE of the column data:\",\n \"- STATUS/STATE (e.g., phase, stage, is_active, priority):\",\n \" -> Use \\\"badge\\\" or \\\"chip\\\" with conditional colors (success/warn/error/info).\",\n \" -> Use \\\"valueMapping\\\" to convert codes (1, \\\"A\\\") to labels (\\\"Active\\\", \\\"Approved\\\").\",\n \"- METRICS/KPI (e.g., progress, score, rating, completion):\",\n \" -> Use \\\"progress\\\" (bars), \\\"rating\\\" (stars), or \\\"percentage\\\" type.\",\n \" -> Align \\\"right\\\".\",\n \"- FINANCIAL (e.g., price, cost, balance, total):\",\n \" -> Use type \\\"currency\\\" and format \\\"BRL|symbol|2\\\" (or per locale).\",\n \" -> Align \\\"right\\\". Style: \\\"font-variant-numeric: tabular-nums\\\".\",\n \"- ENTITIES (e.g., user, product, thumb):\",\n \" -> Use \\\"avatar\\\" (for people/users) or \\\"image\\\" (for products/files).\",\n \" -> Combine with \\\"link\\\" or \\\"compose\\\" for title+subtitle layouts.\",\n \"- INTERACTIVE/NAV (e.g., details, website, download):\",\n \" -> Use \\\"button\\\" (actions), \\\"link\\\" (navigation) or \\\"icon\\\" (simple triggers).\",\n \"- BOOLEAN (e.g., has_tax, is_valid):\",\n \" -> Use \\\"toggle\\\" (if editable) or \\\"icon\\\" (check/close) or \\\"badge\\\" (Yes/No).\",\n \"- IDENTIFIERS (e.g., uuid, sku, order_id, cpf):\",\n \" -> Style: \\\"font-family: monospace\\\".\",\n \" -> CRITICAL: Do NOT use numeric formatting (like \\\"1.0-0\\\") for IDs. Treat them as strings.\",\n \" -> Consider adding a \\\"copy\\\" context action.\",\n \"- GROUPING (e.g., category, department):\",\n \" -> If the user asks to \\\"group by X\\\", use the ENABLE_GROUPING action with target=X.\",\n \"- TEMPORAL (e.g., created_at, deadline):\",\n \" -> Use type \\\"date\\\". Prefer \\\"short\\\" or \\\"shortDate\\\" for compact views.\",\n \" -> Use standard format (dd/MM/yyyy) for strict records.\"\n ]\n },\n \"aiConcepts\": {\n \"authoring-envelope\": {\n \"id\": \"authoring-envelope\",\n \"title\": \"Envelope de Autoria\",\n \"description\": \"Contrato primário de autoria usado por editor visual, editor JSON, playground e IA.\",\n \"rules\": [\n \"O JSON primário de autoria é TableAuthoringDocument com kind \\\"praxis.table.editor\\\".\",\n \"bindings.resourcePath e bindings.horizontalScroll não devem ser embutidos diretamente no TableConfig.\",\n \"meta.idField pertence ao TableConfig canônico e deve ser editado como metadado da configuração.\",\n \"TableConfig representa a projeção canônica de runtime, não o envelope completo de autoria.\",\n \"meta.schemaId e meta.serverHash são snapshots persistidos de reconciliação, não fonte primária do runtime.\"\n ],\n \"examples\": [\n \"{ kind: \\\"praxis.table.editor\\\", version: 1, config: { meta: { idField: \\\"employeeId\\\" }, columns: [{ field: \\\"name\\\", header: \\\"Nome\\\" }] }, bindings: { resourcePath: \\\"employees\\\", horizontalScroll: \\\"auto\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ columns: [{ field: \\\"name\\\", header: \\\"Nome\\\" }], __resourcePath__: \\\"employees\\\" }\",\n \"{ config: { columns: [] }, bindings: { idField: \\\"employeeId\\\" } }\"\n ]\n },\n \"meta-identity\": {\n \"id\": \"meta-identity\",\n \"title\": \"Identidade e Metadados\",\n \"description\": \"Regras para meta.* persistível (nome, descrição, tags, schemaId).\",\n \"rules\": [\n \"meta.idField deve apontar para o campo único das linhas quando configurado.\",\n \"Alterar meta.idField exige confirmação pois impacta seleção e ações por linha.\",\n \"meta.tags deve ser uma lista de strings curtas e sem espaços extras.\",\n \"meta.schemaId é referência de origem; use apenas valores conhecidos.\"\n ],\n \"examples\": [\n \"meta.name = \\\"Funcionários ativos\\\"\",\n \"meta.description = \\\"Visão de colaboradores ativos com filtros por status.\\\"\",\n \"meta.tags = [\\\"financeiro\\\", \\\"demo\\\"]\",\n \"meta.idField = \\\"employeeId\\\"\"\n ],\n \"antiPatterns\": [\n \"meta.idField = \\\"id\\\" (sem validar se existe no dataset)\",\n \"meta.tags = \\\"financeiro\\\"\"\n ]\n },\n \"columns-core\": {\n \"id\": \"columns-core\",\n \"title\": \"Colunas Básicas\",\n \"description\": \"Definições essenciais de colunas (field, header, visible, order, width).\",\n \"rules\": [\n \"columns[].field deve ser único e existir no dataset.\",\n \"Não reutilize o mesmo field em duas colunas.\",\n \"Use order para posicionar colunas; menor valor = mais à esquerda.\",\n \"width aceita valores CSS (ex.: \\\"120px\\\", \\\"10%\\\", \\\"auto\\\").\"\n ],\n \"examples\": [\n \"{ field: \\\"status\\\", header: \\\"Status\\\", visible: true, order: 2 }\",\n \"{ field: \\\"createdAt\\\", header: \\\"Criado em\\\", width: \\\"140px\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ field: \\\"status\\\", header: \\\"Status\\\" } e outra coluna com field \\\"status\\\"\",\n \"{ field: \\\"price\\\", width: 120 }\"\n ]\n },\n \"columns-behavior\": {\n \"id\": \"columns-behavior\",\n \"title\": \"Comportamento de Coluna\",\n \"description\": \"Configura sortable, filterable, resizable, align e sticky.\",\n \"rules\": [\n \"sortable e filterable devem refletir o comportamento real do backend.\",\n \"resizable depende de behavior.resizing.enabled quando disponível.\",\n \"align deve ser left/center/right.\",\n \"sticky aceita true, \\\"start\\\" ou \\\"end\\\".\"\n ],\n \"examples\": [\n \"{ field: \\\"amount\\\", sortable: true, filterable: true, align: \\\"right\\\" }\",\n \"{ field: \\\"id\\\", sticky: \\\"start\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ align: \\\"middle\\\" }\",\n \"{ sticky: \\\"left\\\" }\"\n ]\n },\n \"columns-styles\": {\n \"id\": \"columns-styles\",\n \"title\": \"Estilos de Coluna\",\n \"description\": \"CSS inline e classes para células e cabeçalho.\",\n \"rules\": [\n \"cssClass/headerCssClass devem ser nomes de classe válidos.\",\n \"style/headerStyle são CSS inline curtos e seguros.\",\n \"Evite !important e regras muito longas.\"\n ],\n \"examples\": [\n \"{ field: \\\"status\\\", cssClass: \\\"col-status\\\" }\",\n \"{ field: \\\"name\\\", headerStyle: \\\"text-transform: uppercase;\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ headerCssClass: \\\"header title\\\" }\",\n \"{ style: \\\"background: url(javascript:...)\\\" }\"\n ]\n },\n \"columns-types\": {\n \"id\": \"columns-types\",\n \"title\": \"Tipos e Formatos de Coluna\",\n \"description\": \"Regras de type/format por tipo de dado.\",\n \"rules\": [\n \"type deve ser um dos tipos suportados (string/number/date/boolean/currency/percentage/custom).\",\n \"format deve ser compatível com type e presets do sistema.\",\n \"Para currency, use formato \\\"BRL|symbol|2\\\" ou semelhante.\",\n \"Para date, use DatePipe ou presets existentes.\"\n ],\n \"examples\": [\n \"{ field: \\\"createdAt\\\", type: \\\"date\\\", format: \\\"dd/MM/yyyy\\\" }\",\n \"{ field: \\\"amount\\\", type: \\\"currency\\\", format: \\\"BRL|symbol|2\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ type: \\\"money\\\" }\",\n \"{ format: \\\"money()\\\" }\"\n ]\n },\n \"columns-formatting\": {\n \"id\": \"columns-formatting\",\n \"title\": \"Mapeamento e Formatação Avançada\",\n \"description\": \"valueMapping, format e estilos adicionais.\",\n \"rules\": [\n \"valueMapping deve usar chaves de string para mapear valores crus.\",\n \"Use format presets quando disponíveis; evite formatos inventados.\"\n ],\n \"syntax\": \"format: \\\"BRL|symbol|2\\\"\",\n \"examples\": [\n \"{ field: \\\"active\\\", valueMapping: { \\\"1\\\": \\\"Ativo\\\", \\\"0\\\": \\\"Inativo\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ valueMapping: { 1: \\\"Ativo\\\" } }\"\n ]\n },\n \"columns-internals\": {\n \"id\": \"columns-internals\",\n \"title\": \"Campos Internos de Coluna\",\n \"description\": \"Campos reservados usados por fluxos internos e importação.\",\n \"rules\": [\n \"Evite setar _styleRulesState, _generatedValueGetter, _originalApiType e _isApiField manualmente.\",\n \"Use apenas em fluxos de migração ou importação controlada.\"\n ],\n \"examples\": [\n \"(_isApiField true só quando coluna veio da API)\"\n ],\n \"antiPatterns\": [\n \"{ _generatedValueGetter: \\\"row => row.value\\\" }\"\n ]\n },\n \"computed-logic\": {\n \"id\": \"computed-logic\",\n \"title\": \"Lógica de Colunas Calculadas\",\n \"description\": \"Regras matemáticas e de sintaxe para colunas computed.\",\n \"rules\": [\n \"Use AST Json Logic canônico em columns[].computed.expression.\",\n \"Acesse campos da linha com {\\\"var\\\":\\\"field\\\"} e dependências anteriores com {\\\"var\\\":\\\"computed.total\\\"}.\",\n \"Operadores/funções disponíveis incluem +, -, *, /, %, min, max, cat, substr, round, floor, ceil, abs, coalesce, now, date, yearsSince, monthsSince, daysSince, len, toNumber e stringify.\",\n \"NÃO use prefixos como \\\"row.\\\", \\\"this.\\\" ou \\\"item.\\\", nem strings DSL.\",\n \"O resultado deve ser compatível com o outputType (number, currency, percentage, string).\"\n ],\n \"syntax\": \"{\\\"*\\\":[{\\\"var\\\":\\\"fieldA\\\"},{\\\"var\\\":\\\"fieldB\\\"}]}\",\n \"examples\": [\n \"{\\\"*\\\":[{\\\"var\\\":\\\"quantity\\\"},{\\\"var\\\":\\\"unitPrice\\\"}]}\",\n \"{\\\"/\\\":[{\\\"-\\\":[{\\\"var\\\":\\\"total\\\"},{\\\"var\\\":\\\"cost\\\"}]},{\\\"var\\\":\\\"total\\\"}]}\",\n \"{\\\"min\\\":[{\\\"var\\\":\\\"stock\\\"},100]}\",\n \"{\\\"abs\\\":[{\\\"var\\\":\\\"balance\\\"}]}\"\n ],\n \"antiPatterns\": [\n \"\\\"quantity * price\\\"\",\n \"row.quantity * row.price\",\n \"Math.max(price, 0)\",\n \"return quantity * price;\"\n ]\n },\n \"renderers-core\": {\n \"id\": \"renderers-core\",\n \"title\": \"Renderers de Coluna\",\n \"description\": \"Regras para columns[].renderer.* e tipos suportados.\",\n \"rules\": [\n \"Defina columns[].renderer.type antes de configurar detalhes.\",\n \"Para renderers interativos (button, toggle, menu), configure action.\",\n \"renderer.html deve usar template com placeholders [[field]].\",\n \"renderer.link deve preferir hrefField/textField quando o valor vem do dataset.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"badge\\\", badge: { textField: \\\"status\\\", color: \\\"success\\\" } } }\",\n \"{ renderer: { type: \\\"button\\\", button: { label: \\\"Editar\\\", action: { id: \\\"edit-row\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ renderer: { badge: { text: \\\"Ativo\\\" } } }\",\n \"{ renderer: { type: \\\"button\\\", button: { label: \\\"Editar\\\" } } }\"\n ]\n },\n \"renderer-icon\": {\n \"id\": \"renderer-icon\",\n \"title\": \"Renderer Icon\",\n \"description\": \"Configuração de renderer.icon.*\",\n \"rules\": [\n \"Use icon.name para ícone fixo ou icon.nameField para dinâmico.\",\n \"icon.size é em px.\",\n \"ariaLabel deve ser descritivo.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"icon\\\", icon: { name: \\\"check_circle\\\", color: \\\"success\\\", size: 18 } } }\"\n ],\n \"antiPatterns\": [\n \"{ icon: { name: \\\"check\\\" } } sem renderer.type\"\n ]\n },\n \"renderer-image\": {\n \"id\": \"renderer-image\",\n \"title\": \"Renderer Image\",\n \"description\": \"Configuração de renderer.image.*\",\n \"rules\": [\n \"Use srcField quando a URL vem do dataset.\",\n \"Defina alt/altField para acessibilidade.\",\n \"width/height são em px.\",\n \"shape deve ser square/rounded/circle.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"image\\\", image: { srcField: \\\"avatarUrl\\\", shape: \\\"circle\\\", width: 32, height: 32 } } }\"\n ],\n \"antiPatterns\": [\n \"{ renderer: { type: \\\"image\\\", image: { src: \\\"\\\" } } }\"\n ]\n },\n \"renderer-badge\": {\n \"id\": \"renderer-badge\",\n \"title\": \"Renderer Badge\",\n \"description\": \"Configuração de renderer.badge.*\",\n \"rules\": [\n \"Badge requer text ou textField.\",\n \"variant deve ser filled/outlined/soft.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"badge\\\", badge: { textField: \\\"status\\\", variant: \\\"filled\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ badge: {} }\"\n ]\n },\n \"renderer-link\": {\n \"id\": \"renderer-link\",\n \"title\": \"Renderer Link\",\n \"description\": \"Configuração de renderer.link.*\",\n \"rules\": [\n \"Use hrefField quando URL vem do dataset.\",\n \"target deve ser _blank/_self/_parent/_top.\",\n \"rel deve ser usado com target _blank (ex.: noopener).\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"link\\\", link: { textField: \\\"name\\\", hrefField: \\\"profileUrl\\\", target: \\\"_blank\\\", rel: \\\"noopener\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ link: { href: \\\"javascript:alert(1)\\\" } }\"\n ]\n },\n \"renderer-button\": {\n \"id\": \"renderer-button\",\n \"title\": \"Renderer Button\",\n \"description\": \"Configuração de renderer.button.*\",\n \"rules\": [\n \"button.action.id é obrigatório para ações interativas.\",\n \"disabledCondition usa expressao condicional canonica em JSON Logic.\",\n \"variant deve ser filled/outlined/text.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"button\\\", button: { label: \\\"Editar\\\", action: { id: \\\"edit-row\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ button: { label: \\\"Editar\\\" } }\"\n ]\n },\n \"renderer-chip\": {\n \"id\": \"renderer-chip\",\n \"title\": \"Renderer Chip\",\n \"description\": \"Configuração de renderer.chip.*\",\n \"rules\": [\n \"Chip requer text ou textField.\",\n \"variant deve ser filled/outlined/soft.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"chip\\\", chip: { text: \\\"Ativo\\\", variant: \\\"filled\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ chip: { variant: \\\"ghost\\\" } }\"\n ]\n },\n \"renderer-progress\": {\n \"id\": \"renderer-progress\",\n \"title\": \"Renderer Progress\",\n \"description\": \"Configuração de renderer.progress.*\",\n \"rules\": [\n \"valueExpr deve retornar 0-100.\",\n \"showLabel controla exibição do valor.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"progress\\\", progress: { valueExpr: \\\"progress\\\", showLabel: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ progress: { valueExpr: \\\"progress/100\\\" } } sem garantir 0-100\"\n ]\n },\n \"renderer-avatar\": {\n \"id\": \"renderer-avatar\",\n \"title\": \"Renderer Avatar\",\n \"description\": \"Configuração de renderer.avatar.*\",\n \"rules\": [\n \"Use srcField para imagem dinâmica.\",\n \"initialsField deriva iniciais automaticamente a partir de um campo textual.\",\n \"initialsExpr é fallback quando não há imagem e deve retornar as iniciais prontas; não use JS arbitrário para split/map/trim.\",\n \"Use backgroundColor e textColor para colorir o círculo do avatar; para variar por linha, aplique esses campos em conditionalRenderers.\",\n \"shape deve ser circle/square/rounded.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"avatar\\\", avatar: { srcField: \\\"avatarUrl\\\", initialsField: \\\"name\\\" } } }\",\n \"{ renderer: { type: \\\"avatar\\\", avatar: { initialsExpr: \\\"initials\\\" } } }\",\n \"{ conditionalRenderers: [{ condition: { \\\">\\\": [{ \\\"var\\\": \\\"salary\\\" }, 30000] }, renderer: { type: \\\"avatar\\\", avatar: { initialsField: \\\"name\\\", backgroundColor: \\\"#D32F2F\\\", textColor: \\\"#FFFFFF\\\" } } }] }\"\n ],\n \"antiPatterns\": [\n \"{ avatar: { initialsExpr: \\\"name\\\" } }\",\n \"{ avatar: { shape: \\\"round\\\" } }\"\n ]\n },\n \"renderer-toggle\": {\n \"id\": \"renderer-toggle\",\n \"title\": \"Renderer Toggle\",\n \"description\": \"Configuração de renderer.toggle.*\",\n \"rules\": [\n \"toggle.action.id é obrigatório para persistir mudança.\",\n \"disabledCondition usa expressao condicional canonica em JSON Logic.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"toggle\\\", toggle: { stateExpr: \\\"active\\\", action: { id: \\\"toggle-active\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ toggle: { stateExpr: \\\"active\\\" } } sem action\"\n ]\n },\n \"renderer-menu\": {\n \"id\": \"renderer-menu\",\n \"title\": \"Renderer Menu\",\n \"description\": \"Configuração de renderer.menu.*\",\n \"rules\": [\n \"itemsExpr deve produzir lista de ações válidas.\",\n \"ariaLabel deve descrever o menu.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"menu\\\", menu: { itemsExpr: \\\"row.menuItems\\\", ariaLabel: \\\"Ações\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ menu: { itemsExpr: \\\"row => row.items\\\" } }\"\n ]\n },\n \"renderer-rating\": {\n \"id\": \"renderer-rating\",\n \"title\": \"Renderer Rating\",\n \"description\": \"Configuração de renderer.rating.*\",\n \"rules\": [\n \"valueExpr deve retornar numero dentro do max.\",\n \"O renderer é somente leitura por padrão; não use readonly no schema funcional.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"rating\\\", rating: { valueExpr: \\\"score\\\", max: 5, ariaLabel: \\\"Nota {value} de {max}\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ rating: { max: 0 } }\"\n ]\n },\n \"renderer-html\": {\n \"id\": \"renderer-html\",\n \"title\": \"Renderer HTML\",\n \"description\": \"Configuração de renderer.html.*\",\n \"rules\": [\n \"template deve usar placeholders [[field]].\",\n \"sanitize deve ser strict ou basic, preferindo strict.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"html\\\", html: { template: \\\"<strong>[[name]]</strong>\\\", sanitize: \\\"strict\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ html: { template: \\\"<script>alert(1)</script>\\\" } }\"\n ]\n },\n \"renderer-compose\": {\n \"id\": \"renderer-compose\",\n \"title\": \"Renderer Compose\",\n \"description\": \"Composição de múltiplos renderers na mesma célula.\",\n \"rules\": [\n \"columns[].renderer.compose.items deve ser uma lista de renderers válidos.\",\n \"Defina layout (direction, gap, align) para evitar overflow.\",\n \"Evite mixar elementos interativos sem espaço suficiente.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"compose\\\", compose: { items: [{ type: \\\"icon\\\", icon: { name: \\\"check\\\" } }, { type: \\\"text\\\", textField: \\\"status\\\" }], layout: { direction: \\\"row\\\", gap: 8 } } } }\"\n ],\n \"antiPatterns\": [\n \"{ renderer: { type: \\\"compose\\\", compose: { items: [] } } }\"\n ]\n },\n \"conditional-json-logic\": {\n \"id\": \"conditional-json-logic\",\n \"title\": \"Expressoes Condicionais\",\n \"description\": \"Sintaxe de condições para conditionalRenderers e filtros de estilo.\",\n \"rules\": [\n \"Use nomes de fields diretamente (ex: status == \\\"Ativo\\\").\",\n \"Operadores suportados: ==, !=, >, <, >=, <=, and, or, not.\",\n \"Funções comuns: contains(field, \\\"texto\\\").\",\n \"Pode referenciar computed.<field> quando existir.\",\n \"NÃO use JavaScript (row., this., Math., ternário, eval).\"\n ],\n \"syntax\": \"{\\\"and\\\":[{\\\"contains\\\":[{\\\"var\\\":\\\"status\\\"},\\\"Ativo\\\"]},{\\\">=\\\":[{\\\"var\\\":\\\"price\\\"},100]}]}\",\n \"examples\": [\n \"{\\\"===\\\":[{\\\"var\\\":\\\"status\\\"},\\\"Ativo\\\"]}\",\n \"contains(name, \\\"Silva\\\")\",\n \"{\\\">\\\":[{\\\"var\\\":\\\"computed.total\\\"},1000]}\"\n ],\n \"antiPatterns\": [\n \"row.status == \\\"Ativo\\\"\",\n \"Math.max(price, 0) > 10\",\n \"status ? \\\"A\\\" : \\\"B\\\"\"\n ]\n },\n \"conditional-renderers\": {\n \"id\": \"conditional-renderers\",\n \"title\": \"Renderers Condicionais\",\n \"description\": \"Configura conditionalRenderers por coluna.\",\n \"rules\": [\n \"condition usa expressao condicional canonica em JSON Logic.\",\n \"renderer interno segue as mesmas regras dos renderers padrão.\",\n \"Para animar apenas uma célula/coluna quando a condição for verdadeira, use columns[].conditionalRenderers[].animation.\",\n \"enabled controla ativacao da regra.\"\n ],\n \"examples\": [\n \"{ conditionalRenderers: [{ condition: { \\\"===\\\": [{ \\\"var\\\": \\\"status\\\" }, \\\"Ativo\\\"] }, renderer: { type: \\\"badge\\\", badge: { text: \\\"Ativo\\\" } } }] }\",\n \"{ conditionalRenderers: [{ condition: { \\\">\\\": [{ \\\"var\\\": \\\"salario\\\" }, 30000] }, animation: { preset: \\\"pulse-soft\\\", trigger: \\\"onAppear\\\", intensity: \\\"subtle\\\", repeat: \\\"once\\\" } }] }\"\n ],\n \"antiPatterns\": [\n \"{ conditionalRenderers: [{ condition: \\\"row.status == \\\"Ativo\\\"\\\" }] }\",\n \"{ conditionalStyles: [{ style: { animation: \\\"pulse 1s infinite\\\" } }] }\"\n ]\n },\n \"conditional-animations\": {\n \"id\": \"conditional-animations\",\n \"title\": \"Animações Condicionais\",\n \"description\": \"Animações condicionais de linha e célula na tabela.\",\n \"rules\": [\n \"Use rowConditionalRenderers[].animation para animar a linha inteira.\",\n \"Use columns[].conditionalRenderers[].animation para animar somente o conteúdo de uma célula/coluna.\",\n \"Prefira preset semântico antes de type bruto: info-soft, success-confirm, warning-attention, critical-alert, audit-review, sync-pending, pulse-soft, fade-soft, sla-warning, sla-breach, risk-elevated, risk-critical, audit-warning ou sync-warning.\",\n \"condition sempre usa JSON Logic; não use JS, row.status ou strings de expressão.\",\n \"appearance.animations.enabled=false desativa animações; appearance.animations.specific.row/cell=false desativa o escopo correspondente.\",\n \"onConditionEnter, onConditionExit e onDataRefresh são aceitos no contrato de autoria e normalizados para gatilho de mudança no runtime.\"\n ],\n \"examples\": [\n \"{ rowConditionalRenderers: [{ id: \\\"salary-high-pulse\\\", condition: { \\\">\\\": [{ \\\"var\\\": \\\"salario\\\" }, 30000] }, animation: { preset: \\\"pulse-soft\\\", trigger: \\\"onAppear\\\", intensity: \\\"subtle\\\", repeat: \\\"once\\\", durationMs: 1200 }, enabled: true }] }\",\n \"{ columns: [{ field: \\\"status\\\", conditionalRenderers: [{ id: \\\"status-critical-alert\\\", condition: { \\\"===\\\": [{ \\\"var\\\": \\\"status\\\" }, \\\"Critico\\\"] }, animation: { preset: \\\"critical-alert\\\", trigger: \\\"onChange\\\", repeat: \\\"loop\\\", intensity: \\\"strong\\\" }, enabled: true }] }] }\"\n ],\n \"antiPatterns\": [\n \"{ rowConditionalStyles: [{ style: { animation: \\\"pulse 1s infinite\\\" } }] }\",\n \"{ rowConditionalRenderers: [{ condition: \\\"row.salario > 30000\\\", animation: { name: \\\"pulse\\\" } }] }\",\n \"{ columns: [{ conditionalStyles: [{ condition: { \\\">\\\": [{ \\\"var\\\": \\\"salario\\\" }, 30000] }, style: { animationName: \\\"pulse\\\" } }] }] }\"\n ]\n },\n \"conditional-styles\": {\n \"id\": \"conditional-styles\",\n \"title\": \"Estilos Condicionais por Coluna\",\n \"description\": \"Configura conditionalStyles.*\",\n \"rules\": [\n \"condition usa expressao condicional canonica em JSON Logic.\",\n \"cssClass define classe e style aplica inline.\",\n \"description deve ser texto curto.\"\n ],\n \"examples\": [\n \"{ conditionalStyles: [{ condition: { \\\"<\\\": [{ \\\"var\\\": \\\"amount\\\" }, 0] }, cssClass: \\\"col-negative\\\" }] }\"\n ],\n \"antiPatterns\": [\n \"{ conditionalStyles: [{ condition: \\\"row.amount < 0\\\" }] }\"\n ]\n },\n \"row-conditional-styles\": {\n \"id\": \"row-conditional-styles\",\n \"title\": \"Estilos Condicionais de Linha\",\n \"description\": \"Configura rowConditionalStyles.*\",\n \"rules\": [\n \"condition usa expressao condicional canonica em JSON Logic.\",\n \"cssClass define classe e style aplica inline.\",\n \"description deve ser texto curto.\"\n ],\n \"examples\": [\n \"{ rowConditionalStyles: [{ condition: { \\\"<\\\": [{ \\\"var\\\": \\\"amount\\\" }, 0] }, cssClass: \\\"row-negative\\\" }] }\"\n ],\n \"antiPatterns\": [\n \"{ rowConditionalStyles: [{ condition: \\\"row.amount < 0\\\" }] }\"\n ]\n },\n \"behavior-pagination\": {\n \"id\": \"behavior-pagination\",\n \"title\": \"Paginação (Behavior)\",\n \"description\": \"Configuração de behavior.pagination.*\",\n \"rules\": [\n \"strategy deve ser client ou server.\",\n \"pageSizeOptions deve incluir pageSize.\",\n \"advanced.maxPageSize limita pageSize customizado.\"\n ],\n \"examples\": [\n \"{ behavior: { pagination: { enabled: true, strategy: \\\"server\\\", pageSize: 25, pageSizeOptions: [10, 25, 50] } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { pagination: { strategy: \\\"server\\\" } } } sem totalItems\"\n ]\n },\n \"behavior-sorting\": {\n \"id\": \"behavior-sorting\",\n \"title\": \"Ordenação (Behavior)\",\n \"description\": \"Configuração de behavior.sorting.*\",\n \"rules\": [\n \"defaultSort pode ser objeto unico ou lista.\",\n \"multiSort true permite multiplos campos.\",\n \"allowClearSort habilita terceiro clique.\"\n ],\n \"examples\": [\n \"{ behavior: { sorting: { enabled: true, strategy: \\\"client\\\", defaultSort: { column: \\\"createdAt\\\", direction: \\\"desc\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { sorting: { defaultSort: { column: \\\"\\\", direction: \\\"asc\\\" } } } }\"\n ]\n },\n \"behavior-filtering\": {\n \"id\": \"behavior-filtering\",\n \"title\": \"Filtros (Behavior)\",\n \"description\": \"Configuração de behavior.filtering.*\",\n \"rules\": [\n \"columnFilters.position deve ser header/subheader/sidebar.\",\n \"advancedFilters.settings controla o painel avançado.\",\n \"strategy deve refletir suporte do backend.\"\n ],\n \"examples\": [\n \"{ behavior: { filtering: { enabled: true, columnFilters: { enabled: true, position: \\\"header\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { filtering: { enabled: true } } } sem strategy\"\n ]\n },\n \"behavior-selection\": {\n \"id\": \"behavior-selection\",\n \"title\": \"Selecao (Behavior)\",\n \"description\": \"Configuração de behavior.selection.*\",\n \"rules\": [\n \"type define single/multiple e mode define checkbox/row/both.\",\n \"persistSelection mantem selecao entre paginas.\",\n \"visual.highlightSelected define destaque da linha.\"\n ],\n \"examples\": [\n \"{ behavior: { selection: { enabled: true, type: \\\"multiple\\\", mode: \\\"checkbox\\\", persistSelection: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { selection: { type: \\\"multi\\\" } } }\"\n ]\n },\n \"behavior-interaction\": {\n \"id\": \"behavior-interaction\",\n \"title\": \"Interacao (Behavior)\",\n \"description\": \"Configuração de behavior.interaction.*\",\n \"rules\": [\n \"rowClick/rowDoubleClick.action devem ser ids conhecidos.\",\n \"customAction deve referenciar handler registrado.\",\n \"keyboard.customShortcuts mapeia teclas para ações.\"\n ],\n \"examples\": [\n \"{ behavior: { interaction: { rowClick: { enabled: true, action: \\\"view\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { interaction: { rowClick: { customAction: \\\"row => fn(row)\\\" } } } }\"\n ]\n },\n \"behavior-loading\": {\n \"id\": \"behavior-loading\",\n \"title\": \"Loading (Behavior)\",\n \"description\": \"Configuração de behavior.loading.*\",\n \"rules\": [\n \"type deve ser spinner/skeleton/progress/custom.\",\n \"delay evita flicker.\",\n \"skeleton.rows deve ser numero positivo.\"\n ],\n \"examples\": [\n \"{ behavior: { loading: { type: \\\"skeleton\\\", position: \\\"replace\\\", delay: 200, skeleton: { rows: 6, animated: true } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { loading: { delay: 0 } } }\"\n ]\n },\n \"behavior-empty-state\": {\n \"id\": \"behavior-empty-state\",\n \"title\": \"Estado Vazio (Behavior)\",\n \"description\": \"Configuração de behavior.emptyState.*\",\n \"rules\": [\n \"message deve ser texto curto.\",\n \"actions[].action deve ser string de acao.\",\n \"contexts permite variações por cenário.\"\n ],\n \"examples\": [\n \"{ behavior: { emptyState: { message: \\\"Sem dados\\\", actions: [{ label: \\\"Adicionar\\\", action: \\\"create\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { emptyState: { message: \\\"\\\" } } }\"\n ]\n },\n \"behavior-virtualization\": {\n \"id\": \"behavior-virtualization\",\n \"title\": \"Virtualizacao (Behavior)\",\n \"description\": \"Configuração de behavior.virtualization.*\",\n \"rules\": [\n \"itemHeight deve ser informado quando enabled.\",\n \"strategy deve ser fixed ou dynamic.\"\n ],\n \"examples\": [\n \"{ behavior: { virtualization: { enabled: true, itemHeight: 48, strategy: \\\"fixed\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { virtualization: { enabled: true } } }\"\n ]\n },\n \"behavior-resizing\": {\n \"id\": \"behavior-resizing\",\n \"title\": \"Resize (Behavior)\",\n \"description\": \"Configuração de behavior.resizing.*\",\n \"rules\": [\n \"minColumnWidth deve ser positivo.\",\n \"persistWidths salva ajustes do usuario.\"\n ],\n \"examples\": [\n \"{ behavior: { resizing: { enabled: true, minColumnWidth: 80, autoFit: false, persistWidths: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { resizing: { minColumnWidth: 0 } } }\"\n ]\n },\n \"behavior-dragging\": {\n \"id\": \"behavior-dragging\",\n \"title\": \"Drag & Drop (Behavior)\",\n \"description\": \"Configuração de behavior.dragging.*\",\n \"rules\": [\n \"columns/rows controla reordenacao.\",\n \"columnDropZones deve listar zonas validas.\"\n ],\n \"examples\": [\n \"{ behavior: { dragging: { columns: true, rows: false, showDragIndicator: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { dragging: { columns: \\\"yes\\\" } } }\"\n ]\n },\n \"behavior-expansion\": {\n \"id\": \"behavior-expansion\",\n \"title\": \"Expansion (Behavior)\",\n \"description\": \"Configuração de behavior.expansion.* para detail rows schema-driven.\",\n \"rules\": [\n \"detail é sempre schema-driven; varie source.mode (inline/resource/resourcePath), não detail.type.\",\n \"detail.schemaContract.kind/version deve ser informado para validação e migração.\",\n \"Em virtualização, prefira detail.height.mode=fixed com virtualization.policy=fixed-height-only.\",\n \"Use eventExposureDefault hashed/redacted por padrão em ambiente corporativo.\"\n ],\n \"examples\": [\n \"{ behavior: { expansion: { enabled: true, state: { mode: \\\"controlled\\\" }, detail: { schemaContract: { kind: \\\"praxis.detail.schema\\\", version: \\\"1.0.0\\\" }, source: { mode: \\\"resource\\\", resource: { kind: \\\"ui-composition\\\", id: \\\"customer-detail-v2\\\", version: \\\"2.1.0\\\" } }, rendering: { strategy: \\\"registry\\\", registryId: \\\"praxis.detail.default\\\" } } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { expansion: { detail: { type: \\\"template\\\", templateId: \\\"legacy-id\\\" } } } }\"\n ]\n },\n \"appearance\": {\n \"id\": \"appearance\",\n \"title\": \"Aparência e Layout\",\n \"description\": \"Densidade, bordas, cores, tipografia, espaçamento e responsividade.\",\n \"rules\": [\n \"appearance.density deve usar valores compact/comfortable/spacious.\",\n \"Cores devem usar tokens do tema ou hex válido.\",\n \"responsive.mobile.cardMode deve ser combinado com colunas prioritárias.\",\n \"Se animations.enabled for true, respeite reduceMotion.\",\n \"appearance.animations.specific.row e appearance.animations.specific.cell controlam animações condicionais por escopo.\"\n ],\n \"examples\": [\n \"{ appearance: { density: \\\"compact\\\", borders: { showRowBorders: true } } }\",\n \"{ appearance: { typography: { fontSize: \\\"14px\\\" }, spacing: { cellPadding: \\\"8px 16px\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ appearance: { density: \\\"tiny\\\" } }\"\n ]\n },\n \"appearance-details\": {\n \"id\": \"appearance-details\",\n \"title\": \"Detalhes de Aparência\",\n \"description\": \"Bordas, cores, tipografia, spacing, elevation e responsive autoAdjust.\",\n \"rules\": [\n \"borders.style deve ser solid/dashed/dotted quando aplicável.\",\n \"typography.headerFontWeight deve ser string numerica ou token.\",\n \"responsive.autoAdjust controla ajustes automáticos em telas menores.\"\n ],\n \"examples\": [\n \"{ appearance: { borders: { showOuterBorder: true, style: \\\"solid\\\" }, colors: { alternateRowBackground: \\\"#f7f9fc\\\" } } }\",\n \"{ appearance: { responsive: { mobile: { cardMode: true, priorityColumns: [\\\"name\\\", \\\"status\\\"] } } } }\"\n ],\n \"antiPatterns\": [\n \"{ appearance: { borders: { style: \\\"double\\\" } } }\"\n ]\n },\n \"toolbar\": {\n \"id\": \"toolbar\",\n \"title\": \"Toolbar\",\n \"description\": \"Configurações gerais da toolbar.\",\n \"rules\": [\n \"toolbar.visible controla exibição global da barra.\",\n \"Use toolbar.layout.alignment para ajustar distribuição.\",\n \"toolbar.filters.enabled depende de filtering.enabled.\",\n \"settingsMenu.enabled expõe opções de densidade e colunas.\"\n ],\n \"examples\": [\n \"{ toolbar: { visible: true, position: \\\"top\\\", title: \\\"Pedidos\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ toolbar: { position: \\\"left\\\" } }\"\n ]\n },\n \"toolbar-layout\": {\n \"id\": \"toolbar-layout\",\n \"title\": \"Layout da Toolbar\",\n \"description\": \"Configuração de toolbar.layout.*\",\n \"rules\": [\n \"alignment deve ser start/center/end/space-between.\",\n \"height e padding devem ser coerentes com o tema.\"\n ],\n \"examples\": [\n \"{ toolbar: { layout: { alignment: \\\"space-between\\\", height: 56, showSeparator: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ toolbar: { layout: { alignment: \\\"between\\\" } } }\"\n ]\n },\n \"toolbar-actions\": {\n \"id\": \"toolbar-actions\",\n \"title\": \"Ações da Toolbar\",\n \"description\": \"Definições de toolbar.actions[].\",\n \"rules\": [\n \"toolbar.actions[].id deve ser único.\",\n \"action deve ser string, não função JS.\",\n \"type deve ser button/icon/fab/menu.\",\n \"visibleWhen usa expressao condicional canonica em JSON Logic.\"\n ],\n \"examples\": [\n \"{ toolbar: { actions: [{ id: \\\"add\\\", label: \\\"Adicionar\\\", type: \\\"button\\\", action: \\\"create\\\", position: \\\"end\\\" }] } }\",\n \"{ toolbar: { actions: [{ id: \\\"more\\\", label: \\\"Mais\\\", type: \\\"menu\\\", action: \\\"noop\\\", children: [{ id: \\\"export\\\", label: \\\"Exportar\\\", type: \\\"button\\\", action: \\\"export\\\" }] }] } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: [{ action: \\\"() => doSomething()\\\" }] }\"\n ]\n },\n \"toolbar-filters\": {\n \"id\": \"toolbar-filters\",\n \"title\": \"Filtros da Toolbar\",\n \"description\": \"Configuração de toolbar.filters.* e quickFilters.\",\n \"rules\": [\n \"quickFilters[].filter deve seguir a estrutura do filtro suportado.\",\n \"enabled depende de behavior.filtering.enabled.\"\n ],\n \"examples\": [\n \"{ toolbar: { filters: { enabled: true, quickFilters: [{ id: \\\"active\\\", label: \\\"Ativos\\\", filter: { status: \\\"active\\\" } }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ toolbar: { filters: { quickFilters: [{ filter: \\\"status=active\\\" }] } } }\"\n ]\n },\n \"toolbar-settings\": {\n \"id\": \"toolbar-settings\",\n \"title\": \"Menu de Configuracoes\",\n \"description\": \"Configuração de toolbar.settingsMenu.*\",\n \"rules\": [\n \"settingsMenu.options[].type deve ser toggle/select/action.\",\n \"options deve listar valores validos quando type for select.\"\n ],\n \"examples\": [\n \"{ toolbar: { settingsMenu: { enabled: true, options: [{ id: \\\"density\\\", label: \\\"Densidade\\\", type: \\\"select\\\", options: [\\\"compact\\\", \\\"comfortable\\\", \\\"spacious\\\"] }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ settingsMenu: { options: [{ type: \\\"dropdown\\\" }] } }\"\n ]\n },\n \"row-actions\": {\n \"id\": \"row-actions\",\n \"title\": \"Acoes por Linha\",\n \"description\": \"Configuração de actions.row.*\",\n \"rules\": [\n \"enabled deve estar true para mostrar coluna de ações.\",\n \"display deve ser menu/buttons/icons.\",\n \"trigger deve ser hover/always/click.\",\n \"actions[].action deve ser string.\"\n ],\n \"examples\": [\n \"{ actions: { row: { enabled: true, display: \\\"menu\\\", trigger: \\\"hover\\\", actions: [{ id: \\\"edit\\\", label: \\\"Editar\\\", action: \\\"edit\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: { row: { display: \\\"dropdown\\\" } } }\"\n ]\n },\n \"row-actions-advanced\": {\n \"id\": \"row-actions-advanced\",\n \"title\": \"Acoes por Linha Avancadas\",\n \"description\": \"Header, overflow, menu e comportamento avançado.\",\n \"rules\": [\n \"header.align deve ser start/center/end.\",\n \"behavior.maxInline deve ser numero ou objeto de breakpoints.\",\n \"menuIcon e menuButtonColor devem ser valores suportados.\",\n \"discovery.enabled=false mantem apenas as actions configuradas e bloqueia a descoberta contextual por HATEOAS/capabilities.\"\n ],\n \"examples\": [\n \"{ actions: { row: { header: { label: \\\"Ações\\\", align: \\\"end\\\" }, maxVisibleActions: 3, behavior: { enabled: true, maxInline: 2 } } } }\",\n \"{ actions: { row: { enabled: true, display: \\\"buttons\\\", discovery: { enabled: false }, actions: [{ id: \\\"briefing\\\", label: \\\"Briefing\\\", action: \\\"inspect-surfaces\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ row: { header: { align: \\\"middle\\\" } } }\"\n ]\n },\n \"bulk-actions\": {\n \"id\": \"bulk-actions\",\n \"title\": \"Acoes em Lote\",\n \"description\": \"Configuração de actions.bulk.*\",\n \"rules\": [\n \"bulk.enabled exige selection.enabled.\",\n \"floating.position deve ser bottom-right/bottom-left/top-right/top-left.\",\n \"hideWhenEmpty evita botão flutuante quando nada selecionado.\"\n ],\n \"examples\": [\n \"{ actions: { bulk: { enabled: true, position: \\\"toolbar\\\", actions: [{ id: \\\"delete\\\", label: \\\"Excluir\\\", action: \\\"bulk-delete\\\", requiresConfirmation: true }], floating: { position: \\\"bottom-right\\\", hideWhenEmpty: true } } } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: { bulk: { enabled: true } } } sem selection.enabled\"\n ]\n },\n \"context-actions\": {\n \"id\": \"context-actions\",\n \"title\": \"Menu de Contexto\",\n \"description\": \"Configuração de actions.context.*\",\n \"rules\": [\n \"trigger deve ser right-click/long-press/both.\",\n \"actions[].action deve ser string.\"\n ],\n \"examples\": [\n \"{ actions: { context: { enabled: true, trigger: \\\"right-click\\\", actions: [{ id: \\\"copy\\\", label: \\\"Copiar\\\", action: \\\"copy\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ context: { trigger: \\\"click\\\" } }\"\n ]\n },\n \"actions-confirmations\": {\n \"id\": \"actions-confirmations\",\n \"title\": \"Confirmacoes de Acoes\",\n \"description\": \"Configuração de actions.confirmations.*\",\n \"rules\": [\n \"default deve conter title, message, confirmText e cancelText.\",\n \"specific usa actionId como chave.\"\n ],\n \"examples\": [\n \"{ actions: { confirmations: { default: { title: \\\"Confirmar\\\", message: \\\"Deseja continuar?\\\", confirmText: \\\"Sim\\\", cancelText: \\\"Nao\\\" }, specific: { \\\"delete\\\": { message: \\\"Excluir item?\\\" } } } } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: { confirmations: { default: { title: \\\"\\\" } } } }\"\n ]\n },\n \"export-general\": {\n \"id\": \"export-general\",\n \"title\": \"Exportacao Geral\",\n \"description\": \"Configuração de export.general.*\",\n \"rules\": [\n \"includeHeaders deve ser boolean.\",\n \"scope deve ser auto, selected, filtered, currentPage ou all.\",\n \"maxRows deve limitar volume.\",\n \"includeColumns deve ser all/visible ou lista de fields.\"\n ],\n \"examples\": [\n \"{ export: { enabled: true, formats: [\\\"csv\\\"], general: { includeHeaders: true, scope: \\\"auto\\\", maxRows: 5000, includeColumns: \\\"visible\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ export: { general: { maxRows: 0 } } }\"\n ]\n },\n \"export-excel\": {\n \"id\": \"export-excel\",\n \"title\": \"Exportacao Excel\",\n \"description\": \"Configuração de export.excel.*\",\n \"rules\": [\n \"sheetName deve ser curto e sem caracteres invalidos.\",\n \"autoFitColumns melhora legibilidade.\",\n \"styling.headerStyle e cellStyle devem ser simples.\"\n ],\n \"examples\": [\n \"{ export: { excel: { sheetName: \\\"Dados\\\", autoFitColumns: true, freezeHeaders: true, styling: { headerStyle: { fontWeight: \\\"bold\\\" } } } } }\"\n ],\n \"antiPatterns\": [\n \"{ excel: { sheetName: \\\"\\\" } }\"\n ]\n },\n \"export-pdf\": {\n \"id\": \"export-pdf\",\n \"title\": \"Exportacao PDF\",\n \"description\": \"Configuração de export.pdf.*\",\n \"rules\": [\n \"orientation deve ser portrait/landscape.\",\n \"pageSize deve ser A4/A3/Letter/Legal.\",\n \"margins devem conter top/right/bottom/left.\"\n ],\n \"examples\": [\n \"{ export: { pdf: { orientation: \\\"landscape\\\", pageSize: \\\"A4\\\", margins: { top: 10, right: 10, bottom: 10, left: 10 }, autoPageBreak: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ pdf: { pageSize: \\\"A5\\\" } }\"\n ]\n },\n \"export-csv\": {\n \"id\": \"export-csv\",\n \"title\": \"Exportacao CSV\",\n \"description\": \"Configuração de export.csv.*\",\n \"rules\": [\n \"delimiter deve ser \\\",\\\", \\\";\\\", \\\"|\\\" ou \\\"\\\\t\\\".\",\n \"encoding deve ser utf-8/utf-16/iso-8859-1.\",\n \"escapeChar deve ser um caractere.\"\n ],\n \"examples\": [\n \"{ export: { csv: { delimiter: \\\";\\\", encoding: \\\"utf-8\\\", escapeChar: \\\"\\\\\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ csv: { delimiter: \\\":\\\" } }\"\n ]\n },\n \"export-json\": {\n \"id\": \"export-json\",\n \"title\": \"Exportacao JSON\",\n \"description\": \"Configuração de export.json.*\",\n \"rules\": [\n \"format deve ser pretty ou compact.\",\n \"structure deve ser array ou object.\"\n ],\n \"examples\": [\n \"{ export: { json: { format: \\\"pretty\\\", includeMetadata: true, structure: \\\"array\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ json: { format: \\\"full\\\" } }\"\n ]\n },\n \"export-templates\": {\n \"id\": \"export-templates\",\n \"title\": \"Templates de Exportacao\",\n \"description\": \"Configuração de export.templates[]\",\n \"rules\": [\n \"templates devem ter id, name e format válidos.\",\n \"config deve seguir o formato correspondente.\"\n ],\n \"examples\": [\n \"{ export: { templates: [{ id: \\\"resumo\\\", name: \\\"Resumo\\\", format: \\\"pdf\\\", config: {}, isDefault: false }] } }\"\n ],\n \"antiPatterns\": [\n \"{ templates: [{ id: \\\"\\\", format: \\\"xls\\\" }] }\"\n ]\n },\n \"messages\": {\n \"id\": \"messages\",\n \"title\": \"Mensagens\",\n \"description\": \"Mensagens de estados, ações, validação e exportação.\",\n \"rules\": [\n \"Mensagens devem ser curtas e claras.\",\n \"Não defina funções inline (use templates ou strings simples).\"\n ],\n \"examples\": [\n \"{ messages: { states: { empty: \\\"Sem registros.\\\" }, actions: { confirmations: { delete: \\\"Excluir?\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ messages: { states: { loadingWithCount: \\\"(n) => ...\\\" } } }\"\n ]\n },\n \"messages-advanced\": {\n \"id\": \"messages-advanced\",\n \"title\": \"Mensagens Avancadas\",\n \"description\": \"custom, templates e formatos por tipo.\",\n \"rules\": [\n \"templates[].template deve usar placeholders simples.\",\n \"custom é um mapa chave -> mensagem.\",\n \"formats deve seguir excel/pdf/csv/json.\"\n ],\n \"examples\": [\n \"{ messages: { export: { formats: { excel: \\\"Excel pronto\\\" } }, templates: [{ id: \\\"t1\\\", template: \\\"Exportado {count} itens\\\" }] } }\"\n ],\n \"antiPatterns\": [\n \"{ messages: { templates: [{ id: \\\"t1\\\" }] } }\"\n ]\n },\n \"localization-date-time\": {\n \"id\": \"localization-date-time\",\n \"title\": \"Localizacao de Datas\",\n \"description\": \"Configuração de localization.dateTime.*\",\n \"rules\": [\n \"dateFormat/timeFormat devem seguir DatePipe.\",\n \"firstDayOfWeek deve ser 0-6.\",\n \"monthNames e dayNames devem ter 12 e 7 entradas.\"\n ],\n \"examples\": [\n \"{ localization: { dateTime: { dateFormat: \\\"dd/MM/yyyy\\\", timeFormat: \\\"HH:mm\\\", firstDayOfWeek: 0 } } }\"\n ],\n \"antiPatterns\": [\n \"{ localization: { dateTime: { firstDayOfWeek: 7 } } }\"\n ]\n },\n \"localization-number-currency\": {\n \"id\": \"localization-number-currency\",\n \"title\": \"Localizacao de Numeros e Moeda\",\n \"description\": \"Configuração de localization.number.* e localization.currency.*\",\n \"rules\": [\n \"decimalSeparator e thousandsSeparator devem ser 1 caractere.\",\n \"negativeSignPosition deve ser before/after.\",\n \"currency.code deve ser ISO 4217.\"\n ],\n \"examples\": [\n \"{ localization: { number: { decimalSeparator: \\\",\\\", thousandsSeparator: \\\".\\\", negativeSign: \\\"-\\\", negativeSignPosition: \\\"before\\\" }, currency: { code: \\\"BRL\\\", symbol: \\\"R$\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ localization: { currency: { code: \\\"REAL\\\" } } }\"\n ]\n },\n \"localization-formatting\": {\n \"id\": \"localization-formatting\",\n \"title\": \"Formatos Locais\",\n \"description\": \"Configuração de localization.formatting.*\",\n \"rules\": [\n \"percentageFormat e fileSizeFormat devem seguir padrao esperado.\",\n \"units deve mapear tipo -> unidade -> label.\"\n ],\n \"examples\": [\n \"{ localization: { formatting: { percentageFormat: \\\"#0.00%\\\", fileSizeFormat: \\\"decimal\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ localization: { formatting: { percentageFormat: \\\"percent\\\" } } }\"\n ]\n },\n \"localization-translations\": {\n \"id\": \"localization-translations\",\n \"title\": \"Traducoes\",\n \"description\": \"Configuração de localization.availableLocales e translations.*\",\n \"rules\": [\n \"availableLocales deve listar locales conhecidos.\",\n \"translations deve mapear locale -> chaves de texto.\"\n ],\n \"examples\": [\n \"{ localization: { availableLocales: [\\\"pt-BR\\\", \\\"en-US\\\"], translations: { \\\"pt-BR\\\": { \\\"table.title\\\": \\\"Pedidos\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ translations: \\\"pt-BR\\\" }\"\n ]\n },\n \"data-cache\": {\n \"id\": \"data-cache\",\n \"title\": \"Cache de Dados\",\n \"description\": \"Configuração de data.cache.*\",\n \"rules\": [\n \"ttl e maxSize devem ser positivos.\",\n \"invalidationStrategy deve ser ttl/manual/on-update.\"\n ],\n \"examples\": [\n \"{ data: { cache: { enabled: true, ttl: 600000, maxSize: 1000, invalidationStrategy: \\\"ttl\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ cache: { ttl: 0 } }\"\n ]\n },\n \"data-sync\": {\n \"id\": \"data-sync\",\n \"title\": \"Sincronizacao\",\n \"description\": \"Configuração de data.sync.*\",\n \"rules\": [\n \"interval deve ser em ms.\",\n \"deltaSync e autoSync devem ser boolean.\",\n \"conflictResolution deve ser client/server/manual.\"\n ],\n \"examples\": [\n \"{ data: { sync: { autoSync: true, interval: 30000, deltaSync: true, conflictResolution: \\\"server\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ sync: { interval: -1 } }\"\n ]\n },\n \"data-validation\": {\n \"id\": \"data-validation\",\n \"title\": \"Validacao de Dados\",\n \"description\": \"Configuração de data.validation.* e rules[]\",\n \"rules\": [\n \"rules[].type deve ser required/format/range/custom.\",\n \"params deve conter dados compatíveis com o tipo.\",\n \"showInlineErrors deve ser boolean.\"\n ],\n \"examples\": [\n \"{ data: { validation: { clientSide: true, serverSide: false, showInlineErrors: true, rules: [{ field: \\\"email\\\", type: \\\"format\\\", params: { format: \\\"email\\\" }, message: \\\"Email invalido\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ validation: { rules: [{ type: \\\"regex\\\" }] } }\"\n ]\n },\n \"data-transformations\": {\n \"id\": \"data-transformations\",\n \"title\": \"Transformacoes de Dados\",\n \"description\": \"Configuração de data.transformations[]\",\n \"rules\": [\n \"transform deve ser uma string suportada pelo sistema, não funcao JS.\",\n \"applyTo deve ser display/data/both.\"\n ],\n \"examples\": [\n \"{ data: { transformations: [{ id: \\\"t1\\\", field: \\\"amount\\\", type: \\\"format\\\", transform: \\\"currency\\\", applyTo: \\\"display\\\" }] } }\"\n ],\n \"antiPatterns\": [\n \"{ transformations: [{ transform: \\\"row => row.amount\\\" }] }\"\n ]\n },\n \"data-polling\": {\n \"id\": \"data-polling\",\n \"title\": \"Polling\",\n \"description\": \"Configuração de data.polling.*\",\n \"rules\": [\n \"interval deve ser em ms e razoavel.\",\n \"exponentialBackoff deve ser boolean.\"\n ],\n \"examples\": [\n \"{ data: { polling: { enabled: true, interval: 30000, onlyWhenActive: true, exponentialBackoff: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ polling: { interval: 100 } }\"\n ]\n },\n \"performance-virtualization\": {\n \"id\": \"performance-virtualization\",\n \"title\": \"Performance Virtualization\",\n \"description\": \"Configuração de performance.virtualization.*\",\n \"rules\": [\n \"itemHeight deve ser informado quando enabled.\",\n \"strategy deve ser fixed/dynamic.\"\n ],\n \"examples\": [\n \"{ performance: { virtualization: { enabled: true, itemHeight: 48 } } }\"\n ],\n \"antiPatterns\": [\n \"{ performance: { virtualization: { enabled: true } } }\"\n ]\n },\n \"performance-debounce\": {\n \"id\": \"performance-debounce\",\n \"title\": \"Performance Debounce\",\n \"description\": \"Configuração de performance.debounce.*\",\n \"rules\": [\n \"valores devem estar em ms (ex.: 200-500).\"\n ],\n \"examples\": [\n \"{ performance: { debounce: { search: 300, filter: 300, resize: 200, scroll: 200 } } }\"\n ],\n \"antiPatterns\": [\n \"{ debounce: { search: -1 } }\"\n ]\n },\n \"performance-memory\": {\n \"id\": \"performance-memory\",\n \"title\": \"Performance Memory\",\n \"description\": \"Configuração de performance.memory.*\",\n \"rules\": [\n \"maxRows deve limitar o volume em memoria.\",\n \"cleanupInterval deve ser em ms.\"\n ],\n \"examples\": [\n \"{ performance: { memory: { maxRows: 5000, autoCleanup: true, cleanupInterval: 60000 } } }\"\n ],\n \"antiPatterns\": [\n \"{ memory: { maxRows: 0 } }\"\n ]\n },\n \"performance-rendering\": {\n \"id\": \"performance-rendering\",\n \"title\": \"Performance Rendering\",\n \"description\": \"Configuração de performance.rendering.*\",\n \"rules\": [\n \"batchUpdates true requer batchSize coerente.\",\n \"optimizeReRenders melhora atualizações frequentes.\"\n ],\n \"examples\": [\n \"{ performance: { rendering: { useRAF: true, batchUpdates: true, batchSize: 50, optimizeReRenders: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ rendering: { batchSize: 0 } }\"\n ]\n },\n \"performance-lazy-loading\": {\n \"id\": \"performance-lazy-loading\",\n \"title\": \"Performance Lazy Loading\",\n \"description\": \"Configuração de performance.lazyLoading.*\",\n \"rules\": [\n \"threshold deve ser numero positivo.\",\n \"components e images devem ser boolean.\"\n ],\n \"examples\": [\n \"{ performance: { lazyLoading: { images: true, components: true, threshold: 200 } } }\"\n ],\n \"antiPatterns\": [\n \"{ lazyLoading: { threshold: -1 } }\"\n ]\n },\n \"accessibility-core\": {\n \"id\": \"accessibility-core\",\n \"title\": \"Acessibilidade\",\n \"description\": \"Configuração base de accessibility.*\",\n \"rules\": [\n \"enabled deve ser true em apps com requisitos a11y.\",\n \"reduceMotion deve desativar animacoes nao essenciais.\"\n ],\n \"examples\": [\n \"{ accessibility: { enabled: true, reduceMotion: true } }\"\n ],\n \"antiPatterns\": [\n \"{ accessibility: { enabled: true, reduceMotion: \\\"yes\\\" } }\"\n ]\n },\n \"accessibility-announcements\": {\n \"id\": \"accessibility-announcements\",\n \"title\": \"Acessibilidade Anuncios\",\n \"description\": \"Configuração de accessibility.announcements.*\",\n \"rules\": [\n \"dataChanges, userActions e loadingStates devem ser boolean.\",\n \"liveRegion deve ser polite ou assertive.\"\n ],\n \"examples\": [\n \"{ accessibility: { announcements: { dataChanges: true, userActions: true, loadingStates: true, liveRegion: \\\"polite\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ announcements: { liveRegion: \\\"loud\\\" } }\"\n ]\n },\n \"accessibility-keyboard\": {\n \"id\": \"accessibility-keyboard\",\n \"title\": \"Acessibilidade Teclado\",\n \"description\": \"Configuração de accessibility.keyboard.*\",\n \"rules\": [\n \"tabNavigation e arrowNavigation devem ser boolean.\",\n \"shortcuts e skipLinks devem ser boolean.\",\n \"focusTrap deve ser boolean.\"\n ],\n \"examples\": [\n \"{ accessibility: { keyboard: { tabNavigation: true, arrowNavigation: true, shortcuts: true, skipLinks: true, focusTrap: false } } }\"\n ],\n \"antiPatterns\": [\n \"{ keyboard: { tabNavigation: \\\"yes\\\" } }\"\n ]\n },\n \"accessibility-aria-labels\": {\n \"id\": \"accessibility-aria-labels\",\n \"title\": \"Acessibilidade ARIA\",\n \"description\": \"Configuração de accessibility.ariaLabels.*\",\n \"rules\": [\n \"ariaLabels deve mapear chaves conhecidas para textos curtos.\"\n ],\n \"examples\": [\n \"{ accessibility: { ariaLabels: { table: \\\"Tabela de pedidos\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ ariaLabels: { table: \\\"\\\" } }\"\n ]\n },\n \"theme-core\": {\n \"id\": \"theme-core\",\n \"title\": \"Tema Base\",\n \"description\": \"Configuração de theme.primary/secondary/darkMode.\",\n \"rules\": [\n \"primary e secondary devem ser cores validas (hex ou token).\",\n \"darkMode deve ser boolean.\"\n ],\n \"examples\": [\n \"{ theme: { primary: \\\"#1976d2\\\", secondary: \\\"#ff9800\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ theme: { primary: \\\"blue\\\" } }\"\n ]\n },\n \"theme-custom\": {\n \"id\": \"theme-custom\",\n \"title\": \"Tema Customizado\",\n \"description\": \"Configuração de theme.custom e theme.cssVariables.\",\n \"rules\": [\n \"cssVariables deve usar nomes CSS validos (ex.: --table-bg).\",\n \"custom deve ser mapa simples de tokens.\"\n ],\n \"examples\": [\n \"{ theme: { custom: { headerBg: \\\"var(--md-sys-color-surface-container)\\\" }, cssVariables: { \\\"--table-bg\\\": \\\"var(--md-sys-color-surface)\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ theme: { cssVariables: { \\\"table-bg\\\": \\\"var(--md-sys-color-surface)\\\" } } }\"\n ]\n },\n \"plugins\": {\n \"id\": \"plugins\",\n \"title\": \"Plugins\",\n \"description\": \"Configuração de plugins[].\",\n \"rules\": [\n \"plugins[].id, name e version sao obrigatorios.\",\n \"hooks deve mapear eventos para handlers conhecidos.\"\n ],\n \"examples\": [\n \"{ plugins: [{ id: \\\"audit\\\", name: \\\"Audit Logger\\\", version: \\\"1.2.0\\\", enabled: true }] }\"\n ],\n \"antiPatterns\": [\n \"{ plugins: [{ name: \\\"Audit\\\" }] }\"\n ]\n },\n \"editor-extras\": {\n \"id\": \"editor-extras\",\n \"title\": \"Extras do Editor\",\n \"description\": \"Envelope de autoria usado pelo editor e pelo playground.\",\n \"rules\": [\n \"bindings.resourcePath deve ser path valido da API quando presente.\",\n \"config.meta.idField deve refletir a chave primaria quando configurado.\",\n \"bindings.horizontalScroll deve ser auto/wrap/none.\"\n ],\n \"examples\": [\n \"{ kind: \\\"praxis.table.editor\\\", version: 1, config: { meta: { idField: \\\"employeeId\\\" }, columns: [] }, bindings: { resourcePath: \\\"/api/employees\\\", horizontalScroll: \\\"auto\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ kind: \\\"praxis.table.editor\\\", version: 1, config: { columns: [] }, bindings: { horizontalScroll: \\\"left\\\" } }\"\n ]\n }\n }\n}",
21703
+ "content": "{\n \"componentContext\": {\n \"version\": \"v1\",\n \"optionsByPath\": {\n \"appearance.density\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"compact\",\n \"label\": \"Compact\"\n },\n {\n \"value\": \"comfortable\",\n \"label\": \"Comfortable\"\n },\n {\n \"value\": \"spacious\",\n \"label\": \"Spacious\"\n }\n ]\n },\n \"export.formats\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"excel\",\n \"label\": \"Excel\"\n },\n {\n \"value\": \"pdf\",\n \"label\": \"PDF\"\n },\n {\n \"value\": \"csv\",\n \"label\": \"CSV\"\n },\n {\n \"value\": \"json\",\n \"label\": \"JSON\"\n },\n {\n \"value\": \"print\",\n \"label\": \"Print\"\n }\n ]\n },\n \"columns[].type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"string\",\n \"label\": \"String\"\n },\n {\n \"value\": \"number\",\n \"label\": \"Number\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"percentage\",\n \"label\": \"Percentage\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"boolean\",\n \"label\": \"Boolean\"\n },\n {\n \"value\": \"custom\",\n \"label\": \"Custom\"\n }\n ]\n },\n \"columns[].format\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"shortDate\",\n \"label\": \"Date short\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"mediumDate\",\n \"label\": \"Date medium\",\n \"example\": \"01 Dec 2023\"\n },\n {\n \"value\": \"longDate\",\n \"label\": \"Date long\",\n \"example\": \"01 December 2023\"\n },\n {\n \"value\": \"fullDate\",\n \"label\": \"Date full\",\n \"example\": \"Friday, 01 December 2023\"\n },\n {\n \"value\": \"MMM/yyyy\",\n \"label\": \"Month/Year\",\n \"example\": \"Dec/2023\"\n },\n {\n \"value\": \"shortTime\",\n \"label\": \"Time short\",\n \"example\": \"14:30\"\n },\n {\n \"value\": \"short\",\n \"label\": \"Date+Time short\",\n \"example\": \"01/12/2023 14:30\"\n },\n {\n \"value\": \"yyyy-MM-dd\",\n \"label\": \"ISO 8601\",\n \"example\": \"2023-12-01\"\n },\n {\n \"value\": \"dd/MM/yyyy\",\n \"label\": \"Date dd/MM/yyyy\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"yyyy-MM-dd HH:mm\",\n \"label\": \"DateTime yyyy-MM-dd HH:mm\",\n \"example\": \"2023-12-01 14:30\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Number integer\",\n \"example\": \"1,234\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Number 1 decimal\",\n \"example\": \"1,234.5\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Number 2 decimals\",\n \"example\": \"1,234.56\"\n },\n {\n \"value\": \"1.0-3\",\n \"label\": \"Number up to 3 decimals\",\n \"example\": \"1,234.567\"\n },\n {\n \"value\": \"1.0-0|nosep\",\n \"label\": \"Number no grouping\",\n \"example\": \"1234\"\n },\n {\n \"value\": \"BRL|symbol|2\",\n \"label\": \"Currency BRL symbol\",\n \"example\": \"R$ 1.234,56\"\n },\n {\n \"value\": \"BRL|symbol|2|nosep\",\n \"label\": \"Currency BRL symbol (no grouping)\",\n \"example\": \"R$ 1234,56\"\n },\n {\n \"value\": \"USD|symbol|2\",\n \"label\": \"Currency USD symbol\",\n \"example\": \"US$ 1,234.56\"\n },\n {\n \"value\": \"EUR|symbol|2\",\n \"label\": \"Currency EUR symbol\",\n \"example\": \"EUR 1,234.56\"\n },\n {\n \"value\": \"BRL|code|2\",\n \"label\": \"Currency code\",\n \"example\": \"1,234.56 BRL\"\n },\n {\n \"value\": \"USD|code|0\",\n \"label\": \"Currency USD code (0 decimals)\",\n \"example\": \"1234 USD\"\n },\n {\n \"value\": \"EUR|symbol|2|nosep\",\n \"label\": \"Currency EUR symbol (no grouping)\",\n \"example\": \"EUR 1234,56\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Percent 0 decimals\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Percent 1 decimal\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Percent 2 decimals\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"1.0-0|x100\",\n \"label\": \"Percent 0 decimals (x100)\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1|x100\",\n \"label\": \"Percent 1 decimal (x100)\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2|x100\",\n \"label\": \"Percent 2 decimals (x100)\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"none\",\n \"label\": \"String none\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase\",\n \"label\": \"String uppercase\",\n \"example\": \"SAMPLE\"\n },\n {\n \"value\": \"lowercase\",\n \"label\": \"String lowercase\",\n \"example\": \"sample\"\n },\n {\n \"value\": \"titlecase\",\n \"label\": \"String titlecase\",\n \"example\": \"Sample Text\"\n },\n {\n \"value\": \"capitalize\",\n \"label\": \"String capitalize\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase|truncate|50|...\",\n \"label\": \"String uppercase + truncate 50\",\n \"example\": \"SAMPLE...\"\n },\n {\n \"value\": \"true-false\",\n \"label\": \"Boolean true/false\",\n \"example\": \"True / False\"\n },\n {\n \"value\": \"yes-no\",\n \"label\": \"Boolean yes/no\",\n \"example\": \"Yes / No\"\n },\n {\n \"value\": \"active-inactive\",\n \"label\": \"Boolean active/inactive\",\n \"example\": \"Active / Inactive\"\n },\n {\n \"value\": \"on-off\",\n \"label\": \"Boolean on/off\",\n \"example\": \"On / Off\"\n },\n {\n \"value\": \"enabled-disabled\",\n \"label\": \"Boolean enabled/disabled\",\n \"example\": \"Enabled / Disabled\"\n },\n {\n \"value\": \"custom|Sim|Nao\",\n \"label\": \"Boolean custom (Sim/Nao)\",\n \"example\": \"Sim / Nao\"\n }\n ]\n },\n \"columns[].computed.outputType\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"string\",\n \"label\": \"String\"\n },\n {\n \"value\": \"number\",\n \"label\": \"Number\"\n },\n {\n \"value\": \"currency\",\n \"label\": \"Currency\"\n },\n {\n \"value\": \"percentage\",\n \"label\": \"Percentage\"\n },\n {\n \"value\": \"date\",\n \"label\": \"Date\"\n },\n {\n \"value\": \"boolean\",\n \"label\": \"Boolean\"\n },\n {\n \"value\": \"custom\",\n \"label\": \"Custom\"\n }\n ]\n },\n \"columns[].computed.format\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"shortDate\",\n \"label\": \"Date short\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"mediumDate\",\n \"label\": \"Date medium\",\n \"example\": \"01 Dec 2023\"\n },\n {\n \"value\": \"longDate\",\n \"label\": \"Date long\",\n \"example\": \"01 December 2023\"\n },\n {\n \"value\": \"fullDate\",\n \"label\": \"Date full\",\n \"example\": \"Friday, 01 December 2023\"\n },\n {\n \"value\": \"MMM/yyyy\",\n \"label\": \"Month/Year\",\n \"example\": \"Dec/2023\"\n },\n {\n \"value\": \"shortTime\",\n \"label\": \"Time short\",\n \"example\": \"14:30\"\n },\n {\n \"value\": \"short\",\n \"label\": \"Date+Time short\",\n \"example\": \"01/12/2023 14:30\"\n },\n {\n \"value\": \"yyyy-MM-dd\",\n \"label\": \"ISO 8601\",\n \"example\": \"2023-12-01\"\n },\n {\n \"value\": \"dd/MM/yyyy\",\n \"label\": \"Date dd/MM/yyyy\",\n \"example\": \"01/12/2023\"\n },\n {\n \"value\": \"yyyy-MM-dd HH:mm\",\n \"label\": \"DateTime yyyy-MM-dd HH:mm\",\n \"example\": \"2023-12-01 14:30\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Number integer\",\n \"example\": \"1,234\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Number 1 decimal\",\n \"example\": \"1,234.5\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Number 2 decimals\",\n \"example\": \"1,234.56\"\n },\n {\n \"value\": \"1.0-3\",\n \"label\": \"Number up to 3 decimals\",\n \"example\": \"1,234.567\"\n },\n {\n \"value\": \"1.0-0|nosep\",\n \"label\": \"Number no grouping\",\n \"example\": \"1234\"\n },\n {\n \"value\": \"BRL|symbol|2\",\n \"label\": \"Currency BRL symbol\",\n \"example\": \"R$ 1.234,56\"\n },\n {\n \"value\": \"BRL|symbol|2|nosep\",\n \"label\": \"Currency BRL symbol (no grouping)\",\n \"example\": \"R$ 1234,56\"\n },\n {\n \"value\": \"USD|symbol|2\",\n \"label\": \"Currency USD symbol\",\n \"example\": \"US$ 1,234.56\"\n },\n {\n \"value\": \"EUR|symbol|2\",\n \"label\": \"Currency EUR symbol\",\n \"example\": \"EUR 1,234.56\"\n },\n {\n \"value\": \"BRL|code|2\",\n \"label\": \"Currency code\",\n \"example\": \"1,234.56 BRL\"\n },\n {\n \"value\": \"USD|code|0\",\n \"label\": \"Currency USD code (0 decimals)\",\n \"example\": \"1234 USD\"\n },\n {\n \"value\": \"EUR|symbol|2|nosep\",\n \"label\": \"Currency EUR symbol (no grouping)\",\n \"example\": \"EUR 1234,56\"\n },\n {\n \"value\": \"1.0-0\",\n \"label\": \"Percent 0 decimals\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1\",\n \"label\": \"Percent 1 decimal\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2\",\n \"label\": \"Percent 2 decimals\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"1.0-0|x100\",\n \"label\": \"Percent 0 decimals (x100)\",\n \"example\": \"12%\"\n },\n {\n \"value\": \"1.1-1|x100\",\n \"label\": \"Percent 1 decimal (x100)\",\n \"example\": \"12.3%\"\n },\n {\n \"value\": \"1.2-2|x100\",\n \"label\": \"Percent 2 decimals (x100)\",\n \"example\": \"12.34%\"\n },\n {\n \"value\": \"none\",\n \"label\": \"String none\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase\",\n \"label\": \"String uppercase\",\n \"example\": \"SAMPLE\"\n },\n {\n \"value\": \"lowercase\",\n \"label\": \"String lowercase\",\n \"example\": \"sample\"\n },\n {\n \"value\": \"titlecase\",\n \"label\": \"String titlecase\",\n \"example\": \"Sample Text\"\n },\n {\n \"value\": \"capitalize\",\n \"label\": \"String capitalize\",\n \"example\": \"Sample\"\n },\n {\n \"value\": \"uppercase|truncate|50|...\",\n \"label\": \"String uppercase + truncate 50\",\n \"example\": \"SAMPLE...\"\n },\n {\n \"value\": \"true-false\",\n \"label\": \"Boolean true/false\",\n \"example\": \"True / False\"\n },\n {\n \"value\": \"yes-no\",\n \"label\": \"Boolean yes/no\",\n \"example\": \"Yes / No\"\n },\n {\n \"value\": \"active-inactive\",\n \"label\": \"Boolean active/inactive\",\n \"example\": \"Active / Inactive\"\n },\n {\n \"value\": \"on-off\",\n \"label\": \"Boolean on/off\",\n \"example\": \"On / Off\"\n },\n {\n \"value\": \"enabled-disabled\",\n \"label\": \"Boolean enabled/disabled\",\n \"example\": \"Enabled / Disabled\"\n },\n {\n \"value\": \"custom|Sim|Nao\",\n \"label\": \"Boolean custom (Sim/Nao)\",\n \"example\": \"Sim / Nao\"\n }\n ]\n },\n \"behavior.filtering.advancedFilters.settings.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filter\",\n \"label\": \"Filter\"\n }\n ]\n },\n \"behavior.expansion.state.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"controlled\",\n \"label\": \"Controlled\"\n },\n {\n \"value\": \"uncontrolled\",\n \"label\": \"Uncontrolled\"\n }\n ]\n },\n \"behavior.expansion.interaction.trigger\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"row\",\n \"label\": \"Row\"\n },\n {\n \"value\": \"both\",\n \"label\": \"Both\"\n }\n ]\n },\n \"behavior.expansion.interaction.keyboard.profile\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"disclosure\",\n \"label\": \"Disclosure\"\n },\n {\n \"value\": \"grid\",\n \"label\": \"Grid\"\n }\n ]\n },\n \"behavior.expansion.limits.onOverflow\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"collapseOldest\",\n \"label\": \"Collapse Oldest\"\n },\n {\n \"value\": \"denyNew\",\n \"label\": \"Deny New\"\n },\n {\n \"value\": \"collapseAll\",\n \"label\": \"Collapse All\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.sortChange\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.pageChange\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.filterChange\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.collapseOn.dataRefresh\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"true\",\n \"label\": \"Enabled\"\n },\n {\n \"value\": \"false\",\n \"label\": \"Disabled\"\n }\n ]\n },\n \"behavior.expansion.detail.source.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"inline\",\n \"label\": \"Inline\"\n },\n {\n \"value\": \"resource\",\n \"label\": \"Resource\"\n },\n {\n \"value\": \"resourcePath\",\n \"label\": \"Resource Path\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resource.kind\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"ui-composition\",\n \"label\": \"UI Composition\"\n },\n {\n \"value\": \"form-schema\",\n \"label\": \"Form Schema\"\n },\n {\n \"value\": \"table-schema\",\n \"label\": \"Table Schema\"\n },\n {\n \"value\": \"dashboard-schema\",\n \"label\": \"Dashboard Schema\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resourcePath.method\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"GET\",\n \"label\": \"GET\"\n },\n {\n \"value\": \"POST\",\n \"label\": \"POST\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resourcePath.paramsMap\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"{\\\"id\\\":\\\"$row.id\\\"}\",\n \"label\": \"Row ID\"\n },\n {\n \"value\": \"{\\\"id\\\":\\\"$row.id\\\",\\\"table\\\":\\\"$ctx.tableId\\\"}\",\n \"label\": \"Row + Table\"\n }\n ]\n },\n \"behavior.expansion.detail.source.resourceAllowList[]\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"api/orders/*/detail-schema\",\n \"label\": \"Orders detail schema\"\n },\n {\n \"value\": \"api/customers/*/detail-schema\",\n \"label\": \"Customers detail schema\"\n }\n ]\n },\n \"behavior.expansion.detail.rendering.strategy\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"registry\",\n \"label\": \"Registry\"\n }\n ]\n },\n \"behavior.expansion.detail.rendering.hostLayout\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"auto\",\n \"label\": \"Auto\"\n },\n {\n \"value\": \"stack\",\n \"label\": \"Stack\"\n },\n {\n \"value\": \"tabs\",\n \"label\": \"Tabs\"\n }\n ]\n },\n \"behavior.expansion.detail.rendering.fallbackNodePolicy\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"failClosed\",\n \"label\": \"Fail Closed\"\n },\n {\n \"value\": \"renderPlaceholder\",\n \"label\": \"Render Placeholder\"\n }\n ]\n },\n \"behavior.expansion.detail.height.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"fixed\",\n \"label\": \"Fixed\"\n },\n {\n \"value\": \"dynamic\",\n \"label\": \"Dynamic\"\n }\n ]\n },\n \"behavior.expansion.virtualization.policy\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"fixed-height-only\",\n \"label\": \"Fixed Height Only\"\n },\n {\n \"value\": \"allow-dynamic-under-flag\",\n \"label\": \"Allow Dynamic Under Flag\"\n }\n ]\n },\n \"behavior.expansion.security.eventExposureDefault.rowId\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"redacted\",\n \"label\": \"Redacted\"\n },\n {\n \"value\": \"hashed\",\n \"label\": \"Hashed\"\n },\n {\n \"value\": \"raw\",\n \"label\": \"Raw\"\n }\n ]\n },\n \"behavior.expansion.security.eventExposureDefault.expandedKeys\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"none\",\n \"label\": \"None\"\n },\n {\n \"value\": \"hashed\",\n \"label\": \"Hashed\"\n },\n {\n \"value\": \"raw\",\n \"label\": \"Raw\"\n }\n ]\n },\n \"behavior.expansion.deepLink.encoding\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"csv\",\n \"label\": \"CSV\"\n }\n ]\n },\n \"behavior.expansion.deepLink.parsing.duplicateParams\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"firstWins\",\n \"label\": \"First Wins\"\n },\n {\n \"value\": \"reject\",\n \"label\": \"Reject\"\n }\n ]\n },\n \"behavior.expansion.deepLink.integrity.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"opaqueToken\",\n \"label\": \"Opaque Token\"\n }\n ]\n },\n \"behavior.expansion.deepLink.privacy.mode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"denyByDefault\",\n \"label\": \"Deny By Default\"\n },\n {\n \"value\": \"allowByDefault\",\n \"label\": \"Allow By Default\"\n }\n ]\n },\n \"columns[].renderer.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n },\n {\n \"value\": \"compose\",\n \"label\": \"Compose\"\n }\n ]\n },\n \"columns[].renderer.image.shape\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"square\",\n \"label\": \"Square\"\n },\n {\n \"value\": \"rounded\",\n \"label\": \"Rounded\"\n },\n {\n \"value\": \"circle\",\n \"label\": \"Circle\"\n }\n ]\n },\n \"columns[].renderer.image.fit\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"cover\",\n \"label\": \"Cover\"\n },\n {\n \"value\": \"contain\",\n \"label\": \"Contain\"\n }\n ]\n },\n \"columns[].renderer.link.target\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"_blank\",\n \"label\": \"New tab\"\n },\n {\n \"value\": \"_self\",\n \"label\": \"Same tab\"\n },\n {\n \"value\": \"_parent\",\n \"label\": \"Parent frame\"\n },\n {\n \"value\": \"_top\",\n \"label\": \"Top frame\"\n }\n ]\n },\n \"columns[].renderer.button.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n }\n ]\n },\n \"columns[].renderer.button.color\": {\n \"mode\": \"enum\",\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 },\n \"columns[].renderer.button.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"sm\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"md\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"lg\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].renderer.badge.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].renderer.chip.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].renderer.rating.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"small\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"medium\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"large\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].renderer.compose.items[].type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n }\n ]\n },\n \"columns[].renderer.microVisualization.visualization.valueExpr\": {},\n \"columns[].renderer.microVisualization.visualization.valueSuffixExpr\": {},\n \"columns[].renderer.microVisualization.visualization.totalExpr\": {},\n \"columns[].renderer.microVisualization.visualization.targetExpr\": {},\n \"columns[].renderer.microVisualization.visualization.baselineExpr\": {},\n \"columns[].renderer.microVisualization.visualization.segmentsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.pointsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.thresholdsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.itemsExpr\": {},\n \"columns[].renderer.microVisualization.visualization.toneExpr\": {},\n \"columns[].renderer.microVisualization.visualization.ariaLabelExpr\": {},\n \"columns[].renderer.microVisualization.visualization.fallbackTextExpr\": {},\n \"columns[].conditionalRenderers[].renderer.type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n },\n {\n \"value\": \"compose\",\n \"label\": \"Compose\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.image.shape\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"square\",\n \"label\": \"Square\"\n },\n {\n \"value\": \"rounded\",\n \"label\": \"Rounded\"\n },\n {\n \"value\": \"circle\",\n \"label\": \"Circle\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.image.fit\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"cover\",\n \"label\": \"Cover\"\n },\n {\n \"value\": \"contain\",\n \"label\": \"Contain\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.link.target\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"_blank\",\n \"label\": \"New tab\"\n },\n {\n \"value\": \"_self\",\n \"label\": \"Same tab\"\n },\n {\n \"value\": \"_parent\",\n \"label\": \"Parent frame\"\n },\n {\n \"value\": \"_top\",\n \"label\": \"Top frame\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.button.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"text\",\n \"label\": \"Text\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.button.color\": {\n \"mode\": \"enum\",\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 },\n \"columns[].conditionalRenderers[].renderer.button.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"sm\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"md\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"lg\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.badge.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.chip.variant\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"filled\",\n \"label\": \"Filled\"\n },\n {\n \"value\": \"outlined\",\n \"label\": \"Outlined\"\n },\n {\n \"value\": \"soft\",\n \"label\": \"Soft\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.rating.size\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"small\",\n \"label\": \"Small\"\n },\n {\n \"value\": \"medium\",\n \"label\": \"Medium\"\n },\n {\n \"value\": \"large\",\n \"label\": \"Large\"\n }\n ]\n },\n \"columns[].conditionalRenderers[].renderer.compose.items[].type\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"icon\",\n \"label\": \"Icon\"\n },\n {\n \"value\": \"image\",\n \"label\": \"Image\"\n },\n {\n \"value\": \"badge\",\n \"label\": \"Badge\"\n },\n {\n \"value\": \"link\",\n \"label\": \"Link\"\n },\n {\n \"value\": \"button\",\n \"label\": \"Button\"\n },\n {\n \"value\": \"chip\",\n \"label\": \"Chip\"\n },\n {\n \"value\": \"progress\",\n \"label\": \"Progress\"\n },\n {\n \"value\": \"avatar\",\n \"label\": \"Avatar\"\n },\n {\n \"value\": \"toggle\",\n \"label\": \"Toggle\"\n },\n {\n \"value\": \"menu\",\n \"label\": \"Menu\"\n },\n {\n \"value\": \"rating\",\n \"label\": \"Rating\"\n },\n {\n \"value\": \"html\",\n \"label\": \"HTML\"\n },\n {\n \"value\": \"microVisualization\",\n \"label\": \"Micro visualization\"\n }\n ]\n },\n \"actions.row.actions[].color\": {\n \"mode\": \"enum\",\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 },\n \"actions.row.actions[].icon\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"edit\",\n \"label\": \"Edit\"\n },\n {\n \"value\": \"delete\",\n \"label\": \"Delete\"\n },\n {\n \"value\": \"visibility\",\n \"label\": \"View\"\n },\n {\n \"value\": \"more_vert\",\n \"label\": \"More\"\n },\n {\n \"value\": \"check\",\n \"label\": \"Approve\"\n },\n {\n \"value\": \"close\",\n \"label\": \"Reject\"\n },\n {\n \"value\": \"download\",\n \"label\": \"Download\"\n }\n ]\n },\n \"actions.row.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 \"rowConditionalStyles[].condition\": {\n \"mode\": \"suggested\",\n \"options\": [\n {\n \"value\": \"status == \\\"active\\\"\",\n \"label\": \"Status Active\"\n },\n {\n \"value\": \"amount < 0\",\n \"label\": \"Negative Amount\"\n },\n {\n \"value\": \"priority == \\\"high\\\"\",\n \"label\": \"High Priority\"\n }\n ]\n }\n },\n \"actionCatalog\": [\n {\n \"id\": \"ADD_COLUMN\",\n \"intentExamples\": [\n \"add column\",\n \"nova coluna\",\n \"criar coluna\",\n \"insert column\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"params\": [\n {\n \"name\": \"field\",\n \"type\": \"STRING\",\n \"description\": \"Nome técnico da nova coluna\"\n },\n {\n \"name\": \"header\",\n \"type\": \"STRING\",\n \"description\": \"Título da coluna\"\n }\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{params.field}}\",\n \"header\": \"{{params.header}}\",\n \"visible\": true\n }\n ]\n }\n },\n {\n \"id\": \"ADD_COLUMN_COMPUTED\",\n \"intentExamples\": [\n \"calculated column\",\n \"coluna calculada\",\n \"compute\",\n \"formula\",\n \"expression\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"params\": [\n {\n \"name\": \"field\",\n \"type\": \"STRING\",\n \"description\": \"Nome técnico da nova coluna (ex: total)\"\n },\n {\n \"name\": \"header\",\n \"type\": \"STRING\",\n \"description\": \"Título da coluna\"\n },\n {\n \"name\": \"expression\",\n \"type\": \"STRING\",\n \"description\": \"AST Json Logic canônico serializado em JSON para derived values (ex: { \\\"*\\\": [{ \\\"var\\\": \\\"quantity\\\" }, { \\\"var\\\": \\\"price\\\" }] })\"\n },\n {\n \"name\": \"type\",\n \"type\": \"ENUM\",\n \"options\": [\n \"number\",\n \"currency\",\n \"percentage\",\n \"string\",\n \"boolean\"\n ],\n \"description\": \"Tipo de dado resultante\"\n }\n ],\n \"relatedConcepts\": [\n \"computed-logic\"\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{params.field}}\",\n \"header\": \"{{params.header}}\",\n \"visible\": true,\n \"computed\": {\n \"expression\": \"{{params.expression}}\",\n \"outputType\": \"{{params.type}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"HIDE_COLUMN\",\n \"intentExamples\": [\n \"hide column\",\n \"ocultar coluna\",\n \"esconder coluna\",\n \"invisible\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"visible\": false\n }\n ]\n }\n },\n {\n \"id\": \"SHOW_COLUMN\",\n \"intentExamples\": [\n \"show column\",\n \"mostrar coluna\",\n \"exibir coluna\",\n \"visible\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"visible\": true\n }\n ]\n }\n },\n {\n \"id\": \"RENAME_COLUMN\",\n \"intentExamples\": [\n \"rename column\",\n \"renomear coluna\",\n \"titulo\",\n \"cabecalho\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"header\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.format.set\",\n \"intentExamples\": [\n \"format\",\n \"formatar\",\n \"date format\",\n \"number format\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"format\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.type.set\",\n \"intentExamples\": [\n \"type\",\n \"tipo\",\n \"data type\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"type\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"DISABLE_SORT\",\n \"intentExamples\": [\n \"disable sort\",\n \"desativar ordenacao\",\n \"sem ordenacao\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"sortable\": false\n }\n ]\n }\n },\n {\n \"id\": \"ENABLE_SORT\",\n \"intentExamples\": [\n \"enable sort\",\n \"ativar ordenacao\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"sortable\": true\n }\n ]\n }\n },\n {\n \"id\": \"column.width.set\",\n \"intentExamples\": [\n \"width\",\n \"largura\",\n \"col width\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"width\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.order.set\",\n \"intentExamples\": [\n \"ordem visual\",\n \"mover coluna\",\n \"colocar depois de\",\n \"colocar antes de\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"NUMBER\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"order\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.align.set\",\n \"intentExamples\": [\n \"align\",\n \"alinhamento\",\n \"left\",\n \"center\",\n \"right\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"align\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.sticky.set\",\n \"intentExamples\": [\n \"sticky\",\n \"fixar coluna\",\n \"pin column\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"sticky\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.type.set\",\n \"intentExamples\": [\n \"renderer\",\n \"render\",\n \"cell type\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"{{value}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.image.shape.set\",\n \"intentExamples\": [\n \"image shape\",\n \"avatar shape\",\n \"imagem recorte\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"image\",\n \"image\": {\n \"shape\": \"{{value}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.link.target.set\",\n \"intentExamples\": [\n \"link target\",\n \"abrir em nova aba\",\n \"target blank\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"link\",\n \"link\": {\n \"target\": \"{{value}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"column.renderer.button.style.set\",\n \"intentExamples\": [\n \"button style\",\n \"botao estilo\",\n \"variant\",\n \"color\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"button\",\n \"button\": {\n \"variant\": \"{{params.variant}}\",\n \"color\": \"{{params.color}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_BADGE\",\n \"intentExamples\": [\n \"render badge\",\n \"exibir como badge\",\n \"status badge\",\n \"etiqueta\",\n \"tag\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"params\": [\n {\n \"name\": \"variant\",\n \"type\": \"ENUM\",\n \"options\": [\n \"filled\",\n \"outlined\",\n \"soft\"\n ],\n \"description\": \"Estilo visual do badge\"\n },\n {\n \"name\": \"color\",\n \"type\": \"ENUM\",\n \"options\": [\n \"primary\",\n \"accent\",\n \"warn\",\n \"success\",\n \"info\"\n ],\n \"description\": \"Cor semântica do badge\"\n }\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"{{target}}\",\n \"textField\": \"{{target}}\",\n \"color\": \"{{params.color}}\",\n \"variant\": \"{{params.variant}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_CHIP\",\n \"intentExamples\": [\n \"render chip\",\n \"exibir como chip\",\n \"chip\",\n \"pilula\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"textField\": \"{{target}}\",\n \"color\": \"{{params.color}}\",\n \"variant\": \"{{params.variant}}\"\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_ICON\",\n \"intentExamples\": [\n \"render icon\",\n \"exibir como icone\",\n \"icone\",\n \"icon\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"{{value}}\",\n \"color\": \"{{params.color}}\",\n \"size\": 18\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_COMPOSE_TITLE_SUBTITLE\",\n \"intentExamples\": [\n \"compose title subtitle\",\n \"titulo e subtitulo\",\n \"two lines\",\n \"duas linhas\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"layout\": {\n \"direction\": \"column\",\n \"gap\": 4\n },\n \"items\": [\n {\n \"type\": \"value\",\n \"style\": \"font-weight: 500;\"\n },\n {\n \"type\": \"value\",\n \"textField\": \"{{params.subtitleField}}\",\n \"style\": \"font-size: 0.85em; color: var(--text-secondary);\"\n }\n ]\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"SET_RENDERER_COMPOSE_AVATAR_TEXT\",\n \"intentExamples\": [\n \"compose avatar text\",\n \"avatar e texto\",\n \"user card\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 12,\n \"align\": \"center\"\n },\n \"items\": [\n {\n \"type\": \"avatar\",\n \"avatar\": {\n \"srcField\": \"{{params.imageField}}\",\n \"initialsField\": \"{{target}}\",\n \"shape\": \"circle\"\n }\n },\n {\n \"type\": \"compose\",\n \"compose\": {\n \"layout\": {\n \"direction\": \"column\",\n \"gap\": 2\n },\n \"items\": [\n {\n \"type\": \"value\",\n \"style\": \"font-weight: 500;\"\n },\n {\n \"type\": \"value\",\n \"textField\": \"{{params.subtitleField}}\",\n \"style\": \"font-size: 0.85em; opacity: 0.7;\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n {\n \"id\": \"ENABLE_PAGINATION\",\n \"intentExamples\": [\n \"enable pagination\",\n \"paginar\",\n \"paginação\",\n \"pagination\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"pagination\": {\n \"enabled\": true,\n \"pageSize\": \"{{params.pageSize}}\"\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_PAGINATION\",\n \"intentExamples\": [\n \"disable pagination\",\n \"remover paginacao\",\n \"lista infinita\",\n \"no pagination\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"pagination\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_FILTERING\",\n \"intentExamples\": [\n \"enable filtering\",\n \"ligar filtros\",\n \"filtrar\",\n \"searchable\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"enabled\": true\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_FILTERING\",\n \"intentExamples\": [\n \"disable filtering\",\n \"desligar filtros\",\n \"no filter\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_ADVANCED_FILTERS\",\n \"intentExamples\": [\n \"advanced filters\",\n \"filtros avancados\",\n \"filtro complexo\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"enabled\": true\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_FILTER_MODE\",\n \"intentExamples\": [\n \"filter mode\",\n \"modo de filtro\",\n \"modo unico do filtro\",\n \"painel de filtro\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"settings\": {\n \"mode\": \"{{value}}\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_ALWAYS_VISIBLE_FILTERS\",\n \"intentExamples\": [\n \"always visible filter\",\n \"filtro fixo\",\n \"fixar filtro\",\n \"pin filter\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"settings\": {\n \"alwaysVisibleFields\": [\n \"{{target}}\"\n ]\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_FILTER_SAVING\",\n \"intentExamples\": [\n \"save filters\",\n \"salvar filtros\",\n \"filter tags\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"filtering\": {\n \"advancedFilters\": {\n \"settings\": {\n \"allowSaveTags\": true\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_SORTING\",\n \"intentExamples\": [\n \"enable sorting\",\n \"ligar ordenacao\",\n \"ordenar\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"sorting\": {\n \"enabled\": true\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_SORTING\",\n \"intentExamples\": [\n \"disable sorting\",\n \"desligar ordenacao\",\n \"no sort\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"sorting\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_SELECTION\",\n \"intentExamples\": [\n \"enable selection\",\n \"ativar selecao\",\n \"selecionavel\",\n \"selectable\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"enabled\": true\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_SELECTION\",\n \"intentExamples\": [\n \"disable selection\",\n \"remover selecao\",\n \"not selectable\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"SET_SELECTION_SINGLE\",\n \"intentExamples\": [\n \"single selection\",\n \"selecao unica\",\n \"selecionar um\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": \"single\",\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"type\": \"single\"\n }\n }\n }\n },\n {\n \"id\": \"SET_SELECTION_MULTIPLE\",\n \"intentExamples\": [\n \"multiple selection\",\n \"selecao multipla\",\n \"selecionar varios\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": \"multiple\",\n \"patchTemplate\": {\n \"behavior\": {\n \"selection\": {\n \"type\": \"multiple\"\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_EXPORT\",\n \"intentExamples\": [\n \"enable export\",\n \"ativar exportacao\",\n \"botão exportar\",\n \"excel\",\n \"pdf\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"export\": {\n \"enabled\": true\n },\n \"toolbar\": {\n \"visible\": true\n }\n }\n },\n {\n \"id\": \"DISABLE_EXPORT\",\n \"intentExamples\": [\n \"disable export\",\n \"remover exportacao\",\n \"esconder exportar\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"export\": {\n \"enabled\": false\n }\n }\n },\n {\n \"id\": \"SET_DENSITY\",\n \"intentExamples\": [\n \"set density\",\n \"mudar densidade\",\n \"compacto\",\n \"confortavel\",\n \"espacoso\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"appearance\": {\n \"density\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"SHOW_BORDERS\",\n \"intentExamples\": [\n \"show borders\",\n \"mostrar bordas\",\n \"com bordas\",\n \"grid lines\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"appearance\": {\n \"borders\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": true\n }\n }\n }\n },\n {\n \"id\": \"HIDE_BORDERS\",\n \"intentExamples\": [\n \"hide borders\",\n \"ocultar bordas\",\n \"sem bordas\",\n \"clean look\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"appearance\": {\n \"borders\": {\n \"showRowBorders\": false,\n \"showColumnBorders\": false,\n \"showOuterBorder\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_STRIPED_ROWS\",\n \"intentExamples\": [\n \"striped rows\",\n \"zebrado\",\n \"linhas alternadas\",\n \"zebra\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"appearance\": {\n \"colors\": {\n \"alternateRowBackground\": \"#f7f9fc\"\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_STRIPED_ROWS\",\n \"intentExamples\": [\n \"disable striped\",\n \"remover zebrado\",\n \"fundo solido\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"appearance\": {\n \"colors\": {}\n }\n }\n },\n {\n \"id\": \"SHOW_TOOLBAR\",\n \"intentExamples\": [\n \"show toolbar\",\n \"mostrar toolbar\",\n \"barra de ferramentas\",\n \"titulo da tabela\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"toolbar\": {\n \"visible\": true\n }\n }\n },\n {\n \"id\": \"HIDE_TOOLBAR\",\n \"intentExamples\": [\n \"hide toolbar\",\n \"esconder toolbar\",\n \"remover titulo\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"visible\": false\n }\n }\n },\n {\n \"id\": \"SET_TOOLBAR_POSITION\",\n \"intentExamples\": [\n \"toolbar position\",\n \"posicao da toolbar\",\n \"toolbar no topo\",\n \"toolbar embaixo\",\n \"toolbar em cima\",\n \"toolbar ambos\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"position\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"SET_TOOLBAR_ACTIONS_POSITION\",\n \"intentExamples\": [\n \"acoes da toolbar\",\n \"barra de acoes\",\n \"acoes no topo\",\n \"acoes embaixo\",\n \"acoes em cima\",\n \"acoes em ambos\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"actionsPosition\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"SET_TOOLBAR_ACTIONS_BG\",\n \"intentExamples\": [\n \"cor barra de acoes\",\n \"fundo da barra de acoes\",\n \"background acoes\",\n \"acoes com cor\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"actionsBackgroundColor\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"ENABLE_VIRTUALIZATION\",\n \"intentExamples\": [\n \"enable virtualization\",\n \"virtualizar\",\n \"scroll infinito\",\n \"performance\",\n \"large dataset\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 48\n }\n },\n \"performance\": {\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 48\n }\n }\n }\n },\n {\n \"id\": \"DISABLE_VIRTUALIZATION\",\n \"intentExamples\": [\n \"disable virtualization\",\n \"desativar virtualizacao\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"virtualization\": {\n \"enabled\": false\n }\n },\n \"performance\": {\n \"virtualization\": {\n \"enabled\": false\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_ROW_EXPANSION\",\n \"intentExamples\": [\n \"expand row\",\n \"expandir linha\",\n \"detalhe expansivel\",\n \"row details\",\n \"master detail\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"expansion\": {\n \"enabled\": true,\n \"contractVersion\": \"1.0.0\",\n \"interaction\": {\n \"trigger\": \"icon\",\n \"keyboard\": {\n \"profile\": \"disclosure\"\n }\n },\n \"limits\": {\n \"allowMultiple\": false,\n \"maxExpandedRows\": 1,\n \"onOverflow\": \"collapseOldest\"\n },\n \"detail\": {\n \"schemaContract\": {\n \"kind\": \"praxis.detail.schema\",\n \"version\": \"1.0.0\"\n },\n \"source\": {\n \"mode\": \"inline\",\n \"inlineSchema\": {\n \"layout\": \"stack\",\n \"items\": []\n }\n },\n \"rendering\": {\n \"strategy\": \"registry\",\n \"registryId\": \"praxis.detail.default\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_EXPANSION_SOURCE_MODE\",\n \"intentExamples\": [\n \"expansion source\",\n \"detail source\",\n \"schema source\",\n \"resource detail\",\n \"resourcePath detail\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"expansion\": {\n \"detail\": {\n \"source\": {\n \"mode\": \"{{value}}\"\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_EXPANSION_RESOURCE\",\n \"intentExamples\": [\n \"detail resource id\",\n \"resource detail id\",\n \"ui composition detail\",\n \"schema detail resource\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"behavior\": {\n \"expansion\": {\n \"detail\": {\n \"source\": {\n \"mode\": \"resource\",\n \"resource\": {\n \"kind\": \"{{params.kind}}\",\n \"id\": \"{{params.id}}\",\n \"version\": \"{{params.version}}\"\n }\n }\n }\n }\n }\n }\n },\n {\n \"id\": \"SET_COLUMN_BOLD\",\n \"intentExamples\": [\n \"column bold\",\n \"coluna negrito\",\n \"destacar coluna\",\n \"bold text\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"style\": \"font-weight: 600;\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_COLUMN_COLOR\",\n \"intentExamples\": [\n \"column color\",\n \"cor da coluna\",\n \"pintar coluna\",\n \"text color\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"style\": \"color: {{value}};\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_UPPERCASE\",\n \"intentExamples\": [\n \"header uppercase\",\n \"cabecalho maiuscula\",\n \"titulo caixa alta\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"text-transform: uppercase;\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_BOLD\",\n \"intentExamples\": [\n \"header bold\",\n \"cabecalho negrito\",\n \"titulo forte\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"font-weight: 600;\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_BG_COLOR\",\n \"intentExamples\": [\n \"header background\",\n \"fundo cabecalho\",\n \"cor titulo\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"background-color: {{value}};\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_HEADER_TEXT_COLOR\",\n \"intentExamples\": [\n \"header text color\",\n \"cor texto cabecalho\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"headerStyle\": \"color: {{value}};\"\n }\n ]\n }\n },\n {\n \"id\": \"SET_TOOLBAR_ALIGNMENT\",\n \"intentExamples\": [\n \"toolbar align\",\n \"alinhar toolbar\",\n \"alinhamento barra\",\n \"space-between\",\n \"start\",\n \"end\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"ENUM\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"toolbar\": {\n \"layout\": {\n \"alignment\": \"{{value}}\"\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_GROUPING\",\n \"intentExamples\": [\n \"group by\",\n \"agrupar por\",\n \"agrupamento\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"STRING\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"grouping\": {\n \"enabled\": true,\n \"fields\": [\n \"{{target}}\"\n ],\n \"expanded\": true\n }\n }\n }\n },\n {\n \"id\": \"CLEAR_GROUPING\",\n \"intentExamples\": [\n \"ungroup\",\n \"desagrupar\",\n \"remover agrupamento\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"behavior\": {\n \"grouping\": {\n \"enabled\": false,\n \"fields\": []\n }\n }\n }\n },\n {\n \"id\": \"ENABLE_ROW_ACTIONS\",\n \"intentExamples\": [\n \"enable row actions\",\n \"acoes de linha\",\n \"botoes na linha\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"BOOLEAN\",\n \"operation\": \"update\",\n \"requiresExistingTarget\": false,\n \"defaultValue\": true,\n \"patchTemplate\": {\n \"actions\": {\n \"row\": {\n \"enabled\": true,\n \"sticky\": \"end\"\n }\n }\n }\n },\n {\n \"id\": \"ADD_ROW_ACTION_ICON\",\n \"intentExamples\": [\n \"add row action\",\n \"botao de acao\",\n \"adicionar botao\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"actions\": {\n \"row\": {\n \"actions\": [\n {\n \"id\": \"{{id}}\",\n \"icon\": \"{{icon}}\",\n \"label\": \"{{label}}\",\n \"color\": \"{{params.color}}\",\n \"overflow\": false\n }\n ]\n }\n }\n }\n },\n {\n \"id\": \"ADD_ROW_ACTION_MENU\",\n \"intentExamples\": [\n \"add row menu\",\n \"acao no menu\",\n \"item de menu\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"actions\": {\n \"row\": {\n \"actions\": [\n {\n \"id\": \"{{id}}\",\n \"icon\": \"{{icon}}\",\n \"label\": \"{{label}}\",\n \"overflow\": true\n }\n ]\n }\n }\n }\n },\n {\n \"id\": \"ADD_ROW_STYLE_BG\",\n \"intentExamples\": [\n \"row background condition\",\n \"pintar linha se\",\n \"cor de fundo condicional\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"rowConditionalStyles\": [\n {\n \"condition\": \"{{condition}}\",\n \"style\": {\n \"background-color\": \"{{value}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"ADD_ROW_STYLE_COLOR\",\n \"intentExamples\": [\n \"row text color condition\",\n \"cor texto linha se\"\n ],\n \"scope\": \"GLOBAL\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": false,\n \"patchTemplate\": {\n \"rowConditionalStyles\": [\n {\n \"condition\": \"{{condition}}\",\n \"style\": {\n \"color\": \"{{value}}\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"ADD_CONDITIONAL_RENDERER\",\n \"intentExamples\": [\n \"conditional renderer\",\n \"renderer condicional\",\n \"badge condicional\",\n \"chip condicional\",\n \"badge se\",\n \"chip se\",\n \"conditional badge\",\n \"conditional chip\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": true,\n \"params\": [\n {\n \"name\": \"condition\",\n \"type\": \"STRING\",\n \"description\": \"Objeto JSON Logic canonico serializado, nunca DSL textual (ex: { \\\">\\\": [{ \\\"var\\\": \\\"recompensa\\\" }, 500000] })\"\n },\n {\n \"name\": \"renderer\",\n \"type\": \"STRING\",\n \"description\": \"Renderer completo com type e config (ex: { type: \\\"badge\\\", badge: { textField: \\\"recompensa\\\", color: \\\"#ff69b4\\\", variant: \\\"filled\\\" } })\"\n }\n ],\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"conditionalRenderers\": [\n {\n \"condition\": \"{{params.condition}}\",\n \"renderer\": \"{{params.renderer}}\"\n }\n ]\n }\n ]\n }\n },\n {\n \"id\": \"ADD_CONDITIONAL_ICON\",\n \"intentExamples\": [\n \"conditional icon\",\n \"icone condicional\",\n \"icone se\"\n ],\n \"scope\": \"COLUMN\",\n \"valueType\": \"OBJECT\",\n \"operation\": \"create\",\n \"requiresExistingTarget\": true,\n \"patchTemplate\": {\n \"columns\": [\n {\n \"field\": \"{{target}}\",\n \"conditionalRenderers\": [\n {\n \"condition\": \"{{condition}}\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"{{value}}\",\n \"color\": \"{{params.color}}\"\n }\n }\n }\n ]\n }\n ]\n }\n }\n ],\n \"fieldResolvers\": {\n \"columns[].field\": [\n \"field\",\n \"header\"\n ],\n \"actions.row.actions[].id\": [\n \"id\",\n \"label\"\n ],\n \"rowConditionalStyles[].condition\": [\n \"condition\"\n ]\n },\n \"hints\": [\n \"Use semantic patches with columns[] and field, not JSON Patch or column indexes.\",\n \"Set columns[].type before choosing columns[].format presets to avoid mismatched formatting.\",\n \"Renderer config overrides format/valueMapping; avoid mixing unless required.\",\n \"Use ADD_CONDITIONAL_RENDERER with renderer.type + renderer.<type> config for conditional badges/chips.\",\n \"When the table already shows a status/boolean column as valueMapping or chip/badge and the user refines colors, variants, icons, animation or tooltip, preserve the target column and create conditionalRenderers per semantic value instead of repeating the same valueMapping.\",\n \"For boolean chips/badges, model true/false branches explicitly: condition {\\\"==\\\":[{\\\"var\\\":\\\"<field>\\\"},true]} for the positive label and {\\\"==\\\":[{\\\"var\\\":\\\"<field>\\\"},false]} for the negative label; use renderer.type \\\"chip\\\" or \\\"badge\\\" with text, color and variant.\",\n \"DOC: Widget purpose: data table with sorting, filtering, pagination, and actions.\",\n \"DOC: Host inputs: tableId (required), resourcePath (optional), config (optional).\",\n \"DOC: config defaults to createDefaultTableConfig(); columns may start empty.\",\n \"DOC: behavior.expansion.detail é schema-driven; altere source.mode (inline/resource/resourcePath), não use detail.type.\",\n \"DOC: Para detail.source.mode=resource, sempre informar resource.kind + resource.id + resource.version.\",\n \"DOC: Para detail.source.mode=resourcePath, sempre informar resourcePath.paramsMap + resourceAllowList[]; URL absoluta/scheme (http:, https:, data:, javascript:) é bloqueada e o runtime aplica fail-closed.\",\n \"DOC: collapseOn ativo no runtime P0A: sortChange, pageChange, filterChange e dataRefresh.\",\n \"DOC: When resourcePath is available, the table can load schema and data; ask the user to pick an API resource when missing.\",\n \"DOC: resourcePath must be the base resource path only (no /filter, /all, /{id}). CRUD endpoints are handled internally.\",\n \"DOC: columns[].computed.expression agora usa AST Json Logic canônico para derived values; não use fórmulas string.\",\n \"DOC: Operadores/funções canônicos úteis: +, -, *, /, %, min, max, cat, substr, round, ceil, floor, abs, coalesce, now, date, yearsSince, monthsSince, daysSince, len, toNumber e stringify.\",\n \"DOC: Examples: {\\\"yearsSince\\\":[{\\\"var\\\":\\\"dataNascimento\\\"}]} → idade; {\\\"yearsSince\\\":[{\\\"var\\\":\\\"dataAdmissao\\\"}]} → tempoEmpresa (anos); {\\\"monthsSince\\\":[{\\\"var\\\":\\\"dataAdmissao\\\"}]} → tempoEmpresa (meses); {\\\"daysSince\\\":[{\\\"var\\\":\\\"dataCadastro\\\"}]} → dias desde cadastro; {\\\"+\\\":[{\\\"coalesce\\\":[{\\\"var\\\":\\\"bonus\\\"},0]},{\\\"var\\\":\\\"salario\\\"}]} → total com fallback.\",\n \"### DATA ARCHETYPE TO VISUAL STRATEGY\",\n \"Apply these patterns based on the SEMANTIC NATURE of the column data:\",\n \"- STATUS/STATE (e.g., phase, stage, is_active, priority):\",\n \" -> Use \\\"badge\\\" or \\\"chip\\\" with conditional colors (success/warn/error/info).\",\n \" -> Use \\\"valueMapping\\\" to convert codes (1, \\\"A\\\") to labels (\\\"Active\\\", \\\"Approved\\\").\",\n \"- METRICS/KPI (e.g., progress, score, rating, completion):\",\n \" -> Use \\\"progress\\\" (bars), \\\"rating\\\" (stars), or \\\"percentage\\\" type.\",\n \" -> Align \\\"right\\\".\",\n \"- FINANCIAL (e.g., price, cost, balance, total):\",\n \" -> Use type \\\"currency\\\" and format \\\"BRL|symbol|2\\\" (or per locale).\",\n \" -> Align \\\"right\\\". Style: \\\"font-variant-numeric: tabular-nums\\\".\",\n \"- ENTITIES (e.g., user, product, thumb):\",\n \" -> Use \\\"avatar\\\" (for people/users) or \\\"image\\\" (for products/files).\",\n \" -> Combine with \\\"link\\\" or \\\"compose\\\" for title+subtitle layouts.\",\n \"- INTERACTIVE/NAV (e.g., details, website, download):\",\n \" -> Use \\\"button\\\" (actions), \\\"link\\\" (navigation) or \\\"icon\\\" (simple triggers).\",\n \"- BOOLEAN (e.g., has_tax, is_valid):\",\n \" -> Use \\\"toggle\\\" (if editable) or \\\"icon\\\" (check/close) or \\\"badge\\\" (Yes/No).\",\n \"- IDENTIFIERS (e.g., uuid, sku, order_id, cpf):\",\n \" -> Style: \\\"font-family: monospace\\\".\",\n \" -> CRITICAL: Do NOT use numeric formatting (like \\\"1.0-0\\\") for IDs. Treat them as strings.\",\n \" -> Consider adding a \\\"copy\\\" context action.\",\n \"- GROUPING (e.g., category, department):\",\n \" -> If the user asks to \\\"group by X\\\", use the ENABLE_GROUPING action with target=X.\",\n \"- TEMPORAL (e.g., created_at, deadline):\",\n \" -> Use type \\\"date\\\". Prefer \\\"short\\\" or \\\"shortDate\\\" for compact views.\",\n \" -> Use standard format (dd/MM/yyyy) for strict records.\"\n ]\n },\n \"aiConcepts\": {\n \"authoring-envelope\": {\n \"id\": \"authoring-envelope\",\n \"title\": \"Envelope de Autoria\",\n \"description\": \"Contrato primário de autoria usado por editor visual, editor JSON, playground e IA.\",\n \"rules\": [\n \"O JSON primário de autoria é TableAuthoringDocument com kind \\\"praxis.table.editor\\\".\",\n \"bindings.resourcePath e bindings.horizontalScroll não devem ser embutidos diretamente no TableConfig.\",\n \"meta.idField pertence ao TableConfig canônico e deve ser editado como metadado da configuração.\",\n \"TableConfig representa a projeção canônica de runtime, não o envelope completo de autoria.\",\n \"meta.schemaId e meta.serverHash são snapshots persistidos de reconciliação, não fonte primária do runtime.\"\n ],\n \"examples\": [\n \"{ kind: \\\"praxis.table.editor\\\", version: 1, config: { meta: { idField: \\\"employeeId\\\" }, columns: [{ field: \\\"name\\\", header: \\\"Nome\\\" }] }, bindings: { resourcePath: \\\"employees\\\", horizontalScroll: \\\"auto\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ columns: [{ field: \\\"name\\\", header: \\\"Nome\\\" }], __resourcePath__: \\\"employees\\\" }\",\n \"{ config: { columns: [] }, bindings: { idField: \\\"employeeId\\\" } }\"\n ]\n },\n \"meta-identity\": {\n \"id\": \"meta-identity\",\n \"title\": \"Identidade e Metadados\",\n \"description\": \"Regras para meta.* persistível (nome, descrição, tags, schemaId).\",\n \"rules\": [\n \"meta.idField deve apontar para o campo único das linhas quando configurado.\",\n \"Alterar meta.idField exige confirmação pois impacta seleção e ações por linha.\",\n \"meta.tags deve ser uma lista de strings curtas e sem espaços extras.\",\n \"meta.schemaId é referência de origem; use apenas valores conhecidos.\"\n ],\n \"examples\": [\n \"meta.name = \\\"Funcionários ativos\\\"\",\n \"meta.description = \\\"Visão de colaboradores ativos com filtros por status.\\\"\",\n \"meta.tags = [\\\"financeiro\\\", \\\"demo\\\"]\",\n \"meta.idField = \\\"employeeId\\\"\"\n ],\n \"antiPatterns\": [\n \"meta.idField = \\\"id\\\" (sem validar se existe no dataset)\",\n \"meta.tags = \\\"financeiro\\\"\"\n ]\n },\n \"columns-core\": {\n \"id\": \"columns-core\",\n \"title\": \"Colunas Básicas\",\n \"description\": \"Definições essenciais de colunas (field, header, visible, order, width).\",\n \"rules\": [\n \"columns[].field deve ser único e existir no dataset.\",\n \"Não reutilize o mesmo field em duas colunas.\",\n \"Use order para posicionar colunas; menor valor = mais à esquerda.\",\n \"width aceita valores CSS (ex.: \\\"120px\\\", \\\"10%\\\", \\\"auto\\\").\"\n ],\n \"examples\": [\n \"{ field: \\\"status\\\", header: \\\"Status\\\", visible: true, order: 2 }\",\n \"{ field: \\\"createdAt\\\", header: \\\"Criado em\\\", width: \\\"140px\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ field: \\\"status\\\", header: \\\"Status\\\" } e outra coluna com field \\\"status\\\"\",\n \"{ field: \\\"price\\\", width: 120 }\"\n ]\n },\n \"columns-behavior\": {\n \"id\": \"columns-behavior\",\n \"title\": \"Comportamento de Coluna\",\n \"description\": \"Configura sortable, filterable, resizable, align e sticky.\",\n \"rules\": [\n \"sortable e filterable devem refletir o comportamento real do backend.\",\n \"resizable depende de behavior.resizing.enabled quando disponível.\",\n \"align deve ser left/center/right.\",\n \"sticky aceita true, \\\"start\\\" ou \\\"end\\\".\"\n ],\n \"examples\": [\n \"{ field: \\\"amount\\\", sortable: true, filterable: true, align: \\\"right\\\" }\",\n \"{ field: \\\"id\\\", sticky: \\\"start\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ align: \\\"middle\\\" }\",\n \"{ sticky: \\\"left\\\" }\"\n ]\n },\n \"columns-styles\": {\n \"id\": \"columns-styles\",\n \"title\": \"Estilos de Coluna\",\n \"description\": \"CSS inline e classes para células e cabeçalho.\",\n \"rules\": [\n \"cssClass/headerCssClass devem ser nomes de classe válidos.\",\n \"style/headerStyle são CSS inline curtos e seguros.\",\n \"Evite !important e regras muito longas.\"\n ],\n \"examples\": [\n \"{ field: \\\"status\\\", cssClass: \\\"col-status\\\" }\",\n \"{ field: \\\"name\\\", headerStyle: \\\"text-transform: uppercase;\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ headerCssClass: \\\"header title\\\" }\",\n \"{ style: \\\"background: url(javascript:...)\\\" }\"\n ]\n },\n \"columns-types\": {\n \"id\": \"columns-types\",\n \"title\": \"Tipos e Formatos de Coluna\",\n \"description\": \"Regras de type/format por tipo de dado.\",\n \"rules\": [\n \"type deve ser um dos tipos suportados (string/number/date/boolean/currency/percentage/custom).\",\n \"format deve ser compatível com type e presets do sistema.\",\n \"Para currency, use formato \\\"BRL|symbol|2\\\" ou semelhante.\",\n \"Para date, use DatePipe ou presets existentes.\"\n ],\n \"examples\": [\n \"{ field: \\\"createdAt\\\", type: \\\"date\\\", format: \\\"dd/MM/yyyy\\\" }\",\n \"{ field: \\\"amount\\\", type: \\\"currency\\\", format: \\\"BRL|symbol|2\\\" }\"\n ],\n \"antiPatterns\": [\n \"{ type: \\\"money\\\" }\",\n \"{ format: \\\"money()\\\" }\"\n ]\n },\n \"columns-formatting\": {\n \"id\": \"columns-formatting\",\n \"title\": \"Mapeamento e Formatação Avançada\",\n \"description\": \"valueMapping, format e estilos adicionais.\",\n \"rules\": [\n \"valueMapping deve usar chaves de string para mapear valores crus.\",\n \"Use format presets quando disponíveis; evite formatos inventados.\"\n ],\n \"syntax\": \"format: \\\"BRL|symbol|2\\\"\",\n \"examples\": [\n \"{ field: \\\"active\\\", valueMapping: { \\\"1\\\": \\\"Ativo\\\", \\\"0\\\": \\\"Inativo\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ valueMapping: { 1: \\\"Ativo\\\" } }\"\n ]\n },\n \"columns-internals\": {\n \"id\": \"columns-internals\",\n \"title\": \"Campos Internos de Coluna\",\n \"description\": \"Campos reservados usados por fluxos internos e importação.\",\n \"rules\": [\n \"Evite setar _styleRulesState, _generatedValueGetter, _originalApiType e _isApiField manualmente.\",\n \"Use apenas em fluxos de migração ou importação controlada.\"\n ],\n \"examples\": [\n \"(_isApiField true só quando coluna veio da API)\"\n ],\n \"antiPatterns\": [\n \"{ _generatedValueGetter: \\\"row => row.value\\\" }\"\n ]\n },\n \"computed-logic\": {\n \"id\": \"computed-logic\",\n \"title\": \"Lógica de Colunas Calculadas\",\n \"description\": \"Regras matemáticas e de sintaxe para colunas computed.\",\n \"rules\": [\n \"Use AST Json Logic canônico em columns[].computed.expression.\",\n \"Acesse campos da linha com {\\\"var\\\":\\\"field\\\"} e dependências anteriores com {\\\"var\\\":\\\"computed.total\\\"}.\",\n \"Operadores/funções disponíveis incluem +, -, *, /, %, min, max, cat, substr, round, floor, ceil, abs, coalesce, now, date, yearsSince, monthsSince, daysSince, len, toNumber e stringify.\",\n \"NÃO use prefixos como \\\"row.\\\", \\\"this.\\\" ou \\\"item.\\\", nem strings DSL.\",\n \"O resultado deve ser compatível com o outputType (number, currency, percentage, string).\"\n ],\n \"syntax\": \"{\\\"*\\\":[{\\\"var\\\":\\\"fieldA\\\"},{\\\"var\\\":\\\"fieldB\\\"}]}\",\n \"examples\": [\n \"{\\\"*\\\":[{\\\"var\\\":\\\"quantity\\\"},{\\\"var\\\":\\\"unitPrice\\\"}]}\",\n \"{\\\"/\\\":[{\\\"-\\\":[{\\\"var\\\":\\\"total\\\"},{\\\"var\\\":\\\"cost\\\"}]},{\\\"var\\\":\\\"total\\\"}]}\",\n \"{\\\"min\\\":[{\\\"var\\\":\\\"stock\\\"},100]}\",\n \"{\\\"abs\\\":[{\\\"var\\\":\\\"balance\\\"}]}\"\n ],\n \"antiPatterns\": [\n \"\\\"quantity * price\\\"\",\n \"row.quantity * row.price\",\n \"Math.max(price, 0)\",\n \"return quantity * price;\"\n ]\n },\n \"renderers-core\": {\n \"id\": \"renderers-core\",\n \"title\": \"Renderers de Coluna\",\n \"description\": \"Regras para columns[].renderer.* e tipos suportados.\",\n \"rules\": [\n \"Defina columns[].renderer.type antes de configurar detalhes.\",\n \"Para renderers interativos (button, toggle, menu), configure action.\",\n \"renderer.html deve usar template com placeholders [[field]].\",\n \"renderer.link deve preferir hrefField/textField quando o valor vem do dataset.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"badge\\\", badge: { textField: \\\"status\\\", color: \\\"success\\\" } } }\",\n \"{ renderer: { type: \\\"button\\\", button: { label: \\\"Editar\\\", action: { id: \\\"edit-row\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ renderer: { badge: { text: \\\"Ativo\\\" } } }\",\n \"{ renderer: { type: \\\"button\\\", button: { label: \\\"Editar\\\" } } }\"\n ]\n },\n \"renderer-icon\": {\n \"id\": \"renderer-icon\",\n \"title\": \"Renderer Icon\",\n \"description\": \"Configuração de renderer.icon.*\",\n \"rules\": [\n \"Use icon.name para ícone fixo ou icon.nameField para dinâmico.\",\n \"icon.size é em px.\",\n \"ariaLabel deve ser descritivo.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"icon\\\", icon: { name: \\\"check_circle\\\", color: \\\"success\\\", size: 18 } } }\"\n ],\n \"antiPatterns\": [\n \"{ icon: { name: \\\"check\\\" } } sem renderer.type\"\n ]\n },\n \"renderer-image\": {\n \"id\": \"renderer-image\",\n \"title\": \"Renderer Image\",\n \"description\": \"Configuração de renderer.image.*\",\n \"rules\": [\n \"Use srcField quando a URL vem do dataset.\",\n \"Defina alt/altField para acessibilidade.\",\n \"width/height são em px.\",\n \"shape deve ser square/rounded/circle.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"image\\\", image: { srcField: \\\"avatarUrl\\\", shape: \\\"circle\\\", width: 32, height: 32 } } }\"\n ],\n \"antiPatterns\": [\n \"{ renderer: { type: \\\"image\\\", image: { src: \\\"\\\" } } }\"\n ]\n },\n \"renderer-badge\": {\n \"id\": \"renderer-badge\",\n \"title\": \"Renderer Badge\",\n \"description\": \"Configuração de renderer.badge.*\",\n \"rules\": [\n \"Badge requer text ou textField.\",\n \"variant deve ser filled/outlined/soft.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"badge\\\", badge: { textField: \\\"status\\\", variant: \\\"filled\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ badge: {} }\"\n ]\n },\n \"renderer-link\": {\n \"id\": \"renderer-link\",\n \"title\": \"Renderer Link\",\n \"description\": \"Configuração de renderer.link.*\",\n \"rules\": [\n \"Use hrefField quando URL vem do dataset.\",\n \"target deve ser _blank/_self/_parent/_top.\",\n \"rel deve ser usado com target _blank (ex.: noopener).\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"link\\\", link: { textField: \\\"name\\\", hrefField: \\\"profileUrl\\\", target: \\\"_blank\\\", rel: \\\"noopener\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ link: { href: \\\"javascript:alert(1)\\\" } }\"\n ]\n },\n \"renderer-button\": {\n \"id\": \"renderer-button\",\n \"title\": \"Renderer Button\",\n \"description\": \"Configuração de renderer.button.*\",\n \"rules\": [\n \"button.action.id é obrigatório para ações interativas.\",\n \"disabledCondition usa expressao condicional canonica em JSON Logic.\",\n \"variant deve ser filled/outlined/text.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"button\\\", button: { label: \\\"Editar\\\", action: { id: \\\"edit-row\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ button: { label: \\\"Editar\\\" } }\"\n ]\n },\n \"renderer-chip\": {\n \"id\": \"renderer-chip\",\n \"title\": \"Renderer Chip\",\n \"description\": \"Configuração de renderer.chip.*\",\n \"rules\": [\n \"Chip requer text ou textField.\",\n \"variant deve ser filled/outlined/soft.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"chip\\\", chip: { text: \\\"Ativo\\\", variant: \\\"filled\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ chip: { variant: \\\"ghost\\\" } }\"\n ]\n },\n \"renderer-progress\": {\n \"id\": \"renderer-progress\",\n \"title\": \"Renderer Progress\",\n \"description\": \"Configuração de renderer.progress.*\",\n \"rules\": [\n \"valueExpr deve retornar 0-100.\",\n \"showLabel controla exibição do valor.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"progress\\\", progress: { valueExpr: \\\"progress\\\", showLabel: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ progress: { valueExpr: \\\"progress/100\\\" } } sem garantir 0-100\"\n ]\n },\n \"renderer-avatar\": {\n \"id\": \"renderer-avatar\",\n \"title\": \"Renderer Avatar\",\n \"description\": \"Configuração de renderer.avatar.*\",\n \"rules\": [\n \"Use srcField para imagem dinâmica.\",\n \"initialsField deriva iniciais automaticamente a partir de um campo textual.\",\n \"initialsExpr é fallback quando não há imagem e deve retornar as iniciais prontas; não use JS arbitrário para split/map/trim.\",\n \"Use backgroundColor e textColor para colorir o círculo do avatar; para variar por linha, aplique esses campos em conditionalRenderers.\",\n \"shape deve ser circle/square/rounded.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"avatar\\\", avatar: { srcField: \\\"avatarUrl\\\", initialsField: \\\"name\\\" } } }\",\n \"{ renderer: { type: \\\"avatar\\\", avatar: { initialsExpr: \\\"initials\\\" } } }\",\n \"{ conditionalRenderers: [{ condition: { \\\">\\\": [{ \\\"var\\\": \\\"salary\\\" }, 30000] }, renderer: { type: \\\"avatar\\\", avatar: { initialsField: \\\"name\\\", backgroundColor: \\\"#D32F2F\\\", textColor: \\\"#FFFFFF\\\" } } }] }\"\n ],\n \"antiPatterns\": [\n \"{ avatar: { initialsExpr: \\\"name\\\" } }\",\n \"{ avatar: { shape: \\\"round\\\" } }\"\n ]\n },\n \"renderer-toggle\": {\n \"id\": \"renderer-toggle\",\n \"title\": \"Renderer Toggle\",\n \"description\": \"Configuração de renderer.toggle.*\",\n \"rules\": [\n \"toggle.action.id é obrigatório para persistir mudança.\",\n \"disabledCondition usa expressao condicional canonica em JSON Logic.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"toggle\\\", toggle: { stateExpr: \\\"active\\\", action: { id: \\\"toggle-active\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ toggle: { stateExpr: \\\"active\\\" } } sem action\"\n ]\n },\n \"renderer-menu\": {\n \"id\": \"renderer-menu\",\n \"title\": \"Renderer Menu\",\n \"description\": \"Configuração de renderer.menu.*\",\n \"rules\": [\n \"itemsExpr deve produzir lista de ações válidas.\",\n \"ariaLabel deve descrever o menu.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"menu\\\", menu: { itemsExpr: \\\"row.menuItems\\\", ariaLabel: \\\"Ações\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ menu: { itemsExpr: \\\"row => row.items\\\" } }\"\n ]\n },\n \"renderer-rating\": {\n \"id\": \"renderer-rating\",\n \"title\": \"Renderer Rating\",\n \"description\": \"Configuração de renderer.rating.*\",\n \"rules\": [\n \"valueExpr deve retornar numero dentro do max.\",\n \"O renderer é somente leitura por padrão; não use readonly no schema funcional.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"rating\\\", rating: { valueExpr: \\\"score\\\", max: 5, ariaLabel: \\\"Nota {value} de {max}\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ rating: { max: 0 } }\"\n ]\n },\n \"renderer-html\": {\n \"id\": \"renderer-html\",\n \"title\": \"Renderer HTML\",\n \"description\": \"Configuração de renderer.html.*\",\n \"rules\": [\n \"template deve usar placeholders [[field]].\",\n \"sanitize deve ser strict ou basic, preferindo strict.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"html\\\", html: { template: \\\"<strong>[[name]]</strong>\\\", sanitize: \\\"strict\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ html: { template: \\\"<script>alert(1)</script>\\\" } }\"\n ]\n },\n \"renderer-compose\": {\n \"id\": \"renderer-compose\",\n \"title\": \"Renderer Compose\",\n \"description\": \"Composição de múltiplos renderers na mesma célula.\",\n \"rules\": [\n \"columns[].renderer.compose.items deve ser uma lista de renderers válidos.\",\n \"Defina layout (direction, gap, align) para evitar overflow.\",\n \"Evite mixar elementos interativos sem espaço suficiente.\"\n ],\n \"examples\": [\n \"{ renderer: { type: \\\"compose\\\", compose: { items: [{ type: \\\"icon\\\", icon: { name: \\\"check\\\" } }, { type: \\\"text\\\", textField: \\\"status\\\" }], layout: { direction: \\\"row\\\", gap: 8 } } } }\"\n ],\n \"antiPatterns\": [\n \"{ renderer: { type: \\\"compose\\\", compose: { items: [] } } }\"\n ]\n },\n \"conditional-json-logic\": {\n \"id\": \"conditional-json-logic\",\n \"title\": \"Expressoes Condicionais\",\n \"description\": \"Sintaxe de condições para conditionalRenderers e filtros de estilo.\",\n \"rules\": [\n \"Use objetos JSON Logic com referencias var (ex: { \\\"===\\\": [{ \\\"var\\\": \\\"status\\\" }, \\\"Ativo\\\"] }).\",\n \"Operadores suportados: ===, !==, >, <, >=, <=, and, or, !.\",\n \"Funcoes comuns: { \\\"contains\\\": [{ \\\"var\\\": \\\"name\\\" }, \\\"Silva\\\"] }.\",\n \"Pode referenciar computed.<field> quando existir.\",\n \"NAO use DSL textual, JavaScript (row., this., Math., ternario, eval) nem strings de expressao.\"\n ],\n \"syntax\": \"{\\\"and\\\":[{\\\"contains\\\":[{\\\"var\\\":\\\"status\\\"},\\\"Ativo\\\"]},{\\\">=\\\":[{\\\"var\\\":\\\"price\\\"},100]}]}\",\n \"examples\": [\n \"{\\\"===\\\":[{\\\"var\\\":\\\"status\\\"},\\\"Ativo\\\"]}\",\n \"{\\\"contains\\\":[{\\\"var\\\":\\\"name\\\"},\\\"Silva\\\"]}\",\n \"{\\\">\\\":[{\\\"var\\\":\\\"computed.total\\\"},1000]}\"\n ],\n \"antiPatterns\": [\n \"row.status == \\\"Ativo\\\"\",\n \"Math.max(price, 0) > 10\",\n \"status ? \\\"A\\\" : \\\"B\\\"\"\n ]\n },\n \"conditional-renderers\": {\n \"id\": \"conditional-renderers\",\n \"title\": \"Renderers Condicionais\",\n \"description\": \"Configura conditionalRenderers por coluna.\",\n \"rules\": [\n \"condition usa expressao condicional canonica em JSON Logic.\",\n \"renderer interno segue as mesmas regras dos renderers padrão.\",\n \"Para animar apenas uma célula/coluna quando a condição for verdadeira, use columns[].conditionalRenderers[].animation.\",\n \"enabled controla ativacao da regra.\"\n ],\n \"examples\": [\n \"{ conditionalRenderers: [{ condition: { \\\"===\\\": [{ \\\"var\\\": \\\"status\\\" }, \\\"Ativo\\\"] }, renderer: { type: \\\"badge\\\", badge: { text: \\\"Ativo\\\" } } }] }\",\n \"{ conditionalRenderers: [{ condition: { \\\">\\\": [{ \\\"var\\\": \\\"salario\\\" }, 30000] }, animation: { preset: \\\"pulse-soft\\\", trigger: \\\"onAppear\\\", intensity: \\\"subtle\\\", repeat: \\\"once\\\" } }] }\"\n ],\n \"antiPatterns\": [\n \"{ conditionalRenderers: [{ condition: \\\"row.status == \\\"Ativo\\\"\\\" }] }\",\n \"{ conditionalStyles: [{ style: { animation: \\\"pulse 1s infinite\\\" } }] }\"\n ]\n },\n \"conditional-animations\": {\n \"id\": \"conditional-animations\",\n \"title\": \"Animações Condicionais\",\n \"description\": \"Animações condicionais de linha e célula na tabela.\",\n \"rules\": [\n \"Use rowConditionalRenderers[].animation para animar a linha inteira.\",\n \"Use columns[].conditionalRenderers[].animation para animar somente o conteúdo de uma célula/coluna.\",\n \"Prefira preset semântico antes de type bruto: info-soft, success-confirm, warning-attention, critical-alert, audit-review, sync-pending, pulse-soft, fade-soft, sla-warning, sla-breach, risk-elevated, risk-critical, audit-warning ou sync-warning.\",\n \"condition sempre usa JSON Logic; não use JS, row.status ou strings de expressão.\",\n \"appearance.animations.enabled=false desativa animações; appearance.animations.specific.row/cell=false desativa o escopo correspondente.\",\n \"onConditionEnter, onConditionExit e onDataRefresh são aceitos no contrato de autoria e normalizados para gatilho de mudança no runtime.\"\n ],\n \"examples\": [\n \"{ rowConditionalRenderers: [{ id: \\\"salary-high-pulse\\\", condition: { \\\">\\\": [{ \\\"var\\\": \\\"salario\\\" }, 30000] }, animation: { preset: \\\"pulse-soft\\\", trigger: \\\"onAppear\\\", intensity: \\\"subtle\\\", repeat: \\\"once\\\", durationMs: 1200 }, enabled: true }] }\",\n \"{ columns: [{ field: \\\"status\\\", conditionalRenderers: [{ id: \\\"status-critical-alert\\\", condition: { \\\"===\\\": [{ \\\"var\\\": \\\"status\\\" }, \\\"Critico\\\"] }, animation: { preset: \\\"critical-alert\\\", trigger: \\\"onChange\\\", repeat: \\\"loop\\\", intensity: \\\"strong\\\" }, enabled: true }] }] }\"\n ],\n \"antiPatterns\": [\n \"{ rowConditionalStyles: [{ style: { animation: \\\"pulse 1s infinite\\\" } }] }\",\n \"{ rowConditionalRenderers: [{ condition: \\\"row.salario > 30000\\\", animation: { name: \\\"pulse\\\" } }] }\",\n \"{ columns: [{ conditionalStyles: [{ condition: { \\\">\\\": [{ \\\"var\\\": \\\"salario\\\" }, 30000] }, style: { animationName: \\\"pulse\\\" } }] }] }\"\n ]\n },\n \"conditional-styles\": {\n \"id\": \"conditional-styles\",\n \"title\": \"Estilos Condicionais por Coluna\",\n \"description\": \"Configura conditionalStyles.*\",\n \"rules\": [\n \"condition usa expressao condicional canonica em JSON Logic.\",\n \"cssClass define classe e style aplica inline.\",\n \"description deve ser texto curto.\"\n ],\n \"examples\": [\n \"{ conditionalStyles: [{ condition: { \\\"<\\\": [{ \\\"var\\\": \\\"amount\\\" }, 0] }, cssClass: \\\"col-negative\\\" }] }\"\n ],\n \"antiPatterns\": [\n \"{ conditionalStyles: [{ condition: \\\"row.amount < 0\\\" }] }\"\n ]\n },\n \"row-conditional-styles\": {\n \"id\": \"row-conditional-styles\",\n \"title\": \"Estilos Condicionais de Linha\",\n \"description\": \"Configura rowConditionalStyles.*\",\n \"rules\": [\n \"condition usa expressao condicional canonica em JSON Logic.\",\n \"cssClass define classe e style aplica inline.\",\n \"description deve ser texto curto.\"\n ],\n \"examples\": [\n \"{ rowConditionalStyles: [{ condition: { \\\"<\\\": [{ \\\"var\\\": \\\"amount\\\" }, 0] }, cssClass: \\\"row-negative\\\" }] }\"\n ],\n \"antiPatterns\": [\n \"{ rowConditionalStyles: [{ condition: \\\"row.amount < 0\\\" }] }\"\n ]\n },\n \"behavior-pagination\": {\n \"id\": \"behavior-pagination\",\n \"title\": \"Paginação (Behavior)\",\n \"description\": \"Configuração de behavior.pagination.*\",\n \"rules\": [\n \"strategy deve ser client ou server.\",\n \"pageSizeOptions deve incluir pageSize.\",\n \"advanced.maxPageSize limita pageSize customizado.\"\n ],\n \"examples\": [\n \"{ behavior: { pagination: { enabled: true, strategy: \\\"server\\\", pageSize: 25, pageSizeOptions: [10, 25, 50] } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { pagination: { strategy: \\\"server\\\" } } } sem totalItems\"\n ]\n },\n \"behavior-sorting\": {\n \"id\": \"behavior-sorting\",\n \"title\": \"Ordenação (Behavior)\",\n \"description\": \"Configuração de behavior.sorting.*\",\n \"rules\": [\n \"defaultSort pode ser objeto unico ou lista.\",\n \"multiSort true permite multiplos campos.\",\n \"allowClearSort habilita terceiro clique.\"\n ],\n \"examples\": [\n \"{ behavior: { sorting: { enabled: true, strategy: \\\"client\\\", defaultSort: { column: \\\"createdAt\\\", direction: \\\"desc\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { sorting: { defaultSort: { column: \\\"\\\", direction: \\\"asc\\\" } } } }\"\n ]\n },\n \"behavior-filtering\": {\n \"id\": \"behavior-filtering\",\n \"title\": \"Filtros (Behavior)\",\n \"description\": \"Configuração de behavior.filtering.*\",\n \"rules\": [\n \"columnFilters.position deve ser header/subheader/sidebar.\",\n \"advancedFilters.settings controla o painel avançado.\",\n \"strategy deve refletir suporte do backend.\"\n ],\n \"examples\": [\n \"{ behavior: { filtering: { enabled: true, columnFilters: { enabled: true, position: \\\"header\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { filtering: { enabled: true } } } sem strategy\"\n ]\n },\n \"behavior-selection\": {\n \"id\": \"behavior-selection\",\n \"title\": \"Selecao (Behavior)\",\n \"description\": \"Configuração de behavior.selection.*\",\n \"rules\": [\n \"type define single/multiple e mode define checkbox/row/both.\",\n \"persistSelection mantem selecao entre paginas.\",\n \"visual.highlightSelected define destaque da linha.\"\n ],\n \"examples\": [\n \"{ behavior: { selection: { enabled: true, type: \\\"multiple\\\", mode: \\\"checkbox\\\", persistSelection: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { selection: { type: \\\"multi\\\" } } }\"\n ]\n },\n \"behavior-interaction\": {\n \"id\": \"behavior-interaction\",\n \"title\": \"Interacao (Behavior)\",\n \"description\": \"Configuração de behavior.interaction.*\",\n \"rules\": [\n \"rowClick/rowDoubleClick.action devem ser ids conhecidos.\",\n \"customAction deve referenciar handler registrado.\",\n \"keyboard.customShortcuts mapeia teclas para ações.\"\n ],\n \"examples\": [\n \"{ behavior: { interaction: { rowClick: { enabled: true, action: \\\"view\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { interaction: { rowClick: { customAction: \\\"row => fn(row)\\\" } } } }\"\n ]\n },\n \"behavior-loading\": {\n \"id\": \"behavior-loading\",\n \"title\": \"Loading (Behavior)\",\n \"description\": \"Configuração de behavior.loading.*\",\n \"rules\": [\n \"type deve ser spinner/skeleton/progress/custom.\",\n \"delay evita flicker.\",\n \"skeleton.rows deve ser numero positivo.\"\n ],\n \"examples\": [\n \"{ behavior: { loading: { type: \\\"skeleton\\\", position: \\\"replace\\\", delay: 200, skeleton: { rows: 6, animated: true } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { loading: { delay: 0 } } }\"\n ]\n },\n \"behavior-empty-state\": {\n \"id\": \"behavior-empty-state\",\n \"title\": \"Estado Vazio (Behavior)\",\n \"description\": \"Configuração de behavior.emptyState.*\",\n \"rules\": [\n \"message deve ser texto curto.\",\n \"actions[].action deve ser string de acao.\",\n \"contexts permite variações por cenário.\"\n ],\n \"examples\": [\n \"{ behavior: { emptyState: { message: \\\"Sem dados\\\", actions: [{ label: \\\"Adicionar\\\", action: \\\"create\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { emptyState: { message: \\\"\\\" } } }\"\n ]\n },\n \"behavior-virtualization\": {\n \"id\": \"behavior-virtualization\",\n \"title\": \"Virtualizacao (Behavior)\",\n \"description\": \"Configuração de behavior.virtualization.*\",\n \"rules\": [\n \"itemHeight deve ser informado quando enabled.\",\n \"strategy deve ser fixed ou dynamic.\"\n ],\n \"examples\": [\n \"{ behavior: { virtualization: { enabled: true, itemHeight: 48, strategy: \\\"fixed\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { virtualization: { enabled: true } } }\"\n ]\n },\n \"behavior-resizing\": {\n \"id\": \"behavior-resizing\",\n \"title\": \"Resize (Behavior)\",\n \"description\": \"Configuração de behavior.resizing.*\",\n \"rules\": [\n \"minColumnWidth deve ser positivo.\",\n \"persistWidths salva ajustes do usuario.\"\n ],\n \"examples\": [\n \"{ behavior: { resizing: { enabled: true, minColumnWidth: 80, autoFit: false, persistWidths: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { resizing: { minColumnWidth: 0 } } }\"\n ]\n },\n \"behavior-dragging\": {\n \"id\": \"behavior-dragging\",\n \"title\": \"Drag & Drop (Behavior)\",\n \"description\": \"Configuração de behavior.dragging.*\",\n \"rules\": [\n \"columns/rows controla reordenacao.\",\n \"columnDropZones deve listar zonas validas.\"\n ],\n \"examples\": [\n \"{ behavior: { dragging: { columns: true, rows: false, showDragIndicator: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { dragging: { columns: \\\"yes\\\" } } }\"\n ]\n },\n \"behavior-expansion\": {\n \"id\": \"behavior-expansion\",\n \"title\": \"Expansion (Behavior)\",\n \"description\": \"Configuração de behavior.expansion.* para detail rows schema-driven.\",\n \"rules\": [\n \"detail é sempre schema-driven; varie source.mode (inline/resource/resourcePath), não detail.type.\",\n \"detail.schemaContract.kind/version deve ser informado para validação e migração.\",\n \"Em virtualização, prefira detail.height.mode=fixed com virtualization.policy=fixed-height-only.\",\n \"Use eventExposureDefault hashed/redacted por padrão em ambiente corporativo.\"\n ],\n \"examples\": [\n \"{ behavior: { expansion: { enabled: true, state: { mode: \\\"controlled\\\" }, detail: { schemaContract: { kind: \\\"praxis.detail.schema\\\", version: \\\"1.0.0\\\" }, source: { mode: \\\"resource\\\", resource: { kind: \\\"ui-composition\\\", id: \\\"customer-detail-v2\\\", version: \\\"2.1.0\\\" } }, rendering: { strategy: \\\"registry\\\", registryId: \\\"praxis.detail.default\\\" } } } } }\"\n ],\n \"antiPatterns\": [\n \"{ behavior: { expansion: { detail: { type: \\\"template\\\", templateId: \\\"legacy-id\\\" } } } }\"\n ]\n },\n \"appearance\": {\n \"id\": \"appearance\",\n \"title\": \"Aparência e Layout\",\n \"description\": \"Densidade, bordas, cores, tipografia, espaçamento e responsividade.\",\n \"rules\": [\n \"appearance.density deve usar valores compact/comfortable/spacious.\",\n \"Cores devem usar tokens do tema ou hex válido.\",\n \"responsive.mobile.cardMode deve ser combinado com colunas prioritárias.\",\n \"Se animations.enabled for true, respeite reduceMotion.\",\n \"appearance.animations.specific.row e appearance.animations.specific.cell controlam animações condicionais por escopo.\"\n ],\n \"examples\": [\n \"{ appearance: { density: \\\"compact\\\", borders: { showRowBorders: true } } }\",\n \"{ appearance: { typography: { fontSize: \\\"14px\\\" }, spacing: { cellPadding: \\\"8px 16px\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ appearance: { density: \\\"tiny\\\" } }\"\n ]\n },\n \"appearance-details\": {\n \"id\": \"appearance-details\",\n \"title\": \"Detalhes de Aparência\",\n \"description\": \"Bordas, cores, tipografia, spacing, elevation e responsive autoAdjust.\",\n \"rules\": [\n \"borders.style deve ser solid/dashed/dotted quando aplicável.\",\n \"typography.headerFontWeight deve ser string numerica ou token.\",\n \"responsive.autoAdjust controla ajustes automáticos em telas menores.\"\n ],\n \"examples\": [\n \"{ appearance: { borders: { showOuterBorder: true, style: \\\"solid\\\" }, colors: { alternateRowBackground: \\\"#f7f9fc\\\" } } }\",\n \"{ appearance: { responsive: { mobile: { cardMode: true, priorityColumns: [\\\"name\\\", \\\"status\\\"] } } } }\"\n ],\n \"antiPatterns\": [\n \"{ appearance: { borders: { style: \\\"double\\\" } } }\"\n ]\n },\n \"toolbar\": {\n \"id\": \"toolbar\",\n \"title\": \"Toolbar\",\n \"description\": \"Configurações gerais da toolbar.\",\n \"rules\": [\n \"toolbar.visible controla exibição global da barra.\",\n \"Use toolbar.layout.alignment para ajustar distribuição.\",\n \"toolbar.filters.enabled depende de filtering.enabled.\",\n \"settingsMenu.enabled expõe opções de densidade e colunas.\"\n ],\n \"examples\": [\n \"{ toolbar: { visible: true, position: \\\"top\\\", title: \\\"Pedidos\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ toolbar: { position: \\\"left\\\" } }\"\n ]\n },\n \"toolbar-layout\": {\n \"id\": \"toolbar-layout\",\n \"title\": \"Layout da Toolbar\",\n \"description\": \"Configuração de toolbar.layout.*\",\n \"rules\": [\n \"alignment deve ser start/center/end/space-between.\",\n \"height e padding devem ser coerentes com o tema.\"\n ],\n \"examples\": [\n \"{ toolbar: { layout: { alignment: \\\"space-between\\\", height: 56, showSeparator: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ toolbar: { layout: { alignment: \\\"between\\\" } } }\"\n ]\n },\n \"toolbar-actions\": {\n \"id\": \"toolbar-actions\",\n \"title\": \"Ações da Toolbar\",\n \"description\": \"Definições de toolbar.actions[].\",\n \"rules\": [\n \"toolbar.actions[].id deve ser único.\",\n \"action deve ser string, não função JS.\",\n \"type deve ser button/icon/fab/menu.\",\n \"visibleWhen usa expressao condicional canonica em JSON Logic.\"\n ],\n \"examples\": [\n \"{ toolbar: { actions: [{ id: \\\"add\\\", label: \\\"Adicionar\\\", type: \\\"button\\\", action: \\\"create\\\", position: \\\"end\\\" }] } }\",\n \"{ toolbar: { actions: [{ id: \\\"more\\\", label: \\\"Mais\\\", type: \\\"menu\\\", action: \\\"noop\\\", children: [{ id: \\\"export\\\", label: \\\"Exportar\\\", type: \\\"button\\\", action: \\\"export\\\" }] }] } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: [{ action: \\\"() => doSomething()\\\" }] }\"\n ]\n },\n \"toolbar-filters\": {\n \"id\": \"toolbar-filters\",\n \"title\": \"Filtros da Toolbar\",\n \"description\": \"Configuração de toolbar.filters.* e quickFilters.\",\n \"rules\": [\n \"quickFilters[].filter deve seguir a estrutura do filtro suportado.\",\n \"enabled depende de behavior.filtering.enabled.\"\n ],\n \"examples\": [\n \"{ toolbar: { filters: { enabled: true, quickFilters: [{ id: \\\"active\\\", label: \\\"Ativos\\\", filter: { status: \\\"active\\\" } }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ toolbar: { filters: { quickFilters: [{ filter: \\\"status=active\\\" }] } } }\"\n ]\n },\n \"toolbar-settings\": {\n \"id\": \"toolbar-settings\",\n \"title\": \"Menu de Configuracoes\",\n \"description\": \"Configuração de toolbar.settingsMenu.*\",\n \"rules\": [\n \"settingsMenu.options[].type deve ser toggle/select/action.\",\n \"options deve listar valores validos quando type for select.\"\n ],\n \"examples\": [\n \"{ toolbar: { settingsMenu: { enabled: true, options: [{ id: \\\"density\\\", label: \\\"Densidade\\\", type: \\\"select\\\", options: [\\\"compact\\\", \\\"comfortable\\\", \\\"spacious\\\"] }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ settingsMenu: { options: [{ type: \\\"dropdown\\\" }] } }\"\n ]\n },\n \"row-actions\": {\n \"id\": \"row-actions\",\n \"title\": \"Acoes por Linha\",\n \"description\": \"Configuração de actions.row.*\",\n \"rules\": [\n \"enabled deve estar true para mostrar coluna de ações.\",\n \"display deve ser menu/buttons/icons.\",\n \"trigger deve ser hover/always/click.\",\n \"actions[].action deve ser string.\"\n ],\n \"examples\": [\n \"{ actions: { row: { enabled: true, display: \\\"menu\\\", trigger: \\\"hover\\\", actions: [{ id: \\\"edit\\\", label: \\\"Editar\\\", action: \\\"edit\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: { row: { display: \\\"dropdown\\\" } } }\"\n ]\n },\n \"row-actions-advanced\": {\n \"id\": \"row-actions-advanced\",\n \"title\": \"Acoes por Linha Avancadas\",\n \"description\": \"Header, overflow, menu e comportamento avançado.\",\n \"rules\": [\n \"header.align deve ser start/center/end.\",\n \"behavior.maxInline deve ser numero ou objeto de breakpoints.\",\n \"menuIcon e menuButtonColor devem ser valores suportados.\",\n \"discovery.enabled=false mantem apenas as actions configuradas e bloqueia a descoberta contextual por HATEOAS/capabilities.\"\n ],\n \"examples\": [\n \"{ actions: { row: { header: { label: \\\"Ações\\\", align: \\\"end\\\" }, maxVisibleActions: 3, behavior: { enabled: true, maxInline: 2 } } } }\",\n \"{ actions: { row: { enabled: true, display: \\\"buttons\\\", discovery: { enabled: false }, actions: [{ id: \\\"briefing\\\", label: \\\"Briefing\\\", action: \\\"inspect-surfaces\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ row: { header: { align: \\\"middle\\\" } } }\"\n ]\n },\n \"bulk-actions\": {\n \"id\": \"bulk-actions\",\n \"title\": \"Acoes em Lote\",\n \"description\": \"Configuração de actions.bulk.*\",\n \"rules\": [\n \"bulk.enabled exige selection.enabled.\",\n \"floating.position deve ser bottom-right/bottom-left/top-right/top-left.\",\n \"hideWhenEmpty evita botão flutuante quando nada selecionado.\"\n ],\n \"examples\": [\n \"{ actions: { bulk: { enabled: true, position: \\\"toolbar\\\", actions: [{ id: \\\"delete\\\", label: \\\"Excluir\\\", action: \\\"bulk-delete\\\", requiresConfirmation: true }], floating: { position: \\\"bottom-right\\\", hideWhenEmpty: true } } } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: { bulk: { enabled: true } } } sem selection.enabled\"\n ]\n },\n \"context-actions\": {\n \"id\": \"context-actions\",\n \"title\": \"Menu de Contexto\",\n \"description\": \"Configuração de actions.context.*\",\n \"rules\": [\n \"trigger deve ser right-click/long-press/both.\",\n \"actions[].action deve ser string.\"\n ],\n \"examples\": [\n \"{ actions: { context: { enabled: true, trigger: \\\"right-click\\\", actions: [{ id: \\\"copy\\\", label: \\\"Copiar\\\", action: \\\"copy\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ context: { trigger: \\\"click\\\" } }\"\n ]\n },\n \"actions-confirmations\": {\n \"id\": \"actions-confirmations\",\n \"title\": \"Confirmacoes de Acoes\",\n \"description\": \"Configuração de actions.confirmations.*\",\n \"rules\": [\n \"default deve conter title, message, confirmText e cancelText.\",\n \"specific usa actionId como chave.\"\n ],\n \"examples\": [\n \"{ actions: { confirmations: { default: { title: \\\"Confirmar\\\", message: \\\"Deseja continuar?\\\", confirmText: \\\"Sim\\\", cancelText: \\\"Nao\\\" }, specific: { \\\"delete\\\": { message: \\\"Excluir item?\\\" } } } } }\"\n ],\n \"antiPatterns\": [\n \"{ actions: { confirmations: { default: { title: \\\"\\\" } } } }\"\n ]\n },\n \"export-general\": {\n \"id\": \"export-general\",\n \"title\": \"Exportacao Geral\",\n \"description\": \"Configuração de export.general.*\",\n \"rules\": [\n \"includeHeaders deve ser boolean.\",\n \"scope deve ser auto, selected, filtered, currentPage ou all.\",\n \"maxRows deve limitar volume.\",\n \"includeColumns deve ser all/visible ou lista de fields.\"\n ],\n \"examples\": [\n \"{ export: { enabled: true, formats: [\\\"csv\\\"], general: { includeHeaders: true, scope: \\\"auto\\\", maxRows: 5000, includeColumns: \\\"visible\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ export: { general: { maxRows: 0 } } }\"\n ]\n },\n \"export-excel\": {\n \"id\": \"export-excel\",\n \"title\": \"Exportacao Excel\",\n \"description\": \"Configuração de export.excel.*\",\n \"rules\": [\n \"sheetName deve ser curto e sem caracteres invalidos.\",\n \"autoFitColumns melhora legibilidade.\",\n \"styling.headerStyle e cellStyle devem ser simples.\"\n ],\n \"examples\": [\n \"{ export: { excel: { sheetName: \\\"Dados\\\", autoFitColumns: true, freezeHeaders: true, styling: { headerStyle: { fontWeight: \\\"bold\\\" } } } } }\"\n ],\n \"antiPatterns\": [\n \"{ excel: { sheetName: \\\"\\\" } }\"\n ]\n },\n \"export-pdf\": {\n \"id\": \"export-pdf\",\n \"title\": \"Exportacao PDF\",\n \"description\": \"Configuração de export.pdf.*\",\n \"rules\": [\n \"orientation deve ser portrait/landscape.\",\n \"pageSize deve ser A4/A3/Letter/Legal.\",\n \"margins devem conter top/right/bottom/left.\"\n ],\n \"examples\": [\n \"{ export: { pdf: { orientation: \\\"landscape\\\", pageSize: \\\"A4\\\", margins: { top: 10, right: 10, bottom: 10, left: 10 }, autoPageBreak: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ pdf: { pageSize: \\\"A5\\\" } }\"\n ]\n },\n \"export-csv\": {\n \"id\": \"export-csv\",\n \"title\": \"Exportacao CSV\",\n \"description\": \"Configuração de export.csv.*\",\n \"rules\": [\n \"delimiter deve ser \\\",\\\", \\\";\\\", \\\"|\\\" ou \\\"\\\\t\\\".\",\n \"encoding deve ser utf-8/utf-16/iso-8859-1.\",\n \"escapeChar deve ser um caractere.\"\n ],\n \"examples\": [\n \"{ export: { csv: { delimiter: \\\";\\\", encoding: \\\"utf-8\\\", escapeChar: \\\"\\\\\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ csv: { delimiter: \\\":\\\" } }\"\n ]\n },\n \"export-json\": {\n \"id\": \"export-json\",\n \"title\": \"Exportacao JSON\",\n \"description\": \"Configuração de export.json.*\",\n \"rules\": [\n \"format deve ser pretty ou compact.\",\n \"structure deve ser array ou object.\"\n ],\n \"examples\": [\n \"{ export: { json: { format: \\\"pretty\\\", includeMetadata: true, structure: \\\"array\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ json: { format: \\\"full\\\" } }\"\n ]\n },\n \"export-templates\": {\n \"id\": \"export-templates\",\n \"title\": \"Templates de Exportacao\",\n \"description\": \"Configuração de export.templates[]\",\n \"rules\": [\n \"templates devem ter id, name e format válidos.\",\n \"config deve seguir o formato correspondente.\"\n ],\n \"examples\": [\n \"{ export: { templates: [{ id: \\\"resumo\\\", name: \\\"Resumo\\\", format: \\\"pdf\\\", config: {}, isDefault: false }] } }\"\n ],\n \"antiPatterns\": [\n \"{ templates: [{ id: \\\"\\\", format: \\\"xls\\\" }] }\"\n ]\n },\n \"messages\": {\n \"id\": \"messages\",\n \"title\": \"Mensagens\",\n \"description\": \"Mensagens de estados, ações, validação e exportação.\",\n \"rules\": [\n \"Mensagens devem ser curtas e claras.\",\n \"Não defina funções inline (use templates ou strings simples).\"\n ],\n \"examples\": [\n \"{ messages: { states: { empty: \\\"Sem registros.\\\" }, actions: { confirmations: { delete: \\\"Excluir?\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ messages: { states: { loadingWithCount: \\\"(n) => ...\\\" } } }\"\n ]\n },\n \"messages-advanced\": {\n \"id\": \"messages-advanced\",\n \"title\": \"Mensagens Avancadas\",\n \"description\": \"custom, templates e formatos por tipo.\",\n \"rules\": [\n \"templates[].template deve usar placeholders simples.\",\n \"custom é um mapa chave -> mensagem.\",\n \"formats deve seguir excel/pdf/csv/json.\"\n ],\n \"examples\": [\n \"{ messages: { export: { formats: { excel: \\\"Excel pronto\\\" } }, templates: [{ id: \\\"t1\\\", template: \\\"Exportado {count} itens\\\" }] } }\"\n ],\n \"antiPatterns\": [\n \"{ messages: { templates: [{ id: \\\"t1\\\" }] } }\"\n ]\n },\n \"localization-date-time\": {\n \"id\": \"localization-date-time\",\n \"title\": \"Localizacao de Datas\",\n \"description\": \"Configuração de localization.dateTime.*\",\n \"rules\": [\n \"dateFormat/timeFormat devem seguir DatePipe.\",\n \"firstDayOfWeek deve ser 0-6.\",\n \"monthNames e dayNames devem ter 12 e 7 entradas.\"\n ],\n \"examples\": [\n \"{ localization: { dateTime: { dateFormat: \\\"dd/MM/yyyy\\\", timeFormat: \\\"HH:mm\\\", firstDayOfWeek: 0 } } }\"\n ],\n \"antiPatterns\": [\n \"{ localization: { dateTime: { firstDayOfWeek: 7 } } }\"\n ]\n },\n \"localization-number-currency\": {\n \"id\": \"localization-number-currency\",\n \"title\": \"Localizacao de Numeros e Moeda\",\n \"description\": \"Configuração de localization.number.* e localization.currency.*\",\n \"rules\": [\n \"decimalSeparator e thousandsSeparator devem ser 1 caractere.\",\n \"negativeSignPosition deve ser before/after.\",\n \"currency.code deve ser ISO 4217.\"\n ],\n \"examples\": [\n \"{ localization: { number: { decimalSeparator: \\\",\\\", thousandsSeparator: \\\".\\\", negativeSign: \\\"-\\\", negativeSignPosition: \\\"before\\\" }, currency: { code: \\\"BRL\\\", symbol: \\\"R$\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ localization: { currency: { code: \\\"REAL\\\" } } }\"\n ]\n },\n \"localization-formatting\": {\n \"id\": \"localization-formatting\",\n \"title\": \"Formatos Locais\",\n \"description\": \"Configuração de localization.formatting.*\",\n \"rules\": [\n \"percentageFormat e fileSizeFormat devem seguir padrao esperado.\",\n \"units deve mapear tipo -> unidade -> label.\"\n ],\n \"examples\": [\n \"{ localization: { formatting: { percentageFormat: \\\"#0.00%\\\", fileSizeFormat: \\\"decimal\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ localization: { formatting: { percentageFormat: \\\"percent\\\" } } }\"\n ]\n },\n \"localization-translations\": {\n \"id\": \"localization-translations\",\n \"title\": \"Traducoes\",\n \"description\": \"Configuração de localization.availableLocales e translations.*\",\n \"rules\": [\n \"availableLocales deve listar locales conhecidos.\",\n \"translations deve mapear locale -> chaves de texto.\"\n ],\n \"examples\": [\n \"{ localization: { availableLocales: [\\\"pt-BR\\\", \\\"en-US\\\"], translations: { \\\"pt-BR\\\": { \\\"table.title\\\": \\\"Pedidos\\\" } } } }\"\n ],\n \"antiPatterns\": [\n \"{ translations: \\\"pt-BR\\\" }\"\n ]\n },\n \"data-cache\": {\n \"id\": \"data-cache\",\n \"title\": \"Cache de Dados\",\n \"description\": \"Configuração de data.cache.*\",\n \"rules\": [\n \"ttl e maxSize devem ser positivos.\",\n \"invalidationStrategy deve ser ttl/manual/on-update.\"\n ],\n \"examples\": [\n \"{ data: { cache: { enabled: true, ttl: 600000, maxSize: 1000, invalidationStrategy: \\\"ttl\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ cache: { ttl: 0 } }\"\n ]\n },\n \"data-sync\": {\n \"id\": \"data-sync\",\n \"title\": \"Sincronizacao\",\n \"description\": \"Configuração de data.sync.*\",\n \"rules\": [\n \"interval deve ser em ms.\",\n \"deltaSync e autoSync devem ser boolean.\",\n \"conflictResolution deve ser client/server/manual.\"\n ],\n \"examples\": [\n \"{ data: { sync: { autoSync: true, interval: 30000, deltaSync: true, conflictResolution: \\\"server\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ sync: { interval: -1 } }\"\n ]\n },\n \"data-validation\": {\n \"id\": \"data-validation\",\n \"title\": \"Validacao de Dados\",\n \"description\": \"Configuração de data.validation.* e rules[]\",\n \"rules\": [\n \"rules[].type deve ser required/format/range/custom.\",\n \"params deve conter dados compatíveis com o tipo.\",\n \"showInlineErrors deve ser boolean.\"\n ],\n \"examples\": [\n \"{ data: { validation: { clientSide: true, serverSide: false, showInlineErrors: true, rules: [{ field: \\\"email\\\", type: \\\"format\\\", params: { format: \\\"email\\\" }, message: \\\"Email invalido\\\" }] } } }\"\n ],\n \"antiPatterns\": [\n \"{ validation: { rules: [{ type: \\\"regex\\\" }] } }\"\n ]\n },\n \"data-transformations\": {\n \"id\": \"data-transformations\",\n \"title\": \"Transformacoes de Dados\",\n \"description\": \"Configuração de data.transformations[]\",\n \"rules\": [\n \"transform deve ser uma string suportada pelo sistema, não funcao JS.\",\n \"applyTo deve ser display/data/both.\"\n ],\n \"examples\": [\n \"{ data: { transformations: [{ id: \\\"t1\\\", field: \\\"amount\\\", type: \\\"format\\\", transform: \\\"currency\\\", applyTo: \\\"display\\\" }] } }\"\n ],\n \"antiPatterns\": [\n \"{ transformations: [{ transform: \\\"row => row.amount\\\" }] }\"\n ]\n },\n \"data-polling\": {\n \"id\": \"data-polling\",\n \"title\": \"Polling\",\n \"description\": \"Configuração de data.polling.*\",\n \"rules\": [\n \"interval deve ser em ms e razoavel.\",\n \"exponentialBackoff deve ser boolean.\"\n ],\n \"examples\": [\n \"{ data: { polling: { enabled: true, interval: 30000, onlyWhenActive: true, exponentialBackoff: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ polling: { interval: 100 } }\"\n ]\n },\n \"performance-virtualization\": {\n \"id\": \"performance-virtualization\",\n \"title\": \"Performance Virtualization\",\n \"description\": \"Configuração de performance.virtualization.*\",\n \"rules\": [\n \"itemHeight deve ser informado quando enabled.\",\n \"strategy deve ser fixed/dynamic.\"\n ],\n \"examples\": [\n \"{ performance: { virtualization: { enabled: true, itemHeight: 48 } } }\"\n ],\n \"antiPatterns\": [\n \"{ performance: { virtualization: { enabled: true } } }\"\n ]\n },\n \"performance-debounce\": {\n \"id\": \"performance-debounce\",\n \"title\": \"Performance Debounce\",\n \"description\": \"Configuração de performance.debounce.*\",\n \"rules\": [\n \"valores devem estar em ms (ex.: 200-500).\"\n ],\n \"examples\": [\n \"{ performance: { debounce: { search: 300, filter: 300, resize: 200, scroll: 200 } } }\"\n ],\n \"antiPatterns\": [\n \"{ debounce: { search: -1 } }\"\n ]\n },\n \"performance-memory\": {\n \"id\": \"performance-memory\",\n \"title\": \"Performance Memory\",\n \"description\": \"Configuração de performance.memory.*\",\n \"rules\": [\n \"maxRows deve limitar o volume em memoria.\",\n \"cleanupInterval deve ser em ms.\"\n ],\n \"examples\": [\n \"{ performance: { memory: { maxRows: 5000, autoCleanup: true, cleanupInterval: 60000 } } }\"\n ],\n \"antiPatterns\": [\n \"{ memory: { maxRows: 0 } }\"\n ]\n },\n \"performance-rendering\": {\n \"id\": \"performance-rendering\",\n \"title\": \"Performance Rendering\",\n \"description\": \"Configuração de performance.rendering.*\",\n \"rules\": [\n \"batchUpdates true requer batchSize coerente.\",\n \"optimizeReRenders melhora atualizações frequentes.\"\n ],\n \"examples\": [\n \"{ performance: { rendering: { useRAF: true, batchUpdates: true, batchSize: 50, optimizeReRenders: true } } }\"\n ],\n \"antiPatterns\": [\n \"{ rendering: { batchSize: 0 } }\"\n ]\n },\n \"performance-lazy-loading\": {\n \"id\": \"performance-lazy-loading\",\n \"title\": \"Performance Lazy Loading\",\n \"description\": \"Configuração de performance.lazyLoading.*\",\n \"rules\": [\n \"threshold deve ser numero positivo.\",\n \"components e images devem ser boolean.\"\n ],\n \"examples\": [\n \"{ performance: { lazyLoading: { images: true, components: true, threshold: 200 } } }\"\n ],\n \"antiPatterns\": [\n \"{ lazyLoading: { threshold: -1 } }\"\n ]\n },\n \"accessibility-core\": {\n \"id\": \"accessibility-core\",\n \"title\": \"Acessibilidade\",\n \"description\": \"Configuração base de accessibility.*\",\n \"rules\": [\n \"enabled deve ser true em apps com requisitos a11y.\",\n \"reduceMotion deve desativar animacoes nao essenciais.\"\n ],\n \"examples\": [\n \"{ accessibility: { enabled: true, reduceMotion: true } }\"\n ],\n \"antiPatterns\": [\n \"{ accessibility: { enabled: true, reduceMotion: \\\"yes\\\" } }\"\n ]\n },\n \"accessibility-announcements\": {\n \"id\": \"accessibility-announcements\",\n \"title\": \"Acessibilidade Anuncios\",\n \"description\": \"Configuração de accessibility.announcements.*\",\n \"rules\": [\n \"dataChanges, userActions e loadingStates devem ser boolean.\",\n \"liveRegion deve ser polite ou assertive.\"\n ],\n \"examples\": [\n \"{ accessibility: { announcements: { dataChanges: true, userActions: true, loadingStates: true, liveRegion: \\\"polite\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ announcements: { liveRegion: \\\"loud\\\" } }\"\n ]\n },\n \"accessibility-keyboard\": {\n \"id\": \"accessibility-keyboard\",\n \"title\": \"Acessibilidade Teclado\",\n \"description\": \"Configuração de accessibility.keyboard.*\",\n \"rules\": [\n \"tabNavigation e arrowNavigation devem ser boolean.\",\n \"shortcuts e skipLinks devem ser boolean.\",\n \"focusTrap deve ser boolean.\"\n ],\n \"examples\": [\n \"{ accessibility: { keyboard: { tabNavigation: true, arrowNavigation: true, shortcuts: true, skipLinks: true, focusTrap: false } } }\"\n ],\n \"antiPatterns\": [\n \"{ keyboard: { tabNavigation: \\\"yes\\\" } }\"\n ]\n },\n \"accessibility-aria-labels\": {\n \"id\": \"accessibility-aria-labels\",\n \"title\": \"Acessibilidade ARIA\",\n \"description\": \"Configuração de accessibility.ariaLabels.*\",\n \"rules\": [\n \"ariaLabels deve mapear chaves conhecidas para textos curtos.\"\n ],\n \"examples\": [\n \"{ accessibility: { ariaLabels: { table: \\\"Tabela de pedidos\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ ariaLabels: { table: \\\"\\\" } }\"\n ]\n },\n \"theme-core\": {\n \"id\": \"theme-core\",\n \"title\": \"Tema Base\",\n \"description\": \"Configuração de theme.primary/secondary/darkMode.\",\n \"rules\": [\n \"primary e secondary devem ser cores validas (hex ou token).\",\n \"darkMode deve ser boolean.\"\n ],\n \"examples\": [\n \"{ theme: { primary: \\\"#1976d2\\\", secondary: \\\"#ff9800\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ theme: { primary: \\\"blue\\\" } }\"\n ]\n },\n \"theme-custom\": {\n \"id\": \"theme-custom\",\n \"title\": \"Tema Customizado\",\n \"description\": \"Configuração de theme.custom e theme.cssVariables.\",\n \"rules\": [\n \"cssVariables deve usar nomes CSS validos (ex.: --table-bg).\",\n \"custom deve ser mapa simples de tokens.\"\n ],\n \"examples\": [\n \"{ theme: { custom: { headerBg: \\\"var(--md-sys-color-surface-container)\\\" }, cssVariables: { \\\"--table-bg\\\": \\\"var(--md-sys-color-surface)\\\" } } }\"\n ],\n \"antiPatterns\": [\n \"{ theme: { cssVariables: { \\\"table-bg\\\": \\\"var(--md-sys-color-surface)\\\" } } }\"\n ]\n },\n \"plugins\": {\n \"id\": \"plugins\",\n \"title\": \"Plugins\",\n \"description\": \"Configuração de plugins[].\",\n \"rules\": [\n \"plugins[].id, name e version sao obrigatorios.\",\n \"hooks deve mapear eventos para handlers conhecidos.\"\n ],\n \"examples\": [\n \"{ plugins: [{ id: \\\"audit\\\", name: \\\"Audit Logger\\\", version: \\\"1.2.0\\\", enabled: true }] }\"\n ],\n \"antiPatterns\": [\n \"{ plugins: [{ name: \\\"Audit\\\" }] }\"\n ]\n },\n \"editor-extras\": {\n \"id\": \"editor-extras\",\n \"title\": \"Extras do Editor\",\n \"description\": \"Envelope de autoria usado pelo editor e pelo playground.\",\n \"rules\": [\n \"bindings.resourcePath deve ser path valido da API quando presente.\",\n \"config.meta.idField deve refletir a chave primaria quando configurado.\",\n \"bindings.horizontalScroll deve ser auto/wrap/none.\"\n ],\n \"examples\": [\n \"{ kind: \\\"praxis.table.editor\\\", version: 1, config: { meta: { idField: \\\"employeeId\\\" }, columns: [] }, bindings: { resourcePath: \\\"/api/employees\\\", horizontalScroll: \\\"auto\\\" } }\"\n ],\n \"antiPatterns\": [\n \"{ kind: \\\"praxis.table.editor\\\", version: 1, config: { columns: [] }, bindings: { horizontalScroll: \\\"left\\\" } }\"\n ]\n }\n }\n}",
21704
21704
  "sourcePointer": "praxis-ui-angular/projects/praxis-table/src/lib/ai/table-context-pack.ts",
21705
- "contentHash": "56b03e3b6bc20dc3d46683d0a7b1732445cbd1945b1d94a6d6aae9bb6623e37c",
21705
+ "contentHash": "0df345cb47d2007255d92536a082cdbd64c7c7526e0975e0babd0c4a0143db6b",
21706
21706
  "sourceKind": "component_definition",
21707
21707
  "sourceId": "praxis-table",
21708
21708
  "corpusVersion": "1.0.0"
@@ -21730,9 +21730,9 @@
21730
21730
  {
21731
21731
  "chunkIndex": 6,
21732
21732
  "chunkKind": "recipe",
21733
- "content": "{\n \"_comment\": \"Variant focused on columns and renderers for Praxis Table.\",\n \"templateMeta\": {\n \"variantId\": \"columns\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"columns\",\n \"renderers\"\n ],\n \"useWhen\": \"user asks to add, remove, or adjust columns\",\n \"examplePrompts\": [\n \"add a status column with badge renderer\",\n \"hide the internal code column\"\n ]\n },\n \"meta\": {\n \"version\": \"2.0.0\",\n \"id\": \"table-recipe-full\",\n \"name\": \"Full Table Recipe\",\n \"description\": \"Kitchen sink config covering TableConfig v2\",\n \"tags\": [\n \"example\",\n \"full\",\n \"table\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-02-01T12:00:00Z\",\n \"author\": \"Praxis UI\",\n \"isTemplate\": true,\n \"derivedFrom\": \"base-template\",\n \"schemaId\": \"path:/api/orders#response\",\n \"serverHash\": \"hash-123\",\n \"idField\": \"id\",\n \"schemaContext\": {\n \"path\": \"/api/orders\",\n \"operation\": \"GET\",\n \"schemaType\": \"response\",\n \"internal\": false,\n \"tenant\": \"default\",\n \"locale\": \"en-US\"\n }\n },\n \"columns\": [\n {\n \"field\": \"id\",\n \"header\": \"ID\",\n \"type\": \"string\",\n \"width\": \"80px\",\n \"visible\": true,\n \"sortable\": true,\n \"filterable\": true,\n \"resizable\": true,\n \"sticky\": \"start\",\n \"align\": \"left\",\n \"order\": 0,\n \"sortField\": \"id\",\n \"style\": \"font-weight: 600;\",\n \"headerStyle\": \"text-transform: uppercase;\",\n \"cssClass\": \"col-id\",\n \"headerCssClass\": \"col-id-header\"\n },\n {\n \"field\": \"createdAt\",\n \"header\": \"Created At\",\n \"type\": \"date\",\n \"width\": \"160px\",\n \"sortable\": true,\n \"filterable\": true,\n \"align\": \"left\",\n \"order\": 1,\n \"format\": \"yyyy-MM-dd HH:mm\"\n },\n {\n \"field\": \"status\",\n \"header\": \"Status\",\n \"type\": \"string\",\n \"sortable\": true,\n \"filterable\": true,\n \"valueMapping\": {\n \"ACTIVE\": \"Active\",\n \"INACTIVE\": \"Inactive\",\n \"PENDING\": \"Pending\"\n },\n \"renderer\": {\n \"typeExpr\": {\n \"expr\": \"statusRenderer\"\n },\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"statusLabel\",\n \"color\": \"success\",\n \"variant\": \"filled\",\n \"icon\": \"check\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": \"status == 'PENDING'\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Pending\",\n \"textField\": \"statusLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"hourglass_empty\"\n }\n },\n \"description\": \"Pending state\",\n \"enabled\": true\n },\n {\n \"condition\": \"status == 'INACTIVE'\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Inactive\",\n \"textField\": \"statusLabel\",\n \"color\": \"warn\",\n \"variant\": \"soft\",\n \"icon\": \"block\"\n }\n },\n \"description\": \"Inactive state\",\n \"enabled\": true\n },\n {\n \"condition\": \"avatarUrl\",\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-conditional.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 28,\n \"backgroundColor\": \"#D32F2F\",\n \"textColor\": \"#FFFFFF\"\n }\n },\n \"description\": \"Avatar override\",\n \"enabled\": true\n },\n {\n \"condition\": \"progressPercent != null\",\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n \"description\": \"Progress override\",\n \"enabled\": true\n },\n {\n \"condition\": \"rating != null\",\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Status rating\",\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\"\n }\n },\n \"description\": \"Rating override\",\n \"enabled\": true\n },\n {\n \"condition\": \"isActive != null\",\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"isActive\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle status\",\n \"action\": {\n \"id\": \"toggle-status\",\n \"payloadExpr\": \"{ id: id, active: !isActive }\"\n }\n }\n },\n \"description\": \"Toggle override\",\n \"enabled\": true\n },\n {\n \"condition\": \"status == 'COMPOSED'\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\"\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"textField\": \"statusLabel\",\n \"color\": \"accent\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 6\n }\n }\n },\n \"description\": \"Compose override\",\n \"enabled\": true\n }\n ],\n \"conditionalStyles\": [\n {\n \"condition\": \"status == 'INACTIVE'\",\n \"cssClass\": \"status-inactive\",\n \"style\": {\n \"color\": \"#d32f2f\",\n \"fontWeight\": \"600\"\n },\n \"description\": \"Inactive style\"\n }\n ],\n \"_styleRulesState\": {\n \"version\": 1,\n \"rules\": [\n \"status\"\n ]\n },\n \"_originalApiType\": \"string\",\n \"_isApiField\": true\n },\n {\n \"field\": \"priority\",\n \"header\": \"Priority\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Priority\",\n \"textField\": \"priorityLabel\",\n \"color\": \"warn\",\n \"icon\": \"priority_high\",\n \"variant\": \"filled\"\n }\n }\n },\n {\n \"field\": \"amount\",\n \"header\": \"Amount\",\n \"type\": \"currency\",\n \"width\": \"120px\",\n \"align\": \"right\",\n \"sortable\": true,\n \"filterable\": true,\n \"format\": \"USD|symbol|2\"\n },\n {\n \"field\": \"discountRate\",\n \"header\": \"Discount\",\n \"type\": \"percentage\",\n \"width\": \"110px\",\n \"align\": \"right\",\n \"format\": \"1.2-2\"\n },\n {\n \"field\": \"score\",\n \"header\": \"Score\",\n \"type\": \"number\",\n \"align\": \"right\",\n \"format\": \"1.0-0\",\n \"_generatedValueGetter\": \"score = weight * value\",\n \"_originalApiType\": \"decimal\",\n \"_isApiField\": false\n },\n {\n \"field\": \"profile\",\n \"header\": \"Profile\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 32,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n }\n },\n {\n \"field\": \"progress\",\n \"header\": \"Progress\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"primary\",\n \"showLabel\": true\n }\n }\n },\n {\n \"field\": \"rating\",\n \"header\": \"Rating\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"ariaLabel\": \"Rating\",\n \"readonly\": true\n }\n }\n },\n {\n \"field\": \"active\",\n \"header\": \"Active\",\n \"type\": \"boolean\",\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle active\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n }\n },\n {\n \"field\": \"profileLink\",\n \"header\": \"Profile Link\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"View profile\",\n \"textField\": \"name\",\n \"href\": \"https://example.com/profile\",\n \"hrefField\": \"profileUrl\",\n \"target\": \"_blank\",\n \"rel\": \"noopener\"\n }\n }\n },\n {\n \"field\": \"thumbnail\",\n \"header\": \"Thumb\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 32,\n \"height\": 32,\n \"shape\": \"rounded\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n }\n },\n {\n \"field\": \"statusIcon\",\n \"header\": \"Status Icon\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"check_circle\",\n \"nameField\": \"statusIcon\",\n \"color\": \"success\",\n \"size\": 18,\n \"ariaLabel\": \"Status icon\"\n }\n }\n },\n {\n \"field\": \"actionButton\",\n \"header\": \"Action\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Edit\",\n \"labelField\": \"editLabel\",\n \"icon\": \"edit\",\n \"color\": \"primary\",\n \"variant\": \"outlined\",\n \"size\": \"sm\",\n \"ariaLabel\": \"Edit row\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"edit-row\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n }\n },\n {\n \"field\": \"menuActions\",\n \"header\": \"Menu\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Row menu\"\n }\n }\n },\n {\n \"field\": \"notes\",\n \"header\": \"Notes\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<strong>[[notes]]</strong>\",\n \"sanitize\": \"strict\",\n \"emptyFallback\": \"None\"\n }\n }\n },\n {\n \"field\": \"composed\",\n \"header\": \"Composed\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\",\n \"nameField\": \"iconName\",\n \"color\": \"primary\",\n \"size\": 16,\n \"ariaLabel\": \"Info\"\n }\n },\n {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 20,\n \"height\": 20,\n \"shape\": \"circle\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n },\n {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"status\",\n \"color\": \"info\",\n \"variant\": \"soft\",\n \"icon\": \"info\"\n }\n },\n {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"Details\",\n \"textField\": \"detailLabel\",\n \"href\": \"https://example.com/orders\",\n \"hrefField\": \"detailUrl\",\n \"target\": \"_self\",\n \"rel\": \"noopener\"\n }\n },\n {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Open\",\n \"labelField\": \"actionLabel\",\n \"icon\": \"open_in_new\",\n \"color\": \"primary\",\n \"variant\": \"text\",\n \"size\": \"sm\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"open-detail\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Tag\",\n \"textField\": \"tagLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"label\"\n }\n },\n {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-mini.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 24,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n },\n {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n },\n {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Inline menu\"\n }\n },\n {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Rating\"\n }\n },\n {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<em>[[tagline]]</em>\",\n \"sanitize\": \"basic\",\n \"emptyFallback\": \"-\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 8,\n \"align\": \"center\",\n \"wrap\": true,\n \"ellipsis\": true\n }\n }\n }\n },\n {\n \"field\": \"internalCode\",\n \"header\": \"Internal Code\",\n \"type\": \"string\",\n \"visible\": false\n }\n ]\n}\n",
21733
+ "content": "{\n \"_comment\": \"Variant focused on columns and renderers for Praxis Table.\",\n \"templateMeta\": {\n \"variantId\": \"columns\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"columns\",\n \"renderers\"\n ],\n \"useWhen\": \"user asks to add, remove, or adjust columns\",\n \"examplePrompts\": [\n \"add a status column with badge renderer\",\n \"hide the internal code column\"\n ]\n },\n \"meta\": {\n \"version\": \"2.0.0\",\n \"id\": \"table-recipe-full\",\n \"name\": \"Full Table Recipe\",\n \"description\": \"Kitchen sink config covering TableConfig v2\",\n \"tags\": [\n \"example\",\n \"full\",\n \"table\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-02-01T12:00:00Z\",\n \"author\": \"Praxis UI\",\n \"isTemplate\": true,\n \"derivedFrom\": \"base-template\",\n \"schemaId\": \"path:/api/orders#response\",\n \"serverHash\": \"hash-123\",\n \"idField\": \"id\",\n \"schemaContext\": {\n \"path\": \"/api/orders\",\n \"operation\": \"GET\",\n \"schemaType\": \"response\",\n \"internal\": false,\n \"tenant\": \"default\",\n \"locale\": \"en-US\"\n }\n },\n \"columns\": [\n {\n \"field\": \"id\",\n \"header\": \"ID\",\n \"type\": \"string\",\n \"width\": \"80px\",\n \"visible\": true,\n \"sortable\": true,\n \"filterable\": true,\n \"resizable\": true,\n \"sticky\": \"start\",\n \"align\": \"left\",\n \"order\": 0,\n \"sortField\": \"id\",\n \"style\": \"font-weight: 600;\",\n \"headerStyle\": \"text-transform: uppercase;\",\n \"cssClass\": \"col-id\",\n \"headerCssClass\": \"col-id-header\"\n },\n {\n \"field\": \"createdAt\",\n \"header\": \"Created At\",\n \"type\": \"date\",\n \"width\": \"160px\",\n \"sortable\": true,\n \"filterable\": true,\n \"align\": \"left\",\n \"order\": 1,\n \"format\": \"yyyy-MM-dd HH:mm\"\n },\n {\n \"field\": \"status\",\n \"header\": \"Status\",\n \"type\": \"string\",\n \"sortable\": true,\n \"filterable\": true,\n \"valueMapping\": {\n \"ACTIVE\": \"Active\",\n \"INACTIVE\": \"Inactive\",\n \"PENDING\": \"Pending\"\n },\n \"renderer\": {\n \"typeExpr\": {\n \"expr\": \"statusRenderer\"\n },\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"statusLabel\",\n \"color\": \"success\",\n \"variant\": \"filled\",\n \"icon\": \"check\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"PENDING\"\n ]\n },\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Pending\",\n \"textField\": \"statusLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"hourglass_empty\"\n }\n },\n \"description\": \"Pending state\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"INACTIVE\"\n ]\n },\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Inactive\",\n \"textField\": \"statusLabel\",\n \"color\": \"warn\",\n \"variant\": \"soft\",\n \"icon\": \"block\"\n }\n },\n \"description\": \"Inactive state\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!!\": [\n {\n \"var\": \"avatarUrl\"\n }\n ]\n },\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-conditional.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 28,\n \"backgroundColor\": \"#D32F2F\",\n \"textColor\": \"#FFFFFF\"\n }\n },\n \"description\": \"Avatar override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!=\": [\n {\n \"var\": \"progressPercent\"\n },\n null\n ]\n },\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n \"description\": \"Progress override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!=\": [\n {\n \"var\": \"rating\"\n },\n null\n ]\n },\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Status rating\",\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\"\n }\n },\n \"description\": \"Rating override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!=\": [\n {\n \"var\": \"isActive\"\n },\n null\n ]\n },\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"isActive\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle status\",\n \"action\": {\n \"id\": \"toggle-status\",\n \"payloadExpr\": \"{ id: id, active: !isActive }\"\n }\n }\n },\n \"description\": \"Toggle override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"COMPOSED\"\n ]\n },\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\"\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"textField\": \"statusLabel\",\n \"color\": \"accent\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 6\n }\n }\n },\n \"description\": \"Compose override\",\n \"enabled\": true\n }\n ],\n \"conditionalStyles\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"INACTIVE\"\n ]\n },\n \"cssClass\": \"status-inactive\",\n \"style\": {\n \"color\": \"#d32f2f\",\n \"fontWeight\": \"600\"\n },\n \"description\": \"Inactive style\"\n }\n ],\n \"_styleRulesState\": {\n \"version\": 1,\n \"rules\": [\n \"status\"\n ]\n },\n \"_originalApiType\": \"string\",\n \"_isApiField\": true\n },\n {\n \"field\": \"priority\",\n \"header\": \"Priority\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Priority\",\n \"textField\": \"priorityLabel\",\n \"color\": \"warn\",\n \"icon\": \"priority_high\",\n \"variant\": \"filled\"\n }\n }\n },\n {\n \"field\": \"amount\",\n \"header\": \"Amount\",\n \"type\": \"currency\",\n \"width\": \"120px\",\n \"align\": \"right\",\n \"sortable\": true,\n \"filterable\": true,\n \"format\": \"USD|symbol|2\"\n },\n {\n \"field\": \"discountRate\",\n \"header\": \"Discount\",\n \"type\": \"percentage\",\n \"width\": \"110px\",\n \"align\": \"right\",\n \"format\": \"1.2-2\"\n },\n {\n \"field\": \"score\",\n \"header\": \"Score\",\n \"type\": \"number\",\n \"align\": \"right\",\n \"format\": \"1.0-0\",\n \"_generatedValueGetter\": \"score = weight * value\",\n \"_originalApiType\": \"decimal\",\n \"_isApiField\": false\n },\n {\n \"field\": \"profile\",\n \"header\": \"Profile\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 32,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n }\n },\n {\n \"field\": \"progress\",\n \"header\": \"Progress\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"primary\",\n \"showLabel\": true\n }\n }\n },\n {\n \"field\": \"rating\",\n \"header\": \"Rating\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"ariaLabel\": \"Rating\",\n \"readonly\": true\n }\n }\n },\n {\n \"field\": \"active\",\n \"header\": \"Active\",\n \"type\": \"boolean\",\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle active\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n }\n },\n {\n \"field\": \"profileLink\",\n \"header\": \"Profile Link\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"View profile\",\n \"textField\": \"name\",\n \"href\": \"https://example.com/profile\",\n \"hrefField\": \"profileUrl\",\n \"target\": \"_blank\",\n \"rel\": \"noopener\"\n }\n }\n },\n {\n \"field\": \"thumbnail\",\n \"header\": \"Thumb\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 32,\n \"height\": 32,\n \"shape\": \"rounded\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n }\n },\n {\n \"field\": \"statusIcon\",\n \"header\": \"Status Icon\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"check_circle\",\n \"nameField\": \"statusIcon\",\n \"color\": \"success\",\n \"size\": 18,\n \"ariaLabel\": \"Status icon\"\n }\n }\n },\n {\n \"field\": \"actionButton\",\n \"header\": \"Action\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Edit\",\n \"labelField\": \"editLabel\",\n \"icon\": \"edit\",\n \"color\": \"primary\",\n \"variant\": \"outlined\",\n \"size\": \"sm\",\n \"ariaLabel\": \"Edit row\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"edit-row\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n }\n },\n {\n \"field\": \"menuActions\",\n \"header\": \"Menu\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Row menu\"\n }\n }\n },\n {\n \"field\": \"notes\",\n \"header\": \"Notes\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<strong>[[notes]]</strong>\",\n \"sanitize\": \"strict\",\n \"emptyFallback\": \"None\"\n }\n }\n },\n {\n \"field\": \"composed\",\n \"header\": \"Composed\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\",\n \"nameField\": \"iconName\",\n \"color\": \"primary\",\n \"size\": 16,\n \"ariaLabel\": \"Info\"\n }\n },\n {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 20,\n \"height\": 20,\n \"shape\": \"circle\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n },\n {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"status\",\n \"color\": \"info\",\n \"variant\": \"soft\",\n \"icon\": \"info\"\n }\n },\n {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"Details\",\n \"textField\": \"detailLabel\",\n \"href\": \"https://example.com/orders\",\n \"hrefField\": \"detailUrl\",\n \"target\": \"_self\",\n \"rel\": \"noopener\"\n }\n },\n {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Open\",\n \"labelField\": \"actionLabel\",\n \"icon\": \"open_in_new\",\n \"color\": \"primary\",\n \"variant\": \"text\",\n \"size\": \"sm\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"open-detail\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Tag\",\n \"textField\": \"tagLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"label\"\n }\n },\n {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-mini.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 24,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n },\n {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n },\n {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Inline menu\"\n }\n },\n {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Rating\"\n }\n },\n {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<em>[[tagline]]</em>\",\n \"sanitize\": \"basic\",\n \"emptyFallback\": \"-\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 8,\n \"align\": \"center\",\n \"wrap\": true,\n \"ellipsis\": true\n }\n }\n }\n },\n {\n \"field\": \"internalCode\",\n \"header\": \"Internal Code\",\n \"type\": \"string\",\n \"visible\": false\n }\n ]\n}\n",
21734
21734
  "sourcePointer": "praxis-ui-angular/examples/ai-recipes/praxis-table.columns.json",
21735
- "contentHash": "ee0271d6fd794da667d5db9559953aca0617ba6bc52631c3be9bf7c9ecdd4859",
21735
+ "contentHash": "8df78a7e326792dd4818edc99d4a1c83cfc5b92e8f6294b81f56c4ac404f1bcb",
21736
21736
  "sourceKind": "component_definition",
21737
21737
  "sourceId": "praxis-table",
21738
21738
  "corpusVersion": "1.0.0"
@@ -21790,9 +21790,9 @@
21790
21790
  {
21791
21791
  "chunkIndex": 12,
21792
21792
  "chunkKind": "recipe",
21793
- "content": "{\n \"templateMeta\": {\n \"registryKey\": \"praxis-table\",\n \"defaultVariantId\": \"columns\",\n \"variants\": [\n {\n \"id\": \"columns\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"columns\",\n \"aiDescription\": \"Columns and renderers focus.\",\n \"tags\": [\n \"columns\",\n \"renderers\"\n ],\n \"useWhen\": \"user asks to add, remove, or adjust columns\",\n \"examplePrompts\": [\n \"add a status column with badge renderer\",\n \"hide the internal code column\"\n ]\n },\n {\n \"id\": \"computed-columns\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"computed-columns\",\n \"aiDescription\": \"Calculated columns, KPIs, and conditional styling based on computed values.\",\n \"tags\": [\n \"computed\",\n \"columns\",\n \"kpi\"\n ],\n \"useWhen\": \"user asks to add calculated columns, totals, or KPI metrics\",\n \"examplePrompts\": [\n \"create a total column = quantity * price\",\n \"highlight rows when computed delay > 0\"\n ]\n },\n {\n \"id\": \"behavior\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"behavior\",\n \"aiDescription\": \"Pagination, sorting, filtering, selection.\",\n \"tags\": [\n \"behavior\",\n \"pagination\",\n \"sorting\",\n \"filtering\"\n ],\n \"useWhen\": \"user asks about pagination, sorting, filtering, or selection behavior\",\n \"examplePrompts\": [\n \"enable server side pagination with page size 50\",\n \"turn on multi sort\"\n ]\n },\n {\n \"id\": \"toolbar\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"toolbar\",\n \"aiDescription\": \"Toolbar actions and quick commands.\",\n \"tags\": [\n \"toolbar\",\n \"actions\"\n ],\n \"useWhen\": \"user asks to change toolbar, buttons, or quick actions\",\n \"examplePrompts\": [\n \"add export buttons to the toolbar\",\n \"change the toolbar title\"\n ]\n },\n {\n \"id\": \"table-pagination\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-pagination\",\n \"aiDescription\": \"Focused pagination settings to reduce context size.\",\n \"tags\": [\n \"pagination\",\n \"performance\"\n ],\n \"useWhen\": \"user asks to configure pagination only\",\n \"examplePrompts\": [\n \"enable pagination\",\n \"set page size to 20\"\n ]\n },\n {\n \"id\": \"table-actions\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-actions\",\n \"aiDescription\": \"Focused row and bulk actions settings.\",\n \"tags\": [\n \"actions\",\n \"bulk\",\n \"row\"\n ],\n \"useWhen\": \"user asks to configure table actions only\",\n \"examplePrompts\": [\n \"add delete action\",\n \"enable bulk actions\"\n ]\n },\n {\n \"id\": \"table-export\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-export\",\n \"aiDescription\": \"Configuration for data export (Excel, PDF, CSV).\",\n \"tags\": [\n \"export\",\n \"download\",\n \"excel\",\n \"pdf\"\n ],\n \"useWhen\": \"user asks about export settings\",\n \"examplePrompts\": [\n \"enable excel export\",\n \"configure pdf landscape\"\n ]\n },\n {\n \"id\": \"table-appearance\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-appearance\",\n \"aiDescription\": \"Visual settings: density, borders, colors, striping.\",\n \"tags\": [\n \"appearance\",\n \"theme\",\n \"style\",\n \"density\"\n ],\n \"useWhen\": \"user asks to change look and feel\",\n \"examplePrompts\": [\n \"make it compact\",\n \"add zebra striping\",\n \"hide borders\"\n ]\n }\n ]\n },\n \"meta\": {\n \"version\": \"2.0.0\",\n \"id\": \"table-recipe-full\",\n \"name\": \"Full Table Recipe\",\n \"description\": \"Kitchen sink config covering TableConfig v2\",\n \"tags\": [\n \"example\",\n \"full\",\n \"table\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-02-01T12:00:00Z\",\n \"author\": \"Praxis UI\",\n \"isTemplate\": true,\n \"derivedFrom\": \"base-template\",\n \"schemaId\": \"path:/api/orders#response\",\n \"serverHash\": \"hash-123\",\n \"idField\": \"id\",\n \"schemaContext\": {\n \"path\": \"/api/orders\",\n \"operation\": \"GET\",\n \"schemaType\": \"response\",\n \"internal\": false,\n \"tenant\": \"default\",\n \"locale\": \"en-US\"\n }\n },\n \"columns\": [\n {\n \"field\": \"id\",\n \"header\": \"ID\",\n \"type\": \"string\",\n \"width\": \"80px\",\n \"visible\": true,\n \"sortable\": true,\n \"filterable\": true,\n \"resizable\": true,\n \"sticky\": \"start\",\n \"align\": \"left\",\n \"order\": 0,\n \"sortField\": \"id\",\n \"style\": \"font-weight: 600;\",\n \"headerStyle\": \"text-transform: uppercase;\",\n \"cssClass\": \"col-id\",\n \"headerCssClass\": \"col-id-header\"\n },\n {\n \"field\": \"createdAt\",\n \"header\": \"Created At\",\n \"type\": \"date\",\n \"width\": \"160px\",\n \"sortable\": true,\n \"filterable\": true,\n \"align\": \"left\",\n \"order\": 1,\n \"format\": \"yyyy-MM-dd HH:mm\"\n },\n {\n \"field\": \"status\",\n \"header\": \"Status\",\n \"type\": \"string\",\n \"sortable\": true,\n \"filterable\": true,\n \"valueMapping\": {\n \"ACTIVE\": \"Active\",\n \"INACTIVE\": \"Inactive\",\n \"PENDING\": \"Pending\"\n },\n \"renderer\": {\n \"typeExpr\": {\n \"expr\": \"statusRenderer\"\n },\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"statusLabel\",\n \"color\": \"success\",\n \"variant\": \"filled\",\n \"icon\": \"check\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": \"status == 'PENDING'\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Pending\",\n \"textField\": \"statusLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"hourglass_empty\"\n }\n },\n \"description\": \"Pending state\",\n \"enabled\": true\n },\n {\n \"condition\": \"status == 'INACTIVE'\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Inactive\",\n \"textField\": \"statusLabel\",\n \"color\": \"warn\",\n \"variant\": \"soft\",\n \"icon\": \"block\"\n }\n },\n \"description\": \"Inactive state\",\n \"enabled\": true\n },\n {\n \"condition\": \"avatarUrl\",\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-conditional.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 28,\n \"backgroundColor\": \"#D32F2F\",\n \"textColor\": \"#FFFFFF\"\n }\n },\n \"description\": \"Avatar override\",\n \"enabled\": true\n },\n {\n \"condition\": \"progressPercent != null\",\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n \"description\": \"Progress override\",\n \"enabled\": true\n },\n {\n \"condition\": \"rating != null\",\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Status rating\",\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\"\n }\n },\n \"description\": \"Rating override\",\n \"enabled\": true\n },\n {\n \"condition\": \"isActive != null\",\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"isActive\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle status\",\n \"action\": {\n \"id\": \"toggle-status\",\n \"payloadExpr\": \"{ id: id, active: !isActive }\"\n }\n }\n },\n \"description\": \"Toggle override\",\n \"enabled\": true\n },\n {\n \"condition\": \"status == 'COMPOSED'\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\"\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"textField\": \"statusLabel\",\n \"color\": \"accent\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 6\n }\n }\n },\n \"description\": \"Compose override\",\n \"enabled\": true\n }\n ],\n \"conditionalStyles\": [\n {\n \"condition\": \"status == 'INACTIVE'\",\n \"cssClass\": \"status-inactive\",\n \"style\": {\n \"color\": \"#d32f2f\",\n \"fontWeight\": \"600\"\n },\n \"description\": \"Inactive style\"\n }\n ],\n \"_styleRulesState\": {\n \"version\": 1,\n \"rules\": [\n \"status\"\n ]\n },\n \"_originalApiType\": \"string\",\n \"_isApiField\": true\n },\n {\n \"field\": \"priority\",\n \"header\": \"Priority\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Priority\",\n \"textField\": \"priorityLabel\",\n \"color\": \"warn\",\n \"icon\": \"priority_high\",\n \"variant\": \"filled\"\n }\n }\n },\n {\n \"field\": \"amount\",\n \"header\": \"Amount\",\n \"type\": \"currency\",\n \"width\": \"120px\",\n \"align\": \"right\",\n \"sortable\": true,\n \"filterable\": true,\n \"format\": \"USD|symbol|2\"\n },\n {\n \"field\": \"total\",\n \"header\": \"Total\",\n \"type\": \"currency\",\n \"align\": \"right\",\n \"computed\": {\n \"expression\": \"quantity * price\",\n \"outputType\": \"currency\",\n \"format\": \"BRL|symbol|2\",\n \"dependencies\": [\n \"quantity\",\n \"price\"\n ]\n }\n },\n {\n \"field\": \"delayDays\",\n \"header\": \"Atraso (dias)\",\n \"type\": \"number\",\n \"align\": \"right\",\n \"computed\": {\n \"expression\": \"max(0, daysLate)\",\n \"outputType\": \"number\",\n \"format\": \"1.0-0\",\n \"dependencies\": [\n \"daysLate\"\n ]\n }\n },\n {\n \"field\": \"discountRate\",\n \"header\": \"Discount\",\n \"type\": \"percentage\",\n \"width\": \"110px\",\n \"align\": \"right\",\n \"format\": \"1.2-2\"\n },\n {\n \"field\": \"score\",\n \"header\": \"Score\",\n \"type\": \"number\",\n \"align\": \"right\",\n \"format\": \"1.0-0\",\n \"_generatedValueGetter\": \"weight * value\",\n \"_originalApiType\": \"decimal\",\n \"_isApiField\": false\n },\n {\n \"field\": \"profile\",\n \"header\": \"Profile\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 32,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n }\n },\n {\n \"field\": \"progress\",\n \"header\": \"Progress\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"primary\",\n \"showLabel\": true\n }\n }\n },\n {\n \"field\": \"rating\",\n \"header\": \"Rating\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"ariaLabel\": \"Rating\",\n \"readonly\": true\n }\n }\n },\n {\n \"field\": \"active\",\n \"header\": \"Active\",\n \"type\": \"boolean\",\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle active\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n }\n },\n {\n \"field\": \"profileLink\",\n \"header\": \"Profile Link\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"View profile\",\n \"textField\": \"name\",\n \"href\": \"https://example.com/profile\",\n \"hrefField\": \"profileUrl\",\n \"target\": \"_blank\",\n \"rel\": \"noopener\"\n }\n }\n },\n {\n \"field\": \"thumbnail\",\n \"header\": \"Thumb\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 32,\n \"height\": 32,\n \"shape\": \"rounded\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n }\n },\n {\n \"field\": \"statusIcon\",\n \"header\": \"Status Icon\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"check_circle\",\n \"nameField\": \"statusIcon\",\n \"color\": \"success\",\n \"size\": 18,\n \"ariaLabel\": \"Status icon\"\n }\n }\n },\n {\n \"field\": \"actionButton\",\n \"header\": \"Action\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Edit\",\n \"labelField\": \"editLabel\",\n \"icon\": \"edit\",\n \"color\": \"primary\",\n \"variant\": \"outlined\",\n \"size\": \"sm\",\n \"ariaLabel\": \"Edit row\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"edit-row\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n }\n },\n {\n \"field\": \"menuActions\",\n \"header\": \"Menu\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Row menu\"\n }\n }\n },\n {\n \"field\": \"notes\",\n \"header\": \"Notes\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<strong>[[notes]]</strong>\",\n \"sanitize\": \"strict\",\n \"emptyFallback\": \"None\"\n }\n }\n },\n {\n \"field\": \"composed\",\n \"header\": \"Composed\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\",\n \"nameField\": \"iconName\",\n \"color\": \"primary\",\n \"size\": 16,\n \"ariaLabel\": \"Info\"\n }\n },\n {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 20,\n \"height\": 20,\n \"shape\": \"circle\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n },\n {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"status\",\n \"color\": \"info\",\n \"variant\": \"soft\",\n \"icon\": \"info\"\n }\n },\n {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"Details\",\n \"textField\": \"detailLabel\",\n \"href\": \"https://example.com/orders\",\n \"hrefField\": \"detailUrl\",\n \"target\": \"_self\",\n \"rel\": \"noopener\"\n }\n },\n {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Open\",\n \"labelField\": \"actionLabel\",\n \"icon\": \"open_in_new\",\n \"color\": \"primary\",\n \"variant\": \"text\",\n \"size\": \"sm\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"open-detail\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Tag\",\n \"textField\": \"tagLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"label\"\n }\n },\n {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-mini.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 24,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n },\n {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n },\n {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Inline menu\"\n }\n },\n {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Rating\"\n }\n },\n {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<em>[[tagline]]</em>\",\n \"sanitize\": \"basic\",\n \"emptyFallback\": \"-\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 8,\n \"align\": \"center\",\n \"wrap\": true,\n \"ellipsis\": true\n }\n }\n }\n },\n {\n \"field\": \"internalCode\",\n \"header\": \"Internal Code\",\n \"type\": \"string\",\n \"visible\": false\n }\n ],\n \"behavior\": {\n \"pagination\": {\n \"enabled\": true,\n \"pageSize\": 25,\n \"pageSizeOptions\": [\n 10,\n 25,\n 50,\n 100\n ],\n \"showFirstLastButtons\": true,\n \"showPageNumbers\": true,\n \"showPageInfo\": true,\n \"position\": \"bottom\",\n \"style\": \"advanced\",\n \"totalItems\": 1000,\n \"strategy\": \"server\",\n \"advanced\": {\n \"showJumpToPage\": true,\n \"allowCustomPageSize\": true,\n \"maxPageSize\": 200\n }\n },\n \"sorting\": {\n \"enabled\": true,\n \"defaultSort\": {\n \"column\": \"createdAt\",\n \"direction\": \"desc\"\n },\n \"multiSort\": true,\n \"strategy\": \"server\",\n \"showSortIndicators\": true,\n \"indicatorPosition\": \"end\",\n \"allowClearSort\": true,\n \"advanced\": {\n \"_comment\": \"customComparators expects functions at runtime; JSON uses string placeholders.\",\n \"customComparators\": {\n \"amount\": \"(a: number, b: number) => a - b\"\n },\n \"preserveSort\": true\n }\n },\n \"filtering\": {\n \"enabled\": true,\n \"columnFilters\": {\n \"enabled\": true,\n \"defaultType\": \"text\",\n \"position\": \"subheader\"\n },\n \"advancedFilters\": {\n \"enabled\": true,\n \"queryBuilder\": true,\n \"savePresets\": true,\n \"settings\": {\n \"alwaysVisibleFields\": [\n \"status\",\n \"priority\"\n ],\n \"showAdvanced\": true,\n \"allowSaveTags\": true,\n \"changeDebounceMs\": 300,\n \"mode\": \"filter\"\n }\n },\n \"strategy\": \"server\",\n \"debounceTime\": 300\n },\n \"selection\": {\n \"enabled\": true,\n \"type\": \"multiple\",\n \"mode\": \"checkbox\",\n \"allowSelectAll\": true,\n \"checkboxPosition\": \"start\",\n \"persistSelection\": true,\n \"persistOnDataUpdate\": true,\n \"maxSelections\": 200,\n \"visual\": {\n \"highlightSelected\": true,\n \"highlightColor\": \"#e0f7fa\",\n \"showSelectionCount\": true\n }\n },\n \"interaction\": {\n \"rowClick\": {\n \"enabled\": true,\n \"action\": \"custom\",\n \"customAction\": \"openDetail\"\n },\n \"rowDoubleClick\": {\n \"enabled\": true,\n \"action\": \"edit\",\n \"customAction\": \"openEditor\"\n },\n \"hover\": {\n \"enabled\": true,\n \"highlightRow\": true,\n \"showActionsOnHover\": true\n },\n \"keyboard\": {\n \"enabled\": true,\n \"arrowNavigation\": true,\n \"spaceSelection\": true,\n \"customShortcuts\": {\n \"Ctrl+F\": \"focusFilter\",\n \"Ctrl+Shift+R\": \"refreshData\"\n }\n }\n },\n \"loading\": {\n \"type\": \"skeleton\",\n \"position\": \"replace\",\n \"text\": \"Loading data...\",\n \"showForQuickOperations\": false,\n \"delay\": 150,\n \"skeleton\": {\n \"rows\": 8,\n \"animated\": true,\n \"baseColor\": \"#eeeeee\",\n \"highlightColor\": \"#f5f5f5\"\n }\n },\n \"emptyState\": {\n \"message\": \"No records found\",\n \"icon\": \"inbox\",\n \"image\": \"https://example.com/empty.png\",\n \"actions\": [\n {\n \"label\": \"Create\",\n \"action\": \"createItem\",\n \"icon\": \"add\",\n \"primary\": true\n }\n ],\n \"customTemplate\": \"empty-state-template\",\n \"contexts\": {\n \"initial\": {\n \"message\": \"Load data to get started\"\n },\n \"filtered\": {\n \"message\": \"No matches for current filters\"\n },\n \"searched\": {\n \"message\": \"No results for your search\"\n }\n }\n },\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 48,\n \"bufferSize\": 10,\n \"minContainerHeight\": 320,\n \"strategy\": \"fixed\"\n },\n \"resizing\": {\n \"enabled\": true,\n \"minColumnWidth\": 80,\n \"maxColumnWidth\": 360,\n \"autoFit\": false,\n \"persistWidths\": true\n },\n \"dragging\": {\n \"columns\": true,\n \"rows\": false,\n \"showDragIndicator\": true,\n \"columnDropZones\": [\n \"left\",\n \"right\"\n ]\n }\n },\n \"appearance\": {\n \"density\": \"comfortable\",\n \"borders\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": false,\n \"showOuterBorder\": true,\n \"style\": \"solid\",\n \"width\": 1,\n \"color\": \"#e0e0e0\",\n \"specific\": {\n \"header\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": true,\n \"showOuterBorder\": true,\n \"style\": \"dashed\",\n \"width\": 1,\n \"color\": \"#bdbdbd\"\n },\n \"footer\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": false,\n \"showOuterBorder\": true,\n \"style\": \"solid\",\n \"width\": 1,\n \"color\": \"#e0e0e0\"\n },\n \"sticky\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": true,\n \"showOuterBorder\": false,\n \"style\": \"solid\",\n \"width\": 1,\n \"color\": \"#c0c0c0\"\n }\n }\n },\n \"colors\": {\n \"background\": \"#ffffff\",\n \"headerBackground\": \"#fafafa\",\n \"alternateRowBackground\": \"#f7f9fc\",\n \"hoverBackground\": \"#eef3ff\",\n \"selectedBackground\": \"#e3f2fd\",\n \"textColor\": \"#212121\",\n \"headerTextColor\": \"#424242\",\n \"states\": {\n \"error\": \"#d32f2f\",\n \"warning\": \"#f9a825\",\n \"success\": \"#2e7d32\",\n \"info\": \"#0288d1\"\n }\n },\n \"typography\": {\n \"fontFamily\": \"Segoe UI, Arial, sans-serif\",\n \"fontSize\": \"14px\",\n \"headerFontSize\": \"12px\",\n \"fontWeight\": 400,\n \"headerFontWeight\": 600,\n \"lineHeight\": \"1.4\",\n \"letterSpacing\": \"0.2px\",\n \"headerCase\": \"uppercase\"\n },\n \"spacing\": {\n \"cellPadding\": \"8px 12px\",\n \"headerPadding\": \"10px 12px\",\n \"rowHeight\": 44,\n \"headerHeight\": 48,\n \"containerSpacing\": \"8px\"\n },\n \"animations\": {\n \"enabled\": true,\n \"duration\": 200,\n \"easing\": \"ease-in-out\",\n \"specific\": {\n \"loading\": true,\n \"hover\": true,\n \"selection\": true,\n \"sorting\": false\n }\n },\n \"responsive\": {\n \"breakpoints\": {\n \"mobile\": 600,\n \"tablet\": 960,\n \"desktop\": 1280\n },\n \"mobile\": {\n \"horizontalScroll\": true,\n \"collapseColumns\": true,\n \"priorityColumns\": [\n \"id\",\n \"status\",\n \"amount\"\n ],\n \"cardMode\": true\n },\n \"autoAdjust\": {\n \"hideColumns\": true,\n \"scaleFontSize\": true,\n \"adjustPadding\": true\n }\n },\n \"elevation\": {\n \"level\": 2,\n \"shadowColor\": \"rgba(0,0,0,0.2)\",\n \"hoverElevation\": 4\n }\n },\n \"toolbar\": {\n \"visible\": true,\n \"position\": \"top\",\n \"layout\": {\n \"alignment\": \"space-between\",\n \"height\": 56,\n \"padding\": \"0 16px\",\n \"backgroundColor\": \"#fafafa\",\n \"showSeparator\": true\n },\n \"title\": \"Orders\",\n \"subtitle\": \"Last sync 5m ago\",\n \"actions\": [\n {\n \"id\": \"create\",\n \"label\": \"Create\",\n \"icon\": \"add\",\n \"type\": \"button\",\n \"color\": \"primary\",\n \"appearance\": \"filled\",\n \"disabled\": false,\n \"action\": \"createItem\",\n \"tooltip\": \"Create new item\",\n \"shortcut\": \"Ctrl+N\",\n \"position\": \"start\",\n \"order\": 1\n },\n {\n \"id\": \"refresh\",\n \"label\": \"Refresh\",\n \"icon\": \"refresh\",\n \"type\": \"icon\",\n \"color\": \"accent\",\n \"appearance\": \"text\",\n \"action\": \"refreshData\",\n \"tooltip\": \"Reload data\",\n \"shortcut\": \"Ctrl+R\",\n \"position\": \"start\",\n \"order\": 2\n },\n {\n \"id\": \"export\",\n \"label\": \"Export\",\n \"icon\": \"download\",\n \"type\": \"menu\",\n \"color\": \"primary\",\n \"appearance\": \"outlined\",\n \"action\": \"openExportMenu\",\n \"position\": \"end\",\n \"order\": 1,\n \"children\": [\n {\n \"id\": \"export-csv\",\n \"label\": \"Export CSV\",\n \"type\": \"button\",\n \"action\": \"exportCsv\",\n \"position\": \"end\"\n },\n {\n \"id\": \"export-pdf\",\n \"label\": \"Export PDF\",\n \"type\": \"button\",\n \"action\": \"exportPdf\",\n \"position\": \"end\"\n }\n ]\n },\n {\n \"id\": \"help\",\n \"label\": \"Help\",\n \"icon\": \"help\",\n \"type\": \"fab\",\n \"color\": \"warn\",\n \"appearance\": \"tonal\",\n \"action\": \"openHelp\",\n \"tooltip\": \"Open help\",\n \"position\": \"end\",\n \"order\": 99,\n \"visibleWhen\": \"canHelp\"\n }\n ],\n \"filters\": {\n \"enabled\": true,\n \"quickFilters\": [\n {\n \"id\": \"active\",\n \"label\": \"Active\",\n \"filter\": {\n \"status\": \"ACTIVE\"\n },\n \"icon\": \"check\"\n },\n {\n \"id\": \"pending\",\n \"label\": \"Pending\",\n \"filter\": {\n \"status\": \"PENDING\"\n },\n \"icon\": \"hourglass_empty\"\n }\n ],\n \"showAdvancedButton\": true\n },\n \"settingsMenu\": {\n \"enabled\": true,\n \"options\": [\n {\n \"id\": \"density\",\n \"label\": \"Density\",\n \"type\": \"select\",\n \"value\": \"comfortable\",\n \"options\": [\n \"compact\",\n \"comfortable\",\n \"spacious\"\n ]\n },\n {\n \"id\": \"wrap\",\n \"label\": \"Wrap columns\",\n \"type\": \"toggle\",\n \"value\": false\n },\n {\n \"id\": \"reset\",\n \"label\": \"Reset\",\n \"type\": \"action\"\n }\n ]\n }\n },\n \"actions\": {\n \"row\": {\n \"enabled\": true,\n \"position\": \"end\",\n \"width\": \"64px\",\n \"sticky\": \"end\",\n \"actions\": [\n {\n \"id\": \"view\",\n \"label\": \"View\",\n \"icon\": \"visibility\",\n \"color\": \"primary\",\n \"disabled\": false,\n \"action\": \"viewItem\",\n \"tooltip\": \"View details\"\n },\n {\n \"id\": \"edit\",\n \"label\": \"Edit\",\n \"icon\": \"edit\",\n \"color\": \"accent\",\n \"action\": \"editItem\",\n \"tooltip\": \"Edit item\",\n \"visibleWhen\": \"canEdit\"\n },\n {\n \"id\": \"delete\",\n \"label\": \"Delete\",\n \"icon\": \"delete\",\n \"color\": \"warn\",\n \"action\": \"deleteItem\",\n \"tooltip\": \"Delete item\",\n \"requiresConfirmation\": true,\n \"separator\": true,\n \"autoDelete\": true,\n \"deleteEndpoint\": \"/api/orders/{id}\"\n }\n ],\n \"display\": \"menu\",\n \"trigger\": \"click\",\n \"menuIcon\": \"more_vert\",\n \"menuButtonColor\": \"basic\",\n \"header\": {\n \"label\": \"Actions\",\n \"icon\": \"bolt\",\n \"tooltip\": \"Row actions\",\n \"align\": \"center\"\n },\n \"maxVisibleActions\": 3,\n \"behavior\": {\n \"enabled\": true,\n \"maxInline\": {\n \"xs\": 1,\n \"sm\": 2,\n \"md\": 3,\n \"lg\": 4\n },\n \"autoStrategy\": \"breakpoints\"\n }\n },\n \"bulk\": {\n \"enabled\": true,\n \"position\": \"toolbar\",\n \"actions\": [\n {\n \"id\": \"bulk-delete\",\n \"label\": \"Delete\",\n \"icon\": \"delete\",\n \"color\": \"warn\",\n \"action\": \"bulkDelete\",\n \"requiresConfirmation\": true,\n \"minSelections\": 2,\n \"maxSelections\": 100,\n \"autoDelete\": true,\n \"deleteEndpoint\": \"/api/orders/bulk-delete\"\n }\n ],\n \"floating\": {\n \"position\": \"bottom-right\",\n \"hideWhenEmpty\": true\n }\n },\n \"context\": {\n \"enabled\": true,\n \"actions\": [\n {\n \"id\": \"context-copy\",\n \"label\": \"Copy\",\n \"icon\": \"content_copy\",\n \"action\": \"copyCell\"\n },\n {\n \"id\": \"context-history\",\n \"label\": \"History\",\n \"icon\": \"history\",\n \"action\": \"openHistory\",\n \"separator\": true,\n \"visibleWhen\": \"canViewHistory\"\n }\n ],\n \"trigger\": \"right-click\"\n },\n \"confirmations\": {\n \"default\": {\n \"title\": \"Confirm action\",\n \"message\": \"Are you sure you want to continue?\",\n \"confirmText\": \"Confirm\",\n \"cancelText\": \"Cancel\"\n },\n \"specific\": {\n \"deleteItem\": {\n \"title\": \"Delete order\",\n \"message\": \"This action cannot be undone.\",\n \"confirmText\": \"Delete\"\n }\n }\n }\n },\n \"export\": {\n \"enabled\": true,\n \"formats\": [\n \"excel\",\n \"pdf\",\n \"csv\",\n \"json\",\n \"print\"\n ],\n \"general\": {\n \"includeHeaders\": true,\n \"respectFilters\": true,\n \"selectedRowsOnly\": false,\n \"maxRows\": 5000,\n \"defaultFileName\": \"orders-export\",\n \"includeColumns\": [\n \"id\",\n \"status\",\n \"amount\"\n ],\n \"applyFormatting\": true\n },\n \"excel\": {\n \"sheetName\": \"Orders\",\n \"includeFormulas\": false,\n \"freezeHeaders\": true,\n \"autoFitColumns\": true,\n \"multipleSheets\": false,\n \"styling\": {\n \"headerStyle\": {\n \"backgroundColor\": \"#1976d2\",\n \"fontColor\": \"#ffffff\",\n \"fontWeight\": \"bold\",\n \"fontSize\": 12\n },\n \"cellStyle\": {\n \"fontSize\": 11,\n \"borderStyle\": \"thin\"\n },\n \"alternateRows\": {\n \"enabled\": true,\n \"color\": \"#f7f9fc\"\n }\n }\n },\n \"pdf\": {\n \"orientation\": \"landscape\",\n \"pageSize\": \"A4\",\n \"margins\": {\n \"top\": 12,\n \"right\": 12,\n \"bottom\": 12,\n \"left\": 12\n },\n \"header\": \"Orders Report\",\n \"footer\": \"Generated by Praxis\",\n \"watermark\": \"CONFIDENTIAL\",\n \"font\": {\n \"family\": \"Helvetica\",\n \"size\": 10\n },\n \"autoPageBreak\": true\n },\n \"csv\": {\n \"delimiter\": \";\",\n \"escapeChar\": \"\\\"\",\n \"encoding\": \"utf-8\",\n \"includeBOM\": true\n },\n \"json\": {\n \"format\": \"pretty\",\n \"includeMetadata\": true,\n \"structure\": \"array\"\n },\n \"templates\": [\n {\n \"id\": \"export-default\",\n \"name\": \"Default Export\",\n \"description\": \"Standard template\",\n \"format\": \"csv\",\n \"config\": {\n \"delimiter\": \",\",\n \"includeHeaders\": true\n },\n \"isDefault\": true\n }\n ]\n },\n \"messages\": {\n \"states\": {\n \"loading\": \"Loading records...\",\n \"empty\": \"No data available\",\n \"error\": \"Failed to load data\",\n \"noResults\": \"No results found\",\n \"loadingMore\": \"Loading more records...\",\n \"dynamic\": {\n \"_comment\": \"Functions are represented as strings in JSON examples. Replace with real functions at runtime.\",\n \"loadingWithCount\": \"(count: number) => `Loading ${count} records...`\",\n \"emptyWithFilter\": \"(filterCount: number) =>\\n `No results for ${filterCount} active filters`\",\n \"searchResults\": \"(resultCount: number, searchTerm: string) =>\\n `${resultCount} results for \\\"${searchTerm}\\\"`\"\n }\n },\n \"actions\": {\n \"confirmations\": {\n \"delete\": \"Delete this item?\",\n \"deleteMultiple\": \"Delete selected items?\",\n \"save\": \"Save changes?\",\n \"cancel\": \"Cancel changes?\",\n \"export\": \"Export data now?\"\n },\n \"success\": {\n \"save\": \"Saved successfully\",\n \"delete\": \"Deleted successfully\",\n \"export\": \"Export completed\",\n \"import\": \"Import completed\"\n },\n \"progress\": {\n \"delete\": \"Deleting item...\",\n \"deleteMultiple\": \"Deleting items...\"\n },\n \"canceled\": {\n \"delete\": \"Delete canceled\",\n \"deleteMultiple\": \"Bulk delete canceled\"\n },\n \"errors\": {\n \"save\": \"Save failed\",\n \"delete\": \"Delete failed\",\n \"export\": \"Export failed\",\n \"network\": \"Network error\",\n \"permission\": \"Permission denied\"\n }\n },\n \"validation\": {\n \"required\": \"Field is required\",\n \"invalid\": \"Invalid value\",\n \"tooLong\": \"Value is too long\",\n \"tooShort\": \"Value is too short\",\n \"types\": {\n \"email\": \"Invalid email\",\n \"url\": \"Invalid URL\",\n \"number\": \"Invalid number\",\n \"date\": \"Invalid date\"\n }\n },\n \"export\": {\n \"starting\": \"Starting export...\",\n \"processing\": \"Processing data...\",\n \"ready\": \"Export ready\",\n \"error\": \"Export error\",\n \"formats\": {\n \"excel\": \"Generating Excel file...\",\n \"pdf\": \"Generating PDF...\",\n \"csv\": \"Generating CSV...\",\n \"json\": \"Generating JSON...\"\n }\n },\n \"custom\": {\n \"customKey\": \"Custom message\"\n },\n \"templates\": [\n {\n \"id\": \"table.template.export\",\n \"template\": \"Exported {count} rows\",\n \"variables\": [\n \"count\"\n ],\n \"_comment\": \"interpolate expects a function at runtime; JSON uses a string placeholder.\",\n \"interpolate\": \"(template: string, data: { count: number }) =>\\n template.replace('{count}', String(data.count))\"\n }\n ]\n },\n \"localization\": {\n \"locale\": \"en-US\",\n \"availableLocales\": [\n \"en-US\",\n \"pt-BR\"\n ],\n \"direction\": \"ltr\",\n \"dateTime\": {\n \"dateFormat\": \"yyyy-MM-dd\",\n \"timeFormat\": \"HH:mm\",\n \"dateTimeFormat\": \"yyyy-MM-dd HH:mm\",\n \"firstDayOfWeek\": 0,\n \"monthNames\": [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ],\n \"dayNames\": [\n \"Sun\",\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\"\n ],\n \"relativeTime\": true\n },\n \"number\": {\n \"decimalSeparator\": \".\",\n \"thousandsSeparator\": \",\",\n \"defaultPrecision\": 2,\n \"negativeSign\": \"-\",\n \"negativeSignPosition\": \"before\"\n },\n \"currency\": {\n \"code\": \"USD\",\n \"symbol\": \"$\",\n \"position\": \"before\",\n \"spacing\": false,\n \"precision\": 2\n },\n \"translations\": {\n \"en-US\": {\n \"tableTitle\": \"Orders\"\n },\n \"pt-BR\": {\n \"tableTitle\": \"Pedidos\"\n }\n },\n \"formatting\": {\n \"percentageFormat\": \"0.00%\",\n \"fileSizeFormat\": \"decimal\",\n \"units\": {\n \"weight\": {\n \"kg\": \"kg\",\n \"lb\": \"lb\"\n }\n }\n }\n },\n \"data\": {\n \"loadingStrategy\": \"lazy\",\n \"cache\": {\n \"enabled\": true,\n \"ttl\": 60000,\n \"maxSize\": 1000,\n \"invalidationStrategy\": \"ttl\"\n },\n \"sync\": {\n \"autoSync\": true,\n \"interval\": 300000,\n \"deltaSync\": true,\n \"conflictResolution\": \"server\"\n },\n \"validation\": {\n \"clientSide\": true,\n \"serverSide\": true,\n \"rules\": [\n {\n \"field\": \"email\",\n \"type\": \"format\",\n \"params\": {\n \"pattern\": \"^\\\\S+@\\\\S+\\\\.\\\\S+$\"\n },\n \"message\": \"Invalid email format\"\n },\n {\n \"field\": \"amount\",\n \"type\": \"range\",\n \"params\": {\n \"min\": 0,\n \"max\": 100000\n },\n \"message\": \"Amount out of range\"\n },\n {\n \"field\": \"status\",\n \"type\": \"required\",\n \"message\": \"Status is required\"\n },\n {\n \"field\": \"customField\",\n \"type\": \"custom\",\n \"params\": {\n \"fn\": \"validateCustomField\"\n },\n \"message\": \"Custom validation failed\"\n }\n ],\n \"showInlineErrors\": true\n },\n \"transformations\": [\n {\n \"id\": \"format-date\",\n \"field\": \"createdAt\",\n \"type\": \"format\",\n \"transform\": \"formatDate\",\n \"applyTo\": \"display\"\n },\n {\n \"id\": \"calc-total\",\n \"field\": \"amount\",\n \"type\": \"calculate\",\n \"transform\": \"calculateTotal\",\n \"applyTo\": \"data\"\n },\n {\n \"id\": \"agg-status\",\n \"field\": \"status\",\n \"type\": \"aggregate\",\n \"transform\": \"groupByStatus\",\n \"applyTo\": \"both\"\n }\n ],\n \"polling\": {\n \"enabled\": true,\n \"interval\": 60000,\n \"onlyWhenActive\": true,\n \"exponentialBackoff\": true\n }\n },\n \"theme\": {\n \"primary\": \"#1976d2\",\n \"secondary\": \"#ff9800\",\n \"darkMode\": false,\n \"custom\": {\n \"borderRadius\": \"8px\"\n },\n \"cssVariables\": {\n \"--table-row-hover\": \"#eef3ff\"\n }\n },\n \"performance\": {\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 44,\n \"bufferSize\": 8,\n \"minContainerHeight\": 240,\n \"strategy\": \"dynamic\"\n },\n \"debounce\": {\n \"search\": 300,\n \"filter\": 250,\n \"resize\": 200,\n \"scroll\": 50\n },\n \"memory\": {\n \"maxRows\": 10000,\n \"autoCleanup\": true,\n \"cleanupInterval\": 600000\n },\n \"rendering\": {\n \"useRAF\": true,\n \"batchUpdates\": true,\n \"batchSize\": 50,\n \"optimizeReRenders\": true\n },\n \"lazyLoading\": {\n \"images\": true,\n \"components\": true,\n \"threshold\": 200\n }\n },\n \"plugins\": [\n {\n \"id\": \"audit\",\n \"name\": \"AuditPlugin\",\n \"version\": \"1.0.0\",\n \"enabled\": true,\n \"settings\": {\n \"logLevel\": \"info\"\n },\n \"hooks\": {\n \"onRowClick\": \"trackRowClick\",\n \"onExport\": \"trackExport\"\n }\n }\n ],\n \"accessibility\": {\n \"enabled\": true,\n \"announcements\": {\n \"dataChanges\": true,\n \"userActions\": true,\n \"loadingStates\": true,\n \"liveRegion\": \"polite\"\n },\n \"keyboard\": {\n \"tabNavigation\": true,\n \"arrowNavigation\": true,\n \"shortcuts\": true,\n \"skipLinks\": true,\n \"focusTrap\": false\n },\n \"highContrast\": false,\n \"reduceMotion\": false,\n \"ariaLabels\": {\n \"table\": \"Orders table\",\n \"pagination\": \"Pagination\"\n }\n },\n \"rowConditionalStyles\": [\n {\n \"condition\": \"priority == \\\"HIGH\\\"\",\n \"cssClass\": \"row-priority-high\",\n \"style\": {\n \"backgroundColor\": \"#fff8e1\"\n },\n \"description\": \"Highlight high priority rows\"\n }\n ],\n \"_rowStyleRulesState\": {\n \"version\": 1,\n \"rules\": [\n \"priority\"\n ]\n },\n \"_variants\": [\n {\n \"id\": \"sorting-default-single\",\n \"description\": \"Use single defaultSort object instead of array.\",\n \"patch\": {\n \"behavior\": {\n \"sorting\": {\n \"defaultSort\": {\n \"column\": \"createdAt\",\n \"direction\": \"desc\"\n }\n }\n }\n }\n },\n {\n \"id\": \"pagination-client\",\n \"description\": \"Client-side pagination example.\",\n \"patch\": {\n \"behavior\": {\n \"pagination\": {\n \"strategy\": \"client\",\n \"totalItems\": 250\n }\n }\n }\n },\n {\n \"id\": \"selection-single-row\",\n \"description\": \"Single selection with row mode.\",\n \"patch\": {\n \"behavior\": {\n \"selection\": {\n \"type\": \"single\",\n \"mode\": \"row\"\n }\n }\n }\n },\n {\n \"id\": \"sticky-boolean\",\n \"description\": \"Sticky as boolean for simple cases.\",\n \"patch\": {\n \"columns\": [\n {\n \"field\": \"id\",\n \"header\": \"ID\",\n \"sticky\": true\n }\n ]\n }\n },\n {\n \"id\": \"typeexpr-string\",\n \"description\": \"Renderer typeExpr as string instead of object.\",\n \"patch\": {\n \"columns\": [\n {\n \"field\": \"status\",\n \"header\": \"Status\",\n \"renderer\": {\n \"typeExpr\": \"statusRenderer\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"row-actions-inline-number\",\n \"description\": \"Row actions maxInline as number.\",\n \"patch\": {\n \"actions\": {\n \"row\": {\n \"behavior\": {\n \"maxInline\": 2\n }\n }\n }\n }\n },\n {\n \"id\": \"row-actions-inline-auto\",\n \"description\": \"Row actions maxInline as auto.\",\n \"patch\": {\n \"actions\": {\n \"row\": {\n \"behavior\": {\n \"maxInline\": \"auto\"\n }\n }\n }\n }\n },\n {\n \"id\": \"virtualization-min-height-string\",\n \"description\": \"minContainerHeight as CSS string.\",\n \"patch\": {\n \"behavior\": {\n \"virtualization\": {\n \"minContainerHeight\": \"50vh\"\n }\n }\n }\n },\n {\n \"id\": \"include-columns-list\",\n \"description\": \"Export includeColumns as explicit array.\",\n \"patch\": {\n \"export\": {\n \"general\": {\n \"includeColumns\": [\n \"id\",\n \"status\",\n \"amount\"\n ]\n }\n }\n }\n }\n ]\n}\n",
21793
+ "content": "{\n \"templateMeta\": {\n \"registryKey\": \"praxis-table\",\n \"defaultVariantId\": \"columns\",\n \"variants\": [\n {\n \"id\": \"columns\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"columns\",\n \"aiDescription\": \"Columns and renderers focus.\",\n \"tags\": [\n \"columns\",\n \"renderers\"\n ],\n \"useWhen\": \"user asks to add, remove, or adjust columns\",\n \"examplePrompts\": [\n \"add a status column with badge renderer\",\n \"hide the internal code column\"\n ]\n },\n {\n \"id\": \"computed-columns\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"computed-columns\",\n \"aiDescription\": \"Calculated columns, KPIs, and conditional styling based on computed values.\",\n \"tags\": [\n \"computed\",\n \"columns\",\n \"kpi\"\n ],\n \"useWhen\": \"user asks to add calculated columns, totals, or KPI metrics\",\n \"examplePrompts\": [\n \"create a total column = quantity * price\",\n \"highlight rows when computed delay > 0\"\n ]\n },\n {\n \"id\": \"behavior\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"behavior\",\n \"aiDescription\": \"Pagination, sorting, filtering, selection.\",\n \"tags\": [\n \"behavior\",\n \"pagination\",\n \"sorting\",\n \"filtering\"\n ],\n \"useWhen\": \"user asks about pagination, sorting, filtering, or selection behavior\",\n \"examplePrompts\": [\n \"enable server side pagination with page size 50\",\n \"turn on multi sort\"\n ]\n },\n {\n \"id\": \"toolbar\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"toolbar\",\n \"aiDescription\": \"Toolbar actions and quick commands.\",\n \"tags\": [\n \"toolbar\",\n \"actions\"\n ],\n \"useWhen\": \"user asks to change toolbar, buttons, or quick actions\",\n \"examplePrompts\": [\n \"add export buttons to the toolbar\",\n \"change the toolbar title\"\n ]\n },\n {\n \"id\": \"table-pagination\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-pagination\",\n \"aiDescription\": \"Focused pagination settings to reduce context size.\",\n \"tags\": [\n \"pagination\",\n \"performance\"\n ],\n \"useWhen\": \"user asks to configure pagination only\",\n \"examplePrompts\": [\n \"enable pagination\",\n \"set page size to 20\"\n ]\n },\n {\n \"id\": \"table-actions\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-actions\",\n \"aiDescription\": \"Focused row and bulk actions settings.\",\n \"tags\": [\n \"actions\",\n \"bulk\",\n \"row\"\n ],\n \"useWhen\": \"user asks to configure table actions only\",\n \"examplePrompts\": [\n \"add delete action\",\n \"enable bulk actions\"\n ]\n },\n {\n \"id\": \"table-export\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-export\",\n \"aiDescription\": \"Configuration for data export (Excel, PDF, CSV).\",\n \"tags\": [\n \"export\",\n \"download\",\n \"excel\",\n \"pdf\"\n ],\n \"useWhen\": \"user asks about export settings\",\n \"examplePrompts\": [\n \"enable excel export\",\n \"configure pdf landscape\"\n ]\n },\n {\n \"id\": \"table-appearance\",\n \"registryKey\": \"praxis-table\",\n \"variantId\": \"table-appearance\",\n \"aiDescription\": \"Visual settings: density, borders, colors, striping.\",\n \"tags\": [\n \"appearance\",\n \"theme\",\n \"style\",\n \"density\"\n ],\n \"useWhen\": \"user asks to change look and feel\",\n \"examplePrompts\": [\n \"make it compact\",\n \"add zebra striping\",\n \"hide borders\"\n ]\n }\n ]\n },\n \"meta\": {\n \"version\": \"2.0.0\",\n \"id\": \"table-recipe-full\",\n \"name\": \"Full Table Recipe\",\n \"description\": \"Kitchen sink config covering TableConfig v2\",\n \"tags\": [\n \"example\",\n \"full\",\n \"table\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-02-01T12:00:00Z\",\n \"author\": \"Praxis UI\",\n \"isTemplate\": true,\n \"derivedFrom\": \"base-template\",\n \"schemaId\": \"path:/api/orders#response\",\n \"serverHash\": \"hash-123\",\n \"idField\": \"id\",\n \"schemaContext\": {\n \"path\": \"/api/orders\",\n \"operation\": \"GET\",\n \"schemaType\": \"response\",\n \"internal\": false,\n \"tenant\": \"default\",\n \"locale\": \"en-US\"\n }\n },\n \"columns\": [\n {\n \"field\": \"id\",\n \"header\": \"ID\",\n \"type\": \"string\",\n \"width\": \"80px\",\n \"visible\": true,\n \"sortable\": true,\n \"filterable\": true,\n \"resizable\": true,\n \"sticky\": \"start\",\n \"align\": \"left\",\n \"order\": 0,\n \"sortField\": \"id\",\n \"style\": \"font-weight: 600;\",\n \"headerStyle\": \"text-transform: uppercase;\",\n \"cssClass\": \"col-id\",\n \"headerCssClass\": \"col-id-header\"\n },\n {\n \"field\": \"createdAt\",\n \"header\": \"Created At\",\n \"type\": \"date\",\n \"width\": \"160px\",\n \"sortable\": true,\n \"filterable\": true,\n \"align\": \"left\",\n \"order\": 1,\n \"format\": \"yyyy-MM-dd HH:mm\"\n },\n {\n \"field\": \"status\",\n \"header\": \"Status\",\n \"type\": \"string\",\n \"sortable\": true,\n \"filterable\": true,\n \"valueMapping\": {\n \"ACTIVE\": \"Active\",\n \"INACTIVE\": \"Inactive\",\n \"PENDING\": \"Pending\"\n },\n \"renderer\": {\n \"typeExpr\": {\n \"expr\": \"statusRenderer\"\n },\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"statusLabel\",\n \"color\": \"success\",\n \"variant\": \"filled\",\n \"icon\": \"check\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"PENDING\"\n ]\n },\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Pending\",\n \"textField\": \"statusLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"hourglass_empty\"\n }\n },\n \"description\": \"Pending state\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"INACTIVE\"\n ]\n },\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Inactive\",\n \"textField\": \"statusLabel\",\n \"color\": \"warn\",\n \"variant\": \"soft\",\n \"icon\": \"block\"\n }\n },\n \"description\": \"Inactive state\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!!\": [\n {\n \"var\": \"avatarUrl\"\n }\n ]\n },\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-conditional.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 28,\n \"backgroundColor\": \"#D32F2F\",\n \"textColor\": \"#FFFFFF\"\n }\n },\n \"description\": \"Avatar override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!=\": [\n {\n \"var\": \"progressPercent\"\n },\n null\n ]\n },\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n \"description\": \"Progress override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!=\": [\n {\n \"var\": \"rating\"\n },\n null\n ]\n },\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Status rating\",\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\"\n }\n },\n \"description\": \"Rating override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"!=\": [\n {\n \"var\": \"isActive\"\n },\n null\n ]\n },\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"isActive\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle status\",\n \"action\": {\n \"id\": \"toggle-status\",\n \"payloadExpr\": \"{ id: id, active: !isActive }\"\n }\n }\n },\n \"description\": \"Toggle override\",\n \"enabled\": true\n },\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"COMPOSED\"\n ]\n },\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\"\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"textField\": \"statusLabel\",\n \"color\": \"accent\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 6\n }\n }\n },\n \"description\": \"Compose override\",\n \"enabled\": true\n }\n ],\n \"conditionalStyles\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"INACTIVE\"\n ]\n },\n \"cssClass\": \"status-inactive\",\n \"style\": {\n \"color\": \"#d32f2f\",\n \"fontWeight\": \"600\"\n },\n \"description\": \"Inactive style\"\n }\n ],\n \"_styleRulesState\": {\n \"version\": 1,\n \"rules\": [\n \"status\"\n ]\n },\n \"_originalApiType\": \"string\",\n \"_isApiField\": true\n },\n {\n \"field\": \"priority\",\n \"header\": \"Priority\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Priority\",\n \"textField\": \"priorityLabel\",\n \"color\": \"warn\",\n \"icon\": \"priority_high\",\n \"variant\": \"filled\"\n }\n }\n },\n {\n \"field\": \"amount\",\n \"header\": \"Amount\",\n \"type\": \"currency\",\n \"width\": \"120px\",\n \"align\": \"right\",\n \"sortable\": true,\n \"filterable\": true,\n \"format\": \"USD|symbol|2\"\n },\n {\n \"field\": \"total\",\n \"header\": \"Total\",\n \"type\": \"currency\",\n \"align\": \"right\",\n \"computed\": {\n \"expression\": \"quantity * price\",\n \"outputType\": \"currency\",\n \"format\": \"BRL|symbol|2\",\n \"dependencies\": [\n \"quantity\",\n \"price\"\n ]\n }\n },\n {\n \"field\": \"delayDays\",\n \"header\": \"Atraso (dias)\",\n \"type\": \"number\",\n \"align\": \"right\",\n \"computed\": {\n \"expression\": \"max(0, daysLate)\",\n \"outputType\": \"number\",\n \"format\": \"1.0-0\",\n \"dependencies\": [\n \"daysLate\"\n ]\n }\n },\n {\n \"field\": \"discountRate\",\n \"header\": \"Discount\",\n \"type\": \"percentage\",\n \"width\": \"110px\",\n \"align\": \"right\",\n \"format\": \"1.2-2\"\n },\n {\n \"field\": \"score\",\n \"header\": \"Score\",\n \"type\": \"number\",\n \"align\": \"right\",\n \"format\": \"1.0-0\",\n \"_generatedValueGetter\": \"weight * value\",\n \"_originalApiType\": \"decimal\",\n \"_isApiField\": false\n },\n {\n \"field\": \"profile\",\n \"header\": \"Profile\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 32,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n }\n },\n {\n \"field\": \"progress\",\n \"header\": \"Progress\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"primary\",\n \"showLabel\": true\n }\n }\n },\n {\n \"field\": \"rating\",\n \"header\": \"Rating\",\n \"type\": \"number\",\n \"renderer\": {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"ariaLabel\": \"Rating\",\n \"readonly\": true\n }\n }\n },\n {\n \"field\": \"active\",\n \"header\": \"Active\",\n \"type\": \"boolean\",\n \"renderer\": {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"ariaLabel\": \"Toggle active\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n }\n },\n {\n \"field\": \"profileLink\",\n \"header\": \"Profile Link\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"View profile\",\n \"textField\": \"name\",\n \"href\": \"https://example.com/profile\",\n \"hrefField\": \"profileUrl\",\n \"target\": \"_blank\",\n \"rel\": \"noopener\"\n }\n }\n },\n {\n \"field\": \"thumbnail\",\n \"header\": \"Thumb\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 32,\n \"height\": 32,\n \"shape\": \"rounded\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n }\n },\n {\n \"field\": \"statusIcon\",\n \"header\": \"Status Icon\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"check_circle\",\n \"nameField\": \"statusIcon\",\n \"color\": \"success\",\n \"size\": 18,\n \"ariaLabel\": \"Status icon\"\n }\n }\n },\n {\n \"field\": \"actionButton\",\n \"header\": \"Action\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Edit\",\n \"labelField\": \"editLabel\",\n \"icon\": \"edit\",\n \"color\": \"primary\",\n \"variant\": \"outlined\",\n \"size\": \"sm\",\n \"ariaLabel\": \"Edit row\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"edit-row\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n }\n },\n {\n \"field\": \"menuActions\",\n \"header\": \"Menu\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Row menu\"\n }\n }\n },\n {\n \"field\": \"notes\",\n \"header\": \"Notes\",\n \"type\": \"string\",\n \"renderer\": {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<strong>[[notes]]</strong>\",\n \"sanitize\": \"strict\",\n \"emptyFallback\": \"None\"\n }\n }\n },\n {\n \"field\": \"composed\",\n \"header\": \"Composed\",\n \"type\": \"custom\",\n \"renderer\": {\n \"type\": \"compose\",\n \"compose\": {\n \"items\": [\n {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"info\",\n \"nameField\": \"iconName\",\n \"color\": \"primary\",\n \"size\": 16,\n \"ariaLabel\": \"Info\"\n }\n },\n {\n \"type\": \"image\",\n \"image\": {\n \"src\": \"https://example.com/thumb.png\",\n \"srcField\": \"thumbnailUrl\",\n \"alt\": \"Thumbnail\",\n \"altField\": \"name\",\n \"width\": 20,\n \"height\": 20,\n \"shape\": \"circle\",\n \"fit\": \"cover\",\n \"lazy\": true\n }\n },\n {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"status\",\n \"color\": \"info\",\n \"variant\": \"soft\",\n \"icon\": \"info\"\n }\n },\n {\n \"type\": \"link\",\n \"link\": {\n \"text\": \"Details\",\n \"textField\": \"detailLabel\",\n \"href\": \"https://example.com/orders\",\n \"hrefField\": \"detailUrl\",\n \"target\": \"_self\",\n \"rel\": \"noopener\"\n }\n },\n {\n \"type\": \"button\",\n \"button\": {\n \"label\": \"Open\",\n \"labelField\": \"actionLabel\",\n \"icon\": \"open_in_new\",\n \"color\": \"primary\",\n \"variant\": \"text\",\n \"size\": \"sm\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"open-detail\",\n \"payloadExpr\": \"{ id: id }\"\n }\n }\n },\n {\n \"type\": \"chip\",\n \"chip\": {\n \"text\": \"Tag\",\n \"textField\": \"tagLabel\",\n \"color\": \"accent\",\n \"variant\": \"outlined\",\n \"icon\": \"label\"\n }\n },\n {\n \"type\": \"progress\",\n \"progress\": {\n \"valueExpr\": \"progressPercent\",\n \"color\": \"accent\",\n \"showLabel\": false\n }\n },\n {\n \"type\": \"avatar\",\n \"avatar\": {\n \"src\": \"https://example.com/avatar-mini.png\",\n \"srcField\": \"avatarUrl\",\n \"alt\": \"Avatar\",\n \"altField\": \"name\",\n \"initialsField\": \"name\",\n \"shape\": \"circle\",\n \"size\": 24,\n \"backgroundColor\": \"#E3F2FD\",\n \"textColor\": \"#0D47A1\"\n }\n },\n {\n \"type\": \"toggle\",\n \"toggle\": {\n \"stateExpr\": \"active\",\n \"disabledCondition\": \"locked == true\",\n \"action\": {\n \"id\": \"toggle-active\",\n \"payloadExpr\": \"{ id: id, active: !active }\"\n }\n }\n },\n {\n \"type\": \"menu\",\n \"menu\": {\n \"itemsExpr\": \"menuItems\",\n \"ariaLabel\": \"Inline menu\"\n }\n },\n {\n \"type\": \"rating\",\n \"rating\": {\n \"valueExpr\": \"rating\",\n \"max\": 5,\n \"color\": \"gold\",\n \"outlineColor\": \"#bdbdbd\",\n \"size\": \"small\",\n \"readonly\": true,\n \"ariaLabel\": \"Rating\"\n }\n },\n {\n \"type\": \"html\",\n \"html\": {\n \"template\": \"<em>[[tagline]]</em>\",\n \"sanitize\": \"basic\",\n \"emptyFallback\": \"-\"\n }\n }\n ],\n \"layout\": {\n \"direction\": \"row\",\n \"gap\": 8,\n \"align\": \"center\",\n \"wrap\": true,\n \"ellipsis\": true\n }\n }\n }\n },\n {\n \"field\": \"internalCode\",\n \"header\": \"Internal Code\",\n \"type\": \"string\",\n \"visible\": false\n }\n ],\n \"behavior\": {\n \"pagination\": {\n \"enabled\": true,\n \"pageSize\": 25,\n \"pageSizeOptions\": [\n 10,\n 25,\n 50,\n 100\n ],\n \"showFirstLastButtons\": true,\n \"showPageNumbers\": true,\n \"showPageInfo\": true,\n \"position\": \"bottom\",\n \"style\": \"advanced\",\n \"totalItems\": 1000,\n \"strategy\": \"server\",\n \"advanced\": {\n \"showJumpToPage\": true,\n \"allowCustomPageSize\": true,\n \"maxPageSize\": 200\n }\n },\n \"sorting\": {\n \"enabled\": true,\n \"defaultSort\": {\n \"column\": \"createdAt\",\n \"direction\": \"desc\"\n },\n \"multiSort\": true,\n \"strategy\": \"server\",\n \"showSortIndicators\": true,\n \"indicatorPosition\": \"end\",\n \"allowClearSort\": true,\n \"advanced\": {\n \"_comment\": \"customComparators expects functions at runtime; JSON uses string placeholders.\",\n \"customComparators\": {\n \"amount\": \"(a: number, b: number) => a - b\"\n },\n \"preserveSort\": true\n }\n },\n \"filtering\": {\n \"enabled\": true,\n \"columnFilters\": {\n \"enabled\": true,\n \"defaultType\": \"text\",\n \"position\": \"subheader\"\n },\n \"advancedFilters\": {\n \"enabled\": true,\n \"queryBuilder\": true,\n \"savePresets\": true,\n \"settings\": {\n \"alwaysVisibleFields\": [\n \"status\",\n \"priority\"\n ],\n \"showAdvanced\": true,\n \"allowSaveTags\": true,\n \"changeDebounceMs\": 300,\n \"mode\": \"filter\"\n }\n },\n \"strategy\": \"server\",\n \"debounceTime\": 300\n },\n \"selection\": {\n \"enabled\": true,\n \"type\": \"multiple\",\n \"mode\": \"checkbox\",\n \"allowSelectAll\": true,\n \"checkboxPosition\": \"start\",\n \"persistSelection\": true,\n \"persistOnDataUpdate\": true,\n \"maxSelections\": 200,\n \"visual\": {\n \"highlightSelected\": true,\n \"highlightColor\": \"#e0f7fa\",\n \"showSelectionCount\": true\n }\n },\n \"interaction\": {\n \"rowClick\": {\n \"enabled\": true,\n \"action\": \"custom\",\n \"customAction\": \"openDetail\"\n },\n \"rowDoubleClick\": {\n \"enabled\": true,\n \"action\": \"edit\",\n \"customAction\": \"openEditor\"\n },\n \"hover\": {\n \"enabled\": true,\n \"highlightRow\": true,\n \"showActionsOnHover\": true\n },\n \"keyboard\": {\n \"enabled\": true,\n \"arrowNavigation\": true,\n \"spaceSelection\": true,\n \"customShortcuts\": {\n \"Ctrl+F\": \"focusFilter\",\n \"Ctrl+Shift+R\": \"refreshData\"\n }\n }\n },\n \"loading\": {\n \"type\": \"skeleton\",\n \"position\": \"replace\",\n \"text\": \"Loading data...\",\n \"showForQuickOperations\": false,\n \"delay\": 150,\n \"skeleton\": {\n \"rows\": 8,\n \"animated\": true,\n \"baseColor\": \"#eeeeee\",\n \"highlightColor\": \"#f5f5f5\"\n }\n },\n \"emptyState\": {\n \"message\": \"No records found\",\n \"icon\": \"inbox\",\n \"image\": \"https://example.com/empty.png\",\n \"actions\": [\n {\n \"label\": \"Create\",\n \"action\": \"createItem\",\n \"icon\": \"add\",\n \"primary\": true\n }\n ],\n \"customTemplate\": \"empty-state-template\",\n \"contexts\": {\n \"initial\": {\n \"message\": \"Load data to get started\"\n },\n \"filtered\": {\n \"message\": \"No matches for current filters\"\n },\n \"searched\": {\n \"message\": \"No results for your search\"\n }\n }\n },\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 48,\n \"bufferSize\": 10,\n \"minContainerHeight\": 320,\n \"strategy\": \"fixed\"\n },\n \"resizing\": {\n \"enabled\": true,\n \"minColumnWidth\": 80,\n \"maxColumnWidth\": 360,\n \"autoFit\": false,\n \"persistWidths\": true\n },\n \"dragging\": {\n \"columns\": true,\n \"rows\": false,\n \"showDragIndicator\": true,\n \"columnDropZones\": [\n \"left\",\n \"right\"\n ]\n }\n },\n \"appearance\": {\n \"density\": \"comfortable\",\n \"borders\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": false,\n \"showOuterBorder\": true,\n \"style\": \"solid\",\n \"width\": 1,\n \"color\": \"#e0e0e0\",\n \"specific\": {\n \"header\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": true,\n \"showOuterBorder\": true,\n \"style\": \"dashed\",\n \"width\": 1,\n \"color\": \"#bdbdbd\"\n },\n \"footer\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": false,\n \"showOuterBorder\": true,\n \"style\": \"solid\",\n \"width\": 1,\n \"color\": \"#e0e0e0\"\n },\n \"sticky\": {\n \"showRowBorders\": true,\n \"showColumnBorders\": true,\n \"showOuterBorder\": false,\n \"style\": \"solid\",\n \"width\": 1,\n \"color\": \"#c0c0c0\"\n }\n }\n },\n \"colors\": {\n \"background\": \"#ffffff\",\n \"headerBackground\": \"#fafafa\",\n \"alternateRowBackground\": \"#f7f9fc\",\n \"hoverBackground\": \"#eef3ff\",\n \"selectedBackground\": \"#e3f2fd\",\n \"textColor\": \"#212121\",\n \"headerTextColor\": \"#424242\",\n \"states\": {\n \"error\": \"#d32f2f\",\n \"warning\": \"#f9a825\",\n \"success\": \"#2e7d32\",\n \"info\": \"#0288d1\"\n }\n },\n \"typography\": {\n \"fontFamily\": \"Segoe UI, Arial, sans-serif\",\n \"fontSize\": \"14px\",\n \"headerFontSize\": \"12px\",\n \"fontWeight\": 400,\n \"headerFontWeight\": 600,\n \"lineHeight\": \"1.4\",\n \"letterSpacing\": \"0.2px\",\n \"headerCase\": \"uppercase\"\n },\n \"spacing\": {\n \"cellPadding\": \"8px 12px\",\n \"headerPadding\": \"10px 12px\",\n \"rowHeight\": 44,\n \"headerHeight\": 48,\n \"containerSpacing\": \"8px\"\n },\n \"animations\": {\n \"enabled\": true,\n \"duration\": 200,\n \"easing\": \"ease-in-out\",\n \"specific\": {\n \"loading\": true,\n \"hover\": true,\n \"selection\": true,\n \"sorting\": false\n }\n },\n \"responsive\": {\n \"breakpoints\": {\n \"mobile\": 600,\n \"tablet\": 960,\n \"desktop\": 1280\n },\n \"mobile\": {\n \"horizontalScroll\": true,\n \"collapseColumns\": true,\n \"priorityColumns\": [\n \"id\",\n \"status\",\n \"amount\"\n ],\n \"cardMode\": true\n },\n \"autoAdjust\": {\n \"hideColumns\": true,\n \"scaleFontSize\": true,\n \"adjustPadding\": true\n }\n },\n \"elevation\": {\n \"level\": 2,\n \"shadowColor\": \"rgba(0,0,0,0.2)\",\n \"hoverElevation\": 4\n }\n },\n \"toolbar\": {\n \"visible\": true,\n \"position\": \"top\",\n \"layout\": {\n \"alignment\": \"space-between\",\n \"height\": 56,\n \"padding\": \"0 16px\",\n \"backgroundColor\": \"#fafafa\",\n \"showSeparator\": true\n },\n \"title\": \"Orders\",\n \"subtitle\": \"Last sync 5m ago\",\n \"actions\": [\n {\n \"id\": \"create\",\n \"label\": \"Create\",\n \"icon\": \"add\",\n \"type\": \"button\",\n \"color\": \"primary\",\n \"appearance\": \"filled\",\n \"disabled\": false,\n \"action\": \"createItem\",\n \"tooltip\": \"Create new item\",\n \"shortcut\": \"Ctrl+N\",\n \"position\": \"start\",\n \"order\": 1\n },\n {\n \"id\": \"refresh\",\n \"label\": \"Refresh\",\n \"icon\": \"refresh\",\n \"type\": \"icon\",\n \"color\": \"accent\",\n \"appearance\": \"text\",\n \"action\": \"refreshData\",\n \"tooltip\": \"Reload data\",\n \"shortcut\": \"Ctrl+R\",\n \"position\": \"start\",\n \"order\": 2\n },\n {\n \"id\": \"export\",\n \"label\": \"Export\",\n \"icon\": \"download\",\n \"type\": \"menu\",\n \"color\": \"primary\",\n \"appearance\": \"outlined\",\n \"action\": \"openExportMenu\",\n \"position\": \"end\",\n \"order\": 1,\n \"children\": [\n {\n \"id\": \"export-csv\",\n \"label\": \"Export CSV\",\n \"type\": \"button\",\n \"action\": \"exportCsv\",\n \"position\": \"end\"\n },\n {\n \"id\": \"export-pdf\",\n \"label\": \"Export PDF\",\n \"type\": \"button\",\n \"action\": \"exportPdf\",\n \"position\": \"end\"\n }\n ]\n },\n {\n \"id\": \"help\",\n \"label\": \"Help\",\n \"icon\": \"help\",\n \"type\": \"fab\",\n \"color\": \"warn\",\n \"appearance\": \"tonal\",\n \"action\": \"openHelp\",\n \"tooltip\": \"Open help\",\n \"position\": \"end\",\n \"order\": 99,\n \"visibleWhen\": \"canHelp\"\n }\n ],\n \"filters\": {\n \"enabled\": true,\n \"quickFilters\": [\n {\n \"id\": \"active\",\n \"label\": \"Active\",\n \"filter\": {\n \"status\": \"ACTIVE\"\n },\n \"icon\": \"check\"\n },\n {\n \"id\": \"pending\",\n \"label\": \"Pending\",\n \"filter\": {\n \"status\": \"PENDING\"\n },\n \"icon\": \"hourglass_empty\"\n }\n ],\n \"showAdvancedButton\": true\n },\n \"settingsMenu\": {\n \"enabled\": true,\n \"options\": [\n {\n \"id\": \"density\",\n \"label\": \"Density\",\n \"type\": \"select\",\n \"value\": \"comfortable\",\n \"options\": [\n \"compact\",\n \"comfortable\",\n \"spacious\"\n ]\n },\n {\n \"id\": \"wrap\",\n \"label\": \"Wrap columns\",\n \"type\": \"toggle\",\n \"value\": false\n },\n {\n \"id\": \"reset\",\n \"label\": \"Reset\",\n \"type\": \"action\"\n }\n ]\n }\n },\n \"actions\": {\n \"row\": {\n \"enabled\": true,\n \"position\": \"end\",\n \"width\": \"64px\",\n \"sticky\": \"end\",\n \"actions\": [\n {\n \"id\": \"view\",\n \"label\": \"View\",\n \"icon\": \"visibility\",\n \"color\": \"primary\",\n \"disabled\": false,\n \"action\": \"viewItem\",\n \"tooltip\": \"View details\"\n },\n {\n \"id\": \"edit\",\n \"label\": \"Edit\",\n \"icon\": \"edit\",\n \"color\": \"accent\",\n \"action\": \"editItem\",\n \"tooltip\": \"Edit item\",\n \"visibleWhen\": \"canEdit\"\n },\n {\n \"id\": \"delete\",\n \"label\": \"Delete\",\n \"icon\": \"delete\",\n \"color\": \"warn\",\n \"action\": \"deleteItem\",\n \"tooltip\": \"Delete item\",\n \"requiresConfirmation\": true,\n \"separator\": true,\n \"autoDelete\": true,\n \"deleteEndpoint\": \"/api/orders/{id}\"\n }\n ],\n \"display\": \"menu\",\n \"trigger\": \"click\",\n \"menuIcon\": \"more_vert\",\n \"menuButtonColor\": \"basic\",\n \"header\": {\n \"label\": \"Actions\",\n \"icon\": \"bolt\",\n \"tooltip\": \"Row actions\",\n \"align\": \"center\"\n },\n \"maxVisibleActions\": 3,\n \"behavior\": {\n \"enabled\": true,\n \"maxInline\": {\n \"xs\": 1,\n \"sm\": 2,\n \"md\": 3,\n \"lg\": 4\n },\n \"autoStrategy\": \"breakpoints\"\n }\n },\n \"bulk\": {\n \"enabled\": true,\n \"position\": \"toolbar\",\n \"actions\": [\n {\n \"id\": \"bulk-delete\",\n \"label\": \"Delete\",\n \"icon\": \"delete\",\n \"color\": \"warn\",\n \"action\": \"bulkDelete\",\n \"requiresConfirmation\": true,\n \"minSelections\": 2,\n \"maxSelections\": 100,\n \"autoDelete\": true,\n \"deleteEndpoint\": \"/api/orders/bulk-delete\"\n }\n ],\n \"floating\": {\n \"position\": \"bottom-right\",\n \"hideWhenEmpty\": true\n }\n },\n \"context\": {\n \"enabled\": true,\n \"actions\": [\n {\n \"id\": \"context-copy\",\n \"label\": \"Copy\",\n \"icon\": \"content_copy\",\n \"action\": \"copyCell\"\n },\n {\n \"id\": \"context-history\",\n \"label\": \"History\",\n \"icon\": \"history\",\n \"action\": \"openHistory\",\n \"separator\": true,\n \"visibleWhen\": \"canViewHistory\"\n }\n ],\n \"trigger\": \"right-click\"\n },\n \"confirmations\": {\n \"default\": {\n \"title\": \"Confirm action\",\n \"message\": \"Are you sure you want to continue?\",\n \"confirmText\": \"Confirm\",\n \"cancelText\": \"Cancel\"\n },\n \"specific\": {\n \"deleteItem\": {\n \"title\": \"Delete order\",\n \"message\": \"This action cannot be undone.\",\n \"confirmText\": \"Delete\"\n }\n }\n }\n },\n \"export\": {\n \"enabled\": true,\n \"formats\": [\n \"excel\",\n \"pdf\",\n \"csv\",\n \"json\",\n \"print\"\n ],\n \"general\": {\n \"includeHeaders\": true,\n \"respectFilters\": true,\n \"selectedRowsOnly\": false,\n \"maxRows\": 5000,\n \"defaultFileName\": \"orders-export\",\n \"includeColumns\": [\n \"id\",\n \"status\",\n \"amount\"\n ],\n \"applyFormatting\": true\n },\n \"excel\": {\n \"sheetName\": \"Orders\",\n \"includeFormulas\": false,\n \"freezeHeaders\": true,\n \"autoFitColumns\": true,\n \"multipleSheets\": false,\n \"styling\": {\n \"headerStyle\": {\n \"backgroundColor\": \"#1976d2\",\n \"fontColor\": \"#ffffff\",\n \"fontWeight\": \"bold\",\n \"fontSize\": 12\n },\n \"cellStyle\": {\n \"fontSize\": 11,\n \"borderStyle\": \"thin\"\n },\n \"alternateRows\": {\n \"enabled\": true,\n \"color\": \"#f7f9fc\"\n }\n }\n },\n \"pdf\": {\n \"orientation\": \"landscape\",\n \"pageSize\": \"A4\",\n \"margins\": {\n \"top\": 12,\n \"right\": 12,\n \"bottom\": 12,\n \"left\": 12\n },\n \"header\": \"Orders Report\",\n \"footer\": \"Generated by Praxis\",\n \"watermark\": \"CONFIDENTIAL\",\n \"font\": {\n \"family\": \"Helvetica\",\n \"size\": 10\n },\n \"autoPageBreak\": true\n },\n \"csv\": {\n \"delimiter\": \";\",\n \"escapeChar\": \"\\\"\",\n \"encoding\": \"utf-8\",\n \"includeBOM\": true\n },\n \"json\": {\n \"format\": \"pretty\",\n \"includeMetadata\": true,\n \"structure\": \"array\"\n },\n \"templates\": [\n {\n \"id\": \"export-default\",\n \"name\": \"Default Export\",\n \"description\": \"Standard template\",\n \"format\": \"csv\",\n \"config\": {\n \"delimiter\": \",\",\n \"includeHeaders\": true\n },\n \"isDefault\": true\n }\n ]\n },\n \"messages\": {\n \"states\": {\n \"loading\": \"Loading records...\",\n \"empty\": \"No data available\",\n \"error\": \"Failed to load data\",\n \"noResults\": \"No results found\",\n \"loadingMore\": \"Loading more records...\",\n \"dynamic\": {\n \"_comment\": \"Functions are represented as strings in JSON examples. Replace with real functions at runtime.\",\n \"loadingWithCount\": \"(count: number) => `Loading ${count} records...`\",\n \"emptyWithFilter\": \"(filterCount: number) =>\\n `No results for ${filterCount} active filters`\",\n \"searchResults\": \"(resultCount: number, searchTerm: string) =>\\n `${resultCount} results for \\\"${searchTerm}\\\"`\"\n }\n },\n \"actions\": {\n \"confirmations\": {\n \"delete\": \"Delete this item?\",\n \"deleteMultiple\": \"Delete selected items?\",\n \"save\": \"Save changes?\",\n \"cancel\": \"Cancel changes?\",\n \"export\": \"Export data now?\"\n },\n \"success\": {\n \"save\": \"Saved successfully\",\n \"delete\": \"Deleted successfully\",\n \"export\": \"Export completed\",\n \"import\": \"Import completed\"\n },\n \"progress\": {\n \"delete\": \"Deleting item...\",\n \"deleteMultiple\": \"Deleting items...\"\n },\n \"canceled\": {\n \"delete\": \"Delete canceled\",\n \"deleteMultiple\": \"Bulk delete canceled\"\n },\n \"errors\": {\n \"save\": \"Save failed\",\n \"delete\": \"Delete failed\",\n \"export\": \"Export failed\",\n \"network\": \"Network error\",\n \"permission\": \"Permission denied\"\n }\n },\n \"validation\": {\n \"required\": \"Field is required\",\n \"invalid\": \"Invalid value\",\n \"tooLong\": \"Value is too long\",\n \"tooShort\": \"Value is too short\",\n \"types\": {\n \"email\": \"Invalid email\",\n \"url\": \"Invalid URL\",\n \"number\": \"Invalid number\",\n \"date\": \"Invalid date\"\n }\n },\n \"export\": {\n \"starting\": \"Starting export...\",\n \"processing\": \"Processing data...\",\n \"ready\": \"Export ready\",\n \"error\": \"Export error\",\n \"formats\": {\n \"excel\": \"Generating Excel file...\",\n \"pdf\": \"Generating PDF...\",\n \"csv\": \"Generating CSV...\",\n \"json\": \"Generating JSON...\"\n }\n },\n \"custom\": {\n \"customKey\": \"Custom message\"\n },\n \"templates\": [\n {\n \"id\": \"table.template.export\",\n \"template\": \"Exported {count} rows\",\n \"variables\": [\n \"count\"\n ],\n \"_comment\": \"interpolate expects a function at runtime; JSON uses a string placeholder.\",\n \"interpolate\": \"(template: string, data: { count: number }) =>\\n template.replace('{count}', String(data.count))\"\n }\n ]\n },\n \"localization\": {\n \"locale\": \"en-US\",\n \"availableLocales\": [\n \"en-US\",\n \"pt-BR\"\n ],\n \"direction\": \"ltr\",\n \"dateTime\": {\n \"dateFormat\": \"yyyy-MM-dd\",\n \"timeFormat\": \"HH:mm\",\n \"dateTimeFormat\": \"yyyy-MM-dd HH:mm\",\n \"firstDayOfWeek\": 0,\n \"monthNames\": [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ],\n \"dayNames\": [\n \"Sun\",\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\"\n ],\n \"relativeTime\": true\n },\n \"number\": {\n \"decimalSeparator\": \".\",\n \"thousandsSeparator\": \",\",\n \"defaultPrecision\": 2,\n \"negativeSign\": \"-\",\n \"negativeSignPosition\": \"before\"\n },\n \"currency\": {\n \"code\": \"USD\",\n \"symbol\": \"$\",\n \"position\": \"before\",\n \"spacing\": false,\n \"precision\": 2\n },\n \"translations\": {\n \"en-US\": {\n \"tableTitle\": \"Orders\"\n },\n \"pt-BR\": {\n \"tableTitle\": \"Pedidos\"\n }\n },\n \"formatting\": {\n \"percentageFormat\": \"0.00%\",\n \"fileSizeFormat\": \"decimal\",\n \"units\": {\n \"weight\": {\n \"kg\": \"kg\",\n \"lb\": \"lb\"\n }\n }\n }\n },\n \"data\": {\n \"loadingStrategy\": \"lazy\",\n \"cache\": {\n \"enabled\": true,\n \"ttl\": 60000,\n \"maxSize\": 1000,\n \"invalidationStrategy\": \"ttl\"\n },\n \"sync\": {\n \"autoSync\": true,\n \"interval\": 300000,\n \"deltaSync\": true,\n \"conflictResolution\": \"server\"\n },\n \"validation\": {\n \"clientSide\": true,\n \"serverSide\": true,\n \"rules\": [\n {\n \"field\": \"email\",\n \"type\": \"format\",\n \"params\": {\n \"pattern\": \"^\\\\S+@\\\\S+\\\\.\\\\S+$\"\n },\n \"message\": \"Invalid email format\"\n },\n {\n \"field\": \"amount\",\n \"type\": \"range\",\n \"params\": {\n \"min\": 0,\n \"max\": 100000\n },\n \"message\": \"Amount out of range\"\n },\n {\n \"field\": \"status\",\n \"type\": \"required\",\n \"message\": \"Status is required\"\n },\n {\n \"field\": \"customField\",\n \"type\": \"custom\",\n \"params\": {\n \"fn\": \"validateCustomField\"\n },\n \"message\": \"Custom validation failed\"\n }\n ],\n \"showInlineErrors\": true\n },\n \"transformations\": [\n {\n \"id\": \"format-date\",\n \"field\": \"createdAt\",\n \"type\": \"format\",\n \"transform\": \"formatDate\",\n \"applyTo\": \"display\"\n },\n {\n \"id\": \"calc-total\",\n \"field\": \"amount\",\n \"type\": \"calculate\",\n \"transform\": \"calculateTotal\",\n \"applyTo\": \"data\"\n },\n {\n \"id\": \"agg-status\",\n \"field\": \"status\",\n \"type\": \"aggregate\",\n \"transform\": \"groupByStatus\",\n \"applyTo\": \"both\"\n }\n ],\n \"polling\": {\n \"enabled\": true,\n \"interval\": 60000,\n \"onlyWhenActive\": true,\n \"exponentialBackoff\": true\n }\n },\n \"theme\": {\n \"primary\": \"#1976d2\",\n \"secondary\": \"#ff9800\",\n \"darkMode\": false,\n \"custom\": {\n \"borderRadius\": \"8px\"\n },\n \"cssVariables\": {\n \"--table-row-hover\": \"#eef3ff\"\n }\n },\n \"performance\": {\n \"virtualization\": {\n \"enabled\": true,\n \"itemHeight\": 44,\n \"bufferSize\": 8,\n \"minContainerHeight\": 240,\n \"strategy\": \"dynamic\"\n },\n \"debounce\": {\n \"search\": 300,\n \"filter\": 250,\n \"resize\": 200,\n \"scroll\": 50\n },\n \"memory\": {\n \"maxRows\": 10000,\n \"autoCleanup\": true,\n \"cleanupInterval\": 600000\n },\n \"rendering\": {\n \"useRAF\": true,\n \"batchUpdates\": true,\n \"batchSize\": 50,\n \"optimizeReRenders\": true\n },\n \"lazyLoading\": {\n \"images\": true,\n \"components\": true,\n \"threshold\": 200\n }\n },\n \"plugins\": [\n {\n \"id\": \"audit\",\n \"name\": \"AuditPlugin\",\n \"version\": \"1.0.0\",\n \"enabled\": true,\n \"settings\": {\n \"logLevel\": \"info\"\n },\n \"hooks\": {\n \"onRowClick\": \"trackRowClick\",\n \"onExport\": \"trackExport\"\n }\n }\n ],\n \"accessibility\": {\n \"enabled\": true,\n \"announcements\": {\n \"dataChanges\": true,\n \"userActions\": true,\n \"loadingStates\": true,\n \"liveRegion\": \"polite\"\n },\n \"keyboard\": {\n \"tabNavigation\": true,\n \"arrowNavigation\": true,\n \"shortcuts\": true,\n \"skipLinks\": true,\n \"focusTrap\": false\n },\n \"highContrast\": false,\n \"reduceMotion\": false,\n \"ariaLabels\": {\n \"table\": \"Orders table\",\n \"pagination\": \"Pagination\"\n }\n },\n \"rowConditionalStyles\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"priority\"\n },\n \"HIGH\"\n ]\n },\n \"cssClass\": \"row-priority-high\",\n \"style\": {\n \"backgroundColor\": \"#fff8e1\"\n },\n \"description\": \"Highlight high priority rows\"\n }\n ],\n \"_rowStyleRulesState\": {\n \"version\": 1,\n \"rules\": [\n \"priority\"\n ]\n },\n \"_variants\": [\n {\n \"id\": \"sorting-default-single\",\n \"description\": \"Use single defaultSort object instead of array.\",\n \"patch\": {\n \"behavior\": {\n \"sorting\": {\n \"defaultSort\": {\n \"column\": \"createdAt\",\n \"direction\": \"desc\"\n }\n }\n }\n }\n },\n {\n \"id\": \"pagination-client\",\n \"description\": \"Client-side pagination example.\",\n \"patch\": {\n \"behavior\": {\n \"pagination\": {\n \"strategy\": \"client\",\n \"totalItems\": 250\n }\n }\n }\n },\n {\n \"id\": \"selection-single-row\",\n \"description\": \"Single selection with row mode.\",\n \"patch\": {\n \"behavior\": {\n \"selection\": {\n \"type\": \"single\",\n \"mode\": \"row\"\n }\n }\n }\n },\n {\n \"id\": \"sticky-boolean\",\n \"description\": \"Sticky as boolean for simple cases.\",\n \"patch\": {\n \"columns\": [\n {\n \"field\": \"id\",\n \"header\": \"ID\",\n \"sticky\": true\n }\n ]\n }\n },\n {\n \"id\": \"typeexpr-string\",\n \"description\": \"Renderer typeExpr as string instead of object.\",\n \"patch\": {\n \"columns\": [\n {\n \"field\": \"status\",\n \"header\": \"Status\",\n \"renderer\": {\n \"typeExpr\": \"statusRenderer\"\n }\n }\n ]\n }\n },\n {\n \"id\": \"row-actions-inline-number\",\n \"description\": \"Row actions maxInline as number.\",\n \"patch\": {\n \"actions\": {\n \"row\": {\n \"behavior\": {\n \"maxInline\": 2\n }\n }\n }\n }\n },\n {\n \"id\": \"row-actions-inline-auto\",\n \"description\": \"Row actions maxInline as auto.\",\n \"patch\": {\n \"actions\": {\n \"row\": {\n \"behavior\": {\n \"maxInline\": \"auto\"\n }\n }\n }\n }\n },\n {\n \"id\": \"virtualization-min-height-string\",\n \"description\": \"minContainerHeight as CSS string.\",\n \"patch\": {\n \"behavior\": {\n \"virtualization\": {\n \"minContainerHeight\": \"50vh\"\n }\n }\n }\n },\n {\n \"id\": \"include-columns-list\",\n \"description\": \"Export includeColumns as explicit array.\",\n \"patch\": {\n \"export\": {\n \"general\": {\n \"includeColumns\": [\n \"id\",\n \"status\",\n \"amount\"\n ]\n }\n }\n }\n }\n ]\n}\n",
21794
21794
  "sourcePointer": "praxis-ui-angular/examples/ai-recipes/praxis-table.json",
21795
- "contentHash": "3a6fd4c73b72ecce129fc1fc5b66bfa5e4a08c17511a7e228e489a13e6b0146e",
21795
+ "contentHash": "3b8b976116c2f37fbda92aee80a9fbd10406c215a83006363baa4796a06e83ed",
21796
21796
  "sourceKind": "component_definition",
21797
21797
  "sourceId": "praxis-table",
21798
21798
  "corpusVersion": "1.0.0"
@@ -21800,9 +21800,9 @@
21800
21800
  {
21801
21801
  "chunkIndex": 13,
21802
21802
  "chunkKind": "recipe",
21803
- "content": "{\n \"_comment\": \"Template to display column values as badges (tags/chips).\",\n \"templateMeta\": {\n \"variantId\": \"renderer-badge\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"renderer\",\n \"badge\",\n \"chip\",\n \"tag\",\n \"status\",\n \"appearance\"\n ],\n \"useWhen\": \"user asks to show a column as a badge, tag, or chip, possibly with colors mapping to values\",\n \"examplePrompts\": [\n \"show status as a badge\",\n \"display priority as colored tags\",\n \"use badges for the category column\"\n ]\n },\n \"columns\": [\n {\n \"field\": \"status\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"statusLabel\",\n \"color\": \"primary\",\n \"variant\": \"filled\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": \"status == 'ERROR'\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Error\",\n \"color\": \"warn\",\n \"icon\": \"error\"\n }\n },\n \"enabled\": true\n },\n {\n \"condition\": \"status == 'SUCCESS'\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Success\",\n \"color\": \"success\",\n \"icon\": \"check\"\n }\n },\n \"enabled\": true\n }\n ]\n }\n ]\n}\n",
21803
+ "content": "{\n \"_comment\": \"Template to display column values as badges (tags/chips).\",\n \"templateMeta\": {\n \"variantId\": \"renderer-badge\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"renderer\",\n \"badge\",\n \"chip\",\n \"tag\",\n \"status\",\n \"appearance\"\n ],\n \"useWhen\": \"user asks to show a column as a badge, tag, or chip, possibly with colors mapping to values\",\n \"examplePrompts\": [\n \"show status as a badge\",\n \"display priority as colored tags\",\n \"use badges for the category column\"\n ]\n },\n \"columns\": [\n {\n \"field\": \"status\",\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Status\",\n \"textField\": \"statusLabel\",\n \"color\": \"primary\",\n \"variant\": \"filled\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"ERROR\"\n ]\n },\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Error\",\n \"color\": \"warn\",\n \"icon\": \"error\"\n }\n },\n \"enabled\": true\n },\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"status\"\n },\n \"SUCCESS\"\n ]\n },\n \"renderer\": {\n \"type\": \"badge\",\n \"badge\": {\n \"text\": \"Success\",\n \"color\": \"success\",\n \"icon\": \"check\"\n }\n },\n \"enabled\": true\n }\n ]\n }\n ]\n}\n",
21804
21804
  "sourcePointer": "praxis-ui-angular/examples/ai-recipes/praxis-table.renderer-badge.json",
21805
- "contentHash": "44af08230d3d61b3bf4ff5e414abfde517099cbf6fbe89eb1182db6a37958b13",
21805
+ "contentHash": "f0d407a2ddbf0d257d9886e15290e095620b70095ff5c209bed96ce766b0505e",
21806
21806
  "sourceKind": "component_definition",
21807
21807
  "sourceId": "praxis-table",
21808
21808
  "corpusVersion": "1.0.0"
@@ -21810,9 +21810,9 @@
21810
21810
  {
21811
21811
  "chunkIndex": 14,
21812
21812
  "chunkKind": "recipe",
21813
- "content": "{\n \"_comment\": \"Template to display icons in a column, either static or conditional.\",\n \"templateMeta\": {\n \"variantId\": \"renderer-icon\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"renderer\",\n \"icon\",\n \"visual\",\n \"appearance\"\n ],\n \"useWhen\": \"user asks to display an icon in a column, usually based on a condition\",\n \"examplePrompts\": [\n \"show a check icon if active\",\n \"display a warning icon for late items\",\n \"add an icon column for status\"\n ]\n },\n \"columns\": [\n {\n \"field\": \"active\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"check_circle\",\n \"color\": \"success\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": \"active == false\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"cancel\",\n \"color\": \"warn\"\n }\n },\n \"enabled\": true\n }\n ]\n }\n ]\n}\n",
21813
+ "content": "{\n \"_comment\": \"Template to display icons in a column, either static or conditional.\",\n \"templateMeta\": {\n \"variantId\": \"renderer-icon\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"renderer\",\n \"icon\",\n \"visual\",\n \"appearance\"\n ],\n \"useWhen\": \"user asks to display an icon in a column, usually based on a condition\",\n \"examplePrompts\": [\n \"show a check icon if active\",\n \"display a warning icon for late items\",\n \"add an icon column for status\"\n ]\n },\n \"columns\": [\n {\n \"field\": \"active\",\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"check_circle\",\n \"color\": \"success\"\n }\n },\n \"conditionalRenderers\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"active\"\n },\n false\n ]\n },\n \"renderer\": {\n \"type\": \"icon\",\n \"icon\": {\n \"name\": \"cancel\",\n \"color\": \"warn\"\n }\n },\n \"enabled\": true\n }\n ]\n }\n ]\n}\n",
21814
21814
  "sourcePointer": "praxis-ui-angular/examples/ai-recipes/praxis-table.renderer-icon.json",
21815
- "contentHash": "e1b8fcc82f99b54db570ce7d43801029d1b11951dd932a4aae2acac4be537a54",
21815
+ "contentHash": "3c6a14fabfde15c65a4c9e2fc66d1c8666e0a9d298242ed0b214b903d9dddaf6",
21816
21816
  "sourceKind": "component_definition",
21817
21817
  "sourceId": "praxis-table",
21818
21818
  "corpusVersion": "1.0.0"
@@ -21830,9 +21830,9 @@
21830
21830
  {
21831
21831
  "chunkIndex": 16,
21832
21832
  "chunkKind": "recipe",
21833
- "content": "{\n \"_comment\": \"Template to apply conditional styling (colors, fonts) to rows or columns based on data values.\",\n \"templateMeta\": {\n \"variantId\": \"style-conditional\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"style\",\n \"animation\",\n \"appearance\",\n \"conditional\",\n \"color\",\n \"background\",\n \"highlight\"\n ],\n \"useWhen\": \"user asks to highlight, color, style, or animate rows/cells based on a condition (e.g., 'red if negative', 'highlight high priority', 'pulse critical rows')\",\n \"examplePrompts\": [\n \"highlight rows where status is urgent\",\n \"make the amount red if less than zero\",\n \"bold the text for active items\",\n \"animate salary rows above 30000\",\n \"pulse the status cell when it is critical\"\n ]\n },\n \"columns\": [\n {\n \"field\": \"amount\",\n \"conditionalStyles\": [\n {\n \"condition\": \"amount < 0\",\n \"style\": {\n \"color\": \"#d32f2f\",\n \"fontWeight\": \"bold\"\n }\n }\n ]\n },\n {\n \"field\": \"status\",\n \"conditionalRenderers\": [\n {\n \"id\": \"status-critical-alert\",\n \"condition\": {\n \"===\": [\n { \"var\": \"status\" },\n \"CRITICAL\"\n ]\n },\n \"animation\": {\n \"preset\": \"critical-alert\",\n \"trigger\": \"onChange\",\n \"intensity\": \"strong\",\n \"repeat\": \"loop\"\n },\n \"description\": \"Animate only the status cell for critical rows\",\n \"enabled\": true\n }\n ]\n }\n ],\n \"rowConditionalStyles\": [\n {\n \"condition\": \"priority == 'HIGH'\",\n \"style\": {\n \"backgroundColor\": \"#fff8e1\"\n }\n }\n ],\n \"rowConditionalRenderers\": [\n {\n \"id\": \"priority-high-pulse\",\n \"condition\": {\n \"===\": [\n { \"var\": \"priority\" },\n \"HIGH\"\n ]\n },\n \"animation\": {\n \"preset\": \"pulse-soft\",\n \"trigger\": \"onAppear\",\n \"intensity\": \"subtle\",\n \"repeat\": \"once\",\n \"durationMs\": 1200\n },\n \"description\": \"Animate the full row for high priority records\",\n \"enabled\": true\n }\n ]\n}\n",
21833
+ "content": "{\n \"_comment\": \"Template to apply conditional styling (colors, fonts) to rows or columns based on data values.\",\n \"templateMeta\": {\n \"variantId\": \"style-conditional\",\n \"variantOf\": \"praxis-table\",\n \"registryKey\": \"praxis-table\",\n \"tags\": [\n \"style\",\n \"animation\",\n \"appearance\",\n \"conditional\",\n \"color\",\n \"background\",\n \"highlight\"\n ],\n \"useWhen\": \"user asks to highlight, color, style, or animate rows/cells based on a condition (e.g., 'red if negative', 'highlight high priority', 'pulse critical rows')\",\n \"examplePrompts\": [\n \"highlight rows where status is urgent\",\n \"make the amount red if less than zero\",\n \"bold the text for active items\",\n \"animate salary rows above 30000\",\n \"pulse the status cell when it is critical\"\n ]\n },\n \"columns\": [\n {\n \"field\": \"amount\",\n \"conditionalStyles\": [\n {\n \"condition\": {\n \"<\": [\n {\n \"var\": \"amount\"\n },\n 0\n ]\n },\n \"style\": {\n \"color\": \"#d32f2f\",\n \"fontWeight\": \"bold\"\n }\n }\n ]\n },\n {\n \"field\": \"status\",\n \"conditionalRenderers\": [\n {\n \"id\": \"status-critical-alert\",\n \"condition\": {\n \"===\": [\n {\n \"var\": \"status\"\n },\n \"CRITICAL\"\n ]\n },\n \"animation\": {\n \"preset\": \"critical-alert\",\n \"trigger\": \"onChange\",\n \"intensity\": \"strong\",\n \"repeat\": \"loop\"\n },\n \"description\": \"Animate only the status cell for critical rows\",\n \"enabled\": true\n }\n ]\n }\n ],\n \"rowConditionalStyles\": [\n {\n \"condition\": {\n \"==\": [\n {\n \"var\": \"priority\"\n },\n \"HIGH\"\n ]\n },\n \"style\": {\n \"backgroundColor\": \"#fff8e1\"\n }\n }\n ],\n \"rowConditionalRenderers\": [\n {\n \"id\": \"priority-high-pulse\",\n \"condition\": {\n \"===\": [\n {\n \"var\": \"priority\"\n },\n \"HIGH\"\n ]\n },\n \"animation\": {\n \"preset\": \"pulse-soft\",\n \"trigger\": \"onAppear\",\n \"intensity\": \"subtle\",\n \"repeat\": \"once\",\n \"durationMs\": 1200\n },\n \"description\": \"Animate the full row for high priority records\",\n \"enabled\": true\n }\n ]\n}\n",
21834
21834
  "sourcePointer": "praxis-ui-angular/examples/ai-recipes/praxis-table.style-conditional.json",
21835
- "contentHash": "3552d92b535936cdd9a4fa22946015b9977f156aa4a1ebbe3af881b5f7bfd6ae",
21835
+ "contentHash": "8da820ed4b8c1e8b531ef370bfc94e3233660c9dfce79a956e43360a2323f91b",
21836
21836
  "sourceKind": "component_definition",
21837
21837
  "sourceId": "praxis-table",
21838
21838
  "corpusVersion": "1.0.0"