@rivet-health/design-system
Advanced tools
Comparing version 10.1.2 to 10.2.0
@@ -34,7 +34,10 @@ import { ElementRef, EventEmitter } from '@angular/core'; | ||
viewBox: string; | ||
ranges: { | ||
min: number; | ||
max: number; | ||
}[]; | ||
data: Chart.Data; | ||
data: { | ||
ys: { | ||
hidden: boolean | undefined; | ||
label: string; | ||
values: number[]; | ||
}[]; | ||
x: number[]; | ||
}; | ||
} | null>; | ||
@@ -46,10 +49,6 @@ empty$: import("rxjs").Observable<boolean>; | ||
chartClicked: EventEmitter<{ | ||
minXIndex: number; | ||
maxXIndex: number; | ||
xIndex: number; | ||
yIndex: number; | ||
}>; | ||
click(ranges: { | ||
min: number; | ||
max: number; | ||
}[]): void; | ||
click(): void; | ||
varColor(colors: string[], index: number): string; | ||
@@ -56,0 +55,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>; |
@@ -1,2 +0,5 @@ | ||
import { Interval } from '../intervals'; | ||
import { NumberPipe } from '../../format/pipes/number.pipe'; | ||
import { PercentagePipe } from '../../format/pipes/percentage.pipe'; | ||
import { SmallCurrencyPipe } from '../../format/pipes/small-currency.pipe'; | ||
import { CurrencyPipe } from '@angular/common'; | ||
export declare namespace Chart { | ||
@@ -26,6 +29,2 @@ export const defaultColorPalette: string[]; | ||
zeroStateMessage: string; | ||
timeSeries: { | ||
interval: Interval; | ||
reducer: 'sum' | 'avg'; | ||
}; | ||
valueType: ValueType; | ||
@@ -84,11 +83,14 @@ }; | ||
}; | ||
export function binTimeseriesData(data: Data, interval: Interval, reducer: 'sum' | 'avg'): { | ||
ranges: { | ||
min: number; | ||
max: number; | ||
}[]; | ||
data: Data; | ||
type ValueType = 'count' | 'currency' | 'percentage'; | ||
export function getPipes(valueType: ValueType): { | ||
pipe: NumberPipe; | ||
fullPipe: NumberPipe; | ||
} | { | ||
pipe: SmallCurrencyPipe; | ||
fullPipe: CurrencyPipe; | ||
} | { | ||
pipe: PercentagePipe; | ||
fullPipe: PercentagePipe; | ||
}; | ||
type ValueType = 'count' | 'currency' | 'percentage'; | ||
export {}; | ||
} |
{ | ||
"name": "@rivet-health/design-system", | ||
"version": "10.1.2", | ||
"version": "10.2.0", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^14.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
3374946
21880