@memberjunction/ng-timeline 2.122.1 → 2.122.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.
@@ -1,100 +1,417 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { BaseEntity, RunViewParams } from '@memberjunction/core';
3
- import { TimelineEvent } from "@progress/kendo-angular-layout";
1
+ /**
2
+ * @fileoverview MJ Timeline Component - A flexible, responsive timeline for Angular.
3
+ *
4
+ * This component displays chronological data in a timeline format with support for:
5
+ * - Multiple data sources (MemberJunction entities or plain objects)
6
+ * - Virtual scrolling for large datasets
7
+ * - Collapsible time segments
8
+ * - Rich event system with BeforeX/AfterX pattern
9
+ * - Full keyboard navigation and accessibility
10
+ * - Responsive design for all screen sizes
11
+ *
12
+ * @module @memberjunction/ng-timeline
13
+ */
14
+ import { EventEmitter, OnInit, OnDestroy, AfterViewInit, ElementRef, TemplateRef, ChangeDetectorRef, NgZone } from '@angular/core';
15
+ import { TimelineOrientation, TimelineLayout, TimelineSortOrder, TimeSegmentGrouping, TimelineCardConfig, VirtualScrollConfig, VirtualScrollState, MJTimelineEvent, TimelineSegment, TimelineAction, TimelineDisplayField } from '../types';
16
+ import { TimelineGroup } from '../timeline-group';
17
+ import { BeforeEventClickArgs, AfterEventClickArgs, BeforeEventExpandArgs, AfterEventExpandArgs, BeforeEventCollapseArgs, AfterEventCollapseArgs, BeforeEventHoverArgs, AfterEventHoverArgs, BeforeActionClickArgs, AfterActionClickArgs, BeforeSegmentExpandArgs, AfterSegmentExpandArgs, BeforeSegmentCollapseArgs, AfterSegmentCollapseArgs, BeforeLoadArgs, AfterLoadArgs } from '../events';
4
18
  import * as i0 from "@angular/core";
5
19
  /**
20
+ * MJ Timeline Component - Displays chronological data in a rich, interactive timeline.
21
+ *
22
+ * The timeline component supports multiple data groups, virtual scrolling for large
23
+ * datasets, collapsible time segments, and a comprehensive event system that allows
24
+ * container components to intercept and modify behavior.
25
+ *
26
+ * @example Basic usage
27
+ * ```html
28
+ * <mj-timeline [groups]="myGroups"></mj-timeline>
29
+ * ```
30
+ *
31
+ * @example Full configuration
32
+ * ```html
33
+ * <mj-timeline
34
+ * [groups]="groups"
35
+ * orientation="vertical"
36
+ * layout="alternating"
37
+ * sortOrder="desc"
38
+ * segmentGrouping="month"
39
+ * [segmentsCollapsible]="true"
40
+ * [virtualScroll]="{ enabled: true, batchSize: 25 }"
41
+ * (beforeEventClick)="onBeforeClick($event)"
42
+ * (afterActionClick)="onAction($event)">
6
43
  *
44
+ * <ng-template #emptyTemplate>
45
+ * <div class="custom-empty">No events found</div>
46
+ * </ng-template>
47
+ *
48
+ * </mj-timeline>
49
+ * ```
7
50
  */
