reactbridge-sdk 0.2.6 → 0.2.8

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.
Files changed (89) hide show
  1. package/README.md +85 -1
  2. package/dist/components/ReactBridgeChatbox.d.ts.map +1 -1
  3. package/dist/components/ReactBridgeSearch.d.ts +2 -2
  4. package/dist/components/ReactBridgeSearch.d.ts.map +1 -1
  5. package/dist/components/ReportsDashboard.d.ts +13 -0
  6. package/dist/components/ReportsDashboard.d.ts.map +1 -0
  7. package/dist/components/analytics/AnalyticsDashboard.d.ts.map +1 -1
  8. package/dist/components/analytics/AnalyticsDrawer.d.ts +3 -3
  9. package/dist/components/analytics/AnalyticsDrawer.d.ts.map +1 -1
  10. package/dist/components/analytics/AnalyticsReport.d.ts +3 -3
  11. package/dist/components/analytics/AnalyticsReport.d.ts.map +1 -1
  12. package/dist/components/analytics/AnalyticsWidget.d.ts +4 -4
  13. package/dist/components/analytics/DirectivesPanel.d.ts +3 -3
  14. package/dist/components/analytics/DirectivesPanel.d.ts.map +1 -1
  15. package/dist/components/analytics/MetricsPanel.d.ts +3 -3
  16. package/dist/components/analytics/MetricsPanel.d.ts.map +1 -1
  17. package/dist/components/analytics/ObservationsPanel.d.ts +3 -3
  18. package/dist/components/analytics/ObservationsPanel.d.ts.map +1 -1
  19. package/dist/components/reports/DataQualityAutomation.d.ts +12 -0
  20. package/dist/components/reports/DataQualityAutomation.d.ts.map +1 -0
  21. package/dist/components/reports/DataTable.d.ts +24 -0
  22. package/dist/components/reports/DataTable.d.ts.map +1 -0
  23. package/dist/components/reports/DateRangeSelector.d.ts +14 -0
  24. package/dist/components/reports/DateRangeSelector.d.ts.map +1 -0
  25. package/dist/components/reports/ExecutionAuditTrail.d.ts +12 -0
  26. package/dist/components/reports/ExecutionAuditTrail.d.ts.map +1 -0
  27. package/dist/components/reports/ExecutiveDashboard.d.ts +12 -0
  28. package/dist/components/reports/ExecutiveDashboard.d.ts.map +1 -0
  29. package/dist/components/reports/HealthGauge.d.ts +14 -0
  30. package/dist/components/reports/HealthGauge.d.ts.map +1 -0
  31. package/dist/components/reports/LoadingState.d.ts +12 -0
  32. package/dist/components/reports/LoadingState.d.ts.map +1 -0
  33. package/dist/components/reports/MetricCard.d.ts +18 -0
  34. package/dist/components/reports/MetricCard.d.ts.map +1 -0
  35. package/dist/components/reports/PortfolioHealth.d.ts +12 -0
  36. package/dist/components/reports/PortfolioHealth.d.ts.map +1 -0
  37. package/dist/components/reports/ProgressBar.d.ts +15 -0
  38. package/dist/components/reports/ProgressBar.d.ts.map +1 -0
  39. package/dist/components/reports/ReportLayout.d.ts +19 -0
  40. package/dist/components/reports/ReportLayout.d.ts.map +1 -0
  41. package/dist/components/reports/RiskMatrix.d.ts +21 -0
  42. package/dist/components/reports/RiskMatrix.d.ts.map +1 -0
  43. package/dist/components/reports/StatusBadge.d.ts +14 -0
  44. package/dist/components/reports/StatusBadge.d.ts.map +1 -0
  45. package/dist/components/reports/SupplyChainRisk.d.ts +12 -0
  46. package/dist/components/reports/SupplyChainRisk.d.ts.map +1 -0
  47. package/dist/components/reports/TrendChart.d.ts +19 -0
  48. package/dist/components/reports/TrendChart.d.ts.map +1 -0
  49. package/dist/hooks/analytics/useAnalyticsConfigs.d.ts +1 -1
  50. package/dist/hooks/analytics/useAnalyticsResult.d.ts +1 -1
  51. package/dist/hooks/analytics/useDateRange.d.ts +18 -0
  52. package/dist/hooks/analytics/useDateRange.d.ts.map +1 -0
  53. package/dist/hooks/analytics/useDirectiveAction.d.ts +2 -2
  54. package/dist/hooks/analytics/useDirectiveAction.d.ts.map +1 -1
  55. package/dist/hooks/analytics/useReportData.d.ts +24 -0
  56. package/dist/hooks/analytics/useReportData.d.ts.map +1 -0
  57. package/dist/hooks/useReactBridge.d.ts +1 -1
  58. package/dist/hooks/useReactBridge.d.ts.map +1 -1
  59. package/dist/index.d.ts +67 -28
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.esm.js +2338 -389
  62. package/dist/index.esm.js.map +1 -1
  63. package/dist/index.js +2355 -387
  64. package/dist/index.js.map +1 -1
  65. package/dist/provider/ReactBridgeProvider.d.ts +3 -3
  66. package/dist/provider/ReactBridgeProvider.d.ts.map +1 -1
  67. package/dist/themes/dark.d.ts +1 -1
  68. package/dist/themes/index.d.ts +3 -3
  69. package/dist/themes/index.d.ts.map +1 -1
  70. package/dist/themes/light.d.ts +1 -1
  71. package/dist/types/analytics.d.ts +5 -5
  72. package/dist/types/index.d.ts +5 -4
  73. package/dist/types/index.d.ts.map +1 -1
  74. package/dist/types/reports.d.ts +158 -0
  75. package/dist/types/reports.d.ts.map +1 -0
  76. package/dist/utils/analytics-api.d.ts +3 -3
  77. package/dist/utils/analytics-api.d.ts.map +1 -1
  78. package/dist/utils/api.d.ts +12 -1
  79. package/dist/utils/api.d.ts.map +1 -1
  80. package/dist/utils/contextDiff.d.ts +1 -1
  81. package/dist/utils/contextDiff.d.ts.map +1 -1
  82. package/dist/utils/date-range.d.ts +32 -0
  83. package/dist/utils/date-range.d.ts.map +1 -0
  84. package/dist/utils/reports-api.d.ts +19 -0
  85. package/dist/utils/reports-api.d.ts.map +1 -0
  86. package/dist/utils/request-cache.d.ts +32 -0
  87. package/dist/utils/request-cache.d.ts.map +1 -0
  88. package/dist/utils/voice.d.ts.map +1 -1
  89. package/package.json +3 -3
