@praxisui/charts 9.0.0-beta.18 → 9.0.0-beta.19

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-24T18:20:22.967Z",
3
+ "generatedAt": "2026-06-24T23:02:12.024Z",
4
4
  "packageName": "@praxisui/charts",
5
- "packageVersion": "9.0.0-beta.18",
5
+ "packageVersion": "9.0.0-beta.19",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 2,
@@ -2263,7 +2263,13 @@ class PraxisChartComponent {
2263
2263
  const dataSource = config.dataSource;
2264
2264
  const explicitData = this.data();
2265
2265
  if (dataSource?.kind === 'remote' && (explicitData === null || explicitData === undefined)) {
2266
- return this.remoteRuntimeState() === 'ready' ? 'ready' : 'loading';
2266
+ const remoteState = this.remoteRuntimeState();
2267
+ if (remoteState === 'error') {
2268
+ return 'error';
2269
+ }
2270
+ if (remoteState !== 'ready') {
2271
+ return 'loading';
2272
+ }
2267
2273
  }
2268
2274
  const transformed = this.transformer.transform(config, this.resolvedData());
2269
2275
  return transformed.hasData ? 'ready' : 'empty';
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@praxisui/charts",
3
- "version": "9.0.0-beta.18",
3
+ "version": "9.0.0-beta.19",
4
4
  "description": "Metadata-driven charts library for Praxis UI Angular with engine adapters and Apache ECharts as the initial renderer.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
- "@praxisui/core": "^9.0.0-beta.18",
8
+ "@praxisui/core": "^9.0.0-beta.19",
9
9
  "@angular/forms": "^21.0.0",
10
10
  "@angular/material": "^21.0.0",
11
- "@praxisui/table": "^9.0.0-beta.18",
11
+ "@praxisui/table": "^9.0.0-beta.19",
12
12
  "rxjs": "~7.8.0"
13
13
  },
14
14
  "dependencies": {