8
- export declare class TimelineGroup {
51
+ export declare class TimelineComponent<T = any> implements OnInit, OnDestroy, AfterViewInit {
52
+ private cdr;
53
+ private elementRef;
54
+ private ngZone;
9
55
  /**
10
- * Entity name for the type of records to be displayed in this group
56
+ * Array of timeline groups to display.
57
+ * Each group defines a data source and display configuration.
11
58
  */
12
- EntityName: string;
59
+ get groups(): TimelineGroup<T>[];
60
+ set groups(value: TimelineGroup<T>[]);
61
+ private _groups;
13
62
  /**
14
- * Specifies if the data will come from a provided array of BaseEntity objects - the EntityObjects array, or alternatively, from this object running its own view against the provided EntityName, optionally with a provided Filter (or without).
63
+ * Controls whether data loading is allowed.
64
+ * Set to false to defer loading until ready.
65
+ * @default true
15
66
  */
16
- DataSourceType: 'array' | 'entity';
67
+ get allowLoad(): boolean;
68
+ set allowLoad(value: boolean);
69
+ private _allowLoad;
17
70
  /**
18
- * An optional filter that will be applied to the entity specified to reduce the number of records displayed
71
+ * Timeline orientation.
72
+ * - `vertical`: Events displayed top-to-bottom
73
+ * - `horizontal`: Events displayed left-to-right
74
+ * @default 'vertical'
19
75
  */
20
- Filter?: string;
76
+ orientation: TimelineOrientation;
21
77
  /**
22
- * The actual data you want displayed in this group. This is an array of BaseEntity objects that will be displayed in the timeline. You can populate this array from a view or any other source.
78
+ * Layout mode for vertical timeline.
79
+ * - `single`: All cards on one side
80
+ * - `alternating`: Cards alternate sides
81
+ * @default 'single'
23
82
  */
24
- EntityObjects?: BaseEntity[];
83
+ layout: TimelineLayout;
25
84
  /**
26
- * The name of the field in the entity that contains the title of the record that will be displayed in the timeline
85
+ * Sort order for events.
86
+ * - `desc`: Newest first
87
+ * - `asc`: Oldest first
88
+ * @default 'desc'
27
89
  */
28
- TitleFieldName: string;
90
+ sortOrder: TimelineSortOrder;
29
91
  /**
30
- * The name of the field in the entity that contains the date that will be used for the ordering in the timeline
92
+ * How to group events into time segments.
93
+ * @default 'month'
31
94
  */
32
- DateFieldName: string;
95
+ segmentGrouping: TimeSegmentGrouping;
33
96
  /**
34
- * Use standard or custom icons, if custom is specified, the DisplayIcon property must be set
97
+ * Default card configuration applied to all groups.
98
+ * Individual groups can override these settings.
35
99
  */
36
- DisplayIconMode?: 'standard' | 'custom';
100
+ defaultCardConfig: TimelineCardConfig;
37
101
  /**
38
- * Only used if DisplayIconMode is set to custom, the CSS class name to use from Font Awesome (or any other library that has styles pre-loaded), for the span that will be shown
102
+ * Virtual scrolling configuration.
39
103
  */
40
- DisplayIcon?: string;
104
+ virtualScroll: VirtualScrollConfig;
41
105
  /**
42
- * Color mode for items in this group, defaults to auto-selected in which case the color will be determined by the system automatically based on the # of groups
106
+ * Whether time segments can be collapsed.
107
+ * @default true
43
108
  */
44
- DisplayColorMode?: 'auto' | 'manual';
109
+ segmentsCollapsible: boolean;
45
110
  /**
46
- * Only used if DisplayColorMode is set to manual, the color to use for the items in this group. Any valid color string that can be set into the element style via CSS is valid here.
111
+ * Whether segments start expanded.
112
+ * @default true
47
113
  */
48
- DisplayColor?: string;
114
+ segmentsDefaultExpanded: boolean;
49
115
  /**
50
- * When set to field, the SummaryFieldName will be used to display detailed information about the record in the timeline. If set to custom, you need to provide
51
- * a function for the SummaryFunction property. If set to none, no summary will be displayed.
116
+ * Message shown when no events exist.
117
+ * @default 'No events to display'
52
118
  */
53
- SummaryMode?: 'field' | 'custom' | 'none';
119
+ emptyMessage: string;
54
120
  /**
55
- * When SummaryMode is set to 'custom', this function will be used to generate the summary for the record. The function should take a single parameter, the BaseEntity object and will return a string.
56
- * The string returned can be plain text or HTML and will be displayed in the timeline.
121
+ * Icon shown with empty message.
122
+ * @default 'fa-regular fa-calendar-xmark'
57
123
  */
58
- SummaryFunction?: ((record: any) => string) | undefined;
124
+ emptyIcon: string;
59
125
  /**
60
- * Creates a new instance of the TimelineGroup class using the information from the RunViewParams provided.
61
- * After receiving back the new object, you can set other properties of the new instance as appropriate.
62
- * @param params
63
- * @returns
126
+ * Message shown while loading.
127
+ * @default 'Loading timeline...'
64
128
  */
65
- static FromView(params: RunViewParams): Promise<TimelineGroup>;
66
- }
67
- /**
68
- * Displays data on a timeline UI so that information can see a chronolgoical display of the provided data.
69
- */
70
- export declare class TimelineComponent implements AfterViewInit {
71
- private _groups;
72
- DisplayOrientation: 'horizontal' | 'vertical';
129
+ loadingMessage: string;
73
130
  /**
74
- * Provide an array of one or more TimelineGroup objects to display the data in the timeline. Each group will be displayed in a different color and icon.
131
+ * ARIA label for the timeline container.
132
+ * @default 'Timeline'
75
133
  */
76
- get Groups(): TimelineGroup[];
77
- set Groups(value: TimelineGroup[]);
78
- private _deferLoadCount;
79
- private _allowLoad;
134
+ ariaLabel: string;
135
+ /**
136
+ * Enable keyboard navigation.
137
+ * @default true
138
+ */
139
+ enableKeyboardNavigation: boolean;
140
+ /** Emitted before an event card is clicked. Set `cancel = true` to prevent. */
141
+ beforeEventClick: EventEmitter<BeforeEventClickArgs<T>>;
142
+ /** Emitted before an event card expands. Set `cancel = true` to prevent. */
143
+ beforeEventExpand: EventEmitter<BeforeEventExpandArgs<T>>;
144
+ /** Emitted before an event card collapses. Set `cancel = true` to prevent. */
145
+ beforeEventCollapse: EventEmitter<BeforeEventCollapseArgs<T>>;
146
+ /** Emitted before hover state changes. Set `cancel = true` to prevent. */
147
+ beforeEventHover: EventEmitter<BeforeEventHoverArgs<T>>;
148
+ /** Emitted before an action button is clicked. Set `cancel = true` to prevent. */
149
+ beforeActionClick: EventEmitter<BeforeActionClickArgs<T>>;
150
+ /** Emitted before a time segment expands. Set `cancel = true` to prevent. */
151
+ beforeSegmentExpand: EventEmitter<BeforeSegmentExpandArgs>;
152
+ /** Emitted before a time segment collapses. Set `cancel = true` to prevent. */
153
+ beforeSegmentCollapse: EventEmitter<BeforeSegmentCollapseArgs>;
154
+ /** Emitted before data loading begins. Set `cancel = true` to prevent. */
155
+ beforeLoad: EventEmitter<BeforeLoadArgs>;
156
+ /** Emitted after an event card is clicked. */
157
+ afterEventClick: EventEmitter<AfterEventClickArgs<T>>;
158
+ /** Emitted after an event card expands. */
159
+ afterEventExpand: EventEmitter<AfterEventExpandArgs<T>>;
160
+ /** Emitted after an event card collapses. */
161
+ afterEventCollapse: EventEmitter<AfterEventCollapseArgs<T>>;
162
+ /** Emitted after hover state changes. */
163
+ afterEventHover: EventEmitter<AfterEventHoverArgs<T>>;
164
+ /** Emitted after an action button is clicked. */
165
+ afterActionClick: EventEmitter<AfterActionClickArgs<T>>;
166
+ /** Emitted after a time segment expands. */
167
+ afterSegmentExpand: EventEmitter<AfterSegmentExpandArgs>;
168
+ /** Emitted after a time segment collapses. */
169
+ afterSegmentCollapse: EventEmitter<AfterSegmentCollapseArgs>;
170
+ /** Emitted after data loading completes. */
171
+ afterLoad: EventEmitter<AfterLoadArgs>;
172
+ /** Custom template for entire card. Context: { event, group } */
173
+ cardTemplate?: TemplateRef<{
174
+ event: MJTimelineEvent<T>;
175
+ group: TimelineGroup<T>;
176
+ }>;
177
+ /** Custom template for card header. Context: { event } */
178
+ headerTemplate?: TemplateRef<{
179
+ event: MJTimelineEvent<T>;
180
+ }>;
181
+ /** Custom template for card body. Context: { event } */
182
+ bodyTemplate?: TemplateRef<{
183
+ event: MJTimelineEvent<T>;
184
+ }>;
185
+ /** Custom template for card actions. Context: { event, actions } */
186
+ actionsTemplate?: TemplateRef<{
187
+ event: MJTimelineEvent<T>;
188
+ actions: TimelineAction[];
189
+ }>;
190
+ /** Custom template for segment header. Context: { segment } */
191
+ segmentHeaderTemplate?: TemplateRef<{
192
+ segment: TimelineSegment;
193
+ }>;
194
+ /** Custom template for empty state. */
195
+ emptyTemplate?: TemplateRef<void>;
196
+ /** Custom template for loading state. */
197
+ loadingTemplate?: TemplateRef<void>;
198
+ scrollContainer?: ElementRef<HTMLElement>;
199
+ /** Current time segments with events. */
200
+ segments: TimelineSegment[];
201
+ /** All flattened events (for non-segmented display). */
202
+ allEvents: MJTimelineEvent<T>[];
203
+ /** Virtual scroll state. */
204
+ scrollState: VirtualScrollState;
205
+ /** Whether initial load is complete. */
206
+ isInitialized: boolean;
207
+ /** Whether currently loading data. */
208
+ isLoading: boolean;
209
+ /** Index of currently focused event (for keyboard navigation). */
210
+ focusedEventIndex: number;
211
+ private _initialized;
212
+ private _hasLoaded;
213
+ private _destroy$;
214
+ private _scroll$;
215
+ private _intersectionObserver?;
216
+ constructor(cdr: ChangeDetectorRef, elementRef: ElementRef, ngZone: NgZone);
217
+ ngOnInit(): void;
218
+ ngAfterViewInit(): void;
219
+ ngOnDestroy(): void;
220
+ /**
221
+ * Refreshes all data from the configured groups.
222
+ * Clears existing data and reloads from sources.
223
+ */
224
+ refresh(): Promise<void>;
225
+ /**
226
+ * Loads more events (for virtual scrolling).
227
+ */
228
+ loadMore(): Promise<void>;
229
+ /**
230
+ * Expands all event cards.
231
+ */
232
+ expandAllEvents(): void;
233
+ /**
234
+ * Collapses all event cards.
235
+ */
236
+ collapseAllEvents(): void;
237
+ /**
238
+ * Expands all time segments.
239
+ */
240
+ expandAllSegments(): void;
241
+ /**
242
+ * Collapses all time segments.
243
+ */
244
+ collapseAllSegments(): void;
245
+ /**
246
+ * Expands a specific event by ID.
247
+ */
248
+ expandEvent(eventId: string): void;
249
+ /**
250
+ * Collapses a specific event by ID.
251
+ */
252
+ collapseEvent(eventId: string): void;
253
+ /**
254
+ * Scrolls to a specific event.
255
+ */
256
+ scrollToEvent(eventId: string, behavior?: ScrollBehavior): void;
257
+ /**
258
+ * Scrolls to a specific date.
259
+ */
260
+ scrollToDate(date: Date, behavior?: ScrollBehavior): void;
261
+ /**
262
+ * Gets an event by ID.
263
+ */
264
+ getEvent(eventId: string): MJTimelineEvent<T> | undefined;
265
+ /**
266
+ * Gets all events (flattened).
267
+ */
268
+ getAllEvents(): MJTimelineEvent<T>[];
269
+ /**
270
+ * Handles click on an event card.
271
+ */
272
+ onEventClick(event: MJTimelineEvent<T>, index: number, domEvent: Event): void;
273
+ /**
274
+ * Handles expand/collapse toggle on an event.
275
+ */
276
+ onToggleExpand(event: MJTimelineEvent<T>, index: number, domEvent: Event): void;
277
+ /**
278
+ * Handles mouse enter on an event card.
279
+ */
280
+ onEventMouseEnter(event: MJTimelineEvent<T>, index: number, domEvent: Event): void;
281
+ /**
282
+ * Handles mouse leave on an event card.
283
+ */
284
+ onEventMouseLeave(event: MJTimelineEvent<T>, index: number, domEvent: Event): void;
285
+ /**
286
+ * Handles action button click.
287
+ */
288
+ onActionClick(event: MJTimelineEvent<T>, action: TimelineAction, index: number, domEvent: Event): void;
289
+ /**
290
+ * Handles segment header click.
291
+ */
292
+ onSegmentClick(segment: TimelineSegment): void;
293
+ /**
294
+ * Handles scroll events for virtual scrolling.
295
+ */
296
+ onScroll(event: Event): void;
297
+ /**
298
+ * Handles keyboard navigation.
299
+ */
300
+ onKeyDown(event: KeyboardEvent): void;
301
+ /**
302
+ * Gets the effective card config for an event.
303
+ */
304
+ getEffectiveCardConfig(event: MJTimelineEvent<T>): TimelineCardConfig;
305
+ /**
306
+ * Gets the color for a group/event.
307
+ */
308
+ getColor(event: MJTimelineEvent<T>): string;
309
+ /**
310
+ * Gets the icon for a group/event.
311
+ */
312
+ getIcon(event: MJTimelineEvent<T>): string;
313
+ /**
314
+ * Gets the actions for an event.
315
+ */
316
+ getActions(event: MJTimelineEvent<T>): TimelineAction[];
317
+ /**
318
+ * Formats a date for display.
319
+ */
320
+ formatDate(date: Date, format?: string): string;
321
+ /**
322
+ * Gets the value of a display field from an event.
323
+ */
324
+ getFieldValue(event: MJTimelineEvent<T>, field: TimelineDisplayField): string;
325
+ /**
326
+ * Track by function for ngFor.
327
+ */
328
+ trackByEventId(_index: number, event: MJTimelineEvent<T>): string;
329
+ /**
330
+ * Track by function for segments.
331
+ */
332
+ trackBySegmentLabel(_index: number, segment: TimelineSegment): string;
333
+ /**
334
+ * Gets the global index of an event in the allEvents array.
335
+ */
336
+ getGlobalIndex(event: MJTimelineEvent<T>): number;
337
+ /**
338
+ * Loads data from all groups.
339
+ */
340
+ private loadAllGroups;
341
+ /**
342
+ * Loads data from a single group.
343
+ */
344
+ private loadGroup;
345
+ /**
346
+ * Loads data from MemberJunction entity.
347
+ */
348
+ private loadFromEntity;
349
+ /**
350
+ * Loads the next batch for virtual scrolling.
351
+ */
352
+ private loadNextBatch;
353
+ /**
354
+ * Creates a timeline event from a source record.
355
+ */
356
+ private createTimelineEvent;
357
+ /**
358
+ * Sorts events by date according to sortOrder.
359
+ */
360
+ private sortEvents;
361
+ /**
362
+ * Builds time segments from events.
363
+ */
364
+ private buildSegments;
365
+ /**
366
+ * Gets segment information for a date.
367
+ */
368
+ private getSegmentInfo;
369
+ /**
370
+ * Toggles event expanded state.
371
+ */
372
+ private toggleEventExpanded;
373
+ /**
374
+ * Sets event expanded state.
375
+ */
376
+ private setEventExpanded;
377
+ /**
378
+ * Expands an event with events.
379
+ */
380
+ private expandEventInternal;
381
+ /**
382
+ * Collapses an event with events.
383
+ */
384
+ private collapseEventInternal;
385
+ /**
386
+ * Expands a segment.
387
+ */
388
+ private expandSegment;
389
+ /**
390
+ * Collapses a segment.
391
+ */
392
+ private collapseSegment;
80
393
  /**
81
- * Set this property to false to prevent the timeline from loading the data. This is useful when you want to load the data yourself and then set this property to true to display the data.
394
+ * Sets segment expanded state without events.
82
395
  */
83
- get AllowLoad(): boolean;
84
- set AllowLoad(value: boolean);
85
- events: TimelineEvent[];
86
- ngAfterViewInit(): Promise<void>;
396
+ private setSegmentExpanded;
397
+ private focusNextEvent;
398
+ private focusPreviousEvent;
399
+ private focusFirstEvent;
400
+ private focusLastEvent;
401
+ private activateFocusedEvent;
402
+ private collapseFocusedEvent;
403
+ private scrollToFocusedEvent;
404
+ private setupIntersectionObserver;
405
+ private onScrollCheck;
87
406
  /**
88
- * This method refreshes the timeline with the data from the provided parameters.
407
+ * Maps event config to card config properties.
89
408
  */
90
- Refresh(): Promise<void>;
409
+ private mapEventConfigToCardConfig;
91
410
  /**
92
- * This method loads the data for a single group and adds it to the timelineGroupEvents array.
93
- * @param group
411
+ * Simple date formatter (replaces Angular DatePipe for standalone use).
94
412
  */
95
- protected LoadSingleGroup(group: TimelineGroup): Promise<void>;
96
- protected mapEntityObjectsToEvents(group: TimelineGroup, entityObjects: BaseEntity[]): TimelineEvent[];
97
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineComponent, never>;
98
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent, "mj-timeline", never, { "DisplayOrientation": { "alias": "DisplayOrientation"; "required": false; }; "Groups": { "alias": "Groups"; "required": false; }; "AllowLoad": { "alias": "AllowLoad"; "required": false; }; }, {}, never, never, false, never>;
413
+ private formatDateInternal;
414
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimelineComponent<any>, never>;
415
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent<any>, "mj-timeline", never, { "groups": { "alias": "groups"; "required": false; }; "allowLoad": { "alias": "allowLoad"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "segmentGrouping": { "alias": "segmentGrouping"; "required": false; }; "defaultCardConfig": { "alias": "defaultCardConfig"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "segmentsCollapsible": { "alias": "segmentsCollapsible"; "required": false; }; "segmentsDefaultExpanded": { "alias": "segmentsDefaultExpanded"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "emptyIcon": { "alias": "emptyIcon"; "required": false; }; "loadingMessage": { "alias": "loadingMessage"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "enableKeyboardNavigation": { "alias": "enableKeyboardNavigation"; "required": false; }; }, { "beforeEventClick": "beforeEventClick"; "beforeEventExpand": "beforeEventExpand"; "beforeEventCollapse": "beforeEventCollapse"; "beforeEventHover": "beforeEventHover"; "beforeActionClick": "beforeActionClick"; "beforeSegmentExpand": "beforeSegmentExpand"; "beforeSegmentCollapse": "beforeSegmentCollapse"; "beforeLoad": "beforeLoad"; "afterEventClick": "afterEventClick"; "afterEventExpand": "afterEventExpand"; "afterEventCollapse": "afterEventCollapse"; "afterEventHover": "afterEventHover"; "afterActionClick": "afterActionClick"; "afterSegmentExpand": "afterSegmentExpand"; "afterSegmentCollapse": "afterSegmentCollapse"; "afterLoad": "afterLoad"; }, ["cardTemplate", "headerTemplate", "bodyTemplate", "actionsTemplate", "segmentHeaderTemplate", "emptyTemplate", "loadingTemplate"], never, false, never>;
99
416
  }
100
417
  //# sourceMappingURL=timeline.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"timeline.component.d.ts","sourceRoot":"","sources":["../../../src/lib/component/timeline.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,aAAa,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAW,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1E,OAAO,EAAe,aAAa,EAAE,MAAM,gCAAgC,CAAC;;AAE5E;;GAEG;AACH,qBAAa,aAAa;IACxB;;OAEG;IACH,UAAU,EAAG,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,OAAO,GAAG,QAAQ,CAAY;IAC9C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,aAAa,CAAC,EAAE,UAAU,EAAE,CAAM;IAClC;;O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1
+ {"version":3,"file":"timeline.component.d.ts","sourceRoot":"","sources":["../../../src/lib/component/timeline.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAIL,YAAY,EACZ,MAAM,EACN,SAAS,EACT,aAAa,EACb,UAAU,EAGV,WAAW,EACX,iBAAiB,EAEjB,MAAM,EACP,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAElB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,cAAc,EACd,oBAAoB,EAIrB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,aAAa,EAAiB,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,cAAc,EACd,aAAa,EACd,MAAM,WAAW,CAAC;;AA+BnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAMa,iBAAiB,CAAC,CAAC,GAAG,GAAG,CAAE,YAAW,MAAM,EAAE,SAAS,EAAE,aAAa;IA8Q/E,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,MAAM;IA3QhB;;;OAGG;IACH,IACI,MAAM,IAAI,aAAa,CAAC,CAAC,CAAC,EAAE,CAE/B;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,EAKnC;IACD,OAAO,CAAC,OAAO,CAA0B;IAEzC;;;;OAIG;IACH,IACI,SAAS,IAAI,OAAO,CAEvB;IACD,IAAI,SAAS,CAAC,KAAK,EAAE,OAAO,EAM3B;IACD,OAA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