@praxisui/charts 10.0.0-rc.48 → 10.0.0-rc.49

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,12 +1,105 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-16T23:25:47.678Z",
3
+ "generatedAt": "2026-11-17T22:43:07.679Z",
4
4
  "packageName": "@praxisui/charts",
5
- "packageVersion": "10.0.0-rc.48",
5
+ "packageVersion": "10.0.0-rc.49",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
- "componentCount": 5,
8
+ "componentCount": 8,
9
9
  "components": {
10
+ "praxis-analytics-cockpit": {
11
+ "id": "praxis-analytics-cockpit",
12
+ "description": "Multi-widget analytical cockpit auto-hydrating x-ui.analytics projections from /schemas/filtered with synchronized cross-filters, KPI cards, and record opening.",
13
+ "inputs": [
14
+ {
15
+ "name": "resourcePath",
16
+ "type": "string | null",
17
+ "required": false,
18
+ "description": "Resource path for automatic x-ui.analytics discovery via /schemas/filtered.",
19
+ "default": null
20
+ },
21
+ {
22
+ "name": "analytics",
23
+ "type": "PraxisXUiAnalytics | null",
24
+ "required": false,
25
+ "description": "Explicit x-ui.analytics metadata document.",
26
+ "default": null
27
+ },
28
+ {
29
+ "name": "config",
30
+ "type": "PraxisAnalyticsCockpitConfig | null",
31
+ "required": false,
32
+ "description": "Optional cockpit layout, KPI cards, and widget arrangement.",
33
+ "default": null
34
+ },
35
+ {
36
+ "name": "queryContext",
37
+ "type": "PraxisDataQueryContext | null",
38
+ "required": false,
39
+ "description": "Base query context synchronized with cross-filters across widgets.",
40
+ "default": null
41
+ },
42
+ {
43
+ "name": "surfaceVariant",
44
+ "type": "'default' | 'frameless' | 'embedded'",
45
+ "required": false,
46
+ "description": "Frameless embedding support without nested cards.",
47
+ "default": "default"
48
+ }
49
+ ],
50
+ "outputs": [
51
+ {
52
+ "name": "queryContextChange",
53
+ "type": "PraxisDataQueryContext",
54
+ "required": false,
55
+ "description": "Emitted when cross-filters update the cockpit query context."
56
+ },
57
+ {
58
+ "name": "crossFilterApplied",
59
+ "type": "Record<string, unknown>",
60
+ "required": false,
61
+ "description": "Emitted with active coerced cross-filter map."
62
+ },
63
+ {
64
+ "name": "recordOpen",
65
+ "type": "PraxisAnalyticsCockpitRecordOpenEvent",
66
+ "required": false,
67
+ "description": "Emitted when a projection requests detail/record opening."
68
+ },
69
+ {
70
+ "name": "drillDown",
71
+ "type": "PraxisChartDrillDownEvent & { projectionId: string }",
72
+ "required": false,
73
+ "description": "Forwarded drill-down event from child widgets."
74
+ }
75
+ ],
76
+ "configSchemaId": null,
77
+ "selector": "praxis-analytics-cockpit",
78
+ "friendlyName": "Painel Analítico Integrado",
79
+ "icon": "dashboard",
80
+ "tags": [
81
+ "analytics",
82
+ "cockpit",
83
+ "dashboard",
84
+ "charts",
85
+ "cross-filter"
86
+ ],
87
+ "lib": "@praxisui/charts",
88
+ "source": "projects/praxis-charts/src/lib/components/praxis-analytics-cockpit/praxis-analytics-cockpit.metadata.ts",
89
+ "exportName": "PRAXIS_ANALYTICS_COCKPIT_COMPONENT_METADATA",
90
+ "chunks": [
91
+ {
92
+ "chunkIndex": 0,
93
+ "chunkKind": "summary",
94
+ "content": "Component ID: praxis-analytics-cockpit\nSelector: praxis-analytics-cockpit\nFriendly Name: Painel Analítico Integrado\nDescription: Multi-widget analytical cockpit auto-hydrating x-ui.analytics projections from /schemas/filtered with synchronized cross-filters, KPI cards, and record opening.\nLib/Package: @praxisui/charts\nTags: analytics, cockpit, dashboard, charts, cross-filter\nInputs:\n - resourcePath (string | null)\n - analytics (PraxisXUiAnalytics | null)\n - config (PraxisAnalyticsCockpitConfig | null)\n - queryContext (PraxisDataQueryContext | null)\n - surfaceVariant ('default' | 'frameless' | 'embedded')\nOutputs:\n - queryContextChange (PraxisDataQueryContext)\n - crossFilterApplied (Record<string, unknown>)\n - recordOpen (PraxisAnalyticsCockpitRecordOpenEvent)\n - drillDown (PraxisChartDrillDownEvent & { projectionId: string })\n",
95
+ "sourcePointer": "projects/praxis-charts/src/lib/components/praxis-analytics-cockpit/praxis-analytics-cockpit.metadata.ts",
96
+ "contentHash": "61d63ed6f0ad135e8e1f4ac5b4d8c4f8531522e6755de291467dd8a7dd2ec5f3",
97
+ "sourceKind": "component_definition",
98
+ "sourceId": "praxis-analytics-cockpit",
99
+ "corpusVersion": "1.0.0"
100
+ }
101
+ ]
102
+ },
10
103
  "praxis-analytics-presentation": {
11
104
  "id": "praxis-analytics-presentation",
12
105
  "description": "Alterna renderers elegíveis para uma projection x-ui.analytics selecionada por id, preservando o query context.",
@@ -56,9 +149,23 @@
56
149
  "name": "projectionId",
57
150
  "type": "string",
58
151
  "required": false,
59
- "description": "Identidade exata da projection; labels não são usados para seleção.",
152
+ "description": "Identidade exata da projection; quando omitido em modo resourcePath, adota a primeira projection publicada.",
60
153
  "default": "analytics-presentation-sample"
61
154
  },
155
+ {
156
+ "name": "resourcePath",
157
+ "type": "string | null",
158
+ "required": false,
159
+ "description": "Caminho canônico do recurso para auto-hidratação via /schemas/filtered (x-ui.analytics) e capabilities.stats.",
160
+ "default": null
161
+ },
162
+ {
163
+ "name": "coerceCrossFilters",
164
+ "type": "boolean",
165
+ "required": false,
166
+ "description": "Coerge filtros emitidos em crossFilter para contratos FilterDTO (*In arrays, BETWEEN [from, to], escalares).",
167
+ "default": true
168
+ },
62
169
  {
63
170
  "name": "availableFamilies",
64
171
  "type": "AnalyticsPresentationFamily[]",
@@ -369,9 +476,9 @@
369
476
  {
370
477
  "chunkIndex": 0,
371
478
  "chunkKind": "summary",
372
- "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",
479
+ "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 - resourcePath (string | null)\n - coerceCrossFilters (boolean)\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",
373
480
  "sourcePointer": "projects/praxis-charts/src/lib/praxis-analytics-presentation.metadata.ts",
374
- "contentHash": "75fc0184341d0922352d1587189cd3687a83c5ce258bb24d6cd6478f4bb5abb3",
481
+ "contentHash": "15793331a9a778fdfccd26be6931c116f4dfc95fc916434724e041f857dc0d14",
375
482
  "sourceKind": "component_definition",
376
483
  "sourceId": "praxis-analytics-presentation",
377
484
  "corpusVersion": "1.0.0"
@@ -398,6 +505,73 @@
398
505
  }
399
506
  ]
400
507
  },
