@paro.io/expert-shared-components 1.14.43 → 1.14.46
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/LICENSE +21 -21
- package/README.md +2 -2
- package/lib/README.md +2 -0
- package/lib/components/ClientReferencesSection/DeleteButton.js +11 -11
- package/lib/components/ClientReferencesSection/ParoError.js +10 -10
- package/lib/components/ClientReferencesSection/TagsSection.js +2 -2
- package/lib/components/ClientReferencesSection/styles/BrandedTypography.js +2 -2
- package/lib/components/ClientReferencesSection/styles/Buttons.js +15 -15
- package/lib/components/ClientReferencesSection/styles/Name.js +5 -5
- package/lib/components/ClientReferencesSection/styles/NullContentConditionalColor.js +4 -4
- package/lib/components/ClientReferencesSection/styles/SectionBody.js +11 -11
- package/lib/components/ClientReferencesSection/styles/SectionTitle.js +6 -6
- package/lib/components/ClientReferencesSection/styles/Tags.js +2 -2
- package/lib/components/DiscussionThread/DiscussionThread.d.ts +25 -25
- package/lib/components/DiscussionThread/DiscussionThread.js +137 -137
- package/lib/components/DiscussionThread/chat.d.ts +22 -22
- package/lib/components/DiscussionThread/chat.js +106 -106
- package/lib/components/DiscussionThread/index.d.ts +1 -1
- package/lib/components/DiscussionThread/index.js +5 -5
- package/lib/components/DocumentCenter/DocumentTable.d.ts +15 -15
- package/lib/components/DocumentCenter/DocumentTable.js +350 -350
- package/lib/components/DocumentCenter/DragDropUpload.js +4 -4
- package/lib/components/DocumentCenter/UploadFilesButton.d.ts +6 -6
- package/lib/components/DocumentCenter/UploadFilesButton.js +29 -29
- package/lib/components/EarningsTracker/ActiveProjectCard.d.ts +52 -52
- package/lib/components/EarningsTracker/ActiveProjectCard.js +161 -161
- package/lib/components/EarningsTracker/CenterCardUI.d.ts +13 -13
- package/lib/components/EarningsTracker/CenterCardUI.js +134 -134
- package/lib/components/EarningsTracker/EarningsTracker.d.ts +52 -52
- package/lib/components/EarningsTracker/EarningsTracker.js +508 -508
- package/lib/components/EarningsTracker/EditDateModal.d.ts +22 -22
- package/lib/components/EarningsTracker/EditDateModal.js +149 -149
- package/lib/components/EarningsTracker/EmailModal.d.ts +14 -14
- package/lib/components/EarningsTracker/EmailModal.js +79 -79
- package/lib/components/EarningsTracker/EndProjectModal.d.ts +56 -56
- package/lib/components/EarningsTracker/EndProjectModal.js +221 -221
- package/lib/components/EarningsTracker/LeftCardUI.d.ts +18 -18
- package/lib/components/EarningsTracker/LeftCardUI.js +189 -189
- package/lib/components/EarningsTracker/LogTimeModalAuthenticated.d.ts +52 -52
- package/lib/components/EarningsTracker/LogTimeModalAuthenticated.js +358 -358
- package/lib/components/EarningsTracker/ProgressBar.d.ts +4 -4
- package/lib/components/EarningsTracker/ProgressBar.js +66 -66
- package/lib/components/EarningsTracker/ReviewRequestModal.d.ts +17 -17
- package/lib/components/EarningsTracker/ReviewRequestModal.js +135 -135
- package/lib/components/EarningsTracker/RightCardUI.d.ts +46 -46
- package/lib/components/EarningsTracker/RightCardUI.js +231 -231
- package/lib/components/EarningsTracker/index.d.ts +1 -1
- package/lib/components/EarningsTracker/index.js +5 -5
- package/lib/components/Escalations/CustomTag.d.ts +3 -3
- package/lib/components/Escalations/CustomTag.js +25 -25
- package/lib/components/Escalations/ViewReponseModal.d.ts +8 -8
- package/lib/components/Escalations/ViewReponseModal.js +27 -27
- package/lib/components/ExpertProfileHeader/ActionButtonSection.js +6 -6
- package/lib/components/ExpertProfileHeader/ProfileSection.js +7 -7
- package/lib/components/Invoices/TestDecisionSection.d.ts +1 -1
- package/lib/components/Invoices/TestDecisionSection.js +126 -126
- package/lib/components/OrganizationChart/OrganizationChart.d.ts +15 -15
- package/lib/components/OrganizationChart/OrganizationChart.js +312 -312
- package/lib/components/OrganizationChart/PersonCard.js +5 -5
- package/lib/components/OrganizationChart/utils.js +79 -79
- package/lib/components/ProjectCard/ProgressBar.js +4 -4
- package/lib/components/ProjectCard/ReviewRequestModal.js +5 -5
- package/lib/components/ProjectIntelligence/MissingInformation/index.js +1 -1
- package/lib/components/Reviews/Pagination.js +6 -6
- package/lib/components/ReviewsTab/RatingHeader.js +6 -6
- package/lib/components/ReviewsTab/expert-shared-components.code-workspace +20 -20
- package/lib/components/ReviewsTab/reviewRequestModal.js +5 -5
- package/lib/components/shared/Image.js +13 -13
- package/lib/components/shared/ProfileTextField.d.ts +18 -18
- package/lib/components/shared/ProfileTextField.js +16 -16
- package/lib/components/shared/StyledActionButtons.d.ts +7 -7
- package/lib/components/shared/StyledActionButtons.js +15 -15
- package/lib/components/shared/ToastNotification.d.ts +10 -10
- package/lib/components/shared/ToastNotification.js +63 -63
- package/lib/index.d.ts +13 -0
- package/lib/index.js +27 -1
- package/lib/package.json +68 -0
- package/lib/tax-axis/components/clientReport/ClientReportCover.d.ts +9 -0
- package/lib/tax-axis/components/clientReport/ClientReportCover.js +39 -0
- package/lib/tax-axis/components/clientReport/ClientReportTOC.d.ts +8 -0
- package/lib/tax-axis/components/clientReport/ClientReportTOC.js +24 -0
- package/lib/tax-axis/components/clientReport/ClientReportToolbar.d.ts +2 -0
- package/lib/tax-axis/components/clientReport/ClientReportToolbar.js +6 -0
- package/lib/tax-axis/components/clientReport/ETRChart.d.ts +10 -0
- package/lib/tax-axis/components/clientReport/ETRChart.js +50 -0
- package/lib/tax-axis/components/clientReport/ExecutiveSummary.d.ts +15 -0
- package/lib/tax-axis/components/clientReport/ExecutiveSummary.js +73 -0
- package/lib/tax-axis/components/clientReport/FootnoteBlock.d.ts +11 -0
- package/lib/tax-axis/components/clientReport/FootnoteBlock.js +34 -0
- package/lib/tax-axis/components/clientReport/ImplementationRoadmap.d.ts +26 -0
- package/lib/tax-axis/components/clientReport/ImplementationRoadmap.js +51 -0
- package/lib/tax-axis/components/clientReport/ImplementationTimelineChart.d.ts +10 -0
- package/lib/tax-axis/components/clientReport/ImplementationTimelineChart.js +49 -0
- package/lib/tax-axis/components/clientReport/Methodology.d.ts +10 -0
- package/lib/tax-axis/components/clientReport/Methodology.js +40 -0
- package/lib/tax-axis/components/clientReport/QuarterlyCashChart.d.ts +10 -0
- package/lib/tax-axis/components/clientReport/QuarterlyCashChart.js +56 -0
- package/lib/tax-axis/components/clientReport/RecommendedStrategies.d.ts +13 -0
- package/lib/tax-axis/components/clientReport/RecommendedStrategies.js +51 -0
- package/lib/tax-axis/components/clientReport/SavingsStackChart.d.ts +10 -0
- package/lib/tax-axis/components/clientReport/SavingsStackChart.js +66 -0
- package/lib/tax-axis/components/clientReport/SectionOpener.d.ts +11 -0
- package/lib/tax-axis/components/clientReport/SectionOpener.js +20 -0
- package/lib/tax-axis/components/clientReport/Sidebar.d.ts +8 -0
- package/lib/tax-axis/components/clientReport/Sidebar.js +37 -0
- package/lib/tax-axis/components/clientReport/StrategyCard.d.ts +16 -0
- package/lib/tax-axis/components/clientReport/StrategyCard.js +63 -0
- package/lib/tax-axis/components/clientReport/TaxAxisClientReport.d.ts +9 -0
- package/lib/tax-axis/components/clientReport/TaxAxisClientReport.js +125 -0
- package/lib/tax-axis/components/clientReport/applyFootnotes.d.ts +12 -0
- package/lib/tax-axis/components/clientReport/applyFootnotes.js +43 -0
- package/lib/tax-axis/components/clientReport/palette.d.ts +28 -0
- package/lib/tax-axis/components/clientReport/palette.js +34 -0
- package/lib/tax-axis/components/dashboard/ConfidenceArc.d.ts +7 -0
- package/lib/tax-axis/components/dashboard/ConfidenceArc.js +20 -0
- package/lib/tax-axis/components/dashboard/DashboardActions.d.ts +13 -0
- package/lib/tax-axis/components/dashboard/DashboardActions.js +94 -0
- package/lib/tax-axis/components/dashboard/DashboardSummary.d.ts +11 -0
- package/lib/tax-axis/components/dashboard/DashboardSummary.js +98 -0
- package/lib/tax-axis/components/dashboard/DashboardTopBar.d.ts +10 -0
- package/lib/tax-axis/components/dashboard/DashboardTopBar.js +48 -0
- package/lib/tax-axis/components/dashboard/StrategyDetailPanel.d.ts +10 -0
- package/lib/tax-axis/components/dashboard/StrategyDetailPanel.js +139 -0
- package/lib/tax-axis/components/dashboard/StrategyTile.d.ts +10 -0
- package/lib/tax-axis/components/dashboard/StrategyTile.js +82 -0
- package/lib/tax-axis/components/dashboard/TaxAxisDashboard.d.ts +12 -0
- package/lib/tax-axis/components/dashboard/TaxAxisDashboard.js +285 -0
- package/lib/tax-axis/components/dashboard/useCountUp.d.ts +1 -0
- package/lib/tax-axis/components/dashboard/useCountUp.js +25 -0
- package/lib/tax-axis/components/documents/DocumentCard.d.ts +18 -0
- package/lib/tax-axis/components/documents/DocumentCard.js +61 -0
- package/lib/tax-axis/components/documents/DocumentTier.d.ts +21 -0
- package/lib/tax-axis/components/documents/DocumentTier.js +23 -0
- package/lib/tax-axis/components/documents/TaxAxisDocuments.d.ts +8 -0
- package/lib/tax-axis/components/documents/TaxAxisDocuments.js +157 -0
- package/lib/tax-axis/components/extractionReview/DocumentCard.d.ts +17 -0
- package/lib/tax-axis/components/extractionReview/DocumentCard.js +105 -0
- package/lib/tax-axis/components/extractionReview/FieldRow.d.ts +17 -0
- package/lib/tax-axis/components/extractionReview/FieldRow.js +137 -0
- package/lib/tax-axis/components/extractionReview/PurposeBlock.d.ts +7 -0
- package/lib/tax-axis/components/extractionReview/PurposeBlock.js +18 -0
- package/lib/tax-axis/components/extractionReview/RerunFooter.d.ts +8 -0
- package/lib/tax-axis/components/extractionReview/RerunFooter.js +60 -0
- package/lib/tax-axis/components/extractionReview/TaxAxisExtractionReview.d.ts +11 -0
- package/lib/tax-axis/components/extractionReview/TaxAxisExtractionReview.js +186 -0
- package/lib/tax-axis/components/intake/ClientParametersSection.d.ts +7 -0
- package/lib/tax-axis/components/intake/ClientParametersSection.js +146 -0
- package/lib/tax-axis/components/intake/CpaIntakeQuestionsSection.d.ts +7 -0
- package/lib/tax-axis/components/intake/CpaIntakeQuestionsSection.js +93 -0
- package/lib/tax-axis/components/intake/IntakeCtaCards.d.ts +9 -0
- package/lib/tax-axis/components/intake/IntakeCtaCards.js +30 -0
- package/lib/tax-axis/components/intake/RefineAnalysisSection.d.ts +7 -0
- package/lib/tax-axis/components/intake/RefineAnalysisSection.js +151 -0
- package/lib/tax-axis/components/intake/StateMultiSelect.d.ts +7 -0
- package/lib/tax-axis/components/intake/StateMultiSelect.js +90 -0
- package/lib/tax-axis/components/intake/StrategyRadar.d.ts +7 -0
- package/lib/tax-axis/components/intake/StrategyRadar.js +240 -0
- package/lib/tax-axis/components/intake/TaxAxisIntake.d.ts +8 -0
- package/lib/tax-axis/components/intake/TaxAxisIntake.js +38 -0
- package/lib/tax-axis/components/intake/intakeSchema.d.ts +97 -0
- package/lib/tax-axis/components/intake/intakeSchema.js +91 -0
- package/lib/tax-axis/components/preparerWorkpaper/CalculationTraceAccordion.d.ts +9 -0
- package/lib/tax-axis/components/preparerWorkpaper/CalculationTraceAccordion.js +19 -0
- package/lib/tax-axis/components/preparerWorkpaper/EngagementHeader.d.ts +9 -0
- package/lib/tax-axis/components/preparerWorkpaper/EngagementHeader.js +43 -0
- package/lib/tax-axis/components/preparerWorkpaper/Position6694Accordion.d.ts +9 -0
- package/lib/tax-axis/components/preparerWorkpaper/Position6694Accordion.js +25 -0
- package/lib/tax-axis/components/preparerWorkpaper/PriorityGroup.d.ts +14 -0
- package/lib/tax-axis/components/preparerWorkpaper/PriorityGroup.js +20 -0
- package/lib/tax-axis/components/preparerWorkpaper/Section6694Summary.d.ts +9 -0
- package/lib/tax-axis/components/preparerWorkpaper/Section6694Summary.js +36 -0
- package/lib/tax-axis/components/preparerWorkpaper/SourceDocumentsAccordion.d.ts +9 -0
- package/lib/tax-axis/components/preparerWorkpaper/SourceDocumentsAccordion.js +20 -0
- package/lib/tax-axis/components/preparerWorkpaper/StrategyWorkpaperCard.d.ts +14 -0
- package/lib/tax-axis/components/preparerWorkpaper/StrategyWorkpaperCard.js +53 -0
- package/lib/tax-axis/components/preparerWorkpaper/TaxAxisPreparerWorkpaper.d.ts +9 -0
- package/lib/tax-axis/components/preparerWorkpaper/TaxAxisPreparerWorkpaper.js +175 -0
- package/lib/tax-axis/components/presentationMode/TaxAxisPresentationMode.d.ts +7 -0
- package/lib/tax-axis/components/presentationMode/TaxAxisPresentationMode.js +245 -0
- package/lib/tax-axis/components/processing/ProcessingStages.d.ts +7 -0
- package/lib/tax-axis/components/processing/ProcessingStages.js +17 -0
- package/lib/tax-axis/components/processing/TaxAxisProcessing.d.ts +7 -0
- package/lib/tax-axis/components/processing/TaxAxisProcessing.js +105 -0
- package/lib/tax-axis/components/prospectReport/ProspectCover.d.ts +10 -0
- package/lib/tax-axis/components/prospectReport/ProspectCover.js +47 -0
- package/lib/tax-axis/components/prospectReport/ProspectDocuments.d.ts +9 -0
- package/lib/tax-axis/components/prospectReport/ProspectDocuments.js +31 -0
- package/lib/tax-axis/components/prospectReport/ProspectNextSteps.d.ts +13 -0
- package/lib/tax-axis/components/prospectReport/ProspectNextSteps.js +37 -0
- package/lib/tax-axis/components/prospectReport/ProspectPrintView.d.ts +26 -0
- package/lib/tax-axis/components/prospectReport/ProspectPrintView.js +185 -0
- package/lib/tax-axis/components/prospectReport/ProspectStrategyCard.d.ts +10 -0
- package/lib/tax-axis/components/prospectReport/ProspectStrategyCard.js +52 -0
- package/lib/tax-axis/components/prospectReport/SampleAnalysisPreview.d.ts +7 -0
- package/lib/tax-axis/components/prospectReport/SampleAnalysisPreview.js +120 -0
- package/lib/tax-axis/components/prospectReport/TaxAxisProspectReport.d.ts +9 -0
- package/lib/tax-axis/components/prospectReport/TaxAxisProspectReport.js +173 -0
- package/lib/tax-axis/components/prospectReport/TaxPositionGap.d.ts +15 -0
- package/lib/tax-axis/components/prospectReport/TaxPositionGap.js +45 -0
- package/lib/tax-axis/components/prospectReport/theme.d.ts +26 -0
- package/lib/tax-axis/components/prospectReport/theme.js +33 -0
- package/lib/tax-axis/components/shared/ReportToolbar.d.ts +12 -0
- package/lib/tax-axis/components/shared/ReportToolbar.js +81 -0
- package/lib/tax-axis/components/shared/SectionHeader.d.ts +8 -0
- package/lib/tax-axis/components/shared/SectionHeader.js +15 -0
- package/lib/tax-axis/components/shared/TaxAxisBadge.d.ts +12 -0
- package/lib/tax-axis/components/shared/TaxAxisBadge.js +34 -0
- package/lib/tax-axis/components/shared/TaxAxisButton.d.ts +12 -0
- package/lib/tax-axis/components/shared/TaxAxisButton.js +17 -0
- package/lib/tax-axis/components/shared/TaxAxisCard.d.ts +9 -0
- package/lib/tax-axis/components/shared/TaxAxisCard.js +13 -0
- package/lib/tax-axis/index.d.ts +25 -0
- package/lib/tax-axis/index.js +51 -0
- package/lib/tax-axis/lib/compute/index.d.ts +8 -0
- package/lib/tax-axis/lib/compute/index.js +163 -0
- package/lib/tax-axis/lib/data/documents.d.ts +3 -0
- package/lib/tax-axis/lib/data/documents.js +33 -0
- package/lib/tax-axis/lib/data/extractedData.d.ts +2 -0
- package/lib/tax-axis/lib/data/extractedData.js +47 -0
- package/lib/tax-axis/lib/data/footnoteData.d.ts +2 -0
- package/lib/tax-axis/lib/data/footnoteData.js +48 -0
- package/lib/tax-axis/lib/data/index.d.ts +11 -0
- package/lib/tax-axis/lib/data/index.js +31 -0
- package/lib/tax-axis/lib/data/nextSteps.d.ts +2 -0
- package/lib/tax-axis/lib/data/nextSteps.js +35 -0
- package/lib/tax-axis/lib/data/sidebarLookup.d.ts +2 -0
- package/lib/tax-axis/lib/data/sidebarLookup.js +90 -0
- package/lib/tax-axis/lib/data/sourceDescriptions.d.ts +1 -0
- package/lib/tax-axis/lib/data/sourceDescriptions.js +32 -0
- package/lib/tax-axis/lib/data/states.d.ts +6 -0
- package/lib/tax-axis/lib/data/states.js +25 -0
- package/lib/tax-axis/lib/data/strategies.d.ts +8 -0
- package/lib/tax-axis/lib/data/strategies.js +166 -0
- package/lib/tax-axis/lib/data/strategyNarrative.d.ts +3 -0
- package/lib/tax-axis/lib/data/strategyNarrative.js +170 -0
- package/lib/tax-axis/lib/data/strategyProspect.d.ts +2 -0
- package/lib/tax-axis/lib/data/strategyProspect.js +66 -0
- package/lib/tax-axis/lib/data/workpaperInteractions.d.ts +1 -0
- package/lib/tax-axis/lib/data/workpaperInteractions.js +15 -0
- package/lib/tax-axis/lib/types/index.d.ts +183 -0
- package/lib/tax-axis/lib/types/index.js +7 -0
- package/package.json +68 -67
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
export type UserContext = "expert" | "cpa-firm-client";
|
|
2
|
+
export type EntityType = "S-Corporation" | "C-Corporation" | "LLC" | "Partnership" | "Sole Proprietor";
|
|
3
|
+
export type StrategyEntityBucket = "S-Corporation" | "C-Corporation" | "Partnership/LLC" | "Sole Proprietorship";
|
|
4
|
+
export type FilingStatus = "Single" | "MFJ" | "MFS" | "Head of Household" | "QSS";
|
|
5
|
+
export type PriorityTier = "HIGH" | "QUICK WIN" | "MEDIUM" | "LOW" | "NOT RECOMMENDED";
|
|
6
|
+
export type PositionStrength = "SUBSTANTIAL_AUTHORITY" | "REASONABLE_BASIS" | "NEEDS_DISCLOSURE";
|
|
7
|
+
export type ConfidenceTier = "1-YR-DATA" | "2-YR-DATA" | "4-YR-DATA" | "CONFIRMED";
|
|
8
|
+
export type StrategyCategory = "entity" | "depreciation" | "income" | "credits" | "retirement" | "benefits" | "deductions" | "investment" | "accounting" | "obbba_new" | "state";
|
|
9
|
+
export interface StrategySource {
|
|
10
|
+
doc: string;
|
|
11
|
+
line: string;
|
|
12
|
+
value: string;
|
|
13
|
+
field: string;
|
|
14
|
+
}
|
|
15
|
+
export interface StrategyTraceStep {
|
|
16
|
+
n: number;
|
|
17
|
+
step: string;
|
|
18
|
+
formula: string;
|
|
19
|
+
result: string;
|
|
20
|
+
src: string;
|
|
21
|
+
}
|
|
22
|
+
export interface Strategy {
|
|
23
|
+
rank: number;
|
|
24
|
+
code: string;
|
|
25
|
+
name: string;
|
|
26
|
+
cat: StrategyCategory;
|
|
27
|
+
priority: PriorityTier;
|
|
28
|
+
score: number;
|
|
29
|
+
entities: StrategyEntityBucket[];
|
|
30
|
+
lo: number;
|
|
31
|
+
hi: number;
|
|
32
|
+
timeline: string;
|
|
33
|
+
needsPTE?: boolean;
|
|
34
|
+
onlyIndustry?: string[];
|
|
35
|
+
excludeIndustry?: string[];
|
|
36
|
+
preferIndustry?: string[];
|
|
37
|
+
minEmployees?: number;
|
|
38
|
+
needsOwnerComp?: boolean;
|
|
39
|
+
clientBrief?: string;
|
|
40
|
+
action?: string;
|
|
41
|
+
authority?: string;
|
|
42
|
+
forms?: string;
|
|
43
|
+
warning?: string | null;
|
|
44
|
+
abstract?: string;
|
|
45
|
+
sources?: StrategySource[];
|
|
46
|
+
trace?: StrategyTraceStep[];
|
|
47
|
+
cost?: string;
|
|
48
|
+
timelineBucket?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ClientProfile {
|
|
51
|
+
bizName: string;
|
|
52
|
+
cpaName: string;
|
|
53
|
+
entity: EntityType;
|
|
54
|
+
industry: string;
|
|
55
|
+
revenue: string;
|
|
56
|
+
netIncome: string;
|
|
57
|
+
ownerComp: string;
|
|
58
|
+
employees: string;
|
|
59
|
+
year: string;
|
|
60
|
+
states: string[];
|
|
61
|
+
filingStatus: FilingStatus;
|
|
62
|
+
age: string;
|
|
63
|
+
sstb: "Yes" | "No" | "Unsure";
|
|
64
|
+
ownsRealEstate: "No" | "Yes — Commercial" | "Yes — Residential" | "Yes — Both";
|
|
65
|
+
itemizesDeductions: "Yes" | "No" | "Unsure";
|
|
66
|
+
singleOwner: "Yes" | "No";
|
|
67
|
+
equipmentPurchased: string;
|
|
68
|
+
realEstateValue: string;
|
|
69
|
+
capitalGains: string;
|
|
70
|
+
federalRate: string;
|
|
71
|
+
stateRate: string;
|
|
72
|
+
taxDataYears: string;
|
|
73
|
+
riskTolerance: string;
|
|
74
|
+
overtimePremium: string;
|
|
75
|
+
tipIncomePct: string;
|
|
76
|
+
retirementContributions: string;
|
|
77
|
+
hdhpEnrolled: "No" | "Yes";
|
|
78
|
+
hsaContributions: string;
|
|
79
|
+
wotcHires: string;
|
|
80
|
+
familyEmployed: "No" | "Yes";
|
|
81
|
+
period?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface ConfidenceInterval {
|
|
84
|
+
low: number;
|
|
85
|
+
high: number;
|
|
86
|
+
basis: string;
|
|
87
|
+
}
|
|
88
|
+
export interface CalculationTrace {
|
|
89
|
+
strategy_id: string;
|
|
90
|
+
branch_executed: string | null;
|
|
91
|
+
formula: string;
|
|
92
|
+
inputs: Record<string, string | number | boolean>;
|
|
93
|
+
result_gross: number;
|
|
94
|
+
confidence_interval: ConfidenceInterval;
|
|
95
|
+
position_strength: PositionStrength;
|
|
96
|
+
irs_cite: string;
|
|
97
|
+
data_quality_flag: string | null;
|
|
98
|
+
forms_required: string[];
|
|
99
|
+
deadline_flag: string | null;
|
|
100
|
+
amt_flag: boolean;
|
|
101
|
+
}
|
|
102
|
+
export interface StrategyAnalysis {
|
|
103
|
+
strategy_id: string;
|
|
104
|
+
strategy_name: string;
|
|
105
|
+
priority_tier: PriorityTier;
|
|
106
|
+
weighted_score: number;
|
|
107
|
+
scores: {
|
|
108
|
+
financial_impact: number;
|
|
109
|
+
applicability: number;
|
|
110
|
+
complexity: number;
|
|
111
|
+
risk: number;
|
|
112
|
+
cash_flow: number;
|
|
113
|
+
};
|
|
114
|
+
quick_win: boolean;
|
|
115
|
+
calculation_trace: CalculationTrace;
|
|
116
|
+
engagement_recommendation: string;
|
|
117
|
+
risk_disclosure: string | null;
|
|
118
|
+
}
|
|
119
|
+
export interface ExtractionField {
|
|
120
|
+
field: string;
|
|
121
|
+
line: string;
|
|
122
|
+
value: string;
|
|
123
|
+
status: "pass" | "review";
|
|
124
|
+
strategies: string[];
|
|
125
|
+
}
|
|
126
|
+
export interface ExtractionDocument {
|
|
127
|
+
docId: string;
|
|
128
|
+
docName: string;
|
|
129
|
+
code: string;
|
|
130
|
+
flagCount: number;
|
|
131
|
+
fields: ExtractionField[];
|
|
132
|
+
}
|
|
133
|
+
export interface StrategyNarrative {
|
|
134
|
+
whyMatters: (profile: ClientProfile) => string;
|
|
135
|
+
breakdown: (profile: ClientProfile, computed?: {
|
|
136
|
+
lo: number;
|
|
137
|
+
hi: number;
|
|
138
|
+
}) => string;
|
|
139
|
+
whySpecialist: string;
|
|
140
|
+
nextSteps: string;
|
|
141
|
+
}
|
|
142
|
+
export interface NarrativeFallback {
|
|
143
|
+
whyMatters: (s: Strategy) => string;
|
|
144
|
+
breakdown: (s: Strategy, computed?: {
|
|
145
|
+
lo: number;
|
|
146
|
+
hi: number;
|
|
147
|
+
}) => string;
|
|
148
|
+
whySpecialist: (s: Strategy) => string;
|
|
149
|
+
nextSteps: (s: Strategy, ns?: string) => string;
|
|
150
|
+
}
|
|
151
|
+
export interface ProspectStrategyMeta {
|
|
152
|
+
docsNeeded: string[];
|
|
153
|
+
typicalRange: string;
|
|
154
|
+
prospectNote: string;
|
|
155
|
+
}
|
|
156
|
+
export interface DocSpec {
|
|
157
|
+
id: string;
|
|
158
|
+
name: string;
|
|
159
|
+
accept: string[];
|
|
160
|
+
strategies: string[];
|
|
161
|
+
required: boolean | "optional" | "conditional";
|
|
162
|
+
help: string;
|
|
163
|
+
}
|
|
164
|
+
export interface SidebarLookupEntry {
|
|
165
|
+
title: string;
|
|
166
|
+
body: string;
|
|
167
|
+
}
|
|
168
|
+
export type SidebarLookup = Record<string, SidebarLookupEntry>;
|
|
169
|
+
export interface FootnoteEntry {
|
|
170
|
+
match: string;
|
|
171
|
+
note: string;
|
|
172
|
+
}
|
|
173
|
+
export type FootnoteData = Record<number, FootnoteEntry[]>;
|
|
174
|
+
export interface ComputedSavings {
|
|
175
|
+
lo: number;
|
|
176
|
+
hi: number;
|
|
177
|
+
sources?: StrategySource[];
|
|
178
|
+
trace?: StrategyTraceStep[];
|
|
179
|
+
}
|
|
180
|
+
export type ComputedMap = Map<number, ComputedSavings>;
|
|
181
|
+
export interface TaxAxisScreenProps {
|
|
182
|
+
userContext?: UserContext;
|
|
183
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
3
|
+
// TaxAxis — Canonical TypeScript interfaces
|
|
4
|
+
// Source of truth for data shapes across all TaxAxis screens.
|
|
5
|
+
// Mirrors the V9 prompt output schema where applicable.
|
|
6
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@paro.io/expert-shared-components",
|
|
3
|
-
"version": "1.14.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "tsc",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"test
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"@
|
|
27
|
-
"@fortawesome/
|
|
28
|
-
"@fortawesome/
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@material-ui/
|
|
32
|
-
"@material-ui/
|
|
33
|
-
"@material-ui/
|
|
34
|
-
"@
|
|
35
|
-
"@paro.io/base-
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"react
|
|
41
|
-
"react-
|
|
42
|
-
"react-
|
|
43
|
-
"react-
|
|
44
|
-
"react-
|
|
45
|
-
"react-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"@types/
|
|
53
|
-
"@types/react
|
|
54
|
-
"@types/react-
|
|
55
|
-
"@types/react-
|
|
56
|
-
"@types/
|
|
57
|
-
"@types/
|
|
58
|
-
"@types/
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@paro.io/expert-shared-components",
|
|
3
|
+
"version": "1.14.46",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"build:watch": "tsc --watch",
|
|
9
|
+
"prepare": "yarn build",
|
|
10
|
+
"test": "yarn test:build",
|
|
11
|
+
"test:build": "yarn build",
|
|
12
|
+
"clean": "yarn -rf lib",
|
|
13
|
+
"predeploy": "tsc && cp package.json README.md ./lib",
|
|
14
|
+
"link-local": "yarn link && cd node_modules/react && yarn link && cd ../react-dom && yarn link",
|
|
15
|
+
"unlink-local": "yarn unlink && cd node_modules/react && yarn unlink && cd ../react-dom && yarn unlink"
|
|
16
|
+
},
|
|
17
|
+
"repository": "https://github.com/paroadmin/expert-shared-components.git",
|
|
18
|
+
"keywords": [
|
|
19
|
+
"react",
|
|
20
|
+
"components",
|
|
21
|
+
"shared"
|
|
22
|
+
],
|
|
23
|
+
"author": "apande@paro.io",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@date-io/dayjs": "1.x",
|
|
27
|
+
"@fortawesome/fontawesome-svg-core": "^6.6.0",
|
|
28
|
+
"@fortawesome/free-solid-svg-icons": "^6.6.0",
|
|
29
|
+
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
30
|
+
"@hookform/resolvers": "3.3.4",
|
|
31
|
+
"@material-ui/core": "^4.11.0",
|
|
32
|
+
"@material-ui/icons": "^4.11.3",
|
|
33
|
+
"@material-ui/lab": "^4.0.0-alpha.61",
|
|
34
|
+
"@material-ui/pickers": "^3.3.11",
|
|
35
|
+
"@paro.io/base-icons": "^1.0.4",
|
|
36
|
+
"@paro.io/base-ui": "^1.8.3",
|
|
37
|
+
"@types/react-input-mask": "^3.0.5",
|
|
38
|
+
"dayjs": "^1.10.7",
|
|
39
|
+
"lodash": "^4.17.21",
|
|
40
|
+
"react": "^18.2.0",
|
|
41
|
+
"react-copy-to-clipboard": "^5.0.4",
|
|
42
|
+
"react-datepicker": "^4.6.0",
|
|
43
|
+
"react-dom": "^17.0.2",
|
|
44
|
+
"react-hook-form": "7.51.1",
|
|
45
|
+
"react-hot-toast": "^2.4.1",
|
|
46
|
+
"react-input-mask": "^3.0.0-alpha.2",
|
|
47
|
+
"styled-components": "^5.3.3",
|
|
48
|
+
"uuid": "8.3.2",
|
|
49
|
+
"yup": "^0.32.11"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/lodash": "^4.14.170",
|
|
53
|
+
"@types/react": "18.3.12",
|
|
54
|
+
"@types/react-copy-to-clipboard": "^5.0.2",
|
|
55
|
+
"@types/react-datepicker": "^4.19.6",
|
|
56
|
+
"@types/react-dom": "^18.2.22",
|
|
57
|
+
"@types/styled-components": "^5.1.22",
|
|
58
|
+
"@types/uuid": "^10.0.0",
|
|
59
|
+
"@types/yup": "^0.29.13",
|
|
60
|
+
"typescript": "^5.3.3"
|
|
61
|
+
},
|
|
62
|
+
"files": [
|
|
63
|
+
"lib/**/*"
|
|
64
|
+
],
|
|
65
|
+
"directories": {
|
|
66
|
+
"lib": "lib"
|
|
67
|
+
}
|
|
68
|
+
}
|