package/README.md CHANGED
@@ -10,7 +10,8 @@ A flexible React SDK for building intelligent conversational interfaces with LLM
10
10
  🤖 **Intelligent Context** - Automatic context diffing and injection
11
11
  ⚡ **Two-Step Orchestration** - Seamless action execution and feedback loop
12
12
  📦 **TypeScript First** - Full type safety and IntelliSense support
13
- 📈 **Analytics Admin UI** - Widgets, reports, and dashboards for AI-generated insights
13
+ 📈 **Analytics Admin UI** - Widgets, reports, and dashboards for AI-generated insights
14
+ 📊 **Business Intelligence Reports** - 5 comprehensive REST endpoints for analytics (Executive Dashboard, Supply Chain Risk, Execution Audit Trail, Portfolio Health, Data Quality & Automation)
14
15
 
15
16
  ## Installation
16
17
 
@@ -265,6 +266,89 @@ await api.updateDirectiveStatus(directiveId, 'executed');
265
266
  - Detailed components and hooks: [ANALYTICS_README.md](ANALYTICS_README.md)
266
267
  - Full dashboard guide: [ANALYTICS_DASHBOARD_README.md](ANALYTICS_DASHBOARD_README.md)
267
268
 
269
+ ## Business Intelligence Reports
270
+
271
+ The SDK includes 5 comprehensive REST endpoints for investor-ready analytics with date range filtering and 1-hour caching.
272
+
273
+ ### Available Reports
274
+
275
+ ```tsx
276
+ import {
277
+ ReactBridgeProvider,
278
+ ExecutiveDashboard,
279
+ SupplyChainRisk,
280
+ ExecutionAuditTrail,
281
+ PortfolioHealth,
282
+ DataQualityAutomation
283
+ } from 'reactbridge-sdk';
284
+
285
+ function ReportsPage() {
286
+ return (
287
+ <ReactBridgeProvider apiKey="your-api-key">
288
+ {/* High-level metrics and trends */}
289
+ <ExecutiveDashboard />
290
+
291
+ {/* Supply chain risk analysis */}
292
+ <SupplyChainRisk />
293
+
294
+ {/* Execution history and audit */}
295
+ <ExecutionAuditTrail />
296
+
297
+ {/* Portfolio metric health */}
298
+ <PortfolioHealth />
299
+
300
+ {/* Data quality & automation opportunities */}
301
+ <DataQualityAutomation />
302
+ </ReactBridgeProvider>
303
+ );
304
+ }
305
+ ```
306
+
307
+ ### Reports via Hooks
308
+
309
+ ```tsx
310
+ import { useReactBridgeContext } from 'reactbridge-sdk';
311
+
312
+ function CustomReport() {
313
+ const { api } = useReactBridgeContext();
314
+
315
+ // Fetch Executive Dashboard
316
+ const dashboard = await api.getExecutiveDashboard({
317
+ startDate: '2026-01-06',
318
+ endDate: '2026-02-05'
319
+ });
320
+
321
+ // Fetch Supply Chain Risk
322
+ const risk = await api.getSupplyChainRisk();
323
+
324
+ // Fetch Execution Audit with filter
325
+ const audit = await api.getExecutionAuditTrail({
326
+ directiveType: 'inventory-rebalance'
327
+ });
328
+
329
+ // Fetch Portfolio Health
330
+ const health = await api.getPortfolioHealth();
331
+
332
+ // Fetch Data Quality Assessment
333
+ const quality = await api.getDataQualityAutomation();
334
+ }
335
+ ```
336
+
337
+ ### Reports Documentation
338
+
339
+ - Full API reference: [REPORTS_API.md](REPORTS_API.md)
340
+ - Provider pattern guide: [REPORTS_PROVIDER_PATTERN.md](REPORTS_PROVIDER_PATTERN.md)
341
+
342
+ ### Authentication
343
+
344
+ All reports use **X-API-Key** header authentication. Simply pass your API key to `ReactBridgeProvider` and it's automatically used by all endpoints:
345
+
346
+ ```tsx
347
+ <ReactBridgeProvider apiKey="your-api-key-here">
348
+ <YourReportsApp />
349
+ </ReactBridgeProvider>
350
+ ```
351
+
268
352
  ## Voice Input/Output
