@magmonium/one 0.4.79 → 0.4.80
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/assets/i18n/af.json +4 -0
- package/assets/i18n/am.json +4 -0
- package/assets/i18n/ar.json +4 -0
- package/assets/i18n/as.json +4 -0
- package/assets/i18n/az.json +4 -0
- package/assets/i18n/ba.json +4 -0
- package/assets/i18n/be.json +4 -0
- package/assets/i18n/bg.json +4 -0
- package/assets/i18n/bn.json +4 -0
- package/assets/i18n/br.json +4 -0
- package/assets/i18n/brx.json +4 -0
- package/assets/i18n/bs.json +4 -0
- package/assets/i18n/ca.json +4 -0
- package/assets/i18n/ceb.json +4 -0
- package/assets/i18n/cnr.json +4 -0
- package/assets/i18n/co.json +4 -0
- package/assets/i18n/cs.json +4 -0
- package/assets/i18n/cy.json +4 -0
- package/assets/i18n/da.json +4 -0
- package/assets/i18n/de.json +4 -0
- package/assets/i18n/doi.json +4 -0
- package/assets/i18n/el.json +4 -0
- package/assets/i18n/en.json +44 -0
- package/assets/i18n/eo.json +4 -0
- package/assets/i18n/es.json +4 -0
- package/assets/i18n/et.json +4 -0
- package/assets/i18n/eu.json +4 -0
- package/assets/i18n/fa.json +4 -0
- package/assets/i18n/fi.json +4 -0
- package/assets/i18n/fr.json +4 -0
- package/assets/i18n/fy.json +4 -0
- package/assets/i18n/ga.json +4 -0
- package/assets/i18n/gd.json +4 -0
- package/assets/i18n/gl.json +4 -0
- package/assets/i18n/gu.json +4 -0
- package/assets/i18n/ha.json +4 -0
- package/assets/i18n/haw.json +4 -0
- package/assets/i18n/he.json +4 -0
- package/assets/i18n/hi.json +4 -0
- package/assets/i18n/hmn.json +4 -0
- package/assets/i18n/hr.json +4 -0
- package/assets/i18n/hu.json +4 -0
- package/assets/i18n/hy.json +4 -0
- package/assets/i18n/id.json +4 -0
- package/assets/i18n/ie.json +4 -0
- package/assets/i18n/ig.json +4 -0
- package/assets/i18n/ilo.json +4 -0
- package/assets/i18n/is.json +4 -0
- package/assets/i18n/it.json +4 -0
- package/assets/i18n/iw.json +4 -0
- package/assets/i18n/ja.json +4 -0
- package/assets/i18n/jw.json +4 -0
- package/assets/i18n/ka.json +4 -0
- package/assets/i18n/kk.json +4 -0
- package/assets/i18n/km.json +4 -0
- package/assets/i18n/kn.json +4 -0
- package/assets/i18n/ko.json +4 -0
- package/assets/i18n/kok.json +4 -0
- package/assets/i18n/ks.json +4 -0
- package/assets/i18n/ku.json +4 -0
- package/assets/i18n/ky.json +4 -0
- package/assets/i18n/la.json +4 -0
- package/assets/i18n/lb.json +4 -0
- package/assets/i18n/lo.json +4 -0
- package/assets/i18n/lt.json +4 -0
- package/assets/i18n/lv.json +4 -0
- package/assets/i18n/ma.json +4 -0
- package/assets/i18n/mai.json +4 -0
- package/assets/i18n/me.json +4 -0
- package/assets/i18n/mg.json +4 -0
- package/assets/i18n/mi.json +4 -0
- package/assets/i18n/mk.json +4 -0
- package/assets/i18n/ml.json +4 -0
- package/assets/i18n/mn.json +4 -0
- package/assets/i18n/mni.json +4 -0
- package/assets/i18n/mr.json +4 -0
- package/assets/i18n/ms.json +4 -0
- package/assets/i18n/mt.json +4 -0
- package/assets/i18n/my.json +4 -0
- package/assets/i18n/ne.json +4 -0
- package/assets/i18n/nl.json +4 -0
- package/assets/i18n/no.json +4 -0
- package/assets/i18n/ny.json +4 -0
- package/assets/i18n/or.json +4 -0
- package/assets/i18n/pa.json +4 -0
- package/assets/i18n/pl.json +4 -0
- package/assets/i18n/ps.json +4 -0
- package/assets/i18n/pt.json +4 -0
- package/assets/i18n/rm.json +4 -0
- package/assets/i18n/ro.json +4 -0
- package/assets/i18n/ru.json +4 -0
- package/assets/i18n/sa.json +4 -0
- package/assets/i18n/sat.json +4 -0
- package/assets/i18n/sc.json +4 -0
- package/assets/i18n/sd.json +4 -0
- package/assets/i18n/si.json +4 -0
- package/assets/i18n/sk.json +4 -0
- package/assets/i18n/sl.json +4 -0
- package/assets/i18n/sm.json +4 -0
- package/assets/i18n/sn.json +4 -0
- package/assets/i18n/so.json +4 -0
- package/assets/i18n/sq.json +4 -0
- package/assets/i18n/sr.json +4 -0
- package/assets/i18n/st.json +4 -0
- package/assets/i18n/su.json +4 -0
- package/assets/i18n/sv.json +4 -0
- package/assets/i18n/sw.json +4 -0
- package/assets/i18n/ta.json +4 -0
- package/assets/i18n/te.json +4 -0
- package/assets/i18n/tg.json +4 -0
- package/assets/i18n/th.json +4 -0
- package/assets/i18n/tl.json +4 -0
- package/assets/i18n/tr.json +4 -0
- package/assets/i18n/uk.json +4 -0
- package/assets/i18n/ur.json +4 -0
- package/assets/i18n/uz.json +4 -0
- package/assets/i18n/vi.json +4 -0
- package/assets/i18n/xh.json +4 -0
- package/assets/i18n/yi.json +4 -0
- package/assets/i18n/yo.json +4 -0
- package/assets/i18n/zh.json +4 -0
- package/assets/i18n/zu.json +4 -0
- package/fesm2022/magmonium-one.mjs +1020 -1
- package/fesm2022/magmonium-one.mjs.map +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +440 -1
package/package.json
CHANGED
package/types/magmonium-one.d.ts
CHANGED
|
@@ -12021,6 +12021,445 @@ export declare class ScoreSetComponent implements ScoreSetHost {
|
|
|
12021
12021
|
"scoreSelect": "scoreSelect";
|
|
12022
12022
|
}, ["items"], ["m-score-set-item"], true, never>;
|
|
12023
12023
|
}
|
|
12024
|
+
/** A level as a percent change from the current value: 110 vs 100 → +10. */
|
|
12025
|
+
export declare const gapPct: (level: number, value: number) => number;
|
|
12026
|
+
/** A gap as signed text, one decimal: +12.7%, −1.6%, 0.0%. */
|
|
12027
|
+
export declare const formatGap: (gap: number) => string;
|
|
12028
|
+
interface LadderScaleInput {
|
|
12029
|
+
/** The featured value — the current price. */
|
|
12030
|
+
value: number;
|
|
12031
|
+
/** Past-window levels and bounds; always on the scale. */
|
|
12032
|
+
levels: readonly number[];
|
|
12033
|
+
/** Forward estimates; on the scale only within `maxSpanPct` of `value`. */
|
|
12034
|
+
forward?: readonly number[];
|
|
12035
|
+
maxSpanPct: number;
|
|
12036
|
+
}
|
|
12037
|
+
interface LadderScale {
|
|
12038
|
+
/** Position on the axis, 0–100 (%). */
|
|
12039
|
+
pos: (v: number) => number;
|
|
12040
|
+
/** Whether a forward value sits on the scale rather than off its edge. */
|
|
12041
|
+
within: (v: number) => boolean;
|
|
12042
|
+
/** `pos` held to the axis, for a band that runs off it. */
|
|
12043
|
+
clamp: (v: number) => number;
|
|
12044
|
+
}
|
|
12045
|
+
/**
|
|
12046
|
+
* One linear price axis for a value, its levels and its forward estimates. A
|
|
12047
|
+
* forward value further than `maxSpanPct` from the value is left off the
|
|
12048
|
+
* domain, so one far forecast cannot squeeze every level together.
|
|
12049
|
+
*/
|
|
12050
|
+
export declare const ladderScale: ({ value, levels, forward, maxSpanPct }: LadderScaleInput) => LadderScale;
|
|
12051
|
+
interface LaneItem {
|
|
12052
|
+
key: string;
|
|
12053
|
+
/** Position along the axis, in px. */
|
|
12054
|
+
x: number;
|
|
12055
|
+
}
|
|
12056
|
+
interface LaneLabel {
|
|
12057
|
+
/** 0 = nearest the axis, 1 = below it. */
|
|
12058
|
+
lane: 0 | 1;
|
|
12059
|
+
/** Where the label is anchored — its first item's position. */
|
|
12060
|
+
x: number;
|
|
12061
|
+
/** Items sharing this label, left to right; more than one when merged. */
|
|
12062
|
+
keys: string[];
|
|
12063
|
+
}
|
|
12064
|
+
/**
|
|
12065
|
+
* Lays axis labels into two lanes by pixel collision: a label too close to
|
|
12066
|
+
* the last one on the first lane drops to the second; when both are taken it
|
|
12067
|
+
* joins the nearer neighbour as one merged label ("SMA 50 · 100").
|
|
12068
|
+
*/
|
|
12069
|
+
export declare const layoutLanes: (items: readonly LaneItem[], minGapPx: number) => LaneLabel[];
|
|
12070
|
+
/** `line` — one price axis. `list` — rows, highest first. `auto` — list under 360px. */
|
|
12071
|
+
type PriceLadderVariant = 'line' | 'list' | 'auto';
|
|
12072
|
+
/** `level` — a tick (SMA, EMA). `bound` — a range end-cap (52-week low/high).
|
|
12073
|
+
* `current` / `forecast` — the ladder's own price and forecast, given as a mark. */
|
|
12074
|
+
type PriceLadderMarkKind = 'level' | 'bound' | 'current' | 'forecast';
|
|
12075
|
+
/** How a host-computed signal reads. `gold` is a golden cross. */
|
|
12076
|
+
type PriceLadderTone = 'up' | 'down' | 'warn' | 'gold' | 'neutral';
|
|
12077
|
+
/**
|
|
12078
|
+
* Every predefined reading a ladder can take off its levels, in the order a
|
|
12079
|
+
* ladder lists them. Each is the TranslationAsset key of its chip, and
|
|
12080
|
+
* `${rule}-detail` explains it.
|
|
12081
|
+
*/
|
|
12082
|
+
export declare const PRICE_LADDER_RULES: readonly ["golden-cross", "death-cross", "death-cross-near", "golden-cross-near", "bullish-alignment", "bearish-alignment", "strongly-bullish", "bullish-support", "recovering", "bearish-pressure", "stretched", "far-below-sma-200", "averages-converging", "52w-breakout", "near-52w-high", "new-52w-low", "near-52w-low", "forecast-against-trend", "forecast-above-52w-high"];
|
|
12083
|
+
type PriceLadderRule = (typeof PRICE_LADDER_RULES)[number];
|
|
12084
|
+
/**
|
|
12085
|
+
* The levels the rules read, by the mark keys a ladder names them with
|
|
12086
|
+
* (`sma50`, `high52w`), plus the ladder's own `value` and `target`.
|
|
12087
|
+
*/
|
|
12088
|
+
interface LadderLevels {
|
|
12089
|
+
value: number;
|
|
12090
|
+
target?: number | null;
|
|
12091
|
+
sma10?: number | null;
|
|
12092
|
+
sma50?: number | null;
|
|
12093
|
+
sma100?: number | null;
|
|
12094
|
+
sma200?: number | null;
|
|
12095
|
+
low52w?: number | null;
|
|
12096
|
+
high52w?: number | null;
|
|
12097
|
+
}
|
|
12098
|
+
interface LadderSignal {
|
|
12099
|
+
rule: PriceLadderRule;
|
|
12100
|
+
tone: PriceLadderTone;
|
|
12101
|
+
/** Figures `${rule}-detail` is filled from. */
|
|
12102
|
+
params: Record<string, string>;
|
|
12103
|
+
}
|
|
12104
|
+
/**
|
|
12105
|
+
* Every predefined rule the levels match, read from one snapshot. A golden or
|
|
12106
|
+
* death cross here is the regime — SMA 50 above or below SMA 200 now — not the
|
|
12107
|
+
* crossing itself: a snapshot holds no date it happened on.
|
|
12108
|
+
*/
|
|
12109
|
+
export declare const ladderSignals: (levels: LadderLevels, symbol?: string) => LadderSignal[];
|
|
12110
|
+
/** Whether a name is one of the predefined rules — `custom` and '' are not. */
|
|
12111
|
+
export declare const isLadderRule: (name: unknown) => name is PriceLadderRule;
|
|
12112
|
+
interface LadderLevel {
|
|
12113
|
+
/** The mark key — what rules and a ladder's cross pair name it by. */
|
|
12114
|
+
key: string;
|
|
12115
|
+
/** TranslationAsset key a mark takes when it names none of its own. */
|
|
12116
|
+
label: string;
|
|
12117
|
+
kind: PriceLadderMarkKind;
|
|
12118
|
+
/** Tick weight 1–4: the longer the average, the heavier. */
|
|
12119
|
+
rank: number;
|
|
12120
|
+
}
|
|
12121
|
+
/**
|
|
12122
|
+
* Every level a PriceLadderMark may stand for. The key is fixed rather than
|
|
12123
|
+
* typed because the predefined rules read levels by it — `sma50` and
|
|
12124
|
+
* `high52w` — so a mark keyed anything else is one no rule can see.
|
|
12125
|
+
*/
|
|
12126
|
+
export declare const PRICE_LADDER_LEVELS: readonly LadderLevel[];
|
|
12127
|
+
/** The fixed level a key names, or undefined for a key off the list. */
|
|
12128
|
+
export declare const ladderLevelOf: (key: string) => LadderLevel | undefined;
|
|
12129
|
+
interface Mark {
|
|
12130
|
+
key: string;
|
|
12131
|
+
name: string;
|
|
12132
|
+
value: number;
|
|
12133
|
+
kind: PriceLadderMarkKind;
|
|
12134
|
+
rank: number;
|
|
12135
|
+
}
|
|
12136
|
+
/** One chip above the axis, fixed or drawn from a rule. */
|
|
12137
|
+
interface Chip {
|
|
12138
|
+
key: string;
|
|
12139
|
+
rule: PriceLadderRule | undefined;
|
|
12140
|
+
label: string;
|
|
12141
|
+
tone: PriceLadderTone;
|
|
12142
|
+
detail: string;
|
|
12143
|
+
}
|
|
12144
|
+
/**
|
|
12145
|
+
* A value, its reference levels and a forward estimate on one price axis
|
|
12146
|
+
* (research 0108): the current value as a dot, levels as ticks weighted by
|
|
12147
|
+
* `rank`, bounds as end-caps, the estimate as a dashed tick or a band. Shape,
|
|
12148
|
+
* not colour alone, says which is past and which is forward. Finance-agnostic:
|
|
12149
|
+
* what the levels mean arrives as `m-price-ladder-signal` tags from the host.
|
|
12150
|
+
*/
|
|
12151
|
+
export declare class PriceLadderComponent {
|
|
12152
|
+
/** The featured value — current price. `null` draws a dash. */
|
|
12153
|
+
readonly value: import("@angular/core").InputSignal<number | null | undefined>;
|
|
12154
|
+
/** TranslationAsset key for the featured value. */
|
|
12155
|
+
readonly valueLabel: import("@angular/core").InputSignal<string>;
|
|
12156
|
+
/** Forward point estimate. Missing → no forecast drawn, never the value. */
|
|
12157
|
+
readonly target: import("@angular/core").InputSignal<number | null | undefined>;
|
|
12158
|
+
readonly targetLow: import("@angular/core").InputSignal<number | null | undefined>;
|
|
12159
|
+
readonly targetHigh: import("@angular/core").InputSignal<number | null | undefined>;
|
|
12160
|
+
/** TranslationAsset key for the estimate; `target-price` only for analyst consensus. */
|
|
12161
|
+
readonly targetLabel: import("@angular/core").InputSignal<string>;
|
|
12162
|
+
/** Basis or horizon after the estimate's name, e.g. `1Y`. */
|
|
12163
|
+
readonly targetNote: import("@angular/core").InputSignal<string>;
|
|
12164
|
+
/** A target further than this % from the value is pinned to the axis edge. */
|
|
12165
|
+
readonly maxSpanPct: import("@angular/core").InputSignal<number>;
|
|
12166
|
+
readonly variant: import("@angular/core").InputSignal<PriceLadderVariant>;
|
|
12167
|
+
/** Prefix for every price. */
|
|
12168
|
+
readonly symbol: import("@angular/core").InputSignal<string>;
|
|
12169
|
+
/**
|
|
12170
|
+
* The predefined indicators to show (PRICE_LADDER_RULES), comma- or
|
|
12171
|
+
* space-separated, or `all`. Each draws as a chip while its rule holds; a
|
|
12172
|
+
* golden or death cross shown also brackets SMA 50 and SMA 200.
|
|
12173
|
+
*/
|
|
12174
|
+
readonly signals: import("@angular/core").InputSignal<string | readonly string[] | undefined>;
|
|
12175
|
+
/** Keys of two marks to bracket as a crossed pair, e.g. `sma50` and `sma200`. */
|
|
12176
|
+
readonly crossFrom: import("@angular/core").InputSignal<string | undefined>;
|
|
12177
|
+
readonly crossTo: import("@angular/core").InputSignal<string | undefined>;
|
|
12178
|
+
readonly crossTone: import("@angular/core").InputSignal<PriceLadderTone>;
|
|
12179
|
+
private readonly markTags;
|
|
12180
|
+
private readonly signalTags;
|
|
12181
|
+
private readonly translateService;
|
|
12182
|
+
private readonly width;
|
|
12183
|
+
constructor();
|
|
12184
|
+
private readonly t;
|
|
12185
|
+
readonly money: (v: number) => string;
|
|
12186
|
+
private readonly anchor;
|
|
12187
|
+
protected readonly current: import("@angular/core").Signal<number | null>;
|
|
12188
|
+
/** The forecast point: a `forecast` mark, else the `target` input. */
|
|
12189
|
+
private readonly targetPoint;
|
|
12190
|
+
protected readonly shownAs: import("@angular/core").Signal<"line" | "list">;
|
|
12191
|
+
/** Every drawable mark, the `current` and `forecast` stand-ins included. */
|
|
12192
|
+
private readonly everyMark;
|
|
12193
|
+
/** The reference levels drawn as ticks and labels. */
|
|
12194
|
+
protected readonly marks: import("@angular/core").Signal<Mark[]>;
|
|
12195
|
+
/** Every predefined rule the drawn levels match, by rule. */
|
|
12196
|
+
private readonly matched;
|
|
12197
|
+
/** The indicators picked by `signals`: every rule for `all`. */
|
|
12198
|
+
private readonly picked;
|
|
12199
|
+
/**
|
|
12200
|
+
* The chips to draw: a fixed signal as written; a rule signal only while
|
|
12201
|
+
* its rule holds, in the rule's words and tone unless the tag names its own;
|
|
12202
|
+
* then every picked indicator that holds and no tag already shows.
|
|
12203
|
+
*/
|
|
12204
|
+
protected readonly chips: import("@angular/core").Signal<Chip[]>;
|
|
12205
|
+
private readonly ruleChip;
|
|
12206
|
+
private readonly tagChips;
|
|
12207
|
+
/**
|
|
12208
|
+
* The pair bracketed as a cross: the one named by `crossFrom`/`crossTo`,
|
|
12209
|
+
* else SMA 50 and SMA 200 while a golden or death cross chip shows.
|
|
12210
|
+
*/
|
|
12211
|
+
protected readonly crossPair: import("@angular/core").Signal<{
|
|
12212
|
+
from: string;
|
|
12213
|
+
to: string;
|
|
12214
|
+
tone: PriceLadderTone;
|
|
12215
|
+
} | null>;
|
|
12216
|
+
/** The forward estimate: a point, a range, both, or null. */
|
|
12217
|
+
protected readonly forward: import("@angular/core").Signal<{
|
|
12218
|
+
point: number | null;
|
|
12219
|
+
range: {
|
|
12220
|
+
low: number;
|
|
12221
|
+
high: number;
|
|
12222
|
+
} | null;
|
|
12223
|
+
label: string;
|
|
12224
|
+
name: string;
|
|
12225
|
+
valueText: string;
|
|
12226
|
+
/** As a list row shows it: the point, else the range. */
|
|
12227
|
+
rowText: string;
|
|
12228
|
+
up: boolean;
|
|
12229
|
+
/** Where a list row sorts it. */
|
|
12230
|
+
shown: number;
|
|
12231
|
+
} | null>;
|
|
12232
|
+
/** Everything the `line` layout places, in % along the axis. */
|
|
12233
|
+
protected readonly line: import("@angular/core").Signal<{
|
|
12234
|
+
valuePos: number;
|
|
12235
|
+
ticks: {
|
|
12236
|
+
key: string;
|
|
12237
|
+
kind: PriceLadderMarkKind;
|
|
12238
|
+
rank: number;
|
|
12239
|
+
pos: number;
|
|
12240
|
+
}[];
|
|
12241
|
+
labels: {
|
|
12242
|
+
key: string;
|
|
12243
|
+
lane: 0 | 1;
|
|
12244
|
+
pos: number;
|
|
12245
|
+
bound: boolean;
|
|
12246
|
+
name: string;
|
|
12247
|
+
valueText: string;
|
|
12248
|
+
gapText: string;
|
|
12249
|
+
}[];
|
|
12250
|
+
lanes: number;
|
|
12251
|
+
target: {
|
|
12252
|
+
pos: number;
|
|
12253
|
+
offScale: boolean;
|
|
12254
|
+
point: boolean;
|
|
12255
|
+
} | null;
|
|
12256
|
+
connector: {
|
|
12257
|
+
left: number;
|
|
12258
|
+
width: number;
|
|
12259
|
+
} | null;
|
|
12260
|
+
band: {
|
|
12261
|
+
left: number;
|
|
12262
|
+
width: number;
|
|
12263
|
+
} | null;
|
|
12264
|
+
cross: {
|
|
12265
|
+
tone: PriceLadderTone;
|
|
12266
|
+
left: number;
|
|
12267
|
+
width: number;
|
|
12268
|
+
} | null;
|
|
12269
|
+
bounds: {
|
|
12270
|
+
left: number;
|
|
12271
|
+
width: number;
|
|
12272
|
+
} | null;
|
|
12273
|
+
} | null>;
|
|
12274
|
+
/** Every value as a row, highest first, for the `list` layout. */
|
|
12275
|
+
protected readonly rows: import("@angular/core").Signal<{
|
|
12276
|
+
gapText: string;
|
|
12277
|
+
up: boolean;
|
|
12278
|
+
pos: number;
|
|
12279
|
+
key: string;
|
|
12280
|
+
kind: string;
|
|
12281
|
+
name: string;
|
|
12282
|
+
value: number;
|
|
12283
|
+
valueText: string;
|
|
12284
|
+
}[]>;
|
|
12285
|
+
protected readonly summary: import("@angular/core").Signal<string>;
|
|
12286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceLadderComponent, never>;
|
|
12287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceLadderComponent, "m-price-ladder", never, {
|
|
12288
|
+
"value": {
|
|
12289
|
+
"alias": "value";
|
|
12290
|
+
"required": false;
|
|
12291
|
+
"isSignal": true;
|
|
12292
|
+
};
|
|
12293
|
+
"valueLabel": {
|
|
12294
|
+
"alias": "valueLabel";
|
|
12295
|
+
"required": false;
|
|
12296
|
+
"isSignal": true;
|
|
12297
|
+
};
|
|
12298
|
+
"target": {
|
|
12299
|
+
"alias": "target";
|
|
12300
|
+
"required": false;
|
|
12301
|
+
"isSignal": true;
|
|
12302
|
+
};
|
|
12303
|
+
"targetLow": {
|
|
12304
|
+
"alias": "targetLow";
|
|
12305
|
+
"required": false;
|
|
12306
|
+
"isSignal": true;
|
|
12307
|
+
};
|
|
12308
|
+
"targetHigh": {
|
|
12309
|
+
"alias": "targetHigh";
|
|
12310
|
+
"required": false;
|
|
12311
|
+
"isSignal": true;
|
|
12312
|
+
};
|
|
12313
|
+
"targetLabel": {
|
|
12314
|
+
"alias": "targetLabel";
|
|
12315
|
+
"required": false;
|
|
12316
|
+
"isSignal": true;
|
|
12317
|
+
};
|
|
12318
|
+
"targetNote": {
|
|
12319
|
+
"alias": "targetNote";
|
|
12320
|
+
"required": false;
|
|
12321
|
+
"isSignal": true;
|
|
12322
|
+
};
|
|
12323
|
+
"maxSpanPct": {
|
|
12324
|
+
"alias": "maxSpanPct";
|
|
12325
|
+
"required": false;
|
|
12326
|
+
"isSignal": true;
|
|
12327
|
+
};
|
|
12328
|
+
"variant": {
|
|
12329
|
+
"alias": "variant";
|
|
12330
|
+
"required": false;
|
|
12331
|
+
"isSignal": true;
|
|
12332
|
+
};
|
|
12333
|
+
"symbol": {
|
|
12334
|
+
"alias": "symbol";
|
|
12335
|
+
"required": false;
|
|
12336
|
+
"isSignal": true;
|
|
12337
|
+
};
|
|
12338
|
+
"signals": {
|
|
12339
|
+
"alias": "signals";
|
|
12340
|
+
"required": false;
|
|
12341
|
+
"isSignal": true;
|
|
12342
|
+
};
|
|
12343
|
+
"crossFrom": {
|
|
12344
|
+
"alias": "crossFrom";
|
|
12345
|
+
"required": false;
|
|
12346
|
+
"isSignal": true;
|
|
12347
|
+
};
|
|
12348
|
+
"crossTo": {
|
|
12349
|
+
"alias": "crossTo";
|
|
12350
|
+
"required": false;
|
|
12351
|
+
"isSignal": true;
|
|
12352
|
+
};
|
|
12353
|
+
"crossTone": {
|
|
12354
|
+
"alias": "crossTone";
|
|
12355
|
+
"required": false;
|
|
12356
|
+
"isSignal": true;
|
|
12357
|
+
};
|
|
12358
|
+
}, {}, ["markTags", "signalTags"], never, true, never>;
|
|
12359
|
+
}
|
|
12360
|
+
/**
|
|
12361
|
+
* One reference level of a price ladder, written as a tag inside
|
|
12362
|
+
* `m-price-ladder` so the levels are markup rather than an array literal. It
|
|
12363
|
+
* draws nothing itself: the ladder reads it and places it on the shared axis.
|
|
12364
|
+
*/
|
|
12365
|
+
export declare class PriceLadderMarkComponent {
|
|
12366
|
+
/**
|
|
12367
|
+
* Which fixed level this is (`sma50`, `high52w` — PRICE_LADDER_LEVELS):
|
|
12368
|
+
* what the rules and the ladder's `crossFrom`/`crossTo` name it by.
|
|
12369
|
+
*/
|
|
12370
|
+
readonly key: import("@angular/core").InputSignal<string>;
|
|
12371
|
+
/** TranslationAsset key naming the level; unset, the key's own (`sma-50`). */
|
|
12372
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
12373
|
+
/** Missing, NaN or ≤ 0 → the level is not drawn. */
|
|
12374
|
+
readonly value: import("@angular/core").InputSignal<number | null | undefined>;
|
|
12375
|
+
/** Unset, the key's own: `bound` for the 52-week ends, else `level`. */
|
|
12376
|
+
readonly kind: import("@angular/core").InputSignal<PriceLadderMarkKind | undefined>;
|
|
12377
|
+
/** Visual weight 1–4 of a `level` tick; unset, the key's (SMA 10 → 1 … SMA 200 → 4). */
|
|
12378
|
+
readonly rank: import("@angular/core").InputSignal<number | undefined>;
|
|
12379
|
+
/** TranslationAsset key appended to the label, e.g. `support`. */
|
|
12380
|
+
readonly note: import("@angular/core").InputSignal<string | undefined>;
|
|
12381
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceLadderMarkComponent, never>;
|
|
12382
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceLadderMarkComponent, "m-price-ladder-mark", never, {
|
|
12383
|
+
"key": {
|
|
12384
|
+
"alias": "key";
|
|
12385
|
+
"required": false;
|
|
12386
|
+
"isSignal": true;
|
|
12387
|
+
};
|
|
12388
|
+
"label": {
|
|
12389
|
+
"alias": "label";
|
|
12390
|
+
"required": false;
|
|
12391
|
+
"isSignal": true;
|
|
12392
|
+
};
|
|
12393
|
+
"value": {
|
|
12394
|
+
"alias": "value";
|
|
12395
|
+
"required": false;
|
|
12396
|
+
"isSignal": true;
|
|
12397
|
+
};
|
|
12398
|
+
"kind": {
|
|
12399
|
+
"alias": "kind";
|
|
12400
|
+
"required": false;
|
|
12401
|
+
"isSignal": true;
|
|
12402
|
+
};
|
|
12403
|
+
"rank": {
|
|
12404
|
+
"alias": "rank";
|
|
12405
|
+
"required": false;
|
|
12406
|
+
"isSignal": true;
|
|
12407
|
+
};
|
|
12408
|
+
"note": {
|
|
12409
|
+
"alias": "note";
|
|
12410
|
+
"required": false;
|
|
12411
|
+
"isSignal": true;
|
|
12412
|
+
};
|
|
12413
|
+
}, {}, never, never, true, never>;
|
|
12414
|
+
}
|
|
12415
|
+
/**
|
|
12416
|
+
* A reading the host draws from the levels (a golden cross, a 52-week
|
|
12417
|
+
* breakout), shown as a chip above the ladder. The ladder does not decide what
|
|
12418
|
+
* the levels mean — that stays with the host, which writes one tag per signal.
|
|
12419
|
+
*/
|
|
12420
|
+
export declare class PriceLadderSignalComponent {
|
|
12421
|
+
readonly key: import("@angular/core").InputSignal<string>;
|
|
12422
|
+
/**
|
|
12423
|
+
* A predefined reading (`golden-cross`, `52w-breakout`, …). Set, the chip
|
|
12424
|
+
* shows only while the ladder's levels match it, and takes its words, tone
|
|
12425
|
+
* and explanation from the rule. Unset — or any name that is not a rule,
|
|
12426
|
+
* such as `custom` — the chip is the fixed one written.
|
|
12427
|
+
*/
|
|
12428
|
+
readonly rule: import("@angular/core").InputSignal<string | undefined>;
|
|
12429
|
+
/** TranslationAsset key for the chip; a rule's own key when blank. */
|
|
12430
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
12431
|
+
readonly tone: import("@angular/core").InputSignal<PriceLadderTone>;
|
|
12432
|
+
/** Already-translated explanation, shown as the chip's title. */
|
|
12433
|
+
readonly detail: import("@angular/core").InputSignal<string>;
|
|
12434
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceLadderSignalComponent, never>;
|
|
12435
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceLadderSignalComponent, "m-price-ladder-signal", never, {
|
|
12436
|
+
"key": {
|
|
12437
|
+
"alias": "key";
|
|
12438
|
+
"required": false;
|
|
12439
|
+
"isSignal": true;
|
|
12440
|
+
};
|
|
12441
|
+
"rule": {
|
|
12442
|
+
"alias": "rule";
|
|
12443
|
+
"required": false;
|
|
12444
|
+
"isSignal": true;
|
|
12445
|
+
};
|
|
12446
|
+
"label": {
|
|
12447
|
+
"alias": "label";
|
|
12448
|
+
"required": false;
|
|
12449
|
+
"isSignal": true;
|
|
12450
|
+
};
|
|
12451
|
+
"tone": {
|
|
12452
|
+
"alias": "tone";
|
|
12453
|
+
"required": false;
|
|
12454
|
+
"isSignal": true;
|
|
12455
|
+
};
|
|
12456
|
+
"detail": {
|
|
12457
|
+
"alias": "detail";
|
|
12458
|
+
"required": false;
|
|
12459
|
+
"isSignal": true;
|
|
12460
|
+
};
|
|
12461
|
+
}, {}, never, never, true, never>;
|
|
12462
|
+
}
|
|
12024
12463
|
export declare class ImgComponent {
|
|
12025
12464
|
#private;
|
|
12026
12465
|
readonly src: import("@angular/core").InputSignal<string | null | undefined>;
|
|
@@ -18184,4 +18623,4 @@ export declare const toggleUid: (audience: Audience, uid: string) => Audience;
|
|
|
18184
18623
|
export declare const toggleGroup: (audience: Audience, groupId: string) => Audience;
|
|
18185
18624
|
/** How many Users and Groups an Audience names. */
|
|
18186
18625
|
export declare const pickCount: (audience: Audience) => number;
|
|
18187
|
-
export type { Accordion, AccordionGroup, AccordionVariant, AppCardData, AppCardInputs, AppCardVariant, AppLogoTone, AppLogoVariant, AppManifest, AppTileData, AssetOption, Audience, AudienceLevel, AudienceMember, AudiencePicker, AuthResult, Badge, BadgeCount, BadgePosition, BadgeVariant, Button, ButtonGroup, CellChangeEvent, CellClickEvent, ColBreakpoint, ColSpan, ColorPallet, ColumnDef, Comment, CommentItem, Config, ContextMenu, ContextMenuEvent, Cursor, CustomIcon, DragListReorder, Draggable, DraggableState, FileUploadConfig, FileUploadEvent, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, GridAlignX, GridAlignY, GroupActionEvent, GroupDropEvent, GroupKind, GroupMenuEvent, Header, HeaderLevel, HeatSwatchRadius, Icon, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, MenuItem, MoneySystem, NavCountConfig, NavInstanceConfig, NavMenuConfig, NavRowsConfig, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, ResolvedUserTab, RowDropEvent, ScoreBand, ScoreSetVariant, SearchChangeEvent, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionChartConfig, SectionChartPoints, SectionChartScale, SectionChartWindow, SectionFilterGroupConfig, SectionHero, SectionHeroVariant, SectionTableAlign, SectionTableColumn, SectionTableConfig, SectionTableDataType, SectionTableSort, SectionTableVariant, SectionToggleItem, SectionToggleItemContext, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, SharingClient, SharingGroup, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SourceAudience, SpacingInward, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, TabGroup, TableConfig, TableFilterCondition, TableFilterDef, TableGroup, TextOrNumberInput, Timeline, TimelineItem, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, User };
|
|
18626
|
+
export type { Accordion, AccordionGroup, AccordionVariant, AppCardData, AppCardInputs, AppCardVariant, AppLogoTone, AppLogoVariant, AppManifest, AppTileData, AssetOption, Audience, AudienceLevel, AudienceMember, AudiencePicker, AuthResult, Badge, BadgeCount, BadgePosition, BadgeVariant, Button, ButtonGroup, CellChangeEvent, CellClickEvent, ColBreakpoint, ColSpan, ColorPallet, ColumnDef, Comment, CommentItem, Config, ContextMenu, ContextMenuEvent, Cursor, CustomIcon, DragListReorder, Draggable, DraggableState, FileUploadConfig, FileUploadEvent, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, GridAlignX, GridAlignY, GroupActionEvent, GroupDropEvent, GroupKind, GroupMenuEvent, Header, HeaderLevel, HeatSwatchRadius, Icon, KeyValueVariant, LabelSegment, LadderLevel, LadderLevels, LadderSignal, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, MenuItem, MoneySystem, NavCountConfig, NavInstanceConfig, NavMenuConfig, NavRowsConfig, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PriceLadderMarkKind, PriceLadderRule, PriceLadderTone, PriceLadderVariant, ResolvedUserTab, RowDropEvent, ScoreBand, ScoreSetVariant, SearchChangeEvent, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionChartConfig, SectionChartPoints, SectionChartScale, SectionChartWindow, SectionFilterGroupConfig, SectionHero, SectionHeroVariant, SectionTableAlign, SectionTableColumn, SectionTableConfig, SectionTableDataType, SectionTableSort, SectionTableVariant, SectionToggleItem, SectionToggleItemContext, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, SharingClient, SharingGroup, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SourceAudience, SpacingInward, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, TabGroup, TableConfig, TableFilterCondition, TableFilterDef, TableGroup, TextOrNumberInput, Timeline, TimelineItem, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, User };
|