relly-ui 1.0.0 → 1.0.2
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/dist/index.d.ts +7 -0
- package/dist/relly-ui.es.js +552 -495
- package/dist/relly-ui.es.js.map +1 -1
- package/dist/relly-ui.iife.js +12 -12
- package/dist/relly-ui.iife.js.map +1 -1
- package/dist/relly-ui.umd.js +12 -12
- package/dist/relly-ui.umd.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -321,6 +321,7 @@ export declare class Graph extends BaseComponent<number | Record<string, number>
|
|
|
321
321
|
private updateLegend;
|
|
322
322
|
push(val: number | Record<string, number>): this;
|
|
323
323
|
pushSeries(id: string, val: number): this;
|
|
324
|
+
getLatestValue(): number;
|
|
324
325
|
private updateStats;
|
|
325
326
|
update(): this;
|
|
326
327
|
private draw;
|
|
@@ -570,6 +571,8 @@ declare class RellyUI extends ContainerHelper {
|
|
|
570
571
|
private sparklineCtx?;
|
|
571
572
|
private sparklineData;
|
|
572
573
|
private sparklineAnimId?;
|
|
574
|
+
private lastSparklineTime;
|
|
575
|
+
private sparklineInterval;
|
|
573
576
|
constructor(options?: RellyUIOptions);
|
|
574
577
|
private mount;
|
|
575
578
|
addTab(label: string): Tab;
|
|
@@ -593,9 +596,12 @@ declare class RellyUI extends ContainerHelper {
|
|
|
593
596
|
setSoundVolume(volume: number): this;
|
|
594
597
|
getSoundVolume(): number;
|
|
595
598
|
private initSparkline;
|
|
599
|
+
private findActiveGraphValue;
|
|
600
|
+
private updateSparklinePoint;
|
|
596
601
|
private drawSparkline;
|
|
597
602
|
clampToViewport(): this;
|
|
598
603
|
toggleCollapse(): this;
|
|
604
|
+
setHotkey(hotkey: string | null): this;
|
|
599
605
|
setCollapsed(collapsed: boolean): this;
|
|
600
606
|
queueAutoSave(): void;
|
|
601
607
|
saveSession(key?: string): void;
|
|
@@ -935,6 +941,7 @@ export declare class TabsManager {
|
|
|
935
941
|
addTab(label: string): Tab;
|
|
936
942
|
switchTab(tab: Tab, playSound?: boolean): void;
|
|
937
943
|
getActiveTab(): Tab | null;
|
|
944
|
+
getTabs(): Tab[];
|
|
938
945
|
destroy(): void;
|
|
939
946
|
}
|
|
940
947
|
|