@praxisui/core 10.0.0-rc.76 → 10.0.0-rc.77
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 +2 -2
- package/fesm2022/praxisui-core-micro-visualization.mjs +52 -6
- package/fesm2022/praxisui-core.mjs +1795 -60
- package/package.json +1 -1
- package/types/praxisui-core-micro-visualization.d.ts +3 -0
- package/types/praxisui-core-schema.d.ts +67 -0
- package/types/praxisui-core.d.ts +386 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/core",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.77",
|
|
4
4
|
"description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "^21.0.0",
|
|
@@ -52,7 +52,9 @@ declare class PraxisKpiCardViewComponent {
|
|
|
52
52
|
readonly isActive: _angular_core.Signal<boolean>;
|
|
53
53
|
readonly isGoverned: _angular_core.Signal<boolean>;
|
|
54
54
|
readonly canRetry: _angular_core.Signal<boolean>;
|
|
55
|
+
readonly hasReadingGuide: _angular_core.Signal<boolean>;
|
|
55
56
|
readonly canShowProvenance: _angular_core.Signal<boolean>;
|
|
57
|
+
readonly canShowReadingGuidePopover: _angular_core.Signal<boolean>;
|
|
56
58
|
readonly canDrillDown: _angular_core.Signal<boolean>;
|
|
57
59
|
readonly hasActions: _angular_core.Signal<boolean>;
|
|
58
60
|
readonly inlineFooterActions: _angular_core.Signal<boolean>;
|
|
@@ -61,6 +63,7 @@ declare class PraxisKpiCardViewComponent {
|
|
|
61
63
|
readonly governedLabel: _angular_core.Signal<string>;
|
|
62
64
|
readonly retryLabel: _angular_core.Signal<string>;
|
|
63
65
|
readonly provenanceLabel: _angular_core.Signal<string>;
|
|
66
|
+
readonly provenanceTriggerLabel: _angular_core.Signal<string>;
|
|
64
67
|
readonly drillDownLabel: _angular_core.Signal<string>;
|
|
65
68
|
private resolveLocale;
|
|
66
69
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisKpiCardViewComponent, never>;
|
|
@@ -1280,6 +1280,17 @@ type PraxisEpistemicKind = (typeof PRAXIS_EPISTEMIC_KINDS)[number];
|
|
|
1280
1280
|
declare const PRAXIS_EPISTEMIC_AVAILABILITY_STATES: readonly ["AVAILABLE", "INSUFFICIENT_SAMPLE", "K_ANONYMITY_SUPPRESSED", "ENGINE_UNAVAILABLE", "DEGRADED"];
|
|
1281
1281
|
type PraxisEpistemicAvailabilityState = (typeof PRAXIS_EPISTEMIC_AVAILABILITY_STATES)[number];
|
|
1282
1282
|
type PraxisNigriniConformity = 'CLOSE_CONFORMITY' | 'ACCEPTABLE_CONFORMITY' | 'MARGINAL_CONFORMITY' | 'MARGINALLY_ACCEPTABLE' | 'NON_CONFORMITY' | (string & {});
|
|
1283
|
+
interface PraxisModelCardInterpretationGuide {
|
|
1284
|
+
plainLanguageSummary?: string | null;
|
|
1285
|
+
businessPurpose?: string | null;
|
|
1286
|
+
howToRead?: readonly string[];
|
|
1287
|
+
keyMetricsExplained?: Readonly<Record<string, string>>;
|
|
1288
|
+
limitations?: readonly string[];
|
|
1289
|
+
decisionGuidance?: string | null;
|
|
1290
|
+
decisionBoundary?: string | null;
|
|
1291
|
+
cautionNote?: string | null;
|
|
1292
|
+
locale?: string | null;
|
|
1293
|
+
}
|
|
1283
1294
|
interface PraxisEpistemicMeta {
|
|
1284
1295
|
kind?: PraxisEpistemicKind;
|
|
1285
1296
|
availabilityState?: PraxisEpistemicAvailabilityState;
|
|
@@ -1293,6 +1304,54 @@ interface PraxisEpistemicMeta {
|
|
|
1293
1304
|
methodologyNote?: string | null;
|
|
1294
1305
|
nigriniMad?: number | null;
|
|
1295
1306
|
nigriniConformity?: PraxisNigriniConformity | null;
|
|
1307
|
+
interpretationGuide?: PraxisModelCardInterpretationGuide | null;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
interface PraxisTranslationParams {
|
|
1311
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1312
|
+
}
|
|
1313
|
+
interface PraxisI18nMessageDescriptor {
|
|
1314
|
+
key?: string;
|
|
1315
|
+
text?: string;
|
|
1316
|
+
params?: PraxisTranslationParams;
|
|
1317
|
+
}
|
|
1318
|
+
type PraxisTextValue = string | PraxisI18nMessageDescriptor;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Standardized didactic guide ("How to read this indicator") attached to KPIs,
|
|
1322
|
+
* charts, widgets, epistemic badges, and analytical drawer metrics.
|
|
1323
|
+
*/
|
|
1324
|
+
interface PraxisIndicatorReadingGuide {
|
|
1325
|
+
/** Short heading shown inside the reading-guide popover. */
|
|
1326
|
+
readonly title?: PraxisTextValue;
|
|
1327
|
+
/** Concise short tooltip shown on hover/focus of the guide trigger. */
|
|
1328
|
+
readonly tooltip?: PraxisTextValue;
|
|
1329
|
+
/** Plain-language summary explaining what this indicator measures. */
|
|
1330
|
+
readonly summary: PraxisTextValue;
|
|
1331
|
+
/** Non-technical explanation of the formula or aggregation criterion. */
|
|
1332
|
+
readonly formula?: PraxisTextValue;
|
|
1333
|
+
/** Guidance on how to read favorable, warning, and critical values. */
|
|
1334
|
+
readonly interpretation?: PraxisTextValue;
|
|
1335
|
+
/** Reference threshold, regulatory band, or target range. */
|
|
1336
|
+
readonly targetBand?: PraxisTextValue;
|
|
1337
|
+
/** Optional normative or regulatory citation supporting the indicator. */
|
|
1338
|
+
readonly legalBasis?: PraxisTextValue;
|
|
1339
|
+
/** Methodological caveat, sample minimum, or privacy limitation. */
|
|
1340
|
+
readonly caveat?: PraxisTextValue;
|
|
1341
|
+
/** Optional epistemic nature associated with this indicator. */
|
|
1342
|
+
readonly epistemicKind?: PraxisEpistemicKind;
|
|
1343
|
+
/** Contextual prompt sent when clicking the "Ask Assistant" CTA. */
|
|
1344
|
+
readonly assistantPrompt?: PraxisTextValue;
|
|
1345
|
+
/** Optional semantic topic key forwarded to `PraxisOperationalAssistantLaunchService`. */
|
|
1346
|
+
readonly assistantTopicKey?: string;
|
|
1347
|
+
/** Optional target resource path forwarded to the contextual assistant. */
|
|
1348
|
+
readonly resourcePath?: string | null;
|
|
1349
|
+
/** Optional target resource key forwarded to the contextual assistant. */
|
|
1350
|
+
readonly resourceKey?: string | null;
|
|
1351
|
+
/** Optional target surface identifier forwarded to the contextual assistant. */
|
|
1352
|
+
readonly surfaceId?: string;
|
|
1353
|
+
/** Optional indicator or entity key forwarded to the contextual assistant. */
|
|
1354
|
+
readonly entityKey?: string | null;
|
|
1296
1355
|
}
|
|
1297
1356
|
|
|
1298
1357
|
interface TableTooltipConfig {
|
|
@@ -3146,6 +3205,8 @@ interface PraxisAnalyticalDrawerSchema {
|
|
|
3146
3205
|
* sobre o dossiê local registrado no `AnalyticalDrawerRegistryService`.
|
|
3147
3206
|
*/
|
|
3148
3207
|
hydrateRemoteCalculationMemory?: boolean;
|
|
3208
|
+
/** Guia didático opcional ("Como ler este indicador") exibido no cabeçalho do dossiê. */
|
|
3209
|
+
readingGuide?: PraxisIndicatorReadingGuide;
|
|
3149
3210
|
}
|
|
3150
3211
|
/**
|
|
3151
3212
|
* Papel semântico de uma etapa dentro de uma trilha de memória de cálculo.
|
|
@@ -3337,6 +3398,10 @@ interface PraxisAnalyticalDrawerPropertyItem {
|
|
|
3337
3398
|
toneExpr?: string;
|
|
3338
3399
|
pipe?: string;
|
|
3339
3400
|
fallbackText?: string;
|
|
3401
|
+
/** Texto auxiliar curto (tooltip ou resumo herdado de `@UISchema(helpText)`). */
|
|
3402
|
+
helpText?: string;
|
|
3403
|
+
/** Guia didático opcional ("Como ler este indicador") exibido no rótulo da propriedade/métrica. */
|
|
3404
|
+
readingGuide?: PraxisIndicatorReadingGuide;
|
|
3340
3405
|
[key: string]: unknown;
|
|
3341
3406
|
}
|
|
3342
3407
|
/**
|
|
@@ -3413,6 +3478,8 @@ interface PraxisKpiBandCard {
|
|
|
3413
3478
|
tooltip?: string;
|
|
3414
3479
|
/** Micro-visualização declarativa opcional exibida no corpo do card KPI */
|
|
3415
3480
|
visualization?: PraxisPresentationVisualizationConfig;
|
|
3481
|
+
/** Guia didático estruturado ("Como ler este indicador") exibido no card KPI */
|
|
3482
|
+
readingGuide?: PraxisIndicatorReadingGuide;
|
|
3416
3483
|
}
|
|
3417
3484
|
interface PraxisKpiBandConfig {
|
|
3418
3485
|
/** Se a faixa de KPIs está habilitada (padrão: true quando configurada) */
|