508
+ "praxis-calculation-waterfall": {
509
+ "id": "praxis-calculation-waterfall",
510
+ "description": "Visualizes CalculationMemory trails and CalculationStep items (base, additions, deductions, subtotals, caps, totals) with legal/rule basis citations.",
511
+ "inputs": [
512
+ {
513
+ "name": "calculationMemory",
514
+ "type": "unknown",
515
+ "required": false,
516
+ "description": "CalculationMemory object, CalculationTrail[], or step array.",
517
+ "default": null
518
+ },
519
+ {
520
+ "name": "title",
521
+ "type": "string | null",
522
+ "required": false,
523
+ "description": "Optional heading override.",
524
+ "default": null
525
+ },
526
+ {
527
+ "name": "currencyCode",
528
+ "type": "string",
529
+ "required": false,
530
+ "description": "ISO currency code for monetary steps.",
531
+ "default": "BRL"
532
+ }
533
+ ],
534
+ "outputs": [
535
+ {
536
+ "name": "stepSelect",
537
+ "type": "PraxisCalculationWaterfallStep",
538
+ "required": false,
539
+ "description": "Emitted when the user activates a calculation step row."
540
+ },
541
+ {
542
+ "name": "trailChange",
543
+ "type": "PraxisCalculationWaterfallTrail",
544
+ "required": false,
545
+ "description": "Emitted when the active calculation trail tab changes."
546
+ }
547
+ ],
548
+ "configSchemaId": null,
549
+ "selector": "praxis-calculation-waterfall",
550
+ "friendlyName": "Cascata de Memória de Cálculo",
551
+ "icon": "waterfall_chart",
552
+ "tags": [
553
+ "calculation-memory",
554
+ "waterfall",
555
+ "audit",
556
+ "financial",
557
+ "charts"
558
+ ],
559
+ "lib": "@praxisui/charts",
560
+ "source": "projects/praxis-charts/src/lib/components/praxis-calculation-waterfall/praxis-calculation-waterfall.metadata.ts",
561
+ "exportName": "PRAXIS_CALCULATION_WATERFALL_COMPONENT_METADATA",
562
+ "chunks": [
563
+ {
564
+ "chunkIndex": 0,
565
+ "chunkKind": "summary",
566
+ "content": "Component ID: praxis-calculation-waterfall\nSelector: praxis-calculation-waterfall\nFriendly Name: Cascata de Memória de Cálculo\nDescription: Visualizes CalculationMemory trails and CalculationStep items (base, additions, deductions, subtotals, caps, totals) with legal/rule basis citations.\nLib/Package: @praxisui/charts\nTags: calculation-memory, waterfall, audit, financial, charts\nInputs:\n - calculationMemory (unknown)\n - title (string | null)\n - currencyCode (string)\nOutputs:\n - stepSelect (PraxisCalculationWaterfallStep)\n - trailChange (PraxisCalculationWaterfallTrail)\n",
567
+ "sourcePointer": "projects/praxis-charts/src/lib/components/praxis-calculation-waterfall/praxis-calculation-waterfall.metadata.ts",
568
+ "contentHash": "c52adf321bc8c6579446c1fb69d913bb8d322dde852615eb5b7939ab94d32339",
569
+ "sourceKind": "component_definition",
570
+ "sourceId": "praxis-calculation-waterfall",
571
+ "corpusVersion": "1.0.0"
572
+ }
573
+ ]
574
+ },
401
575
  "praxis-chart": {
402
576
  "id": "praxis-chart",
403
577
  "description": "Chart component for analytics and metadata-driven visualizations in Praxis UI.",
@@ -6046,6 +6220,88 @@
6046
6220
  "corpusVersion": "1.0.0"
6047
6221
  }
