@memberjunction/ng-ui-components 6.2.0-edge.4 → 6.2.0-edge.6

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/README.md CHANGED
@@ -356,6 +356,31 @@ Config-driven filter stack: `Fields: FilterFieldConfig[]` with `type: 'text' | '
356
356
  ### `mj-applied-filters` — MJAppliedFiltersComponent
357
357
  "Filtered by …" removable chip row. Renders nothing when `Filters` is empty, so it's safe to place unconditionally. `(Remove)`, `(ClearAll)`.
358
358
 
359
+ ### `mj-burst-cluster-strip` — MJBurstClusterStripComponent
360
+ General-purpose, domain-agnostic **Burst-Aware Cluster Strip** for irregular and multi-year time-series data. Groups chronologically adjacent events into active session bursts separated by non-linear quiet-time gap connectors (`⋯ 11 mos quiet ⋯`), and automatically scales to multi-year histories via adaptive era coalescing (`Year` → `Quarter/Month` → `Session Burst`) with semantic **Click-to-Zoom** drill-down and a breadcrumb back pill.
361
+
362
+ - **Two generic data-binding modes** (zero domain coupling):
363
+ 1. Pre-normalized `[Items]="items"` (`MJBurstClusterItem<T>[]` with `{ ID, Timestamp, Category?, Tooltip?, Weight?, Data? }`).
364
+ 2. Arbitrary raw objects via `[Data]="rows"` + `[FieldMap]="{ ID: '...', Timestamp: '...', Category: r => r.Type, Tooltip: r => r.Summary }"` (or individual `[IdField]`, `[TimestampField]`, `[CategoryField]`, `[TooltipField]`, `[WeightField]` inputs).
365
+ - **Grouping & resolution inputs**: `Resolution` (`'auto' | 'session' | 'day' | 'week' | 'month' | 'quarter' | 'year'`), `CoalesceStrategy` (`'adaptive-era' | 'merge-closest'`), `SessionGapHours` (default `6`), `GroupSameCalendarDay` (default `true`), `MaxClusters` (default `5`), `EraZoomThreshold` (default `10`), `AllowZoom` (default `true`), `MaxPipsPerCluster` (default `12`), `MinGapQuietHours` (default `48`).
366
+ - **Display inputs**: `Categories` (`MJBurstClusterCategory[]`), `Title`, `TitleIcon`, `ItemSingularNoun`, `ItemPluralNoun`, `ShowHeader`, `ShowLegend`, `ShowGapConnectors`, `ShowPips`, `ShowProportionalBar`, `SubtitleFormatter`, `[(SelectedClusterKey)]`.
367
+ - **Imperative methods**: `SelectCluster(key)`, `ToggleCluster(key)`, `ClearSelection()`, `ZoomIntoCluster(key)`, `ZoomOut(depth?)`, `ResetZoom()`, `Rebuild()`, `GetSelectedItems()`, `GetSelectedData()`, `GetSelectedIDs()`, `GetClusterByKey(key)`.
368
+ - **Cancellable `Before*` / `After*` lifecycle events**: `BeforeClusterSelect` / `AfterClusterSelect`, `BeforeSelectionClear` / `AfterSelectionClear`, `BeforeZoomChange` / `AfterZoomChange`, `BeforeClustersRebuild` / `AfterClustersRebuild`, `PipClicked`, and `FilterChanged`.
369
+
370
+ ```html
371
+ <mj-burst-cluster-strip
372
+ Title="Person Activity"
373
+ ItemSingularNoun="activity"
374
+ ItemPluralNoun="activities"
375
+ [Data]="activities"
376
+ [FieldMap]="{ ID: 'ID', Timestamp: 'OccurredAt', Category: 'ActivityType' }"
377
+ [Categories]="activityCategories"
378
+ Resolution="auto"
379
+ CoalesceStrategy="adaptive-era"
380
+ (BeforeClusterSelect)="onBeforeSelect($event)"
381
+ (FilterChanged)="onTimelineFilterChanged($event)" />
382
+ ```
383
+
359
384
  ---
360
385
 
361
386
  ## Contributing
@@ -0,0 +1,472 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Grouping resolution mode for `<mj-burst-cluster-strip>`.
5
+ * - `'auto'`: Adaptively chooses session bursts for compact histories or calendar eras (`year` / `quarter` / `month`)
6
+ * when multi-year data exceeds `EraZoomThreshold`.
7
+ * - `'session'`: Groups chronologically adjacent events into active bursts (within `SessionGapHours` or same calendar day),
8
+ * iteratively merging closest adjacent bursts down to `MaxClusters`.
9
+ * - `'day'` | `'week'` | `'month'` | `'quarter'` | `'year'`: Groups events into explicit calendar buckets.
10
+ */
11
+ export type MJBurstClusterResolution = 'auto' | 'session' | 'day' | 'week' | 'month' | 'quarter' | 'year';
12
+ /** Effective computed resolution after `'auto'` evaluation and any active semantic zoom level. */
13
+ export type MJBurstClusterEffectiveResolution = Exclude<MJBurstClusterResolution, 'auto'>;
14
+ /**
15
+ * Strategy used when raw session bursts exceed `MaxClusters` in `'auto'` mode:
16
+ * - `'adaptive-era'`: Automatically switches to calendar era buckets (`year` / `quarter` / `month`) when raw bursts
17
+ * exceed `EraZoomThreshold` across multiple months/years, enabling click-to-zoom drill-down.
18
+ * - `'merge-closest'`: Iteratively merges the two chronologically closest adjacent bursts until at most `MaxClusters` remain.
19
+ */
20
+ export type MJBurstClusterCoalesceStrategy = 'adaptive-era' | 'merge-closest';
21
+ /**
22
+ * Generic, domain-agnostic time-series event item consumed by `<mj-burst-cluster-strip>`.
23
+ * Has zero knowledge of any specific entity or data source.
24
+ */
25
+ export interface MJBurstClusterItem<T = unknown> {
26
+ /** Unique identifier for this event item. */
27
+ ID: string;
28
+ /** Event timestamp as a `Date`, epoch milliseconds, or ISO date string. */
29
+ Timestamp: Date | number | string;
30
+ /** Category key matching a configured {@link MJBurstClusterCategory.Key} (defaults to `'default'`). */
31
+ Category?: string;
32
+ /** Optional hover tooltip text for this individual event pip. */
33
+ Tooltip?: string;
34
+ /** Optional numeric weight for this event (defaults to `1`). */
35
+ Weight?: number;
36
+ /** Optional reference to the underlying caller domain object. */
37
+ Data?: T;
38
+ }
39
+ /**
40
+ * Property-name or extractor-function mapping for binding an arbitrary raw `T[]` array via `[Data]`
41
+ * without pre-allocating `MJBurstClusterItem<T>[]` wrappers.
42
+ */
43
+ export interface MJBurstClusterFieldMap<T = unknown> {
44
+ ID?: (keyof T & string) | ((item: T, index: number) => string);
45
+ Timestamp: (keyof T & string) | ((item: T, index: number) => Date | number | string);
46
+ Category?: (keyof T & string) | ((item: T, index: number) => string);
47
+ Tooltip?: (keyof T & string) | ((item: T, index: number) => string);
48
+ Weight?: (keyof T & string) | ((item: T, index: number) => number);
49
+ }
50
+ /**
51
+ * Visual and semantic definition of an event category rendered in `<mj-burst-cluster-strip>`.
52
+ */
53
+ export interface MJBurstClusterCategory {
54
+ /** Unique category identifier (e.g. `'update'`, `'create'`, `'restore'`, `'email'`, `'meeting'`). */
55
+ Key: string;
56
+ /** Display label shown in the legend (e.g. `'Update'`, `'Create'`, `'Restore'`). */
57
+ Label: string;
58
+ /** Singular noun for subtitle synthesis (e.g. `'edit'`, `'create'`, `'restore'`). */
59
+ SingularLabel?: string;
60
+ /** Plural noun for subtitle synthesis (e.g. `'edits'`, `'creates'`, `'restores'`). */
61
+ PluralLabel?: string;
62
+ /** CSS color or design token (e.g. `'var(--mj-brand-primary)'`, `'var(--mj-status-success)'`, `'#8b5cf6'`). */
63
+ Color: string;
64
+ /** Optional Font Awesome icon class. */
65
+ Icon?: string;
66
+ /** Optional CSS modifier suffix (e.g. `'create' | 'update' | 'restore'`) added as `rc-burst-pip--<modifier>`. */
67
+ CssModifier?: string;
68
+ }
69
+ /**
70
+ * Individual event pip rendered inside a cluster card.
71
+ */
72
+ export interface MJBurstClusterPip<T = unknown> {
73
+ /** Event ID. */
74
+ ID: string;
75
+ /** Category key. */
76
+ Category: string;
77
+ /** Resolved CSS color for this pip. */
78
+ Color: string;
79
+ /** Optional CSS modifier suffix. */
80
+ CssModifier?: string;
81
+ /** Hover tooltip text for this pip. */
82
+ Tooltip: string;
83
+ /** Underlying normalized item. */
84
+ Item: MJBurstClusterItem<T>;
85
+ }
86
+ /**
87
+ * Category breakdown entry for a single cluster node.
88
+ */
89
+ export interface MJBurstClusterCategoryShare {
90
+ Key: string;
91
+ Label: string;
92
+ Color: string;
93
+ Count: number;
94
+ SharePercent: number;
95
+ }
96
+ /**
97
+ * Computed burst or era cluster node rendered in `<mj-burst-cluster-strip>`.
98
+ */
99
+ export interface MJBurstClusterNode<T = unknown> {
100
+ /** Stable key for selection, zooming, and `@for` tracking. */
101
+ Key: string;
102
+ /** Short date or era label (e.g. `'Today'`, `'Oct 15'`, `'2024'`, `'Q2 \'25'`). */
103
+ Label: string;
104
+ /** Concise composition subtitle (e.g. `'Initial creation'`, `'4 edits'`, `'1 restore, 2 edits'`). */
105
+ Subtitle: string;
106
+ /** Non-linear quiet time gap label between this cluster and the next (e.g. `'11 mos quiet'`), or `null` on the final cluster. */
107
+ GapAfterLabel: string | null;
108
+ /**Quiet gap duration in milliseconds after this cluster (`0` on the final cluster). */
109
+ GapAfterMs: number;
110
+ /** Up to `MaxPipsPerCluster` individual pips in chronological order. */
111
+ Pips: MJBurstClusterPip<T>[];
112
+ /** Number of additional events in this cluster beyond `MaxPipsPerCluster`. */
113
+ OverflowPipCount: number;
114
+ /** Detailed hover tooltip describing the cluster time span and category breakdown. */
115
+ Tooltip: string;
116
+ /** Inclusive start timestamp (epoch ms). */
117
+ StartTime: number;
118
+ /** Inclusive end timestamp (epoch ms). */
119
+ EndTime: number;
120
+ /** Total number of events in this cluster. */
121
+ TotalCount: number;
122
+ /** Total weight of events in this cluster. */
123
+ TotalWeight: number;
124
+ /** Count of events by category key. */
125
+ CategoryCounts: Record<string, number>;
126
+ /** Proportional shares by category (for stacked bar rendering). */
127
+ CategoryShares: MJBurstClusterCategoryShare[];
128
+ /** Normalized height percentage (`22..100`) relative to the largest cluster in the current view. */
129
+ HeightPercent: number;
130
+ /** Set of event IDs belonging to this cluster. */
131
+ ItemIDs: Set<string>;
132
+ /** Chronologically ordered items belonging to this cluster. */
133
+ Items: MJBurstClusterItem<T>[];
134
+ /** True when this node represents a multi-event calendar era (`year` / `quarter` / `month`) that can be zoomed into. */
135
+ IsZoomableEra: boolean;
136
+ }
137
+ /**
138
+ * Entry in the semantic zoom breadcrumb stack when drilling down from multi-year/quarter eras into finer bursts.
139
+ */
140
+ export interface MJBurstZoomBreadcrumb<T = unknown> {
141
+ /** Cluster key that was zoomed into. */
142
+ ClusterKey: string;
143
+ /** Human-readable era label (e.g. `'2024'`, `'Q3 \'25'`). */
144
+ Label: string;
145
+ /** Inclusive start timestamp of the zoomed era. */
146
+ StartTime: number;
147
+ /** Inclusive end timestamp of the zoomed era. */
148
+ EndTime: number;
149
+ /** Items scoped to this zoom level. */
150
+ Items: MJBurstClusterItem<T>[];
151
+ /** Resolution active at this zoom depth. */
152
+ Resolution: MJBurstClusterEffectiveResolution;
153
+ }
154
+ /**
155
+ * Base class for cancellable `<mj-burst-cluster-strip>` `Before*` events.
156
+ * Set `Cancel = true` in an event handler to abort the default action.
157
+ */
158
+ export declare class MJCancellableBurstStripEvent {
159
+ /** Set to `true` to cancel the default behavior of this action. */
160
+ Cancel: boolean;
161
+ }
162
+ /** Cancellable event args emitted before a cluster is selected or deselected. */
163
+ export declare class MJBeforeBurstClusterSelectEventArgs<T = unknown> extends MJCancellableBurstStripEvent {
164
+ readonly Cluster: MJBurstClusterNode<T>;
165
+ readonly PreviousCluster: MJBurstClusterNode<T> | null;
166
+ readonly IsDeselecting: boolean;
167
+ readonly Trigger: 'click' | 'keyboard' | 'api';
168
+ constructor(Cluster: MJBurstClusterNode<T>, PreviousCluster: MJBurstClusterNode<T> | null, IsDeselecting: boolean, Trigger: 'click' | 'keyboard' | 'api');
169
+ }
170
+ /** Event args emitted after a cluster selection changes. */
171
+ export declare class MJAfterBurstClusterSelectEventArgs<T = unknown> {
172
+ readonly Cluster: MJBurstClusterNode<T> | null;
173
+ readonly PreviousCluster: MJBurstClusterNode<T> | null;
174
+ readonly SelectedIDs: Set<string> | null;
175
+ readonly SelectedItems: MJBurstClusterItem<T>[];
176
+ readonly Trigger: 'click' | 'keyboard' | 'api';
177
+ constructor(Cluster: MJBurstClusterNode<T> | null, PreviousCluster: MJBurstClusterNode<T> | null, SelectedIDs: Set<string> | null, SelectedItems: MJBurstClusterItem<T>[], Trigger: 'click' | 'keyboard' | 'api');
178
+ }
179
+ /** Cancellable event args emitted before the active cluster selection is cleared. */
180
+ export declare class MJBeforeBurstSelectionClearEventArgs<T = unknown> extends MJCancellableBurstStripEvent {
181
+ readonly PreviousCluster: MJBurstClusterNode<T> | null;
182
+ readonly Trigger: 'click' | 'keyboard' | 'api';
183
+ constructor(PreviousCluster: MJBurstClusterNode<T> | null, Trigger: 'click' | 'keyboard' | 'api');
184
+ }
185
+ /** Event args emitted after the active cluster selection is cleared. */
186
+ export declare class MJAfterBurstSelectionClearEventArgs<T = unknown> {
187
+ readonly PreviousCluster: MJBurstClusterNode<T> | null;
188
+ readonly Trigger: 'click' | 'keyboard' | 'api';
189
+ constructor(PreviousCluster: MJBurstClusterNode<T> | null, Trigger: 'click' | 'keyboard' | 'api');
190
+ }
191
+ /** Cancellable event args emitted before zooming into an era or zooming out. */
192
+ export declare class MJBeforeBurstZoomChangeEventArgs<T = unknown> extends MJCancellableBurstStripEvent {
193
+ readonly Direction: 'in' | 'out' | 'reset';
194
+ readonly TargetCluster: MJBurstClusterNode<T> | null;
195
+ readonly TargetResolution: MJBurstClusterEffectiveResolution;
196
+ readonly NextZoomDepth: number;
197
+ readonly Trigger: 'click' | 'keyboard' | 'api';
198
+ constructor(Direction: 'in' | 'out' | 'reset', TargetCluster: MJBurstClusterNode<T> | null, TargetResolution: MJBurstClusterEffectiveResolution, NextZoomDepth: number, Trigger: 'click' | 'keyboard' | 'api');
199
+ }
200
+ /** Event args emitted after a semantic zoom transition completes. */
201
+ export declare class MJAfterBurstZoomChangeEventArgs<T = unknown> {
202
+ readonly Direction: 'in' | 'out' | 'reset';
203
+ readonly ActiveZoomBreadcrumb: MJBurstZoomBreadcrumb<T> | null;
204
+ readonly EffectiveResolution: MJBurstClusterEffectiveResolution;
205
+ readonly ZoomDepth: number;
206
+ readonly Clusters: MJBurstClusterNode<T>[];
207
+ readonly Trigger: 'click' | 'keyboard' | 'api';
208
+ constructor(Direction: 'in' | 'out' | 'reset', ActiveZoomBreadcrumb: MJBurstZoomBreadcrumb<T> | null, EffectiveResolution: MJBurstClusterEffectiveResolution, ZoomDepth: number, Clusters: MJBurstClusterNode<T>[], Trigger: 'click' | 'keyboard' | 'api');
209
+ }
210
+ /** Cancellable event args emitted before the component computes clusters from normalized items. */
211
+ export declare class MJBeforeBurstClustersRebuildEventArgs<T = unknown> extends MJCancellableBurstStripEvent {
212
+ Items: MJBurstClusterItem<T>[];
213
+ EffectiveResolution: MJBurstClusterEffectiveResolution;
214
+ constructor(Items: MJBurstClusterItem<T>[], EffectiveResolution: MJBurstClusterEffectiveResolution);
215
+ }
216
+ /** Event args emitted after the component finishes computing clusters. */
217
+ export declare class MJAfterBurstClustersRebuildEventArgs<T = unknown> {
218
+ readonly Clusters: MJBurstClusterNode<T>[];
219
+ readonly EffectiveResolution: MJBurstClusterEffectiveResolution;
220
+ readonly GranularityLabel: string;
221
+ readonly TotalItemCount: number;
222
+ constructor(Clusters: MJBurstClusterNode<T>[], EffectiveResolution: MJBurstClusterEffectiveResolution, GranularityLabel: string, TotalItemCount: number);
223
+ }
224
+ /** Event args emitted when a user clicks an individual event pip inside a cluster. */
225
+ export declare class MJBurstPipClickEventArgs<T = unknown> {
226
+ readonly Pip: MJBurstClusterPip<T>;
227
+ readonly Cluster: MJBurstClusterNode<T>;
228
+ readonly OriginalEvent: MouseEvent;
229
+ constructor(Pip: MJBurstClusterPip<T>, Cluster: MJBurstClusterNode<T>, OriginalEvent: MouseEvent);
230
+ }
231
+ /**
232
+ * Unified filter event emitted whenever cluster selection or era zoom changes the active subset of items.
233
+ */
234
+ export declare class MJBurstFilterChangedEventArgs<T = unknown> {
235
+ readonly ActiveCluster: MJBurstClusterNode<T> | null;
236
+ readonly ActiveZoomBreadcrumb: MJBurstZoomBreadcrumb<T> | null;
237
+ /** Set of matching item IDs, or `null` when no cluster/zoom filter is active (all items match). */
238
+ readonly FilteredIDs: Set<string> | null;
239
+ /** Matching normalized items (all items when no filter is active). */
240
+ readonly FilteredItems: MJBurstClusterItem<T>[];
241
+ /** Human-readable label of the active filter (e.g. `'Oct 15'` or `'2024'`), or `null` when unfiltered. */
242
+ readonly ActiveFilterLabel: string | null;
243
+ constructor(ActiveCluster: MJBurstClusterNode<T> | null, ActiveZoomBreadcrumb: MJBurstZoomBreadcrumb<T> | null,
244
+ /** Set of matching item IDs, or `null` when no cluster/zoom filter is active (all items match). */
245
+ FilteredIDs: Set<string> | null,
246
+ /** Matching normalized items (all items when no filter is active). */
247
+ FilteredItems: MJBurstClusterItem<T>[],
248
+ /** Human-readable label of the active filter (e.g. `'Oct 15'` or `'2024'`), or `null` when unfiltered. */
249
+ ActiveFilterLabel: string | null);
250
+ }
251
+ /**
252
+ * `<mj-burst-cluster-strip>` — General-purpose, domain-agnostic Burst-Aware Cluster Strip for
253
+ * irregular and multi-year time-series data.
254
+ *
255
+ * Instead of dividing wall-clock time into fixed equal width buckets (which produces mostly empty
256
+ * columns when events occur in irregular bursts separated by weeks, months, or years),
257
+ * `<mj-burst-cluster-strip>` groups events into active bursts separated by non-linear quiet-time
258
+ * gap connectors (`⋯ 11 mos quiet ⋯`), and automatically scales to multi-year histories via
259
+ * adaptive era coalescing (`Year` → `Quarter/Month` → `Session Burst`) with semantic Click-to-Zoom!
260
+ */
261
+ export declare class MJBurstClusterStripComponent<T = unknown> implements OnChanges {
262
+ private readonly cdr;
263
+ /**
264
+ * Pre-normalized array of time-series items (`MJBurstClusterItem<T>[]`).
265
+ * Alternatively, pass raw domain objects via `[Data]` + `[FieldMap]` (or `[TimestampField]`, etc.).
266
+ */
267
+ Items: readonly MJBurstClusterItem<T>[] | null;
268
+ /**
269
+ * Optional raw domain array (`T[]`). Mapped into `MJBurstClusterItem<T>[]` via `[FieldMap]`
270
+ * or `[IdField]` / `[TimestampField]` / `[CategoryField]` / `[TooltipField]` / `[WeightField]`.
271
+ */
272
+ Data: readonly T[] | null;
273
+ /**
274
+ * Optional property-name or extractor-function map for `[Data]`.
275
+ */
276
+ FieldMap: MJBurstClusterFieldMap<T> | null;
277
+ /** Property name or extractor for `ID` when binding `[Data]`. Defaults to `'ID'`. */
278
+ IdField: (keyof T & string) | ((item: T, index: number) => string);
279
+ /** Property name or extractor for `Timestamp` when binding `[Data]`. Defaults to `'Timestamp'`. */
280
+ TimestampField: (keyof T & string) | ((item: T, index: number) => Date | number | string);
281
+ /** Property name or extractor for `Category` when binding `[Data]`. Defaults to `'Category'`. */
282
+ CategoryField: (keyof T & string) | ((item: T, index: number) => string) | null;
283
+ /** Property name or extractor for `Tooltip` when binding `[Data]`. */
284
+ TooltipField: (keyof T & string) | ((item: T, index: number) => string) | null;
285
+ /** Property name or extractor for `Weight` when binding `[Data]`. */
286
+ WeightField: (keyof T & string) | ((item: T, index: number) => number) | null;
287
+ /**
288
+ * Category definitions controlling pip colors, legend labels, and subtitle phrasing.
289
+ * When omitted, categories are auto-derived from the input items.
290
+ */
291
+ Categories: readonly MJBurstClusterCategory[] | null;
292
+ /**
293
+ * Grouping resolution (`'auto' | 'session' | 'day' | 'week' | 'month' | 'quarter' | 'year'`).
294
+ * Defaults to `'auto'`.
295
+ */
296
+ Resolution: MJBurstClusterResolution;
297
+ /**
298
+ * Strategy when raw session bursts exceed `MaxClusters` in `'auto'` mode:
299
+ * - `'adaptive-era'` (default): Switches to `year` or `quarter`/`month` era nodes when raw bursts exceed
300
+ * `EraZoomThreshold` across multiple years/months, enabling semantic Click-to-Zoom drill-down.
301
+ * - `'merge-closest'`: Always merges the two chronologically closest adjacent bursts down to `MaxClusters`.
302
+ */
303
+ CoalesceStrategy: MJBurstClusterCoalesceStrategy;
304
+ /**
305
+ * Maximum hours between adjacent events to coalesce into the same session burst (default `6`).
306
+ */
307
+ SessionGapHours: number;
308
+ /**
309
+ * Whether events occurring on the same UTC calendar day automatically group into the same session burst (default `true`).
310
+ */
311
+ GroupSameCalendarDay: boolean;
312
+ /**
313
+ * Maximum number of session burst cards rendered in the strip before closest-gap coalescing (default `5`).
314
+ */
315
+ MaxClusters: number;
316
+ /**
317
+ * Raw session burst threshold above which `'adaptive-era'` switches to multi-month/year era buckets (default `10`).
318
+ */
319
+ EraZoomThreshold: number;
320
+ /**
321
+ * Whether clicking a multi-month/year era cluster drills into that era's finer bursts with a breadcrumb (default `true`).
322
+ */
323
+ AllowZoom: boolean;
324
+ /**
325
+ * Maximum individual event pips rendered inside a cluster card before `+N` overflow indicator (default `12`).
326
+ */
327
+ MaxPipsPerCluster: number;
328
+ /**
329
+ * Minimum quiet time gap in hours required before rendering a quiet-gap connector pill between clusters (default `48`).
330
+ */
331
+ MinGapQuietHours: number;
332
+ /** Header title text (default `'Activity Timeline'`). */
333
+ Title: string;
334
+ /** Font Awesome icon class rendered next to `Title` (default `'fa-solid fa-wave-square'`). */
335
+ TitleIcon: string;
336
+ /** Accessible region label override. */
337
+ AriaLabel: string | null;
338
+ /** Singular noun for event counts on cluster cards (default `'event'`; e.g. `'change'`). */
339
+ ItemSingularNoun: string;
340
+ /** Plural noun for event counts on cluster cards (default `'events'`; e.g. `'changes'`). */
341
+ ItemPluralNoun: string;
342
+ /** Whether to render the top header bar with title, granularity badge, zoom breadcrumb, and legend (default `true`). */
343
+ ShowHeader: boolean;
344
+ /** Whether to render the category color legend in the header (default `true`). */
345
+ ShowLegend: boolean;
346
+ /** Whether to render non-linear quiet-time gap connectors (`⋯ 11 mos quiet ⋯`) between clusters (default `true`). */
347
+ ShowGapConnectors: boolean;
348
+ /** Whether to render individual event pips inside each cluster card (default `true`). */
349
+ ShowPips: boolean;
350
+ /** Whether to render a stacked category proportion bar at the bottom of each cluster card (default `false`). */
351
+ ShowProportionalBar: boolean;
352
+ /** Optional custom subtitle formatter callback for each cluster card. */
353
+ SubtitleFormatter: ((cluster: MJBurstClusterNode<T>, categories: readonly MJBurstClusterCategory[]) => string) | null;
354
+ /** Currently selected cluster key (supports two-way `[(SelectedClusterKey)]` binding). */
355
+ SelectedClusterKey: string | null;
356
+ /** Emits when `SelectedClusterKey` changes (supports two-way `[(SelectedClusterKey)]`). */
357
+ SelectedClusterKeyChange: EventEmitter<string | null>;
358
+ /** Cancellable event emitted before a cluster card is selected or deselected. */
359
+ BeforeClusterSelect: EventEmitter<MJBeforeBurstClusterSelectEventArgs<T>>;
360
+ /** Emitted after a cluster card is selected or deselected. */
361
+ AfterClusterSelect: EventEmitter<MJAfterBurstClusterSelectEventArgs<T>>;
362
+ /** Cancellable event emitted before the active cluster filter is cleared. */
363
+ BeforeSelectionClear: EventEmitter<MJBeforeBurstSelectionClearEventArgs<T>>;
364
+ /** Emitted after the active cluster filter is cleared. */
365
+ AfterSelectionClear: EventEmitter<MJAfterBurstSelectionClearEventArgs<T>>;
366
+ /** Cancellable event emitted before zooming into an era node or zooming back out. */
367
+ BeforeZoomChange: EventEmitter<MJBeforeBurstZoomChangeEventArgs<T>>;
368
+ /** Emitted after a semantic zoom transition completes. */
369
+ AfterZoomChange: EventEmitter<MJAfterBurstZoomChangeEventArgs<T>>;
370
+ /** Cancellable event emitted before clusters are computed from the input items. */
371
+ BeforeClustersRebuild: EventEmitter<MJBeforeBurstClustersRebuildEventArgs<T>>;
372
+ /** Emitted after clusters have been computed. */
373
+ AfterClustersRebuild: EventEmitter<MJAfterBurstClustersRebuildEventArgs<T>>;
374
+ /** Emitted when the user clicks an individual event pip inside a cluster card. */
375
+ PipClicked: EventEmitter<MJBurstPipClickEventArgs<T>>;
376
+ /** Unified convenience event emitted whenever cluster selection or era zoom updates the active filtered item set. */
377
+ FilterChanged: EventEmitter<MJBurstFilterChangedEventArgs<T>>;
378
+ /** Computed cluster nodes currently visible in the strip. */
379
+ Clusters: MJBurstClusterNode<T>[];
380
+ /** Effective grouping resolution for the current view. */
381
+ EffectiveResolution: MJBurstClusterEffectiveResolution;
382
+ /** Human-readable summary of the current strip granularity (e.g. `'3 bursts · 11 mos span'`). */
383
+ GranularityLabel: string;
384
+ /** Resolved category definitions (either from `[Categories]` or auto-discovered from items). */
385
+ ResolvedCategories: MJBurstClusterCategory[];
386
+ /** Stack of active semantic zoom breadcrumbs when drilling into multi-year/month eras. */
387
+ ZoomStack: MJBurstZoomBreadcrumb<T>[];
388
+ private _normalizedItems;
389
+ ngOnChanges(changes: SimpleChanges): void;
390
+ /**
391
+ * Recomputes normalized items, category definitions, and burst/era clusters for the current zoom state.
392
+ */
393
+ Rebuild(): void;
394
+ /**
395
+ * Programmatically selects a cluster by key (or clears selection when `clusterKey === null`).
396
+ * Fires `BeforeClusterSelect` (cancellable) and `AfterClusterSelect`.
397
+ */
398
+ SelectCluster(clusterKey: string | null, trigger?: 'click' | 'keyboard' | 'api'): boolean;
399
+ /**
400
+ * Toggles the selection state of the specified cluster key.
401
+ */
402
+ ToggleCluster(clusterKey: string, trigger?: 'click' | 'keyboard' | 'api'): boolean;
403
+ /**
404
+ * Clears the currently selected cluster filter.
405
+ * Fires `BeforeSelectionClear` (cancellable) and `AfterSelectionClear`.
406
+ */
407
+ ClearSelection(trigger?: 'click' | 'keyboard' | 'api'): boolean;
408
+ /**
409
+ * Drills down into a multi-month/year era cluster to inspect its inner bursts.
410
+ * Fires `BeforeZoomChange` (cancellable) and `AfterZoomChange`.
411
+ */
412
+ ZoomIntoCluster(clusterKey: string, trigger?: 'click' | 'keyboard' | 'api'): boolean;
413
+ /**
414
+ * Zooms out one level (or to `targetDepth`, where `0` is the full root timeline).
415
+ * Fires `BeforeZoomChange` (cancellable) and `AfterZoomChange`.
416
+ */
417
+ ZoomOut(targetDepth?: number, trigger?: 'click' | 'keyboard' | 'api'): boolean;
418
+ /**
419
+ * Resets the semantic zoom stack all the way back to the root overview.
420
+ */
421
+ ResetZoom(trigger?: 'click' | 'keyboard' | 'api'): boolean;
422
+ /**
423
+ * Returns the cluster node matching `key`, or `undefined`.
424
+ */
425
+ GetClusterByKey(key: string): MJBurstClusterNode<T> | undefined;
426
+ /**
427
+ * Returns the set of item IDs matching the active cluster selection (or active zoom era),
428
+ * or `null` when no cluster/zoom filter is active.
429
+ */
430
+ GetSelectedIDs(): Set<string> | null;
431
+ /**
432
+ * Returns the normalized `MJBurstClusterItem<T>[]` matching the active cluster/zoom filter
433
+ * (or all items when no filter is active).
434
+ */
435
+ GetSelectedItems(): MJBurstClusterItem<T>[];
436
+ /**
437
+ * Returns the caller's underlying `Data: T` payloads matching the active cluster/zoom filter.
438
+ */
439
+ GetSelectedData(): T[];
440
+ /** Currently selected cluster node, or `null`. */
441
+ get SelectedCluster(): MJBurstClusterNode<T> | null;
442
+ /** Display label of the currently selected cluster, or `null`. */
443
+ get SelectedClusterLabel(): string | null;
444
+ /** Current deepest zoom breadcrumb, or `null` when at root overview. */
445
+ get ActiveZoomBreadcrumb(): MJBurstZoomBreadcrumb<T> | null;
446
+ /** Label for the zoom-out breadcrumb button (e.g. `'All Years (640)'` or parent era label). */
447
+ get ZoomBackLabel(): string;
448
+ /** Items in the current zoom scope (or all normalized items when at root). */
449
+ get ActiveScopeItems(): MJBurstClusterItem<T>[];
450
+ OnClusterClick(cluster: MJBurstClusterNode<T>, event: MouseEvent): void;
451
+ OnClearSelectionClick(event: MouseEvent): void;
452
+ OnZoomBackClick(event: MouseEvent): void;
453
+ OnPipClick(pip: MJBurstClusterPip<T>, cluster: MJBurstClusterNode<T>, event: MouseEvent): void;
454
+ private normalizeSourceItems;
455
+ private extractField;
456
+ private resolveCategories;
457
+ private determineEffectiveResolution;
458
+ private rebuildClustersInternal;
459
+ private buildInitialSessionClusters;
460
+ private buildMergedSessionClusters;
461
+ private buildCalendarResolutionClusters;
462
+ private formatClusterDateLabel;
463
+ private formatDefaultSubtitle;
464
+ private formatDefaultTooltip;
465
+ private formatQuietGapLabel;
466
+ private formatTotalSpanLabel;
467
+ private toEpochMs;
468
+ private emitFilterChanged;
469
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJBurstClusterStripComponent<any>, never>;
470
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJBurstClusterStripComponent<any>, "mj-burst-cluster-strip", never, { "Items": { "alias": "Items"; "required": false; }; "Data": { "alias": "Data"; "required": false; }; "FieldMap": { "alias": "FieldMap"; "required": false; }; "IdField": { "alias": "IdField"; "required": false; }; "TimestampField": { "alias": "TimestampField"; "required": false; }; "CategoryField": { "alias": "CategoryField"; "required": false; }; "TooltipField": { "alias": "TooltipField"; "required": false; }; "WeightField": { "alias": "WeightField"; "required": false; }; "Categories": { "alias": "Categories"; "required": false; }; "Resolution": { "alias": "Resolution"; "required": false; }; "CoalesceStrategy": { "alias": "CoalesceStrategy"; "required": false; }; "SessionGapHours": { "alias": "SessionGapHours"; "required": false; }; "GroupSameCalendarDay": { "alias": "GroupSameCalendarDay"; "required": false; }; "MaxClusters": { "alias": "MaxClusters"; "required": false; }; "EraZoomThreshold": { "alias": "EraZoomThreshold"; "required": false; }; "AllowZoom": { "alias": "AllowZoom"; "required": false; }; "MaxPipsPerCluster": { "alias": "MaxPipsPerCluster"; "required": false; }; "MinGapQuietHours": { "alias": "MinGapQuietHours"; "required": false; }; "Title": { "alias": "Title"; "required": false; }; "TitleIcon": { "alias": "TitleIcon"; "required": false; }; "AriaLabel": { "alias": "AriaLabel"; "required": false; }; "ItemSingularNoun": { "alias": "ItemSingularNoun"; "required": false; }; "ItemPluralNoun": { "alias": "ItemPluralNoun"; "required": false; }; "ShowHeader": { "alias": "ShowHeader"; "required": false; }; "ShowLegend": { "alias": "ShowLegend"; "required": false; }; "ShowGapConnectors": { "alias": "ShowGapConnectors"; "required": false; }; "ShowPips": { "alias": "ShowPips"; "required": false; }; "ShowProportionalBar": { "alias": "ShowProportionalBar"; "required": false; }; "SubtitleFormatter": { "alias": "SubtitleFormatter"; "required": false; }; "SelectedClusterKey": { "alias": "SelectedClusterKey"; "required": false; }; }, { "SelectedClusterKeyChange": "SelectedClusterKeyChange"; "BeforeClusterSelect": "BeforeClusterSelect"; "AfterClusterSelect": "AfterClusterSelect"; "BeforeSelectionClear": "BeforeSelectionClear"; "AfterSelectionClear": "AfterSelectionClear"; "BeforeZoomChange": "BeforeZoomChange"; "AfterZoomChange": "AfterZoomChange"; "BeforeClustersRebuild": "BeforeClustersRebuild"; "AfterClustersRebuild": "AfterClustersRebuild"; "PipClicked": "PipClicked"; "FilterChanged": "FilterChanged"; }, never, never, true, never>;
471
+ }
472
+ //# sourceMappingURL=burst-cluster-strip.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"burst-cluster-strip.component.d.ts","sourceRoot":"","sources":["../../../src/lib/burst-cluster-strip/burst-cluster-strip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EAEZ,SAAS,EAET,aAAa,EAEhB,MAAM,eAAe,CAAC;;AAEvB;;;;;;;GAOG;AACH,MAAM,MAAM,wBAAwB,GAC9B,MAAM,GACN,SAAS,GACT,KAAK,GACL,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,CAAC;AAEb,kGAAkG;AAClG,MAAM,MAAM,iCAAiC,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;AAE1F;;;;;GAKG;AACH,MAAM,MAAM,8BAA8B,GAAG,cAAc,GAAG,eAAe,CAAC;AAE9E;;;GAGG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,OAAO;IAC3C,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,2EAA2E;IAC3E,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAClC,uGAAuG;IACvG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,IAAI,CAAC,EAAE,CAAC,CAAC;CACZ;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,OAAO;IAC/C,EAAE,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;IAC/D,SAAS,EAAE,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,MAAM,GAAG,MAAM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