269
353
 
270
354
  The SDK supports voice input (Speech-to-Text) and voice output (Text-to-Speech) for a fully conversational experience.
@@ -1 +1 @@
1
- {"version":3,"file":"ReactBridgeChatbox.d.ts","sourceRoot":"","sources":["../../src/components/ReactBridgeChatbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,KAAK,EACL,cAAc,EACf,MAAM,UAAU,CAAC;AA+IlB,MAAM,WAAW,uBAAuB;IAEtC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,cAAc,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAGjC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAG7C,UAAU,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC;IAG7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,gBAAgB,EAChB,cAAc,EACd,WAAoC,EACpC,MAAgB,EAChB,KAAc,EACd,KAAK,EAAE,aAAa,EACpB,aAAa,EACb,OAAO,EAGP,aAAa,EACb,WAAW,EACX,YAAY,EACZ,eAAe,EAGf,UAAoB,EAAE,yCAAyC;AAC/D,WAAmB,EACnB,WAA4B,EAC5B,SAA0B,EAC1B,SAAgB,EAChB,cAAc,EAAE,qEAAqE;AACrF,aAAa,EAAE,2CAA2C;AAE1D,UAA6B,EAAE,qCAAqC;AACpE,iBAA4C,EAC5C,iBAAyC,GAC1C,EAAE,uBAAuB,qBAqyBzB"}
1
+ {"version":3,"file":"ReactBridgeChatbox.d.ts","sourceRoot":"","sources":["../../src/components/ReactBridgeChatbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,KAAK,EACL,cAAc,EACf,MAAM,UAAU,CAAC;AA+IlB,MAAM,WAAW,uBAAuB;IAEtC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,cAAc,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAGjC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAG7C,UAAU,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC;IAG7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,gBAAgB,EAChB,cAAc,EACd,WAAoC,EACpC,MAAgB,EAChB,KAAc,EACd,KAAK,EAAE,aAAa,EACpB,aAAa,EACb,OAAO,EAGP,aAAa,EACb,WAAW,EACX,YAAY,EACZ,eAAe,EAGf,UAAoB,EAAE,yCAAyC;AAC/D,WAAmB,EACnB,WAA4B,EAC5B,SAA0B,EAC1B,SAAgB,EAChB,cAAc,EAAE,qEAAqE;AACrF,aAAa,EAAE,2CAA2C;AAE1D,UAA6B,EAAE,qCAAqC;AACpE,iBAA4C,EAC5C,iBAAyC,GAC1C,EAAE,uBAAuB,qBAuyBzB"}
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import type { OnIntentDetected, Theme, CurrentContext } from '../types';
1
+ import React from "react";
2
+ import type { OnIntentDetected, Theme, CurrentContext } from "../types";
3
3
  export interface ReactBridgeSearchProps {
4
4
  onIntentDetected: OnIntentDetected;
5
5
  currentContext: CurrentContext;
@@ -1 +1 @@
1
- {"version":3,"file":"ReactBridgeSearch.d.ts","sourceRoot":"","sources":["../../src/components/ReactBridgeSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,gBAAgB,EAAkB,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AA4BxF,MAAM,WAAW,sBAAsB;IACrC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,cAAc,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,iBAAiB,CAAC,EAChC,gBAAgB,EAChB,cAAc,EACd,WAAyB,EACzB,KAAc,EACd,UAAc,EACd,KAAK,EAAE,aAAa,EACpB,OAAO,EACP,aAAa,EACb,WAAW,EACX,YAAY,EACZ,eAAe,GAChB,EAAE,sBAAsB,qBAyZxB"}
1
+ {"version":3,"file":"ReactBridgeSearch.d.ts","sourceRoot":"","sources":["../../src/components/ReactBridgeSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EACV,gBAAgB,EAEhB,KAAK,EACL,cAAc,EACf,MAAM,UAAU,CAAC;AA4BlB,MAAM,WAAW,sBAAsB;IACrC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,cAAc,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,iBAAiB,CAAC,EAChC,gBAAgB,EAChB,cAAc,EACd,WAAyB,EACzB,KAAc,EACd,UAAc,EACd,KAAK,EAAE,aAAa,EACpB,OAAO,EACP,aAAa,EACb,WAAW,EACX,YAAY,EACZ,eAAe,GAChB,EAAE,sBAAsB,qBAmcxB"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Reports Dashboard
3
+ * Main container that displays all 5 reports with navigation
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../types";
7
+ export type ReportType = "executive" | "risk" | "audit" | "health" | "quality";
8
+ export interface ReportsDashboardProps {
9
+ theme?: Theme;
10
+ initialReport?: ReportType;
11
+ }
12
+ export declare const ReportsDashboard: React.FC<ReportsDashboardProps>;
13
+ //# sourceMappingURL=ReportsDashboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportsDashboard.d.ts","sourceRoot":"","sources":["../../src/components/ReportsDashboard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/E,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,aAAa,CAAC,EAAE,UAAU,CAAC;CAC5B;AAwCD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgF5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AnalyticsDashboard.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/AnalyticsDashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,WAAW,uBAAuB;IACtC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,wBAAgB,kBAAkB,CAAC,EACjC,iBAAiB,EACjB,SAAc,EACd,WAAkB,EAClB,mBAAuB,EACvB,KAAK,EAAE,WAAW,GACnB,EAAE,uBAAuB,qBAgzBzB"}
1
+ {"version":3,"file":"AnalyticsDashboard.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/AnalyticsDashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,WAAW,uBAAuB;IACtC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,wBAAgB,kBAAkB,CAAC,EACjC,iBAAiB,EACjB,SAAc,EACd,WAAkB,EAClB,mBAAuB,EACvB,KAAK,EAAE,WAAW,GACnB,EAAE,uBAAuB,qBA+zBzB"}
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import type { Theme } from '../../types';
3
- import type { AnalyticsConfig, OnDirectiveAction } from '../../types/analytics';
1
+ import React from "react";
2
+ import type { Theme } from "../../types";
3
+ import type { AnalyticsConfig, OnDirectiveAction } from "../../types/analytics";
4
4
  export interface AnalyticsDrawerProps {
5
5
  isOpen: boolean;
6
6
  onClose: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"AnalyticsDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/AnalyticsDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAehF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsM1D,CAAC"}
1
+ {"version":3,"file":"AnalyticsDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/AnalyticsDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAehF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsN1D,CAAC"}
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import type { Theme } from '../../types';
3
- import type { OnDirectiveAction } from '../../types/analytics';
1
+ import React from "react";
2
+ import type { Theme } from "../../types";
3
+ import type { OnDirectiveAction } from "../../types/analytics";
4
4
  export interface AnalyticsReportProps {
5
5
  analyticsType: string;
6
6
  theme?: Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"AnalyticsReport.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/AnalyticsReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAyC/D,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmM1D,CAAC"}
1
+ {"version":3,"file":"AnalyticsReport.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/AnalyticsReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAyC/D,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuN1D,CAAC"}
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import type { Theme } from '../../types';
3
- import type { OnDirectiveAction } from '../../types/analytics';
1
+ import React from "react";
2
+ import type { Theme } from "../../types";
3
+ import type { OnDirectiveAction } from "../../types/analytics";
4
4
  export interface AnalyticsWidgetProps {
5
- position?: 'bottom-right' | 'bottom-left';
5
+ position?: "bottom-right" | "bottom-left";
6
6
  theme?: Theme;
7
7
  onDirectiveAction?: OnDirectiveAction;
8
8
  }
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import type { Theme } from '../../types';
3
- import type { AnalyticsDirective, OnDirectiveAction } from '../../types/analytics';
1
+ import React from "react";
2
+ import type { Theme } from "../../types";
3
+ import type { AnalyticsDirective, OnDirectiveAction } from "../../types/analytics";
4
4
  export interface DirectivesPanelProps {
5
5
  directives: AnalyticsDirective[];
6
6
  theme: Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"DirectivesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/DirectivesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEnF,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;IACb,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiO1D,CAAC"}
1
+ {"version":3,"file":"DirectivesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/DirectivesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;IACb,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0O1D,CAAC"}
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import type { Theme } from '../../types';
3
- import type { AnalyticsMetric } from '../../types/analytics';
1
+ import React from "react";
2
+ import type { Theme } from "../../types";
3
+ import type { AnalyticsMetric } from "../../types/analytics";
4
4
  export interface MetricsPanelProps {
5
5
  metrics: AnalyticsMetric[];
6
6
  theme: Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"MetricsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/MetricsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiGpD,CAAC"}
1
+ {"version":3,"file":"MetricsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/MetricsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAoGpD,CAAC"}
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import type { Theme } from '../../types';
3
- import type { AnalyticsObservation } from '../../types/analytics';
1
+ import React from "react";
2
+ import type { Theme } from "../../types";
3
+ import type { AnalyticsObservation } from "../../types/analytics";
4
4
  export interface ObservationsPanelProps {
5
5
  observations: AnalyticsObservation[];
6
6
  theme: Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"ObservationsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/ObservationsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,oBAAoB,EAAE,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoF9D,CAAC"}
1
+ {"version":3,"file":"ObservationsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/analytics/ObservationsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,oBAAoB,EAAE,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA0F9D,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Data Quality & Automation Report
3
+ * Data gaps, automation opportunities, and actionable recommendations
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface DataQualityAutomationProps {
8
+ theme?: Theme;
9
+ defaultDateRange?: "past-week" | "past-month" | "past-3-months" | "past-6-months" | "past-year";
10
+ }
11
+ export declare const DataQualityAutomation: React.FC<DataQualityAutomationProps>;
12
+ //# sourceMappingURL=DataQualityAutomation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataQualityAutomation.d.ts","sourceRoot":"","sources":["../../../src/components/reports/DataQualityAutomation.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,gBAAgB,CAAC,EACb,WAAW,GACX,YAAY,GACZ,eAAe,GACf,eAAe,GACf,WAAW,CAAC;CACjB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAqUtE,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * DataTable Component
3
+ * Generic sortable/paginated table for report data
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface TableColumn<T> {
8
+ key: keyof T;
9
+ label: string;
10
+ sortable?: boolean;
11
+ render?: (value: any, row: T) => React.ReactNode;
12
+ width?: string;
13
+ }
14
+ export interface DataTableProps<T extends {
15
+ id?: string | number;
16
+ }> {
17
+ columns: TableColumn<T>[];
18
+ data: T[];
19
+ title?: string;
20
+ pageSize?: number;
21
+ theme?: Theme;
22
+ }
23
+ export declare const DataTable: React.ForwardRefExoticComponent<DataTableProps<any> & React.RefAttributes<HTMLDivElement>>;
24
+ //# sourceMappingURL=DataTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/components/reports/DataTable.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,WAAW,CAAC,CAAC;IAC5B,GAAG,EAAE,MAAM,CAAC,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS;IAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;IAChE,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,eAAO,MAAM,SAAS,4FAqRrB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * DateRangeSelector Component
3
+ * Select dropdown for date range selection
4
+ */
5
+ import React from "react";
6
+ import { DateRangeOption } from "../../utils/date-range";
7
+ import { Theme } from "../../types";
8
+ export interface DateRangeSelectorProps {
9
+ selectedOption: DateRangeOption;
10
+ onSelect: (option: DateRangeOption) => void;
11
+ theme?: Theme;
12
+ }
13
+ export declare const DateRangeSelector: React.FC<DateRangeSelectorProps>;
14
+ //# sourceMappingURL=DateRangeSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangeSelector.d.ts","sourceRoot":"","sources":["../../../src/components/reports/DateRangeSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAoB,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,eAAe,CAAC;IAChC,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA0C9D,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Execution Audit Trail Report
3
+ * Complete execution history and audit information
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface ExecutionAuditTrailProps {
8
+ theme?: Theme;
9
+ defaultDateRange?: "past-week" | "past-month" | "past-3-months" | "past-6-months" | "past-year";
10
+ }
11
+ export declare const ExecutionAuditTrail: React.FC<ExecutionAuditTrailProps>;
12
+ //# sourceMappingURL=ExecutionAuditTrail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionAuditTrail.d.ts","sourceRoot":"","sources":["../../../src/components/reports/ExecutionAuditTrail.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,gBAAgB,CAAC,EACb,WAAW,GACX,YAAY,GACZ,eAAe,GACf,eAAe,GACf,WAAW,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA0NlE,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Executive Dashboard Report
3
+ * High-level directive execution metrics, trends, and cost impact
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface ExecutiveDashboardProps {
8
+ theme?: Theme;
9
+ defaultDateRange?: "past-week" | "past-month" | "past-3-months" | "past-6-months" | "past-year";
10
+ }
11
+ export declare const ExecutiveDashboard: React.FC<ExecutiveDashboardProps>;
12
+ //# sourceMappingURL=ExecutiveDashboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutiveDashboard.d.ts","sourceRoot":"","sources":["../../../src/components/reports/ExecutiveDashboard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,gBAAgB,CAAC,EACb,WAAW,GACX,YAAY,GACZ,eAAe,GACf,eAAe,GACf,WAAW,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAoLhE,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * HealthGauge Component
3
+ * Displays health/score on a 0-10 scale with color-coded circle
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface HealthGaugeProps {
8
+ score: number;
9
+ label: string;
10
+ size?: "small" | "medium" | "large";
11
+ theme?: Theme;
12
+ }
13
+ export declare const HealthGauge: React.FC<HealthGaugeProps>;
14
+ //# sourceMappingURL=HealthGauge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthGauge.d.ts","sourceRoot":"","sources":["../../../src/components/reports/HealthGauge.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkFlD,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * LoadingState Component
3
+ * Skeleton loader for reports
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface LoadingStateProps {
8
+ theme?: Theme;
9
+ variant?: "minimal" | "cards" | "table";
10
+ }
11
+ export declare const LoadingState: React.FC<LoadingStateProps>;
12
+ //# sourceMappingURL=LoadingState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingState.d.ts","sourceRoot":"","sources":["../../../src/components/reports/LoadingState.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;CACzC;AAcD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6EpD,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * MetricCard Component
3
+ * Displays a single KPI metric with optional trend indicator
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface MetricCardProps {
8
+ label: string;
9
+ value: string | number;
10
+ unit?: string;
11
+ trend?: "up" | "down" | "neutral";
12
+ trendValue?: number;
13
+ icon?: React.ReactNode;
14
+ onClick?: () => void;
15
+ theme?: Theme;
16
+ }
17
+ export declare const MetricCard: React.FC<MetricCardProps>;
18
+ //# sourceMappingURL=MetricCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetricCard.d.ts","sourceRoot":"","sources":["../../../src/components/reports/MetricCard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuHhD,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Portfolio Health Report
3
+ * Aggregated metric health across the entire portfolio
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface PortfolioHealthProps {
8
+ theme?: Theme;
9
+ defaultDateRange?: "past-week" | "past-month" | "past-3-months" | "past-6-months" | "past-year";
10
+ }
11
+ export declare const PortfolioHealth: React.FC<PortfolioHealthProps>;
12
+ //# sourceMappingURL=PortfolioHealth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PortfolioHealth.d.ts","sourceRoot":"","sources":["../../../src/components/reports/PortfolioHealth.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,gBAAgB,CAAC,EACb,WAAW,GACX,YAAY,GACZ,eAAe,GACf,eAAe,GACf,WAAW,CAAC;CACjB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8P1D,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * ProgressBar Component
3
+ * Displays percentage with visual bar
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface ProgressBarProps {
8
+ percentage: number;
9
+ label?: string;
10
+ showPercentage?: boolean;
11
+ height?: "small" | "medium" | "large";
12
+ theme?: Theme;
13
+ }
14
+ export declare const ProgressBar: React.FC<ProgressBarProps>;
15
+ //# sourceMappingURL=ProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/reports/ProgressBar.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiFlD,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * ReportLayout Component
3
+ * Wrapper for report pages with header and date range selector
4
+ */
5
+ import React from "react";
6
+ import { DateRangeOption } from "../../utils/date-range";
7
+ import { Theme } from "../../types";
8
+ export interface ReportLayoutProps {
9
+ title: string;
10
+ description?: string;
11
+ selectedDateRange: DateRangeOption;
12
+ onDateRangeChange: (option: DateRangeOption) => void;
13
+ loading?: boolean;
14
+ error?: Error | null;
15
+ children: React.ReactNode;
16
+ theme?: Theme;
17
+ }
18
+ export declare const ReportLayout: React.FC<ReportLayoutProps>;
19
+ //# sourceMappingURL=ReportLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportLayout.d.ts","sourceRoot":"","sources":["../../../src/components/reports/ReportLayout.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGzD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,eAAe,CAAC;IACnC,iBAAiB,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2FpD,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * RiskMatrix Component
3
+ * 2D visualization of risk items (probability vs impact)
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface RiskMatrixItem {
8
+ id: string;
9
+ name: string;
10
+ probability: number;
11
+ impact: number;
12
+ severity: "low" | "medium" | "high";
13
+ }
14
+ export interface RiskMatrixProps {
15
+ items: RiskMatrixItem[];
16
+ title?: string;
17
+ height?: number;
18
+ theme?: Theme;
19
+ }
20
+ export declare const RiskMatrix: React.FC<RiskMatrixProps>;
21
+ //# sourceMappingURL=RiskMatrix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RiskMatrix.d.ts","sourceRoot":"","sources":["../../../src/components/reports/RiskMatrix.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CACrC;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmKhD,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * StatusBadge Component
3
+ * Displays status with color-coded background
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export type StatusType = "ok" | "warning" | "critical" | "proposed" | "executed" | "declined" | "failed" | "auto-executed";
8
+ export interface StatusBadgeProps {
9
+ status: StatusType;
10
+ label?: string;
11
+ theme?: Theme;
12
+ }
13
+ export declare const StatusBadge: React.FC<StatusBadgeProps>;
14
+ //# sourceMappingURL=StatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/components/reports/StatusBadge.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,UAAU,GAClB,IAAI,GACJ,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,QAAQ,GACR,eAAe,CAAC;AAEpB,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AA8DD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2BlD,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Supply Chain Risk Report
3
+ * Supply chain risks including inventory, supplier, and cost analysis
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface SupplyChainRiskProps {
8
+ theme?: Theme;
9
+ defaultDateRange?: "past-week" | "past-month" | "past-3-months" | "past-6-months" | "past-year";
10
+ }
11
+ export declare const SupplyChainRisk: React.FC<SupplyChainRiskProps>;
12
+ //# sourceMappingURL=SupplyChainRisk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupplyChainRisk.d.ts","sourceRoot":"","sources":["../../../src/components/reports/SupplyChainRisk.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,gBAAgB,CAAC,EACb,WAAW,GACX,YAAY,GACZ,eAAe,GACf,eAAe,GACf,WAAW,CAAC;CACjB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAyV1D,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * TrendChart Component
3
+ * Renders a simple line/area chart for trend data
4
+ */
5
+ import React from "react";
6
+ import { Theme } from "../../types";
7
+ export interface TrendDataPoint {
8
+ label: string;
9
+ value: number;
10
+ }
11
+ export interface TrendChartProps {
12
+ data: TrendDataPoint[];
13
+ title?: string;
14
+ height?: number;
15
+ theme?: Theme;
16
+ showArea?: boolean;
17
+ }
18
+ export declare const TrendChart: React.FC<TrendChartProps>;
19
+ //# sourceMappingURL=TrendChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrendChart.d.ts","sourceRoot":"","sources":["../../../src/components/reports/TrendChart.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAiIhD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { AnalyticsConfig } from '../../types/analytics';
1
+ import type { AnalyticsConfig } from "../../types/analytics";
2
2
  export declare function useAnalyticsConfigs(): {
3
3
  configs: AnalyticsConfig[];
4
4
  isLoading: boolean;
@@ -1,4 +1,4 @@
1
- import type { AnalyticsResult } from '../../types/analytics';
1
+ import type { AnalyticsResult } from "../../types/analytics";
2
2
  export declare function useAnalyticsResult(analyticsType: string | null): {
3
3
  result: AnalyticsResult | null;
4
4
  isLoading: boolean;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * useDateRange Hook
3
+ * Manages date range state with predefined options
4
+ */
5
+ import { DateRangeOption } from "../../utils/date-range";
6
+ export interface UseDateRangeReturn {
7
+ selectedOption: DateRangeOption;
8
+ setSelectedOption: (option: DateRangeOption) => void;
9
+ startDate: string;
10
+ endDate: string;
11
+ label: string;
12
+ }
13
+ /**
14
+ * Hook to manage date range selection for reports
15
+ * @param defaultOption - Default date range option (default: 'past-month')
16
+ */
17
+ export declare function useDateRange(defaultOption?: DateRangeOption): UseDateRangeReturn;
18
+ //# sourceMappingURL=useDateRange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDateRange.d.ts","sourceRoot":"","sources":["../../../src/hooks/analytics/useDateRange.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAoB,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE3E,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,eAAe,CAAC;IAChC,iBAAiB,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,aAAa,GAAE,eAA8B,GAC5C,kBAAkB,CAYpB"}
@@ -1,5 +1,5 @@
1
- import type { AnalyticsDirective, DirectiveActionResult } from '../../types/analytics';
2
- export declare function useDirectiveAction(onDirectiveAction?: (directive: AnalyticsDirective, action: 'execute' | 'decline') => Promise<DirectiveActionResult>): {
1
+ import type { AnalyticsDirective, DirectiveActionResult } from "../../types/analytics";
2
+ export declare function useDirectiveAction(onDirectiveAction?: (directive: AnalyticsDirective, action: "execute" | "decline") => Promise<DirectiveActionResult>): {
3
3
  handleAction: (directive: AnalyticsDirective, action: "execute" | "decline") => Promise<DirectiveActionResult>;
4
4
  isProcessing: boolean;
5
5
  error: Error | null;