@paro.io/expert-shared-components 1.14.67 → 1.14.69
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/tax-axis/components/intake/ClientParametersSection.js +6 -9
- package/lib/tax-axis/components/intake/StrategyRadar.js +25 -4
- package/lib/tax-axis/components/intake/intakeSchema.d.ts +3 -0
- package/lib/tax-axis/components/intake/intakeSchema.js +2 -0
- 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/compute/index.js +6 -0
- package/lib/tax-axis/lib/data/strategies.js +45 -47
- package/lib/tax-axis/lib/documentFieldCatalog.d.ts +12 -7
- package/lib/tax-axis/lib/documentFieldCatalog.js +388 -786
- package/lib/tax-axis/lib/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
label
|
|
1
|
+
export interface CatalogFieldDef {
|
|
2
|
+
label?: string;
|
|
3
3
|
sourceRef?: string;
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
5
|
+
export interface CatalogSection {
|
|
6
6
|
head: string;
|
|
7
7
|
fields: string[];
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
10
|
-
sections:
|
|
11
|
-
fields: Record<string,
|
|
9
|
+
export interface CatalogEntry {
|
|
10
|
+
sections: CatalogSection[];
|
|
11
|
+
fields: Record<string, CatalogFieldDef>;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Keyed by documentType string returned by the backend in parsedData.documentType.
|
|
15
|
+
* When DocumentReviewModal receives parsedData, it looks up the documentType here
|
|
16
|
+
* to get section groupings and field labels. Falls back to flat rendering if no entry.
|
|
17
|
+
*/
|
|
18
|
+
export declare const DOCUMENT_FIELD_CATALOG: Record<string, CatalogEntry>;
|