@magmonium/one 0.4.60 → 0.4.61
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/package.json
CHANGED
package/types/magmonium-one.d.ts
CHANGED
|
@@ -6200,6 +6200,8 @@ type Plotted = {
|
|
|
6200
6200
|
* The x axis is time, not position: series sampled on different days still
|
|
6201
6201
|
* line up, and a gap in the data is a gap on the axis. Lines are straight
|
|
6202
6202
|
* between points — a smoothed curve draws highs and lows that never happened.
|
|
6203
|
+
* The `minimal` variant alone curves them, and only monotonically
|
|
6204
|
+
* (`smoothPath`), which passes through every point without swinging past one.
|
|
6203
6205
|
*
|
|
6204
6206
|
* What it draws is a window of the data: a preset (`1m`, `ytd`, `max`, …)
|
|
6205
6207
|
* measured back from the last point, or a window set by hand. `range` and
|
|
@@ -6251,6 +6253,7 @@ export declare class SectionChartComponent extends ConfigComponent<SectionChartC
|
|
|
6251
6253
|
/** Every series that registered, in arrival order, each with its slot. */
|
|
6252
6254
|
private readonly members;
|
|
6253
6255
|
private readonly locale;
|
|
6256
|
+
private readonly uid;
|
|
6254
6257
|
protected readonly tableId: string;
|
|
6255
6258
|
protected readonly width: import("@angular/core").WritableSignal<number>;
|
|
6256
6259
|
private readonly dateFormat;
|
|
@@ -6320,6 +6323,9 @@ export declare class SectionChartComponent extends ConfigComponent<SectionChartC
|
|
|
6320
6323
|
color: string;
|
|
6321
6324
|
endX: number;
|
|
6322
6325
|
endY: number;
|
|
6326
|
+
area: string | null;
|
|
6327
|
+
fillId: string;
|
|
6328
|
+
fill: string;
|
|
6323
6329
|
}[]>;
|
|
6324
6330
|
protected readonly yTicks: import("@angular/core").Signal<{
|
|
6325
6331
|
y: number;
|
|
@@ -6679,6 +6685,13 @@ declare const centreSpan: (span: readonly [number, number], t: number, bounds: r
|
|
|
6679
6685
|
declare const resizeSpan: (span: readonly [number, number], edge: "start" | "end", t: number, bounds: readonly [number, number], minWidth: number) => [number, number];
|
|
6680
6686
|
/** An SVG path through the points, straight segments — a curve invents highs. */
|
|
6681
6687
|
declare const linePath: (t: readonly number[], y: readonly number[], sx: (t: number) => number, sy: (v: number) => number) => string;
|
|
6688
|
+
/**
|
|
6689
|
+
* An SVG path through the points as a monotone cubic (d3's `monotoneX`): each
|
|
6690
|
+
* tangent is held to the shallower of its two neighbouring slopes and flattens
|
|
6691
|
+
* at a turn, so the curve never swings past a point — smooth, without the
|
|
6692
|
+
* highs and lows an ordinary spline invents. Two points or fewer stay straight.
|
|
6693
|
+
*/
|
|
6694
|
+
declare const smoothPath: (t: readonly number[], y: readonly number[], sx: (t: number) => number, sy: (v: number) => number) => string;
|
|
6682
6695
|
/**
|
|
6683
6696
|
* The points a SectionChart draws on the Canvas when its series hold no data:
|
|
6684
6697
|
* a year of weekly closes per series, deterministic so a screenshot never
|
|
@@ -17200,7 +17213,7 @@ export declare class AuthActivityPageComponent {
|
|
|
17200
17213
|
showTerms: import("@angular/core").Signal<boolean | undefined>;
|
|
17201
17214
|
signUp: import("@angular/core").Signal<boolean | undefined>;
|
|
17202
17215
|
tokens: import("@angular/core").Signal<undefined> | import("@ngrx/signals").DeepSignal<import("@magmonium/one").Tokens>;
|
|
17203
|
-
user: import("@
|
|
17216
|
+
user: import("@angular/core").Signal<undefined> | import("@ngrx/signals").DeepSignal<import("@magmonium/one").AuthUser>;
|
|
17204
17217
|
wrongPassword: import("@angular/core").Signal<boolean | undefined>;
|
|
17205
17218
|
deployToken: import("@angular/core").Signal<string | undefined>;
|
|
17206
17219
|
hostUserTabs: Record<string, import("@angular/core").Type<unknown>>;
|
|
@@ -17380,7 +17393,7 @@ export declare const AuthStore: Type<{
|
|
|
17380
17393
|
showTerms: import("@angular/core").Signal<boolean | undefined>;
|
|
17381
17394
|
signUp: import("@angular/core").Signal<boolean | undefined>;
|
|
17382
17395
|
tokens: import("@angular/core").Signal<undefined> | import("@ngrx/signals").DeepSignal<Tokens>;
|
|
17383
|
-
user: import("@
|
|
17396
|
+
user: import("@angular/core").Signal<undefined> | import("@ngrx/signals").DeepSignal<import("@magmonium/one").AuthUser>;
|
|
17384
17397
|
wrongPassword: import("@angular/core").Signal<boolean | undefined>;
|
|
17385
17398
|
deployToken: import("@angular/core").Signal<string | undefined>;
|
|
17386
17399
|
hostUserTabs: Record<string, Type<unknown>>;
|