@praxisui/charts 9.0.0-beta.4 → 9.0.0-beta.40
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 +27 -3
- package/ai/component-registry.json +1809 -0
- package/fesm2022/praxisui-charts.mjs +941 -7
- package/package.json +8 -4
- package/types/praxisui-charts.d.ts +64 -2
package/README.md
CHANGED
|
@@ -19,8 +19,8 @@ npm i @praxisui/charts@latest
|
|
|
19
19
|
Peer dependencies:
|
|
20
20
|
|
|
21
21
|
- `@angular/common`, `@angular/core`, `@angular/forms`, `@angular/material` `^21.0.0`
|
|
22
|
-
- `@praxisui/core` `^9.0.0-beta.
|
|
23
|
-
- `@praxisui/table` `^9.0.0-beta.
|
|
22
|
+
- `@praxisui/core` `^9.0.0-beta.12`
|
|
23
|
+
- `@praxisui/table` `^9.0.0-beta.12`
|
|
24
24
|
- `rxjs` `~7.8.0`
|
|
25
25
|
|
|
26
26
|
Runtime dependency included by the package:
|
|
@@ -134,13 +134,37 @@ const chartDocument: PraxisXUiChartContract = {
|
|
|
134
134
|
|
|
135
135
|
Supported sizing modes are `fixed`, `fill-container` and `auto`. Prefer `fill-container` inside dashboard widget shells. Supported surface modes are `auto`, `embedded` and `contained`; prefer `embedded` when another shell owns the card, header or border.
|
|
136
136
|
|
|
137
|
+
## Micro Visualizations
|
|
138
|
+
|
|
139
|
+
`PraxisMicroVisualizationComponent` renders the first renderer-neutral presentation visualizations from `@praxisui/core`.
|
|
140
|
+
It is intended for compact presentation surfaces, especially table cells, list items and read-only form summaries.
|
|
141
|
+
|
|
142
|
+
The table-safe kinds currently aligned with `PraxisPresentationVisualizationKind` are:
|
|
143
|
+
|
|
144
|
+
- `line`
|
|
145
|
+
- `area`
|
|
146
|
+
- `column`
|
|
147
|
+
- `comparison`
|
|
148
|
+
- `stackedBar`
|
|
149
|
+
- `radial`
|
|
150
|
+
- `harveyBall`
|
|
151
|
+
- `bullet`
|
|
152
|
+
- `delta`
|
|
153
|
+
- `processFlow`
|
|
154
|
+
|
|
155
|
+
The component does not instantiate ECharts. It renders lightweight HTML/CSS from `PraxisPresentationVisualizationConfig`
|
|
156
|
+
and falls back to `fallbackText` when the visualization kind cannot be rendered for the current compact surface.
|
|
157
|
+
Use `points` as the canonical numeric series for `line`, `area`, `column`, and `comparison`;
|
|
158
|
+
use `segments` for `stackedBar`, `thresholds` for `bullet`, and `items` for item/step-oriented visualizations such as `processFlow`.
|
|
159
|
+
Rich charts still use the canonical `x-ui.chart` document flow above; micro visualizations are the lightweight presentation contract for dense cells, list items, object headers, card summaries and form presentation surfaces.
|
|
160
|
+
|
|
137
161
|
## Authoring Surface
|
|
138
162
|
|
|
139
163
|
`PraxisChartConfigEditor` is the initial editor shell for canonical `x-ui.chart` documents. It expects governed resources, fields and targets from the host and emits structured apply/save/reset events. The authoring manifest is exported as `PRAXIS_CHARTS_AUTHORING_MANIFEST` for backend/tooling workflows that need executable chart-edit operations.
|
|
140
164
|
|
|
141
165
|
## Public API Snapshot
|
|
142
166
|
|
|
143
|
-
Main exports include `PraxisChartComponent`, `PraxisChartConfigEditor`, chart event/config models, `PraxisXUiChartContract`, engine adapter tokens, `providePraxisCharts`, canonical mapping/normalization/validation services, analytics chart services, chart metadata and `PRAXIS_CHARTS_AUTHORING_MANIFEST`.
|
|
167
|
+
Main exports include `PraxisChartComponent`, `PraxisMicroVisualizationComponent`, `PraxisChartConfigEditor`, chart event/config models, `PraxisXUiChartContract`, engine adapter tokens, `providePraxisCharts`, canonical mapping/normalization/validation services, analytics chart services, chart metadata and `PRAXIS_CHARTS_AUTHORING_MANIFEST`.
|
|
144
168
|
|
|
145
169
|
## Official Links
|
|
146
170
|
|