@praxisui/charts 9.0.0-beta.2 → 9.0.0-beta.21
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 +9 -4
- package/ai/component-registry.json +1809 -0
- package/fesm2022/praxisui-charts.mjs +7 -1
- package/package.json +9 -12
|
@@ -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
|
-
|
|
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.
|
|
3
|
+
"version": "9.0.0-beta.21",
|
|
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.
|
|
8
|
+
"@praxisui/core": "^9.0.0-beta.21",
|
|
9
9
|
"@angular/forms": "^21.0.0",
|
|
10
10
|
"@angular/material": "^21.0.0",
|
|
11
|
-
"@praxisui/table": "^9.0.0-beta.
|
|
11
|
+
"@praxisui/table": "^9.0.0-beta.21",
|
|
12
12
|
"rxjs": "~7.8.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
@@ -19,17 +19,11 @@
|
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
|
-
"
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/codexrodrigues/praxis-ui-angular.git"
|
|
25
|
-
},
|
|
26
|
-
"homepage": "https://praxisui.dev",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/codexrodrigues/praxis-ui-angular/issues"
|
|
29
|
-
},
|
|
22
|
+
"homepage": "https://praxisui.dev/components/charts",
|
|
30
23
|
"keywords": [
|
|
31
24
|
"angular",
|
|
32
25
|
"praxisui",
|
|
26
|
+
"praxis",
|
|
33
27
|
"charts",
|
|
34
28
|
"analytics",
|
|
35
29
|
"echarts",
|
|
@@ -45,7 +39,10 @@
|
|
|
45
39
|
".": {
|
|
46
40
|
"types": "./types/praxisui-charts.d.ts",
|
|
47
41
|
"default": "./fesm2022/praxisui-charts.mjs"
|
|
42
|
+
},
|
|
43
|
+
"./ai/component-registry.json": {
|
|
44
|
+
"default": "./ai/component-registry.json"
|
|
48
45
|
}
|
|
49
46
|
},
|
|
50
47
|
"type": "module"
|
|
51
|
-
}
|
|
48
|
+
}
|