@praxisui/table-rule-builder 8.0.0-beta.99 → 9.0.0-beta.0

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.
Files changed (2) hide show
  1. package/README.md +42 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -4,8 +4,9 @@ Componentes de UI e utilitários para construir e aplicar efeitos visuais em reg
4
4
 
5
5
  ## Documentation
6
6
 
7
- - Documentação oficial: https://praxisui.dev
7
+ - Documentação oficial: https://praxisui.dev/components/table
8
8
  - Aplicação de referência: https://github.com/codexrodrigues/praxis-ui-quickstart
9
+ - Demo publicado: https://praxis-ui-4e602.web.app
9
10
  - Indicado para: customizacao visual, destaque semantico e regras condicionais em tabelas enterprise
10
11
 
11
12
  ## When to use
@@ -17,10 +18,48 @@ Componentes de UI e utilitários para construir e aplicar efeitos visuais em reg
17
18
  ## Instalação
18
19
 
19
20
  ```bash
20
- npm i @praxisui/table-rule-builder
21
+ npm i @praxisui/table-rule-builder@beta
21
22
  ```
22
23
 
23
- Peers (Angular v20): `@angular/core`, `@angular/common`, `@angular/forms`, `@angular/material`.
24
+ Peer dependencies:
25
+ - `@angular/core` `^21.0.0`
26
+ - `@angular/common` `^21.0.0`
27
+ - `@angular/forms` `^21.0.0`
28
+ - `@angular/material` `^21.0.0`
29
+ - `@praxisui/ai` `^9.0.0-beta.0`
30
+ - `@praxisui/core` `^9.0.0-beta.0`
31
+ - `@praxisui/dynamic-fields` `^9.0.0-beta.0`
32
+ - `rxjs` `~7.8.0`
33
+
34
+ ## Standalone authoring panel
35
+
36
+ ```ts
37
+ import { Component } from '@angular/core';
38
+ import {
39
+ RuleEffectsPanelComponent,
40
+ type RuleEffectDefinition,
41
+ } from '@praxisui/table-rule-builder';
42
+
43
+ @Component({
44
+ selector: 'app-rule-effects-editor',
45
+ standalone: true,
46
+ imports: [RuleEffectsPanelComponent],
47
+ template: `
48
+ <praxis-rule-effects-panel
49
+ scope="cell"
50
+ [value]="effect"
51
+ (valueChange)="effect = $event"
52
+ (apply)="applyEffect()" />
53
+ `,
54
+ })
55
+ export class RuleEffectsEditorComponent {
56
+ effect: RuleEffectDefinition = { style: { fontWeight: '600' } };
57
+
58
+ applyEffect(): void {
59
+ // Persist inside the table-owned conditional rule surface.
60
+ }
61
+ }
62
+ ```
24
63
 
25
64
  ## Exportações (resumo)
26
65
 
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@praxisui/table-rule-builder",
3
- "version": "8.0.0-beta.99",
3
+ "version": "9.0.0-beta.0",
4
4
  "description": "Praxis Table Rule Builder: UI components and engine utils for table rules",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
8
  "@angular/forms": "^21.0.0",
9
9
  "@angular/material": "^21.0.0",
10
- "@praxisui/ai": "^8.0.0-beta.99",
11
- "@praxisui/core": "^8.0.0-beta.99",
12
- "@praxisui/dynamic-fields": "^8.0.0-beta.99",
10
+ "@praxisui/ai": "^9.0.0-beta.0",
11
+ "@praxisui/core": "^9.0.0-beta.0",
12
+ "@praxisui/dynamic-fields": "^9.0.0-beta.0",
13
13
  "rxjs": "~7.8.0"
14
14
  },
15
15
  "dependencies": {