@praxisui/table-rule-builder 9.0.0-beta.26 → 9.0.0-beta.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -53,12 +53,16 @@ import {
|
|
|
53
53
|
<praxis-rule-effects-panel
|
|
54
54
|
scope="cell"
|
|
55
55
|
[value]="effect"
|
|
56
|
+
[labels]="labels"
|
|
56
57
|
(valueChange)="effect = $event"
|
|
57
58
|
(apply)="applyEffect()" />
|
|
58
59
|
`,
|
|
59
60
|
})
|
|
60
61
|
export class RuleEffectsEditorComponent {
|
|
61
62
|
effect: RuleEffectDefinition = { style: { fontWeight: '600' } };
|
|
63
|
+
labels = {
|
|
64
|
+
'preview.sampleText': 'Valor de exemplo',
|
|
65
|
+
};
|
|
62
66
|
|
|
63
67
|
applyEffect(): void {
|
|
64
68
|
// Persist inside the table-owned conditional rule surface.
|
|
@@ -83,6 +87,14 @@ When the panel is embedded by `@praxisui/table`, the table rule entry stores the
|
|
|
83
87
|
|
|
84
88
|
Existing singular `effects: RuleEffectDefinition` payloads are accepted on load and normalized back to the canonical array on apply.
|
|
85
89
|
|
|
90
|
+
## Theming and copy
|
|
91
|
+
|
|
92
|
+
The panel chrome uses Angular Material/Praxis CSS tokens for surfaces, borders, text and elevation so host applications can theme light, dark and high-contrast contexts without patching internal CSS. Effect payload colors remain part of `RuleEffectDefinition` because they describe the conditional visual outcome, not the panel shell.
|
|
93
|
+
|
|
94
|
+
Use the `labels` input to override panel text such as preview sample text, preset names, aria labels and advanced-field placeholders. The input accepts partial maps and merges them with the panel defaults. These labels are host/editor chrome and must not be persisted as table rule semantics.
|
|
95
|
+
|
|
96
|
+
Default panel copy is provided through the exported `praxisTableRuleBuilder` i18n namespace (`PRAXIS_TABLE_RULE_BUILDER_I18N_CONFIG`). Use `labels` only for host-specific copy overrides on top of that catalog.
|
|
97
|
+
|
|
86
98
|
## Testes
|
|
87
99
|
|
|
88
100
|
- Target oficial no workspace: `ng test praxis-table-rule-builder --watch=false --browsers=ChromeHeadless`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-01T22:59:31.192Z",
|
|
4
4
|
"packageName": "@praxisui/table-rule-builder",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.28",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"name": "value",
|
|
22
22
|
"type": "RuleEffectDefinition | undefined",
|
|
23
23
|
"required": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "labels",
|
|
27
|
+
"type": "Record<string, string>",
|
|
28
|
+
"required": false
|
|
24
29
|
}
|
|
25
30
|
],
|
|
26
31
|
"outputs": [
|
|
@@ -437,6 +442,11 @@
|
|
|
437
442
|
"type": "RuleEffectDefinition | undefined",
|
|
438
443
|
"description": "Initial effect definition hydrated into the panel form."
|
|
439
444
|
},
|
|
445
|
+
{
|
|
446
|
+
"name": "labels",
|
|
447
|
+
"type": "Record<string, string>",
|
|
448
|
+
"description": "Host-owned partial panel copy overrides merged with default labels for i18n/theming context; not part of the rule effect payload."
|
|
449
|
+
},
|
|
440
450
|
{
|
|
441
451
|
"name": "valueChange",
|
|
442
452
|
"type": "RuleEffectDefinition",
|
|
@@ -450,7 +460,7 @@
|
|
|
450
460
|
{
|
|
451
461
|
"name": "reset",
|
|
452
462
|
"type": "void",
|
|
453
|
-
"description": "Emitted when the user resets the panel form."
|
|
463
|
+
"description": "Emitted when the user resets the panel form back to canonical defaults."
|
|
454
464
|
}
|
|
455
465
|
],
|
|
456
466
|
"editableTargets": [
|
|
@@ -1609,9 +1619,9 @@
|
|
|
1609
1619
|
{
|
|
1610
1620
|
"chunkIndex": 0,
|
|
1611
1621
|
"chunkKind": "summary",
|
|
1612
|
-
"content": "Component ID: praxis-table-rule-builder\nSelector: praxis-rule-effects-panel\nFriendly Name: Praxis Table Rule Builder\nDescription: Editor for table rule effects and conditional styling.\nCategory: table\nLib/Package: @praxisui/table-rule-builder\nTags: widget, rules, table, configurable\nInputs:\n - scope (RuleScope)\n - value (RuleEffectDefinition | undefined)\nOutputs:\n - valueChange (RuleEffectDefinition)\n - apply (void)\n - reset (void)\n",
|
|
1622
|
+
"content": "Component ID: praxis-table-rule-builder\nSelector: praxis-rule-effects-panel\nFriendly Name: Praxis Table Rule Builder\nDescription: Editor for table rule effects and conditional styling.\nCategory: table\nLib/Package: @praxisui/table-rule-builder\nTags: widget, rules, table, configurable\nInputs:\n - scope (RuleScope)\n - value (RuleEffectDefinition | undefined)\n - labels (Record<string, string>)\nOutputs:\n - valueChange (RuleEffectDefinition)\n - apply (void)\n - reset (void)\n",
|
|
1613
1623
|
"sourcePointer": "praxis-ui-angular/projects/praxis-table-rule-builder/src/lib/praxis-table-rule-builder.metadata.ts",
|
|
1614
|
-
"contentHash": "
|
|
1624
|
+
"contentHash": "f141b3d5a1a9e7a7d904e14976fe6712dcb1d80c41dcbc9dbc18326ab910b400",
|
|
1615
1625
|
"sourceKind": "component_definition",
|
|
1616
1626
|
"sourceId": "praxis-table-rule-builder",
|
|
1617
1627
|
"corpusVersion": "1.0.0"
|
|
@@ -1619,9 +1629,9 @@
|
|
|
1619
1629
|
{
|
|
1620
1630
|
"chunkIndex": 1,
|
|
1621
1631
|
"chunkKind": "authoring_manifest",
|
|
1622
|
-
"content": "{\n \"schemaVersion\": \"1.0.0\",\n \"componentId\": \"praxis-table-rule-builder\",\n \"ownerPackage\": \"@praxisui/table-rule-builder\",\n \"configSchemaId\": \"RuleEffectDefinition\",\n \"manifestVersion\": \"1.0.0\",\n \"runtimeInputs\": [\n {\n \"name\": \"scope\",\n \"type\": \"RuleScope\",\n \"description\": \"Effect scope: cell, row, column or table.\"\n },\n {\n \"name\": \"value\",\n \"type\": \"RuleEffectDefinition | undefined\",\n \"description\": \"Initial effect definition hydrated into the panel form.\"\n },\n {\n \"name\": \"valueChange\",\n \"type\": \"RuleEffectDefinition\",\n \"description\": \"Debounced normalized effect payload emitted by the editor.\"\n },\n {\n \"name\": \"apply\",\n \"type\": \"void\",\n \"description\": \"Emitted when the user applies the current effect payload.\"\n },\n {\n \"name\": \"reset\",\n \"type\": \"void\",\n \"description\": \"Emitted when the user resets the panel form.\"\n }\n ],\n \"editableTargets\": [\n {\n \"kind\": \"rule\",\n \"resolver\": \"table-rule-by-stable-id\",\n \"description\": \"Table conditional rule entry keyed by stable rule id before it is passed to praxis-table.\"\n },\n {\n \"kind\": \"condition\",\n \"resolver\": \"table-rule-condition-by-rule-id\",\n \"description\": \"Structured condition payload evaluated against table row/column context.\"\n },\n {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"description\": \"Visual effect payload inside a rule, mapped to RuleEffectDefinition.\"\n },\n {\n \"kind\": \"preset\",\n \"resolver\": \"default-effect-preset-by-key\",\n \"description\": \"Built-in semantic effect preset from DEFAULT_EFFECT_PRESETS.\"\n },\n {\n \"kind\": \"animation\",\n \"resolver\": \"rule-animation-by-rule-and-effect-id\",\n \"description\": \"Animation preset, alias or override resolved through animation-presets.\"\n },\n {\n \"kind\": \"tableDelegation\",\n \"resolver\": \"praxis-table-authoring-operation\",\n \"description\": \"Explicit delegation boundary for table-owned configuration changes.\"\n }\n ],\n \"operations\": [\n {\n \"operationId\": \"rule.add\",\n \"title\": \"Add table visual rule\",\n \"scope\": \"rule\",\n \"targetKind\": \"rule\",\n \"target\": {\n \"kind\": \"rule\",\n \"resolver\": \"table-rule-by-stable-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"scope\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"scope\": {\n \"enum\": [\n \"cell\",\n \"row\",\n \"column\",\n \"table\"\n ]\n },\n \"columnKey\": {\n \"type\": \"string\"\n },\n \"condition\": {\n \"type\": \"object\"\n },\n \"effect\": {\n \"type\": \"object\"\n },\n \"insertAfterRuleId\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-rule-add\",\n \"handlerContract\": {\n \"reads\": [\n \"RuleEffectsPanelComponent.scope\",\n \"RuleEffectDefinition\",\n \"praxis-table rowConditionalRenderers\",\n \"praxis-table columns[].conditionalRenderers\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\",\n \"RuleEffectDefinition\"\n ],\n \"identityKeys\": [\n \"ruleId\"\n ],\n \"failureModes\": [\n \"duplicate-rule-id\",\n \"unsupported-scope\",\n \"column-not-found\",\n \"condition-invalid\",\n \"effect-registry-miss\"\n ],\n \"description\": \"Creates a stable table visual rule and keeps table-owned renderer placement delegated to praxis-table.\"\n }\n }\n ],\n \"validators\": [\n \"rule-id-unique\",\n \"scope-supported\",\n \"condition-table-context-valid\",\n \"effect-registry-supported\",\n \"table-owned-config-delegated\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\",\n \"RuleEffectDefinition\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"table-authoring-context-known\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"rule.remove\",\n \"title\": \"Remove table visual rule\",\n \"scope\": \"rule\",\n \"targetKind\": \"rule\",\n \"target\": {\n \"kind\": \"rule\",\n \"resolver\": \"table-rule-by-stable-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"removeEffects\": {\n \"type\": \"boolean\"\n },\n \"preserveCondition\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-rule-remove\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules\",\n \"ruleEffects.rules[].effect\",\n \"ruleEffects.rules[].condition\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"ruleId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"destructive-removal-not-confirmed\",\n \"orphaned-table-renderer\",\n \"condition-preserve-not-supported\"\n ],\n \"description\": \"Removes a governed visual rule by id with confirmation because conditions and effects can be lost.\"\n }\n }\n ],\n \"destructive\": true,\n \"requiresConfirmation\": true,\n \"validators\": [\n \"rule-exists\",\n \"destructive-removal-confirmed\",\n \"table-renderer-references-clean\",\n \"table-owned-config-delegated\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"explicit-confirmation-provided\"\n ]\n },\n {\n \"operationId\": \"condition.set\",\n \"title\": \"Set table rule condition\",\n \"scope\": \"rule\",\n \"targetKind\": \"condition\",\n \"target\": {\n \"kind\": \"condition\",\n \"resolver\": \"table-rule-condition-by-rule-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"condition\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"condition\": {\n \"type\": \"object\"\n },\n \"scope\": {\n \"enum\": [\n \"cell\",\n \"row\",\n \"column\",\n \"table\"\n ]\n },\n \"columnKey\": {\n \"type\": \"string\"\n },\n \"mode\": {\n \"enum\": [\n \"replace\",\n \"merge\"\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-condition-set\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules\",\n \"praxis-table dataSource fields\",\n \"praxis-table columns\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"ruleId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"condition-invalid\",\n \"field-not-in-table-context\",\n \"column-not-found\"\n ],\n \"description\": \"Applies a structured table row/column condition without creating a parallel table DSL.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"condition-table-context-valid\",\n \"condition-fields-known\",\n \"condition-operators-supported\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"table-authoring-context-known\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"effect.add\",\n \"title\": \"Add visual effect to rule\",\n \"scope\": \"skin\",\n \"targetKind\": \"effect\",\n \"target\": {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"effectId\",\n \"effectType\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"effectType\": {\n \"enum\": [\n \"estilo\",\n \"layout\",\n \"icone\",\n \"fundo\",\n \"animacao\",\n \"tooltip\"\n ]\n },\n \"payload\": {\n \"type\": \"object\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-effect-add\",\n \"handlerContract\": {\n \"reads\": [\n \"EffectRegistryService.list\",\n \"RuleEffectDefinition\",\n \"toCellClassAndStyle\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"duplicate-effect-id\",\n \"unsupported-effect-type\",\n \"unsafe-style-value\"\n ],\n \"description\": \"Adds a governed visual effect whose type is backed by the effect registry and RuleEffectDefinition.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"effect-id-unique\",\n \"effect-registry-supported\",\n \"style-values-safe\",\n \"preview-class-not-persisted\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"effect-registry-initialized\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"effect.update\",\n \"title\": \"Update visual effect payload\",\n \"scope\": \"skin\",\n \"targetKind\": \"effect\",\n \"target\": {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"effectId\",\n \"payload\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"payload\": {\n \"type\": \"object\"\n },\n \"mode\": {\n \"enum\": [\n \"replace\",\n \"merge\"\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-effect-update\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules[].effect\",\n \"EffectRegistryService.list\",\n \"toCellClassAndStyle\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"effect-not-found\",\n \"unsupported-effect-type\",\n \"unsafe-style-value\"\n ],\n \"description\": \"Updates a visual effect payload while preserving its stable effect id and registry-backed type.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"effect-exists\",\n \"effect-registry-supported\",\n \"style-values-safe\",\n \"runtime-effect-compilable\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"effect-registry-initialized\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"effect.remove\",\n \"title\": \"Remove visual effect from rule\",\n \"scope\": \"skin\",\n \"targetKind\": \"effect\",\n \"target\": {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"removeEmptyRule\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-effect-remove\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules\",\n \"ruleEffects.rules[].effect\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\",\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"effect-not-found\",\n \"destructive-removal-not-confirmed\",\n \"empty-rule-created\"\n ],\n \"description\": \"Removes one visual effect and optionally removes the empty rule, requiring confirmation for destructive cleanup.\"\n }\n }\n ],\n \"destructive\": true,\n \"requiresConfirmation\": true,\n \"validators\": [\n \"rule-exists\",\n \"effect-exists\",\n \"destructive-removal-confirmed\",\n \"empty-rule-policy-valid\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\",\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"explicit-confirmation-provided\"\n ]\n },\n {\n \"operationId\": \"preset.apply\",\n \"title\": \"Apply semantic effect preset\",\n \"scope\": \"skin\",\n \"targetKind\": \"preset\",\n \"target\": {\n \"kind\": \"preset\",\n \"resolver\": \"default-effect-preset-by-key\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"presetKey\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"presetKey\": {\n \"enum\": [\n \"aprovado\",\n \"alerta\",\n \"erro\",\n \"info\"\n ]\n },\n \"scope\": {\n \"enum\": [\n \"cell\",\n \"row\",\n \"column\",\n \"table\"\n ]\n },\n \"mergeWithExisting\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-preset-apply\",\n \"handlerContract\": {\n \"reads\": [\n \"DEFAULT_EFFECT_PRESETS\",\n \"RuleEffectsPanelComponent.applyPreset\",\n \"RuleEffectDefinition\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\",\n \"RuleEffectsPanelComponent.effectsForm\",\n \"valueChange\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"presetKey\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"preset-not-found\",\n \"scope-override-invalid\",\n \"preset-effect-not-compilable\"\n ],\n \"description\": \"Applies a built-in semantic preset and normalizes its scope through the rule effects panel.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"preset-key-known\",\n \"preset-effect-compilable\",\n \"scope-supported\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\",\n \"RuleEffectsPanelComponent.effectsForm\",\n \"valueChange\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"default-presets-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"animation.set\",\n \"title\": \"Set rule animation\",\n \"scope\": \"skin\",\n \"targetKind\": \"animation\",\n \"target\": {\n \"kind\": \"animation\",\n \"resolver\": \"rule-animation-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"animation\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"animation\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"boolean\"\n },\n \"preset\": {\n \"enum\": [\n \"info-soft\",\n \"success-confirm\",\n \"warning-attention\",\n \"critical-alert\",\n \"audit-review\",\n \"sync-pending\",\n \"sla-warning\",\n \"sla-breach\",\n \"risk-elevated\",\n \"risk-critical\",\n \"audit-warning\",\n \"sync-warning\"\n ]\n },\n \"type\": {\n \"enum\": [\n \"pulse\",\n \"blink\",\n \"grow\",\n \"fade\",\n \"slide-in\",\n \"border-pulse\"\n ]\n },\n \"trigger\": {\n \"enum\": [\n \"onChange\",\n \"onAppear\",\n \"onHover\",\n \"onConditionEnter\",\n \"onConditionExit\",\n \"onDataRefresh\"\n ]\n },\n \"repeat\": {},\n \"durationMs\": {\n \"type\": \"number\"\n },\n \"delayMs\": {\n \"type\": \"number\"\n },\n \"intensity\": {\n \"enum\": [\n \"subtle\",\n \"normal\",\n \"strong\"\n ]\n }\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-animation-set\",\n \"handlerContract\": {\n \"reads\": [\n \"RULE_ANIMATION_PRESETS\",\n \"RULE_ANIMATION_PRESET_ALIASES\",\n \"resolveRuleAnimationConfig\",\n \"RuleEffectDefinition.animation\"\n ],\n \"writes\": [\n \"RuleEffectDefinition.animation\",\n \"RuleEffectsPanelComponent.effectsForm.animation\",\n \"valueChange\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"effect-not-found\",\n \"animation-preset-unknown\",\n \"animation-override-invalid\",\n \"reduced-motion-policy-violated\"\n ],\n \"description\": \"Sets a semantic animation preset or override that resolves fail-closed through the animation preset catalog.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"animation-preset-known\",\n \"animation-alias-known\",\n \"animation-override-valid\",\n \"animation-runtime-supported\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition.animation\",\n \"RuleEffectsPanelComponent.effectsForm.animation\",\n \"valueChange\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"animation-presets-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"tableIntegration.delegate\",\n \"title\": \"Delegate table-owned configuration\",\n \"scope\": \"global\",\n \"targetKind\": \"tableDelegation\",\n \"target\": {\n \"kind\": \"tableDelegation\",\n \"resolver\": \"praxis-table-authoring-operation\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"tableOperationId\",\n \"reason\"\n ],\n \"properties\": {\n \"tableOperationId\": {\n \"type\": \"string\"\n },\n \"reason\": {\n \"type\": \"string\"\n },\n \"tableTarget\": {\n \"type\": \"object\"\n },\n \"tableParams\": {\n \"type\": \"object\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-table-delegate\",\n \"handlerContract\": {\n \"reads\": [\n \"PRAXIS_TABLE_AUTHORING_MANIFEST\",\n \"TableConfigV2\",\n \"tableOperationId\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"tableOperationId\"\n ],\n \"failureModes\": [\n \"table-operation-not-found\",\n \"table-target-invalid\",\n \"attempted-local-table-config-write\"\n ],\n \"description\": \"Records that table-owned config such as renderer placement, columns, ordering or data binding must route through praxis-table.\"\n }\n }\n ],\n \"validators\": [\n \"table-manifest-operation-known\",\n \"table-target-valid\",\n \"no-local-table-config-write\",\n \"table-owned-config-delegated\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"none\",\n \"preconditions\": [\n \"praxis-table-manifest-available\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n }\n ],\n \"validators\": [\n {\n \"validatorId\": \"rule-id-unique\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ID_UNIQUE\",\n \"description\": \"Rule ids must be unique and stable.\"\n },\n {\n \"validatorId\": \"scope-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_SCOPE_SUPPORTED\",\n \"description\": \"Rule scope must be one of cell, row, column or table.\"\n },\n {\n \"validatorId\": \"condition-table-context-valid\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_CONDITION_CONTEXT_VALID\",\n \"description\": \"Conditions must reference valid table row or column context.\"\n },\n {\n \"validatorId\": \"effect-registry-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EFFECT_REGISTRY_SUPPORTED\",\n \"description\": \"Effects must be backed by EffectRegistryService editor categories.\"\n },\n {\n \"validatorId\": \"table-owned-config-delegated\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_TABLE_CONFIG_DELEGATED\",\n \"description\": \"Table-owned configuration changes must delegate to praxis-table.\"\n },\n {\n \"validatorId\": \"rule-exists\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EXISTS\",\n \"description\": \"The targeted rule must exist.\"\n },\n {\n \"validatorId\": \"destructive-removal-confirmed\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_DESTRUCTIVE_CONFIRMED\",\n \"description\": \"Destructive rule or effect removal requires explicit confirmation.\"\n },\n {\n \"validatorId\": \"table-renderer-references-clean\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_RENDERER_REFERENCES_CLEAN\",\n \"description\": \"Removing a rule must not leave stale table renderer references.\"\n },\n {\n \"validatorId\": \"condition-fields-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_CONDITION_FIELDS_KNOWN\",\n \"description\": \"Condition fields must exist in table row data or column metadata.\"\n },\n {\n \"validatorId\": \"condition-operators-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_CONDITION_OPERATORS_SUPPORTED\",\n \"description\": \"Condition operators must be supported by table rule semantics.\"\n },\n {\n \"validatorId\": \"effect-id-unique\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EFFECT_ID_UNIQUE\",\n \"description\": \"Effect ids must be unique within a rule.\"\n },\n {\n \"validatorId\": \"style-values-safe\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_STYLE_VALUES_SAFE\",\n \"description\": \"CSS class and style values must be safe for runtime rendering.\"\n },\n {\n \"validatorId\": \"preview-class-not-persisted\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_PREVIEW_CLASS_NOT_PERSISTED\",\n \"description\": \"Preview-only animation classes must not leak into persisted payload mapping.\"\n },\n {\n \"validatorId\": \"effect-exists\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EFFECT_EXISTS\",\n \"description\": \"The targeted effect must exist.\"\n },\n {\n \"validatorId\": \"runtime-effect-compilable\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_RUNTIME_EFFECT_COMPILABLE\",\n \"description\": \"Effect payload must compile through toCellClassAndStyle or table renderer semantics.\"\n },\n {\n \"validatorId\": \"empty-rule-policy-valid\",\n \"level\": \"warning\",\n \"code\": \"TABLE_RULE_EMPTY_RULE_POLICY_VALID\",\n \"description\": \"Removing the last effect must follow the requested empty-rule policy.\"\n },\n {\n \"validatorId\": \"preset-key-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_PRESET_KEY_KNOWN\",\n \"description\": \"Preset key must exist in DEFAULT_EFFECT_PRESETS.\"\n },\n {\n \"validatorId\": \"preset-effect-compilable\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_PRESET_EFFECT_COMPILABLE\",\n \"description\": \"Preset payload must compile to RuleEffectDefinition.\"\n },\n {\n \"validatorId\": \"animation-preset-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_PRESET_KNOWN\",\n \"description\": \"Animation preset must be canonical or explicitly aliased.\"\n },\n {\n \"validatorId\": \"animation-alias-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_ALIAS_KNOWN\",\n \"description\": \"Animation aliases must resolve to canonical presets.\"\n },\n {\n \"validatorId\": \"animation-override-valid\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_OVERRIDE_VALID\",\n \"description\": \"Animation overrides must normalize to supported type, trigger, repeat and intensity values.\"\n },\n {\n \"validatorId\": \"animation-runtime-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_RUNTIME_SUPPORTED\",\n \"description\": \"Animation payload must be supported by row and column conditional renderers.\"\n },\n {\n \"validatorId\": \"table-manifest-operation-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_TABLE_OPERATION_KNOWN\",\n \"description\": \"Delegated table operation must exist in the praxis-table authoring manifest.\"\n },\n {\n \"validatorId\": \"table-target-valid\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_TABLE_TARGET_VALID\",\n \"description\": \"Delegated table target must be resolvable by praxis-table.\"\n },\n {\n \"validatorId\": \"no-local-table-config-write\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_NO_LOCAL_TABLE_CONFIG_WRITE\",\n \"description\": \"Rule builder operations must not write TableConfig directly.\"\n }\n ],\n \"roundTripRequirements\": [\n \"RuleEffectDefinition is the local source of truth for the effects panel.\",\n \"Rules that affect rowConditionalRenderers or columns[].conditionalRenderers must delegate table-owned placement to praxis-table.\",\n \"Rule and effect identity must use stable ruleId/effectId keys; array indexes are not canonical identities.\",\n \"Animation presets and aliases must resolve through RULE_ANIMATION_PRESETS and RULE_ANIMATION_PRESET_ALIASES before persistence.\",\n \"Preview-only animation classes must be omitted from persisted table payload mapping by using includeAnimationPreview: false.\",\n \"Preset application must preserve the selected scope and emit a normalized RuleEffectDefinition through valueChange.\"\n ],\n \"examples\": [\n {\n \"id\": \"table-rule-add-row-warning\",\n \"request\": \"Add a row warning rule for overdue invoices.\",\n \"operationId\": \"rule.add\",\n \"target\": \"rule:overdue-warning\",\n \"params\": {\n \"ruleId\": \"overdue-warning\",\n \"scope\": \"row\",\n \"condition\": {\n \"field\": \"dueDate\",\n \"operator\": \"beforeToday\"\n },\n \"effect\": {\n \"background\": {\n \"color\": \"rgba(255,193,7,0.12)\"\n }\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-remove-obsolete\",\n \"request\": \"Remove the obsolete archived row rule.\",\n \"operationId\": \"rule.remove\",\n \"target\": \"rule:archived-obsolete\",\n \"params\": {\n \"ruleId\": \"archived-obsolete\",\n \"removeEffects\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-condition-status-error\",\n \"request\": \"Make the rule apply when status is error.\",\n \"operationId\": \"condition.set\",\n \"target\": \"condition:status-error\",\n \"params\": {\n \"ruleId\": \"status-error\",\n \"condition\": {\n \"field\": \"status\",\n \"operator\": \"equals\",\n \"value\": \"error\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-add-badge-effect\",\n \"request\": \"Add a warning badge to the status rule.\",\n \"operationId\": \"effect.add\",\n \"target\": \"effect:status-warning/badge\",\n \"params\": {\n \"ruleId\": \"status-warning\",\n \"effectId\": \"badge\",\n \"effectType\": \"icone\",\n \"payload\": {\n \"icon\": \"warning\",\n \"badgeText\": \"Attention\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-update-background\",\n \"request\": \"Change the risk rule background color.\",\n \"operationId\": \"effect.update\",\n \"target\": \"effect:risk/background\",\n \"params\": {\n \"ruleId\": \"risk\",\n \"effectId\": \"background\",\n \"payload\": {\n \"background\": {\n \"color\": \"rgba(239,83,80,0.10)\"\n }\n },\n \"mode\": \"merge\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-remove-tooltip\",\n \"request\": \"Remove the tooltip effect from the audit rule.\",\n \"operationId\": \"effect.remove\",\n \"target\": \"effect:audit/tooltip\",\n \"params\": {\n \"ruleId\": \"audit\",\n \"effectId\": \"tooltip\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-apply-alerta\",\n \"request\": \"Use the alerta preset on the SLA rule.\",\n \"operationId\": \"preset.apply\",\n \"target\": \"preset:alerta\",\n \"params\": {\n \"ruleId\": \"sla\",\n \"presetKey\": \"alerta\",\n \"scope\": \"row\",\n \"mergeWithExisting\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-animation-critical\",\n \"request\": \"Make the SLA breach animation critical.\",\n \"operationId\": \"animation.set\",\n \"target\": \"animation:sla-breach\",\n \"params\": {\n \"ruleId\": \"sla-breach\",\n \"effectId\": \"animation\",\n \"animation\": {\n \"preset\": \"critical-alert\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-delegate-column-renderer\",\n \"request\": \"Move this effect to the status column renderer.\",\n \"operationId\": \"tableIntegration.delegate\",\n \"target\": \"praxis-table:column-renderer\",\n \"params\": {\n \"tableOperationId\": \"column.conditionalRenderer.set\",\n \"reason\": \"column renderer placement is owned by praxis-table\",\n \"tableTarget\": {\n \"columnKey\": \"status\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-reject-direct-table-column\",\n \"request\": \"Add a new table column from the rule builder.\",\n \"operationId\": \"tableIntegration.delegate\",\n \"target\": \"praxis-table:column.add\",\n \"params\": {\n \"tableOperationId\": \"column.add\",\n \"reason\": \"column authoring belongs to praxis-table\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"table-rule-reject-unknown-effect\",\n \"request\": \"Add a sparkle shader effect to rows.\",\n \"operationId\": \"effect.add\",\n \"target\": \"effect:sparkle\",\n \"params\": {\n \"ruleId\": \"risk\",\n \"effectId\": \"sparkle\",\n \"effectType\": \"shader\",\n \"payload\": {}\n },\n \"isPositive\": false\n },\n {\n \"id\": \"table-rule-reject-unknown-animation\",\n \"request\": \"Use the earthquake animation preset.\",\n \"operationId\": \"animation.set\",\n \"target\": \"animation:earthquake\",\n \"params\": {\n \"ruleId\": \"risk\",\n \"effectId\": \"animation\",\n \"animation\": {\n \"preset\": \"earthquake\"\n }\n },\n \"isPositive\": false\n }\n ]\n}",
|
|
1632
|
+
"content": "{\n \"schemaVersion\": \"1.0.0\",\n \"componentId\": \"praxis-table-rule-builder\",\n \"ownerPackage\": \"@praxisui/table-rule-builder\",\n \"configSchemaId\": \"RuleEffectDefinition\",\n \"manifestVersion\": \"1.0.0\",\n \"runtimeInputs\": [\n {\n \"name\": \"scope\",\n \"type\": \"RuleScope\",\n \"description\": \"Effect scope: cell, row, column or table.\"\n },\n {\n \"name\": \"value\",\n \"type\": \"RuleEffectDefinition | undefined\",\n \"description\": \"Initial effect definition hydrated into the panel form.\"\n },\n {\n \"name\": \"labels\",\n \"type\": \"Record<string, string>\",\n \"description\": \"Host-owned partial panel copy overrides merged with default labels for i18n/theming context; not part of the rule effect payload.\"\n },\n {\n \"name\": \"valueChange\",\n \"type\": \"RuleEffectDefinition\",\n \"description\": \"Debounced normalized effect payload emitted by the editor.\"\n },\n {\n \"name\": \"apply\",\n \"type\": \"void\",\n \"description\": \"Emitted when the user applies the current effect payload.\"\n },\n {\n \"name\": \"reset\",\n \"type\": \"void\",\n \"description\": \"Emitted when the user resets the panel form back to canonical defaults.\"\n }\n ],\n \"editableTargets\": [\n {\n \"kind\": \"rule\",\n \"resolver\": \"table-rule-by-stable-id\",\n \"description\": \"Table conditional rule entry keyed by stable rule id before it is passed to praxis-table.\"\n },\n {\n \"kind\": \"condition\",\n \"resolver\": \"table-rule-condition-by-rule-id\",\n \"description\": \"Structured condition payload evaluated against table row/column context.\"\n },\n {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"description\": \"Visual effect payload inside a rule, mapped to RuleEffectDefinition.\"\n },\n {\n \"kind\": \"preset\",\n \"resolver\": \"default-effect-preset-by-key\",\n \"description\": \"Built-in semantic effect preset from DEFAULT_EFFECT_PRESETS.\"\n },\n {\n \"kind\": \"animation\",\n \"resolver\": \"rule-animation-by-rule-and-effect-id\",\n \"description\": \"Animation preset, alias or override resolved through animation-presets.\"\n },\n {\n \"kind\": \"tableDelegation\",\n \"resolver\": \"praxis-table-authoring-operation\",\n \"description\": \"Explicit delegation boundary for table-owned configuration changes.\"\n }\n ],\n \"operations\": [\n {\n \"operationId\": \"rule.add\",\n \"title\": \"Add table visual rule\",\n \"scope\": \"rule\",\n \"targetKind\": \"rule\",\n \"target\": {\n \"kind\": \"rule\",\n \"resolver\": \"table-rule-by-stable-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"scope\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"scope\": {\n \"enum\": [\n \"cell\",\n \"row\",\n \"column\",\n \"table\"\n ]\n },\n \"columnKey\": {\n \"type\": \"string\"\n },\n \"condition\": {\n \"type\": \"object\"\n },\n \"effect\": {\n \"type\": \"object\"\n },\n \"insertAfterRuleId\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-rule-add\",\n \"handlerContract\": {\n \"reads\": [\n \"RuleEffectsPanelComponent.scope\",\n \"RuleEffectDefinition\",\n \"praxis-table rowConditionalRenderers\",\n \"praxis-table columns[].conditionalRenderers\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\",\n \"RuleEffectDefinition\"\n ],\n \"identityKeys\": [\n \"ruleId\"\n ],\n \"failureModes\": [\n \"duplicate-rule-id\",\n \"unsupported-scope\",\n \"column-not-found\",\n \"condition-invalid\",\n \"effect-registry-miss\"\n ],\n \"description\": \"Creates a stable table visual rule and keeps table-owned renderer placement delegated to praxis-table.\"\n }\n }\n ],\n \"validators\": [\n \"rule-id-unique\",\n \"scope-supported\",\n \"condition-table-context-valid\",\n \"effect-registry-supported\",\n \"table-owned-config-delegated\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\",\n \"RuleEffectDefinition\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"table-authoring-context-known\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"rule.remove\",\n \"title\": \"Remove table visual rule\",\n \"scope\": \"rule\",\n \"targetKind\": \"rule\",\n \"target\": {\n \"kind\": \"rule\",\n \"resolver\": \"table-rule-by-stable-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"removeEffects\": {\n \"type\": \"boolean\"\n },\n \"preserveCondition\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-rule-remove\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules\",\n \"ruleEffects.rules[].effect\",\n \"ruleEffects.rules[].condition\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"ruleId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"destructive-removal-not-confirmed\",\n \"orphaned-table-renderer\",\n \"condition-preserve-not-supported\"\n ],\n \"description\": \"Removes a governed visual rule by id with confirmation because conditions and effects can be lost.\"\n }\n }\n ],\n \"destructive\": true,\n \"requiresConfirmation\": true,\n \"validators\": [\n \"rule-exists\",\n \"destructive-removal-confirmed\",\n \"table-renderer-references-clean\",\n \"table-owned-config-delegated\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"explicit-confirmation-provided\"\n ]\n },\n {\n \"operationId\": \"condition.set\",\n \"title\": \"Set table rule condition\",\n \"scope\": \"rule\",\n \"targetKind\": \"condition\",\n \"target\": {\n \"kind\": \"condition\",\n \"resolver\": \"table-rule-condition-by-rule-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"condition\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"condition\": {\n \"type\": \"object\"\n },\n \"scope\": {\n \"enum\": [\n \"cell\",\n \"row\",\n \"column\",\n \"table\"\n ]\n },\n \"columnKey\": {\n \"type\": \"string\"\n },\n \"mode\": {\n \"enum\": [\n \"replace\",\n \"merge\"\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-condition-set\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules\",\n \"praxis-table dataSource fields\",\n \"praxis-table columns\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"ruleId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"condition-invalid\",\n \"field-not-in-table-context\",\n \"column-not-found\"\n ],\n \"description\": \"Applies a structured table row/column condition without creating a parallel table DSL.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"condition-table-context-valid\",\n \"condition-fields-known\",\n \"condition-operators-supported\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"table-authoring-context-known\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"effect.add\",\n \"title\": \"Add visual effect to rule\",\n \"scope\": \"skin\",\n \"targetKind\": \"effect\",\n \"target\": {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"effectId\",\n \"effectType\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"effectType\": {\n \"enum\": [\n \"estilo\",\n \"layout\",\n \"icone\",\n \"fundo\",\n \"animacao\",\n \"tooltip\"\n ]\n },\n \"payload\": {\n \"type\": \"object\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-effect-add\",\n \"handlerContract\": {\n \"reads\": [\n \"EffectRegistryService.list\",\n \"RuleEffectDefinition\",\n \"toCellClassAndStyle\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"duplicate-effect-id\",\n \"unsupported-effect-type\",\n \"unsafe-style-value\"\n ],\n \"description\": \"Adds a governed visual effect whose type is backed by the effect registry and RuleEffectDefinition.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"effect-id-unique\",\n \"effect-registry-supported\",\n \"style-values-safe\",\n \"preview-class-not-persisted\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"effect-registry-initialized\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"effect.update\",\n \"title\": \"Update visual effect payload\",\n \"scope\": \"skin\",\n \"targetKind\": \"effect\",\n \"target\": {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"effectId\",\n \"payload\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"payload\": {\n \"type\": \"object\"\n },\n \"mode\": {\n \"enum\": [\n \"replace\",\n \"merge\"\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-effect-update\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules[].effect\",\n \"EffectRegistryService.list\",\n \"toCellClassAndStyle\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"effect-not-found\",\n \"unsupported-effect-type\",\n \"unsafe-style-value\"\n ],\n \"description\": \"Updates a visual effect payload while preserving its stable effect id and registry-backed type.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"effect-exists\",\n \"effect-registry-supported\",\n \"style-values-safe\",\n \"runtime-effect-compilable\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"effect-registry-initialized\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"effect.remove\",\n \"title\": \"Remove visual effect from rule\",\n \"scope\": \"skin\",\n \"targetKind\": \"effect\",\n \"target\": {\n \"kind\": \"effect\",\n \"resolver\": \"rule-effect-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"removeEmptyRule\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-effect-remove\",\n \"handlerContract\": {\n \"reads\": [\n \"ruleEffects.rules\",\n \"ruleEffects.rules[].effect\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\",\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"effect-not-found\",\n \"destructive-removal-not-confirmed\",\n \"empty-rule-created\"\n ],\n \"description\": \"Removes one visual effect and optionally removes the empty rule, requiring confirmation for destructive cleanup.\"\n }\n }\n ],\n \"destructive\": true,\n \"requiresConfirmation\": true,\n \"validators\": [\n \"rule-exists\",\n \"effect-exists\",\n \"destructive-removal-confirmed\",\n \"empty-rule-policy-valid\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\",\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"explicit-confirmation-provided\"\n ]\n },\n {\n \"operationId\": \"preset.apply\",\n \"title\": \"Apply semantic effect preset\",\n \"scope\": \"skin\",\n \"targetKind\": \"preset\",\n \"target\": {\n \"kind\": \"preset\",\n \"resolver\": \"default-effect-preset-by-key\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"presetKey\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"presetKey\": {\n \"enum\": [\n \"aprovado\",\n \"alerta\",\n \"erro\",\n \"info\"\n ]\n },\n \"scope\": {\n \"enum\": [\n \"cell\",\n \"row\",\n \"column\",\n \"table\"\n ]\n },\n \"mergeWithExisting\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-preset-apply\",\n \"handlerContract\": {\n \"reads\": [\n \"DEFAULT_EFFECT_PRESETS\",\n \"RuleEffectsPanelComponent.applyPreset\",\n \"RuleEffectDefinition\"\n ],\n \"writes\": [\n \"RuleEffectDefinition\",\n \"RuleEffectsPanelComponent.effectsForm\",\n \"valueChange\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"presetKey\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"preset-not-found\",\n \"scope-override-invalid\",\n \"preset-effect-not-compilable\"\n ],\n \"description\": \"Applies a built-in semantic preset and normalizes its scope through the rule effects panel.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"preset-key-known\",\n \"preset-effect-compilable\",\n \"scope-supported\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition\",\n \"RuleEffectsPanelComponent.effectsForm\",\n \"valueChange\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"default-presets-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"animation.set\",\n \"title\": \"Set rule animation\",\n \"scope\": \"skin\",\n \"targetKind\": \"animation\",\n \"target\": {\n \"kind\": \"animation\",\n \"resolver\": \"rule-animation-by-rule-and-effect-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"ruleId\",\n \"animation\"\n ],\n \"properties\": {\n \"ruleId\": {\n \"type\": \"string\"\n },\n \"effectId\": {\n \"type\": \"string\"\n },\n \"animation\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"boolean\"\n },\n \"preset\": {\n \"enum\": [\n \"info-soft\",\n \"success-confirm\",\n \"warning-attention\",\n \"critical-alert\",\n \"audit-review\",\n \"sync-pending\",\n \"sla-warning\",\n \"sla-breach\",\n \"risk-elevated\",\n \"risk-critical\",\n \"audit-warning\",\n \"sync-warning\"\n ]\n },\n \"type\": {\n \"enum\": [\n \"pulse\",\n \"blink\",\n \"grow\",\n \"fade\",\n \"slide-in\",\n \"border-pulse\"\n ]\n },\n \"trigger\": {\n \"enum\": [\n \"onChange\",\n \"onAppear\",\n \"onHover\",\n \"onConditionEnter\",\n \"onConditionExit\",\n \"onDataRefresh\"\n ]\n },\n \"repeat\": {},\n \"durationMs\": {\n \"type\": \"number\"\n },\n \"delayMs\": {\n \"type\": \"number\"\n },\n \"intensity\": {\n \"enum\": [\n \"subtle\",\n \"normal\",\n \"strong\"\n ]\n }\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-animation-set\",\n \"handlerContract\": {\n \"reads\": [\n \"RULE_ANIMATION_PRESETS\",\n \"RULE_ANIMATION_PRESET_ALIASES\",\n \"resolveRuleAnimationConfig\",\n \"RuleEffectDefinition.animation\"\n ],\n \"writes\": [\n \"RuleEffectDefinition.animation\",\n \"RuleEffectsPanelComponent.effectsForm.animation\",\n \"valueChange\"\n ],\n \"identityKeys\": [\n \"ruleId\",\n \"effectId\"\n ],\n \"failureModes\": [\n \"rule-not-found\",\n \"effect-not-found\",\n \"animation-preset-unknown\",\n \"animation-override-invalid\",\n \"reduced-motion-policy-violated\"\n ],\n \"description\": \"Sets a semantic animation preset or override that resolves fail-closed through the animation preset catalog.\"\n }\n }\n ],\n \"validators\": [\n \"rule-exists\",\n \"animation-preset-known\",\n \"animation-alias-known\",\n \"animation-override-valid\",\n \"animation-runtime-supported\"\n ],\n \"affectedPaths\": [\n \"RuleEffectDefinition.animation\",\n \"RuleEffectsPanelComponent.effectsForm.animation\",\n \"valueChange\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"rule-effects-panel-loaded\",\n \"animation-presets-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"tableIntegration.delegate\",\n \"title\": \"Delegate table-owned configuration\",\n \"scope\": \"global\",\n \"targetKind\": \"tableDelegation\",\n \"target\": {\n \"kind\": \"tableDelegation\",\n \"resolver\": \"praxis-table-authoring-operation\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"tableOperationId\",\n \"reason\"\n ],\n \"properties\": {\n \"tableOperationId\": {\n \"type\": \"string\"\n },\n \"reason\": {\n \"type\": \"string\"\n },\n \"tableTarget\": {\n \"type\": \"object\"\n },\n \"tableParams\": {\n \"type\": \"object\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"table-rule-builder-table-delegate\",\n \"handlerContract\": {\n \"reads\": [\n \"PRAXIS_TABLE_AUTHORING_MANIFEST\",\n \"TableConfigV2\",\n \"tableOperationId\"\n ],\n \"writes\": [\n \"delegatedAuthoringOperations\"\n ],\n \"identityKeys\": [\n \"tableOperationId\"\n ],\n \"failureModes\": [\n \"table-operation-not-found\",\n \"table-target-invalid\",\n \"attempted-local-table-config-write\"\n ],\n \"description\": \"Records that table-owned config such as renderer placement, columns, ordering or data binding must route through praxis-table.\"\n }\n }\n ],\n \"validators\": [\n \"table-manifest-operation-known\",\n \"table-target-valid\",\n \"no-local-table-config-write\",\n \"table-owned-config-delegated\"\n ],\n \"affectedPaths\": [\n \"delegatedAuthoringOperations\"\n ],\n \"submissionImpact\": \"none\",\n \"preconditions\": [\n \"praxis-table-manifest-available\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n }\n ],\n \"validators\": [\n {\n \"validatorId\": \"rule-id-unique\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ID_UNIQUE\",\n \"description\": \"Rule ids must be unique and stable.\"\n },\n {\n \"validatorId\": \"scope-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_SCOPE_SUPPORTED\",\n \"description\": \"Rule scope must be one of cell, row, column or table.\"\n },\n {\n \"validatorId\": \"condition-table-context-valid\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_CONDITION_CONTEXT_VALID\",\n \"description\": \"Conditions must reference valid table row or column context.\"\n },\n {\n \"validatorId\": \"effect-registry-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EFFECT_REGISTRY_SUPPORTED\",\n \"description\": \"Effects must be backed by EffectRegistryService editor categories.\"\n },\n {\n \"validatorId\": \"table-owned-config-delegated\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_TABLE_CONFIG_DELEGATED\",\n \"description\": \"Table-owned configuration changes must delegate to praxis-table.\"\n },\n {\n \"validatorId\": \"rule-exists\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EXISTS\",\n \"description\": \"The targeted rule must exist.\"\n },\n {\n \"validatorId\": \"destructive-removal-confirmed\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_DESTRUCTIVE_CONFIRMED\",\n \"description\": \"Destructive rule or effect removal requires explicit confirmation.\"\n },\n {\n \"validatorId\": \"table-renderer-references-clean\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_RENDERER_REFERENCES_CLEAN\",\n \"description\": \"Removing a rule must not leave stale table renderer references.\"\n },\n {\n \"validatorId\": \"condition-fields-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_CONDITION_FIELDS_KNOWN\",\n \"description\": \"Condition fields must exist in table row data or column metadata.\"\n },\n {\n \"validatorId\": \"condition-operators-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_CONDITION_OPERATORS_SUPPORTED\",\n \"description\": \"Condition operators must be supported by table rule semantics.\"\n },\n {\n \"validatorId\": \"effect-id-unique\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EFFECT_ID_UNIQUE\",\n \"description\": \"Effect ids must be unique within a rule.\"\n },\n {\n \"validatorId\": \"style-values-safe\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_STYLE_VALUES_SAFE\",\n \"description\": \"CSS class and style values must be safe for runtime rendering.\"\n },\n {\n \"validatorId\": \"preview-class-not-persisted\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_PREVIEW_CLASS_NOT_PERSISTED\",\n \"description\": \"Preview-only animation classes must not leak into persisted payload mapping.\"\n },\n {\n \"validatorId\": \"effect-exists\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_EFFECT_EXISTS\",\n \"description\": \"The targeted effect must exist.\"\n },\n {\n \"validatorId\": \"runtime-effect-compilable\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_RUNTIME_EFFECT_COMPILABLE\",\n \"description\": \"Effect payload must compile through toCellClassAndStyle or table renderer semantics.\"\n },\n {\n \"validatorId\": \"empty-rule-policy-valid\",\n \"level\": \"warning\",\n \"code\": \"TABLE_RULE_EMPTY_RULE_POLICY_VALID\",\n \"description\": \"Removing the last effect must follow the requested empty-rule policy.\"\n },\n {\n \"validatorId\": \"preset-key-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_PRESET_KEY_KNOWN\",\n \"description\": \"Preset key must exist in DEFAULT_EFFECT_PRESETS.\"\n },\n {\n \"validatorId\": \"preset-effect-compilable\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_PRESET_EFFECT_COMPILABLE\",\n \"description\": \"Preset payload must compile to RuleEffectDefinition.\"\n },\n {\n \"validatorId\": \"animation-preset-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_PRESET_KNOWN\",\n \"description\": \"Animation preset must be canonical or explicitly aliased.\"\n },\n {\n \"validatorId\": \"animation-alias-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_ALIAS_KNOWN\",\n \"description\": \"Animation aliases must resolve to canonical presets.\"\n },\n {\n \"validatorId\": \"animation-override-valid\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_OVERRIDE_VALID\",\n \"description\": \"Animation overrides must normalize to supported type, trigger, repeat and intensity values.\"\n },\n {\n \"validatorId\": \"animation-runtime-supported\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_ANIMATION_RUNTIME_SUPPORTED\",\n \"description\": \"Animation payload must be supported by row and column conditional renderers.\"\n },\n {\n \"validatorId\": \"table-manifest-operation-known\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_TABLE_OPERATION_KNOWN\",\n \"description\": \"Delegated table operation must exist in the praxis-table authoring manifest.\"\n },\n {\n \"validatorId\": \"table-target-valid\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_TABLE_TARGET_VALID\",\n \"description\": \"Delegated table target must be resolvable by praxis-table.\"\n },\n {\n \"validatorId\": \"no-local-table-config-write\",\n \"level\": \"error\",\n \"code\": \"TABLE_RULE_NO_LOCAL_TABLE_CONFIG_WRITE\",\n \"description\": \"Rule builder operations must not write TableConfig directly.\"\n }\n ],\n \"roundTripRequirements\": [\n \"RuleEffectDefinition is the local source of truth for the effects panel.\",\n \"Rules that affect rowConditionalRenderers or columns[].conditionalRenderers must delegate table-owned placement to praxis-table.\",\n \"Rule and effect identity must use stable ruleId/effectId keys; array indexes are not canonical identities.\",\n \"Animation presets and aliases must resolve through RULE_ANIMATION_PRESETS and RULE_ANIMATION_PRESET_ALIASES before persistence.\",\n \"Preview-only animation classes must be omitted from persisted table payload mapping by using includeAnimationPreview: false.\",\n \"Preset application must preserve the selected scope and emit a normalized RuleEffectDefinition through valueChange.\"\n ],\n \"examples\": [\n {\n \"id\": \"table-rule-add-row-warning\",\n \"request\": \"Add a row warning rule for overdue invoices.\",\n \"operationId\": \"rule.add\",\n \"target\": \"rule:overdue-warning\",\n \"params\": {\n \"ruleId\": \"overdue-warning\",\n \"scope\": \"row\",\n \"condition\": {\n \"field\": \"dueDate\",\n \"operator\": \"beforeToday\"\n },\n \"effect\": {\n \"background\": {\n \"color\": \"rgba(255,193,7,0.12)\"\n }\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-remove-obsolete\",\n \"request\": \"Remove the obsolete archived row rule.\",\n \"operationId\": \"rule.remove\",\n \"target\": \"rule:archived-obsolete\",\n \"params\": {\n \"ruleId\": \"archived-obsolete\",\n \"removeEffects\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-condition-status-error\",\n \"request\": \"Make the rule apply when status is error.\",\n \"operationId\": \"condition.set\",\n \"target\": \"condition:status-error\",\n \"params\": {\n \"ruleId\": \"status-error\",\n \"condition\": {\n \"field\": \"status\",\n \"operator\": \"equals\",\n \"value\": \"error\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-add-badge-effect\",\n \"request\": \"Add a warning badge to the status rule.\",\n \"operationId\": \"effect.add\",\n \"target\": \"effect:status-warning/badge\",\n \"params\": {\n \"ruleId\": \"status-warning\",\n \"effectId\": \"badge\",\n \"effectType\": \"icone\",\n \"payload\": {\n \"icon\": \"warning\",\n \"badgeText\": \"Attention\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-update-background\",\n \"request\": \"Change the risk rule background color.\",\n \"operationId\": \"effect.update\",\n \"target\": \"effect:risk/background\",\n \"params\": {\n \"ruleId\": \"risk\",\n \"effectId\": \"background\",\n \"payload\": {\n \"background\": {\n \"color\": \"rgba(239,83,80,0.10)\"\n }\n },\n \"mode\": \"merge\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-remove-tooltip\",\n \"request\": \"Remove the tooltip effect from the audit rule.\",\n \"operationId\": \"effect.remove\",\n \"target\": \"effect:audit/tooltip\",\n \"params\": {\n \"ruleId\": \"audit\",\n \"effectId\": \"tooltip\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-apply-alerta\",\n \"request\": \"Use the alerta preset on the SLA rule.\",\n \"operationId\": \"preset.apply\",\n \"target\": \"preset:alerta\",\n \"params\": {\n \"ruleId\": \"sla\",\n \"presetKey\": \"alerta\",\n \"scope\": \"row\",\n \"mergeWithExisting\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-animation-critical\",\n \"request\": \"Make the SLA breach animation critical.\",\n \"operationId\": \"animation.set\",\n \"target\": \"animation:sla-breach\",\n \"params\": {\n \"ruleId\": \"sla-breach\",\n \"effectId\": \"animation\",\n \"animation\": {\n \"preset\": \"critical-alert\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-delegate-column-renderer\",\n \"request\": \"Move this effect to the status column renderer.\",\n \"operationId\": \"tableIntegration.delegate\",\n \"target\": \"praxis-table:column-renderer\",\n \"params\": {\n \"tableOperationId\": \"column.conditionalRenderer.set\",\n \"reason\": \"column renderer placement is owned by praxis-table\",\n \"tableTarget\": {\n \"columnKey\": \"status\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"table-rule-reject-direct-table-column\",\n \"request\": \"Add a new table column from the rule builder.\",\n \"operationId\": \"tableIntegration.delegate\",\n \"target\": \"praxis-table:column.add\",\n \"params\": {\n \"tableOperationId\": \"column.add\",\n \"reason\": \"column authoring belongs to praxis-table\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"table-rule-reject-unknown-effect\",\n \"request\": \"Add a sparkle shader effect to rows.\",\n \"operationId\": \"effect.add\",\n \"target\": \"effect:sparkle\",\n \"params\": {\n \"ruleId\": \"risk\",\n \"effectId\": \"sparkle\",\n \"effectType\": \"shader\",\n \"payload\": {}\n },\n \"isPositive\": false\n },\n {\n \"id\": \"table-rule-reject-unknown-animation\",\n \"request\": \"Use the earthquake animation preset.\",\n \"operationId\": \"animation.set\",\n \"target\": \"animation:earthquake\",\n \"params\": {\n \"ruleId\": \"risk\",\n \"effectId\": \"animation\",\n \"animation\": {\n \"preset\": \"earthquake\"\n }\n },\n \"isPositive\": false\n }\n ]\n}",
|
|
1623
1633
|
"sourcePointer": "praxis-ui-angular/projects/praxis-table-rule-builder/src/lib/ai/praxis-table-rule-builder-authoring-manifest.ts",
|
|
1624
|
-
"contentHash": "
|
|
1634
|
+
"contentHash": "9a81ff8b55b732879a88429160b89dd14734aa9846e3d9ab42653a842d99b4e1",
|
|
1625
1635
|
"sourceKind": "component_definition",
|
|
1626
1636
|
"sourceId": "praxis-table-rule-builder",
|
|
1627
1637
|
"corpusVersion": "1.0.0"
|