@naniteninja/profile-comparison-lib 1.0.10 → 1.0.11
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/index.d.ts
CHANGED
|
@@ -206,6 +206,7 @@ interface IComparisonPayload {
|
|
|
206
206
|
alignedPerson1Interests: string[];
|
|
207
207
|
alignedPerson2Interests: string[];
|
|
208
208
|
centerItem: string[];
|
|
209
|
+
similarities: number[];
|
|
209
210
|
matrixData: IMatrixData | null;
|
|
210
211
|
rawLLMOutput?: string;
|
|
211
212
|
debug?: any;
|
|
@@ -487,6 +488,7 @@ declare class ProfileComparisonLibComponent implements OnInit, AfterViewInit, On
|
|
|
487
488
|
rightProfileClicked: boolean;
|
|
488
489
|
leftShapeAnimating: boolean;
|
|
489
490
|
rightShapeAnimating: boolean;
|
|
491
|
+
similarities: number[];
|
|
490
492
|
get viewProfileLeftX(): number;
|
|
491
493
|
get viewProfileRightX(): number;
|
|
492
494
|
onResize(): void;
|
|
@@ -509,6 +511,8 @@ declare class ProfileComparisonLibComponent implements OnInit, AfterViewInit, On
|
|
|
509
511
|
backendConfigured: boolean;
|
|
510
512
|
/** The resolved backend URL computed from inputs and legacy token. */
|
|
511
513
|
private resolvedBackendUrl;
|
|
514
|
+
/** Flag to prevent click animations after a drag. */
|
|
515
|
+
private wasDragging;
|
|
512
516
|
compressionConfig: IImageCompressionConfig;
|
|
513
517
|
private computeSub?;
|
|
514
518
|
/** Incremented on each fetchComparison(); used to ignore stale success/error from an older request. */
|
|
@@ -551,6 +555,13 @@ declare class ProfileComparisonLibComponent implements OnInit, AfterViewInit, On
|
|
|
551
555
|
*/
|
|
552
556
|
private regroupByCenterLabel;
|
|
553
557
|
isPlaceholder(val: unknown): boolean;
|
|
558
|
+
/**
|
|
559
|
+
* Returns the type of dash based on similarity score:
|
|
560
|
+
* - 'high': Very similar (Short single dash, 0.5 opacity)
|
|
561
|
+
* - 'medium': Almost similar (Standard 1 dash)
|
|
562
|
+
* - 'low': Very dissimilar (4 small dashes)
|
|
563
|
+
*/
|
|
564
|
+
getDashType(index: number): 'high' | 'medium' | 'low';
|
|
554
565
|
private fetchComparison;
|
|
555
566
|
private updateConfigProperties;
|
|
556
567
|
private buildConfigWithDefaults;
|