@praxisui/charts 9.0.26 → 9.0.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/ai/component-registry.json +31 -16
- package/fesm2022/praxisui-charts.mjs +860 -783
- package/package.json +3 -3
- package/types/praxisui-charts.d.ts +21 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-28T04:22:11.708Z",
|
|
4
4
|
"packageName": "@praxisui/charts",
|
|
5
|
-
"packageVersion": "9.0.
|
|
5
|
+
"packageVersion": "9.0.28",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 3,
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"presentationHints": {
|
|
45
45
|
"preferredFamilies": [
|
|
46
46
|
"chart",
|
|
47
|
-
"analytic-table"
|
|
47
|
+
"analytic-table",
|
|
48
|
+
"kpi"
|
|
48
49
|
]
|
|
49
50
|
}
|
|
50
51
|
}
|
|
@@ -65,7 +66,8 @@
|
|
|
65
66
|
"description": "Famílias autorizadas após capabilities e renderers instalados.",
|
|
66
67
|
"default": [
|
|
67
68
|
"chart",
|
|
68
|
-
"analytic-table"
|
|
69
|
+
"analytic-table",
|
|
70
|
+
"kpi"
|
|
69
71
|
]
|
|
70
72
|
},
|
|
71
73
|
{
|
|
@@ -79,7 +81,7 @@
|
|
|
79
81
|
"name": "queryContext",
|
|
80
82
|
"type": "PraxisDataQueryContext | null",
|
|
81
83
|
"required": false,
|
|
82
|
-
"description": "Contexto governado compartilhado por chart
|
|
84
|
+
"description": "Contexto governado compartilhado por chart, analytic-table e KPI.",
|
|
83
85
|
"default": null
|
|
84
86
|
},
|
|
85
87
|
{
|
|
@@ -160,6 +162,7 @@
|
|
|
160
162
|
"analytics",
|
|
161
163
|
"chart",
|
|
162
164
|
"table",
|
|
165
|
+
"kpi",
|
|
163
166
|
"projection",
|
|
164
167
|
"dashboard"
|
|
165
168
|
],
|
|
@@ -198,7 +201,8 @@
|
|
|
198
201
|
"type": "AnalyticsPresentationFamily | null",
|
|
199
202
|
"allowedValues": [
|
|
200
203
|
"chart",
|
|
201
|
-
"analytic-table"
|
|
204
|
+
"analytic-table",
|
|
205
|
+
"kpi"
|
|
202
206
|
],
|
|
203
207
|
"description": "Persisted host preference. Temporary user choice remains runtime-only."
|
|
204
208
|
},
|
|
@@ -238,7 +242,8 @@
|
|
|
238
242
|
"family": {
|
|
239
243
|
"enum": [
|
|
240
244
|
"chart",
|
|
241
|
-
"analytic-table"
|
|
245
|
+
"analytic-table",
|
|
246
|
+
"kpi"
|
|
242
247
|
]
|
|
243
248
|
}
|
|
244
249
|
}
|
|
@@ -304,7 +309,8 @@
|
|
|
304
309
|
"description": "Compatible presentation families resolved from the canonical projection and installed renderers.",
|
|
305
310
|
"options": [
|
|
306
311
|
"chart",
|
|
307
|
-
"analytic-table"
|
|
312
|
+
"analytic-table",
|
|
313
|
+
"kpi"
|
|
308
314
|
],
|
|
309
315
|
"appliesToTypes": [
|
|
310
316
|
"PraxisXUiAnalytics"
|
|
@@ -324,12 +330,21 @@
|
|
|
324
330
|
"isPositive": true
|
|
325
331
|
},
|
|
326
332
|
{
|
|
327
|
-
"id": "
|
|
328
|
-
"request": "Use KPI
|
|
333
|
+
"id": "prefer-kpi",
|
|
334
|
+
"request": "Use the KPI presentation for projection supplier-procurement-funnel.",
|
|
329
335
|
"operationId": "analytics.presentation.prefer-family",
|
|
330
336
|
"params": {
|
|
331
337
|
"family": "kpi"
|
|
332
338
|
},
|
|
339
|
+
"isPositive": true
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"id": "reject-summary-list-without-renderer",
|
|
343
|
+
"request": "Use summary-list even though no summary-list renderer is installed.",
|
|
344
|
+
"operationId": "analytics.presentation.prefer-family",
|
|
345
|
+
"params": {
|
|
346
|
+
"family": "summary-list"
|
|
347
|
+
},
|
|
333
348
|
"isPositive": false
|
|
334
349
|
}
|
|
335
350
|
]
|
|
@@ -338,9 +353,9 @@
|
|
|
338
353
|
{
|
|
339
354
|
"chunkIndex": 0,
|
|
340
355
|
"chunkKind": "summary",
|
|
341
|
-
"content": "Component ID: praxis-analytics-presentation\nSelector: praxis-analytics-presentation\nFriendly Name: Apresentação analítica governada\nDescription: Alterna renderers elegíveis para uma projection x-ui.analytics selecionada por id, preservando o query context.\nCategory: table\nLib/Package: @praxisui/charts\nTags: analytics, chart, table, projection, dashboard\nInputs:\n - analytics (PraxisXUiAnalytics)\n - projectionId (string)\n - availableFamilies (AnalyticsPresentationFamily[])\n - preferredFamily (AnalyticsPresentationFamily | null)\n - queryContext (PraxisDataQueryContext | null)\n - title (PraxisTextValue)\n - subtitle (PraxisTextValue)\n - enableCustomization (boolean)\nOutputs:\n - presentationChange (PraxisAnalyticsPresentationChange)\n - pointClick (PraxisChartPointEvent)\n - pointAction (PraxisChartPointActionEvent)\n - selectionChange (PraxisChartSelectionEvent)\n - drillDown (PraxisChartDrillDownEvent)\n - crossFilter (PraxisChartCrossFilterEvent)\n - queryRequest (PraxisChartQueryRequestEvent)\n - loadStateChange (PraxisChartLoadState)\n",
|
|
356
|
+
"content": "Component ID: praxis-analytics-presentation\nSelector: praxis-analytics-presentation\nFriendly Name: Apresentação analítica governada\nDescription: Alterna renderers elegíveis para uma projection x-ui.analytics selecionada por id, preservando o query context.\nCategory: table\nLib/Package: @praxisui/charts\nTags: analytics, chart, table, kpi, projection, dashboard\nInputs:\n - analytics (PraxisXUiAnalytics)\n - projectionId (string)\n - availableFamilies (AnalyticsPresentationFamily[])\n - preferredFamily (AnalyticsPresentationFamily | null)\n - queryContext (PraxisDataQueryContext | null)\n - title (PraxisTextValue)\n - subtitle (PraxisTextValue)\n - enableCustomization (boolean)\nOutputs:\n - presentationChange (PraxisAnalyticsPresentationChange)\n - pointClick (PraxisChartPointEvent)\n - pointAction (PraxisChartPointActionEvent)\n - selectionChange (PraxisChartSelectionEvent)\n - drillDown (PraxisChartDrillDownEvent)\n - crossFilter (PraxisChartCrossFilterEvent)\n - queryRequest (PraxisChartQueryRequestEvent)\n - loadStateChange (PraxisChartLoadState)\n",
|
|
342
357
|
"sourcePointer": "projects/praxis-charts/src/lib/praxis-analytics-presentation.metadata.ts",
|
|
343
|
-
"contentHash": "
|
|
358
|
+
"contentHash": "75fc0184341d0922352d1587189cd3687a83c5ce258bb24d6cd6478f4bb5abb3",
|
|
344
359
|
"sourceKind": "component_definition",
|
|
345
360
|
"sourceId": "praxis-analytics-presentation",
|
|
346
361
|
"corpusVersion": "1.0.0"
|
|
@@ -348,9 +363,9 @@
|
|
|
348
363
|
{
|
|
349
364
|
"chunkIndex": 1,
|
|
350
365
|
"chunkKind": "authoring_manifest",
|
|
351
|
-
"content": "{\"operationId\":\"analytics.presentation.prefer-family\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-analytics-presentation\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisAnalyticsPresentationInputs\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Prefer analytics presentation family Persists a renderer-family preference without changing the canonical projection, bindings or query context. Effects: set-value. Use the table presentation for projection supplier-procurement-funnel. Use KPI even though no
|
|
366
|
+
"content": "{\"operationId\":\"analytics.presentation.prefer-family\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-analytics-presentation\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisAnalyticsPresentationInputs\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Prefer analytics presentation family Persists a renderer-family preference without changing the canonical projection, bindings or query context. Effects: set-value. Use the table presentation for projection supplier-procurement-funnel. Use the KPI presentation for projection supplier-procurement-funnel. Use summary-list even though no summary-list renderer is installed.\",\"scope\":\"global\",\"target\":{\"kind\":\"analyticsPresentationPreference\",\"resolver\":\"component-config\",\"required\":false},\"inputContract\":{\"required\":[\"family\"],\"properties\":[\"family\"],\"semanticTerms\":[\"family\",\"chart\",\"analytic-table\",\"kpi\"]},\"effects\":[\"set-value\"],\"affectedPaths\":[\"preferredFamily\"],\"validators\":[{\"validatorId\":\"diagnostics-before-patch\",\"level\":\"error\",\"code\":\"ANALYTICS_DIAGNOSTICS_BEFORE_PATCH\",\"description\":\"Projection resolution and family eligibility diagnostics must be clear before changing the preference.\"},{\"validatorId\":\"renderer-supported\",\"level\":\"error\",\"code\":\"ANALYTICS_RENDERER_SUPPORTED\",\"description\":\"The requested family must be a renderer supported by the component manifest.\"},{\"validatorId\":\"runtime-component-resolves\",\"level\":\"error\",\"code\":\"ANALYTICS_RUNTIME_COMPONENT_RESOLVES\",\"description\":\"The analytics presentation runtime must be registered before persisting its preference.\"}],\"preconditions\":[\"analytics-projection-resolved\"],\"submissionImpact\":\"visual-only\",\"presentationAffordances\":[{\"id\":\"analytics-presentation-family\",\"targetKind\":\"analyticsPresentationPreference\",\"category\":\"analytics-renderer\",\"description\":\"Compatible presentation families resolved from the canonical projection and installed renderers.\",\"options\":[\"chart\",\"analytic-table\",\"kpi\"],\"appliesToTypes\":[\"PraxisXUiAnalytics\"],\"unknownCompatible\":false}],\"positiveExamples\":[{\"id\":\"prefer-analytic-table\",\"request\":\"Use the table presentation for projection supplier-procurement-funnel.\",\"operationId\":\"analytics.presentation.prefer-family\",\"params\":{\"family\":\"analytic-table\"},\"isPositive\":true},{\"id\":\"prefer-kpi\",\"request\":\"Use the KPI presentation for projection supplier-procurement-funnel.\",\"operationId\":\"analytics.presentation.prefer-family\",\"params\":{\"family\":\"kpi\"},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-summary-list-without-renderer\",\"request\":\"Use summary-list even though no summary-list renderer is installed.\",\"operationId\":\"analytics.presentation.prefer-family\",\"params\":{\"family\":\"summary-list\"},\"isPositive\":false}]}",
|
|
352
367
|
"sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-analytics-presentation-authoring-manifest.ts",
|
|
353
|
-
"contentHash": "
|
|
368
|
+
"contentHash": "d208ed086c8ce6161e022a3e06b8a6182d4f8dc508c9775cb3189a36c37d1215",
|
|
354
369
|
"sourceKind": "component_definition",
|
|
355
370
|
"sourceId": "praxis-analytics-presentation",
|
|
356
371
|
"corpusVersion": "1.0.0"
|
|
@@ -358,9 +373,9 @@
|
|
|
358
373
|
{
|
|
359
374
|
"chunkIndex": 2,
|
|
360
375
|
"chunkKind": "authoring_manifest",
|
|
361
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"componentId\":\"praxis-analytics-presentation\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisAnalyticsPresentationInputs\",\"manifestVersion\":\"1.0.0\",\"runtimeInputs\":[{\"name\":\"analytics\",\"type\":\"PraxisXUiAnalytics\",\"description\":\"Canonical x-ui.analytics projections.\"},{\"name\":\"projectionId\",\"type\":\"string\",\"description\":\"Stable projection identity; labels never select projections.\"},{\"name\":\"availableFamilies\",\"type\":\"AnalyticsPresentationFamily[]\",\"description\":\"Capability- and host-authorized renderer families.\"},{\"name\":\"preferredFamily\",\"type\":\"AnalyticsPresentationFamily | null\",\"allowedValues\":[\"chart\",\"analytic-table\"],\"description\":\"Persisted host preference. Temporary user choice remains runtime-only.\"},{\"name\":\"queryContext\",\"type\":\"PraxisDataQueryContext | null\",\"description\":\"Shared governed query context forwarded to the selected renderer.\"}],\"editableTargets\":[{\"kind\":\"analyticsPresentationPreference\",\"resolver\":\"component-config\",\"description\":\"Persisted preferredFamily for the projection selected by exact projectionId.\"}],\"operations\":[{\"operationId\":\"analytics.presentation.prefer-family\",\"title\":\"Prefer analytics presentation family\",\"description\":\"Persists a renderer-family preference without changing the canonical projection, bindings or query context.\",\"scope\":\"global\",\"targetKind\":\"analyticsPresentationPreference\",\"target\":{\"kind\":\"analyticsPresentationPreference\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"family\"],\"properties\":{\"family\":{\"enum\":[\"chart\",\"analytic-table\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"preferredFamily\",\"inputPath\":\"family\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"diagnostics-before-patch\",\"renderer-supported\",\"runtime-component-resolves\"],\"affectedPaths\":[\"preferredFamily\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"analytics-projection-resolved\"]}],\"validators\":[{\"validatorId\":\"diagnostics-before-patch\",\"level\":\"error\",\"code\":\"ANALYTICS_DIAGNOSTICS_BEFORE_PATCH\",\"description\":\"Projection resolution and family eligibility diagnostics must be clear before changing the preference.\"},{\"validatorId\":\"renderer-supported\",\"level\":\"error\",\"code\":\"ANALYTICS_RENDERER_SUPPORTED\",\"description\":\"The requested family must be a renderer supported by the component manifest.\"},{\"validatorId\":\"runtime-component-resolves\",\"level\":\"error\",\"code\":\"ANALYTICS_RUNTIME_COMPONENT_RESOLVES\",\"description\":\"The analytics presentation runtime must be registered before persisting its preference.\"}],\"roundTripRequirements\":[\"Save and reopen must preserve preferredFamily without copying remote analytics results into the page document.\",\"Changing preferredFamily must preserve analytics, projectionId and queryContext byte-for-byte.\",\"Temporary user choice emitted by presentationChange must not mutate preferredFamily unless the host explicitly persists it.\"],\"presentationAffordances\":{\"version\":\"1.0.0\",\"componentId\":\"praxis-analytics-presentation\",\"defaultTargetKind\":\"analyticsPresentationPreference\",\"sourceRef\":\"AnalyticsPresentationResolver\",\"affordances\":[{\"id\":\"analytics-presentation-family\",\"targetKind\":\"analyticsPresentationPreference\",\"category\":\"analytics-renderer\",\"description\":\"Compatible presentation families resolved from the canonical projection and installed renderers.\",\"options\":[\"chart\",\"analytic-table\"],\"appliesToTypes\":[\"PraxisXUiAnalytics\"],\"unknownCompatible\":false}]},\"examples\":[{\"id\":\"prefer-analytic-table\",\"request\":\"Use the table presentation for projection supplier-procurement-funnel.\",\"operationId\":\"analytics.presentation.prefer-family\",\"params\":{\"family\":\"analytic-table\"},\"isPositive\":true},{\"id\":\"
|
|
376
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"componentId\":\"praxis-analytics-presentation\",\"ownerPackage\":\"@praxisui/charts\",\"configSchemaId\":\"PraxisAnalyticsPresentationInputs\",\"manifestVersion\":\"1.0.0\",\"runtimeInputs\":[{\"name\":\"analytics\",\"type\":\"PraxisXUiAnalytics\",\"description\":\"Canonical x-ui.analytics projections.\"},{\"name\":\"projectionId\",\"type\":\"string\",\"description\":\"Stable projection identity; labels never select projections.\"},{\"name\":\"availableFamilies\",\"type\":\"AnalyticsPresentationFamily[]\",\"description\":\"Capability- and host-authorized renderer families.\"},{\"name\":\"preferredFamily\",\"type\":\"AnalyticsPresentationFamily | null\",\"allowedValues\":[\"chart\",\"analytic-table\",\"kpi\"],\"description\":\"Persisted host preference. Temporary user choice remains runtime-only.\"},{\"name\":\"queryContext\",\"type\":\"PraxisDataQueryContext | null\",\"description\":\"Shared governed query context forwarded to the selected renderer.\"}],\"editableTargets\":[{\"kind\":\"analyticsPresentationPreference\",\"resolver\":\"component-config\",\"description\":\"Persisted preferredFamily for the projection selected by exact projectionId.\"}],\"operations\":[{\"operationId\":\"analytics.presentation.prefer-family\",\"title\":\"Prefer analytics presentation family\",\"description\":\"Persists a renderer-family preference without changing the canonical projection, bindings or query context.\",\"scope\":\"global\",\"targetKind\":\"analyticsPresentationPreference\",\"target\":{\"kind\":\"analyticsPresentationPreference\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"family\"],\"properties\":{\"family\":{\"enum\":[\"chart\",\"analytic-table\",\"kpi\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"preferredFamily\",\"inputPath\":\"family\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"diagnostics-before-patch\",\"renderer-supported\",\"runtime-component-resolves\"],\"affectedPaths\":[\"preferredFamily\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"analytics-projection-resolved\"]}],\"validators\":[{\"validatorId\":\"diagnostics-before-patch\",\"level\":\"error\",\"code\":\"ANALYTICS_DIAGNOSTICS_BEFORE_PATCH\",\"description\":\"Projection resolution and family eligibility diagnostics must be clear before changing the preference.\"},{\"validatorId\":\"renderer-supported\",\"level\":\"error\",\"code\":\"ANALYTICS_RENDERER_SUPPORTED\",\"description\":\"The requested family must be a renderer supported by the component manifest.\"},{\"validatorId\":\"runtime-component-resolves\",\"level\":\"error\",\"code\":\"ANALYTICS_RUNTIME_COMPONENT_RESOLVES\",\"description\":\"The analytics presentation runtime must be registered before persisting its preference.\"}],\"roundTripRequirements\":[\"Save and reopen must preserve preferredFamily without copying remote analytics results into the page document.\",\"Changing preferredFamily must preserve analytics, projectionId and queryContext byte-for-byte.\",\"Temporary user choice emitted by presentationChange must not mutate preferredFamily unless the host explicitly persists it.\"],\"presentationAffordances\":{\"version\":\"1.0.0\",\"componentId\":\"praxis-analytics-presentation\",\"defaultTargetKind\":\"analyticsPresentationPreference\",\"sourceRef\":\"AnalyticsPresentationResolver\",\"affordances\":[{\"id\":\"analytics-presentation-family\",\"targetKind\":\"analyticsPresentationPreference\",\"category\":\"analytics-renderer\",\"description\":\"Compatible presentation families resolved from the canonical projection and installed renderers.\",\"options\":[\"chart\",\"analytic-table\",\"kpi\"],\"appliesToTypes\":[\"PraxisXUiAnalytics\"],\"unknownCompatible\":false}]},\"examples\":[{\"id\":\"prefer-analytic-table\",\"request\":\"Use the table presentation for projection supplier-procurement-funnel.\",\"operationId\":\"analytics.presentation.prefer-family\",\"params\":{\"family\":\"analytic-table\"},\"isPositive\":true},{\"id\":\"prefer-kpi\",\"request\":\"Use the KPI presentation for projection supplier-procurement-funnel.\",\"operationId\":\"analytics.presentation.prefer-family\",\"params\":{\"family\":\"kpi\"},\"isPositive\":true},{\"id\":\"reject-summary-list-without-renderer\",\"request\":\"Use summary-list even though no summary-list renderer is installed.\",\"operationId\":\"analytics.presentation.prefer-family\",\"params\":{\"family\":\"summary-list\"},\"isPositive\":false}]}",
|
|
362
377
|
"sourcePointer": "projects/praxis-charts/src/lib/ai/praxis-analytics-presentation-authoring-manifest.ts",
|
|
363
|
-
"contentHash": "
|
|
378
|
+
"contentHash": "964309b73beced7bff1fbf223a3cc5b0d529be35dbcdd2670afdf9c7ea5bf56d",
|
|
364
379
|
"sourceKind": "component_definition",
|
|
365
380
|
"sourceId": "praxis-analytics-presentation",
|
|
366
381
|
"corpusVersion": "1.0.0"
|