6048
6222
  ]
6223
+ },
6224
+ "praxis-quota-gauge": {
6225
+ "id": "praxis-quota-gauge",
6226
+ "description": "Visualizes utilization against a maximum limit with threshold bands and radial or linear rendering.",
6227
+ "inputs": [
6228
+ {
6229
+ "name": "document",
6230
+ "type": "PraxisQuotaGaugeDocument | null",
6231
+ "required": false,
6232
+ "description": "Structured quota gauge configuration and metrics.",
6233
+ "default": null
6234
+ },
6235
+ {
6236
+ "name": "value",
6237
+ "type": "number | null",
6238
+ "required": false,
6239
+ "description": "Current utilized value.",
6240
+ "default": null
6241
+ },
6242
+ {
6243
+ "name": "max",
6244
+ "type": "number | null",
6245
+ "required": false,
6246
+ "description": "Maximum configured quota.",
6247
+ "default": null
6248
+ },
6249
+ {
6250
+ "name": "min",
6251
+ "type": "number",
6252
+ "required": false,
6253
+ "description": "Minimum scale value.",
6254
+ "default": 0
6255
+ },
6256
+ {
6257
+ "name": "variant",
6258
+ "type": "'radial' | 'linear'",
6259
+ "required": false,
6260
+ "description": "Visual rendering style.",
6261
+ "default": "radial"
6262
+ },
6263
+ {
6264
+ "name": "thresholds",
6265
+ "type": "PraxisQuotaGaugeThreshold[]",
6266
+ "required": false,
6267
+ "description": "Ordered semantic threshold markers.",
6268
+ "default": []
6269
+ }
6270
+ ],
6271
+ "outputs": [
6272
+ {
6273
+ "name": "quotaClick",
6274
+ "type": "{ value: number; max: number; percent: number; tone: PraxisQuotaGaugeTone }",
6275
+ "required": false,
6276
+ "description": "Emitted when the quota gauge summary is activated."
6277
+ }
6278
+ ],
6279
+ "configSchemaId": null,
6280
+ "selector": "praxis-quota-gauge",
6281
+ "friendlyName": "Medidor de Cota e Limites",
6282
+ "icon": "speed",
6283
+ "tags": [
6284
+ "quota",
6285
+ "gauge",
6286
+ "threshold",
6287
+ "utilization",
6288
+ "charts"
6289
+ ],
6290
+ "lib": "@praxisui/charts",
6291
+ "source": "projects/praxis-charts/src/lib/components/praxis-quota-gauge/praxis-quota-gauge.metadata.ts",
6292
+ "exportName": "PRAXIS_QUOTA_GAUGE_COMPONENT_METADATA",
6293
+ "chunks": [
6294
+ {
6295
+ "chunkIndex": 0,
6296
+ "chunkKind": "summary",
6297
+ "content": "Component ID: praxis-quota-gauge\nSelector: praxis-quota-gauge\nFriendly Name: Medidor de Cota e Limites\nDescription: Visualizes utilization against a maximum limit with threshold bands and radial or linear rendering.\nLib/Package: @praxisui/charts\nTags: quota, gauge, threshold, utilization, charts\nInputs:\n - document (PraxisQuotaGaugeDocument | null)\n - value (number | null)\n - max (number | null)\n - min (number)\n - variant ('radial' | 'linear')\n - thresholds (PraxisQuotaGaugeThreshold[])\nOutputs:\n - quotaClick ({ value: number; max: number; percent: number; tone: PraxisQuotaGaugeTone })\n",
6298
+ "sourcePointer": "projects/praxis-charts/src/lib/components/praxis-quota-gauge/praxis-quota-gauge.metadata.ts",
6299
+ "contentHash": "a15dab09f73299700f0182e3f23d7c650a9ab026169f8962549020b5d4ae32f4",
6300
+ "sourceKind": "component_definition",
6301
+ "sourceId": "praxis-quota-gauge",
6302
+ "corpusVersion": "1.0.0"
6303
+ }
6304
+ ]
6049
6305
  }
6050
6306
  },
6051
6307
  "note": "Package-scoped Praxis component registry for source-free agent discovery. Use the canonical ingestion registry for cross-package aggregate analysis."