@paro.io/expert-shared-components 1.14.57 → 1.14.60
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/lib/README.md +2 -0
- package/lib/components/DocumentCenter/MultiFileUploadSection.js +121 -220
- package/lib/components/TaxAxis/TaxAxisApi.d.ts +2 -0
- package/lib/components/TaxAxis/TaxAxisShell.d.ts +1 -1
- package/lib/components/TaxAxis/TaxAxisShell.js +104 -5
- package/lib/components/TaxAxis/types.d.ts +5 -0
- package/lib/components/shared/UploadClient.d.ts +1 -2
- package/lib/components/shared/UploadClient.js +2 -6
- package/lib/index.d.ts +13 -2
- package/lib/index.js +27 -3
- package/lib/package.json +68 -0
- package/lib/tax-axis/components/clientReport/ExecutiveSummary.d.ts +1 -4
- package/lib/tax-axis/components/clientReport/ExecutiveSummary.js +6 -10
- package/lib/tax-axis/components/clientReport/Methodology.js +2 -2
- package/lib/tax-axis/components/clientReport/RecommendedStrategies.d.ts +1 -6
- package/lib/tax-axis/components/clientReport/RecommendedStrategies.js +24 -26
- package/lib/tax-axis/components/clientReport/StrategyCard.d.ts +1 -1
- package/lib/tax-axis/components/clientReport/StrategyCard.js +23 -39
- package/lib/tax-axis/components/clientReport/TaxAxisClientReport.d.ts +2 -8
- package/lib/tax-axis/components/clientReport/TaxAxisClientReport.js +7 -9
- package/lib/tax-axis/components/dashboard/DashboardActions.js +4 -5
- package/lib/tax-axis/components/dashboard/DashboardSummary.d.ts +1 -6
- package/lib/tax-axis/components/dashboard/DashboardSummary.js +4 -14
- package/lib/tax-axis/components/dashboard/StrategyDetailPanel.d.ts +1 -1
- package/lib/tax-axis/components/dashboard/StrategyDetailPanel.js +91 -120
- package/lib/tax-axis/components/dashboard/TaxAxisDashboard.d.ts +2 -59
- package/lib/tax-axis/components/dashboard/TaxAxisDashboard.js +36 -412
- package/lib/tax-axis/components/documents/DocumentCard.d.ts +3 -7
- package/lib/tax-axis/components/documents/DocumentCard.js +12 -65
- package/lib/tax-axis/components/documents/DocumentTier.d.ts +2 -5
- package/lib/tax-axis/components/documents/DocumentTier.js +2 -2
- package/lib/tax-axis/components/documents/TaxAxisDocuments.d.ts +1 -25
- package/lib/tax-axis/components/documents/TaxAxisDocuments.js +52 -267
- package/lib/tax-axis/components/documents/qbo/QboAvailableReportsModal.d.ts +13 -0
- package/lib/tax-axis/components/documents/qbo/QboAvailableReportsModal.js +180 -0
- package/lib/tax-axis/components/documents/qbo/QboClientSelectorModal.d.ts +10 -0
- package/lib/tax-axis/components/documents/qbo/QboClientSelectorModal.js +155 -0
- package/lib/tax-axis/components/documents/qbo/QboConnectBanner.d.ts +9 -0
- package/lib/tax-axis/components/documents/qbo/QboConnectBanner.js +55 -0
- package/lib/tax-axis/components/documents/qbo/QboDocumentMappingModal.d.ts +10 -0
- package/lib/tax-axis/components/documents/qbo/QboDocumentMappingModal.js +202 -0
- package/lib/tax-axis/components/documents/qbo/QboImportingModal.d.ts +8 -0
- package/lib/tax-axis/components/documents/qbo/QboImportingModal.js +75 -0
- package/lib/tax-axis/components/documents/qbo/QboPermissionsModal.d.ts +8 -0
- package/lib/tax-axis/components/documents/qbo/QboPermissionsModal.js +126 -0
- package/lib/tax-axis/components/documents/qbo/index.d.ts +8 -0
- package/lib/tax-axis/components/documents/qbo/index.js +17 -0
- package/lib/tax-axis/components/documents/qbo/qboConstants.d.ts +24 -0
- package/lib/tax-axis/components/documents/qbo/qboConstants.js +71 -0
- package/lib/tax-axis/components/documents/qbo/types.d.ts +43 -0
- package/lib/tax-axis/components/documents/qbo/types.js +3 -0
- package/lib/tax-axis/components/documents/qbo/useQboFlow.d.ts +19 -0
- package/lib/tax-axis/components/documents/qbo/useQboFlow.js +207 -0
- package/lib/tax-axis/components/extractionReview/TaxAxisExtractionReview.js +17 -17
- package/lib/tax-axis/components/intake/ClientParametersSection.js +29 -13
- package/lib/tax-axis/components/intake/IntakeCtaCards.d.ts +2 -1
- package/lib/tax-axis/components/intake/IntakeCtaCards.js +13 -6
- package/lib/tax-axis/components/intake/TaxAxisIntake.js +44 -5
- package/lib/tax-axis/components/intake/intakeSchema.d.ts +3 -0
- package/lib/tax-axis/components/intake/intakeSchema.js +4 -2
- package/lib/tax-axis/components/preparerWorkpaper/TaxAxisPreparerWorkpaper.d.ts +2 -26
- package/lib/tax-axis/components/preparerWorkpaper/TaxAxisPreparerWorkpaper.js +4 -15
- package/lib/tax-axis/components/processing/TaxAxisProcessing.d.ts +1 -3
- package/lib/tax-axis/components/processing/TaxAxisProcessing.js +31 -102
- package/lib/tax-axis/components/prospectReport/ProspectPrintView.js +2 -0
- package/lib/tax-axis/components/prospectReport/ProspectStrategyCard.d.ts +8 -1
- package/lib/tax-axis/components/prospectReport/ProspectStrategyCard.js +5 -5
- package/lib/tax-axis/components/prospectReport/TaxAxisProspectReport.d.ts +27 -1
- package/lib/tax-axis/components/prospectReport/TaxAxisProspectReport.js +43 -25
- package/lib/tax-axis/index.d.ts +0 -4
- package/lib/tax-axis/index.js +1 -6
- package/lib/tax-axis/lib/adapters/useEngineOutput.d.ts +13 -138
- package/lib/tax-axis/lib/adapters/useEngineOutput.js +7 -156
- package/lib/tax-axis/lib/data/documents.d.ts +2 -3
- package/lib/tax-axis/lib/data/documents.js +25 -225
- package/lib/tax-axis/lib/data/strategies.js +9 -9
- package/lib/tax-axis/lib/documentFieldCatalog.d.ts +12 -7
- package/lib/tax-axis/lib/documentFieldCatalog.js +8 -805
- package/lib/tax-axis/lib/types/index.d.ts +1 -13
- package/package.json +1 -1
|
@@ -1,69 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ClientProfile, TaxAxisScreenProps
|
|
3
|
-
export interface LlmStrategy {
|
|
4
|
-
strategyType: string;
|
|
5
|
-
applicable: boolean;
|
|
6
|
-
priority: string;
|
|
7
|
-
estimatedSavings: {
|
|
8
|
-
min: number;
|
|
9
|
-
max: number;
|
|
10
|
-
};
|
|
11
|
-
summary: string;
|
|
12
|
-
implementationSteps: string[];
|
|
13
|
-
requiredForms: string[];
|
|
14
|
-
strategyId?: string;
|
|
15
|
-
status?: "COMPLETE" | "FAILED";
|
|
16
|
-
error?: string;
|
|
17
|
-
weightedScore?: number;
|
|
18
|
-
quickWin?: boolean;
|
|
19
|
-
calculationTrace?: Record<string, unknown>;
|
|
20
|
-
}
|
|
21
|
-
export interface LlmExcludedStrategy {
|
|
22
|
-
strategy_id: string;
|
|
23
|
-
status?: "EXCLUDED";
|
|
24
|
-
reason: string;
|
|
25
|
-
irs_cite?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface LlmResult {
|
|
28
|
-
strategies: LlmStrategy[];
|
|
29
|
-
summary: {
|
|
30
|
-
applicableCount: number;
|
|
31
|
-
totalStrategies: number;
|
|
32
|
-
highPriorityCount: number;
|
|
33
|
-
quickWinCount: number;
|
|
34
|
-
notEligibleCount: number;
|
|
35
|
-
estimatedSavingsMin: number;
|
|
36
|
-
estimatedSavingsMax: number;
|
|
37
|
-
failedCount?: number;
|
|
38
|
-
top3?: string[];
|
|
39
|
-
};
|
|
40
|
-
meta: {
|
|
41
|
-
provider: string;
|
|
42
|
-
tokenCount?: number;
|
|
43
|
-
totalTokens?: number;
|
|
44
|
-
inputTokens?: number;
|
|
45
|
-
outputTokens?: number;
|
|
46
|
-
latencyMs?: number;
|
|
47
|
-
sourceDocumentCount: number;
|
|
48
|
-
parsedDocumentCount: number;
|
|
49
|
-
detectedDocumentTypes: string[];
|
|
50
|
-
modelId?: string;
|
|
51
|
-
promptVersion?: string;
|
|
52
|
-
};
|
|
53
|
-
excludedStrategies?: LlmExcludedStrategy[];
|
|
54
|
-
engineOutput?: Record<string, unknown>;
|
|
55
|
-
rawOutput?: Record<string, unknown>;
|
|
56
|
-
}
|
|
2
|
+
import type { ClientProfile, TaxAxisScreenProps } from "../../lib/types";
|
|
57
3
|
export interface TaxAxisDashboardProps extends TaxAxisScreenProps {
|
|
58
4
|
profile: ClientProfile;
|
|
59
|
-
llmResult?: LlmResult | null;
|
|
60
|
-
parsedDocuments?: ExtractionDocument[];
|
|
61
5
|
onDownloadClient: () => void;
|
|
62
6
|
onDownloadPreparer: () => void;
|
|
63
7
|
onPresent: () => void;
|
|
64
8
|
onSend: () => void;
|
|
65
9
|
onReset: () => void;
|
|
66
10
|
onReviewData?: () => void;
|
|
67
|
-
onUploadMore?: () => void;
|
|
68
11
|
}
|
|
69
|
-
export declare function TaxAxisDashboard({ profile,
|
|
12
|
+
export declare function TaxAxisDashboard({ profile, onDownloadClient, onDownloadPreparer, onPresent, onSend, onReset, onReviewData, userContext: _userContext, }: TaxAxisDashboardProps): React.JSX.Element;
|