@spicainternational/ngx-sds-components 5.30.0 → 5.31.0

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.
Files changed (26) hide show
  1. package/esm2020/public-api.mjs +2 -1
  2. package/esm2020/src/lib/timeline/components/timeline.component.mjs +254 -0
  3. package/esm2020/src/lib/timeline/models/timeline.model.mjs +2 -0
  4. package/esm2020/src/lib/timeline/public-api.mjs +3 -0
  5. package/esm2020/src/lib/timeline/services/timeline.service.mjs +115 -0
  6. package/esm2020/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.mjs +5 -0
  7. package/esm2020/src/lib/timeline/timeline.module.mjs +26 -0
  8. package/esm2020/src/lib/timeline/types/timeline.types.mjs +2 -0
  9. package/fesm2015/spicainternational-ngx-sds-components-src-lib-timeline.mjs +401 -0
  10. package/fesm2015/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +1 -0
  11. package/fesm2015/spicainternational-ngx-sds-components.mjs +1 -0
  12. package/fesm2015/spicainternational-ngx-sds-components.mjs.map +1 -1
  13. package/fesm2020/spicainternational-ngx-sds-components-src-lib-timeline.mjs +398 -0
  14. package/fesm2020/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +1 -0
  15. package/fesm2020/spicainternational-ngx-sds-components.mjs +1 -0
  16. package/fesm2020/spicainternational-ngx-sds-components.mjs.map +1 -1
  17. package/package.json +9 -1
  18. package/public-api.d.ts +1 -0
  19. package/src/lib/timeline/components/timeline.component.d.ts +116 -0
  20. package/src/lib/timeline/models/timeline.model.d.ts +21 -0
  21. package/src/lib/timeline/package.json +10 -0
  22. package/src/lib/timeline/public-api.d.ts +2 -0
  23. package/src/lib/timeline/services/timeline.service.d.ts +22 -0
  24. package/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.d.ts +5 -0
  25. package/src/lib/timeline/timeline.module.d.ts +8 -0
  26. package/src/lib/timeline/types/timeline.types.d.ts +1 -0
@@ -0,0 +1,401 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, ViewChild, HostListener, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class SdsTimelineService {
7
+ constructor(start, end, offSetMinutes) {
8
+ this.start = new Date();
9
+ this.end = new Date();
10
+ this.hourTicks = [];
11
+ this.dayLabels = [];
12
+ this.hourLabels = [];
13
+ this.start = new Date(start);
14
+ this.start.setMinutes(this.start.getMinutes() - offSetMinutes);
15
+ this.end = new Date(end);
16
+ this.end.setMinutes(this.end.getMinutes() + offSetMinutes);
17
+ this.widthPercentPerMinute = (100 / this.diffInMinutes(start, end));
18
+ this.initHourTicks();
19
+ this.initDayLabels();
20
+ this.initHourLabels();
21
+ }
22
+ getX(time) {
23
+ return this.diffInMinutes(this.start, time) * this.widthPercentPerMinute;
24
+ }
25
+ getWidthFromMinutes(minutes) {
26
+ return minutes * this.widthPercentPerMinute;
27
+ }
28
+ getWidthFromTime(start, end) {
29
+ return this.getWidthFromMinutes(this.diffInMinutes(start, end));
30
+ }
31
+ getTick(time) {
32
+ return {
33
+ date: new Date(time),
34
+ x: this.getX(time),
35
+ };
36
+ }
37
+ getHourTicks(frequency = 'hourly') {
38
+ if (frequency == 'hourly') {
39
+ return this.hourTicks;
40
+ }
41
+ else if (frequency == '3hrs') {
42
+ return this.hourTicks.filter((tick, index) => index % 3 == 0);
43
+ }
44
+ else if (frequency == '6hrs') {
45
+ return this.hourTicks.filter((tick, index) => index % 6 == 0);
46
+ }
47
+ return [];
48
+ }
49
+ //#region Private Methods
50
+ diffInMinutes(start, end) {
51
+ return (end.getTime() - start.getTime()) / (1000 * 60);
52
+ }
53
+ roundHoursUp(time) {
54
+ let newTime = new Date(time);
55
+ if (newTime.getMinutes() > 0 || newTime.getSeconds() > 0 || newTime.getMilliseconds() > 0) {
56
+ newTime.setHours(newTime.getHours() + 1);
57
+ }
58
+ newTime.setMinutes(0, 0, 0);
59
+ return newTime;
60
+ }
61
+ roundHoursDown(time) {
62
+ let newTime = new Date(time);
63
+ newTime.setMinutes(0, 0, 0);
64
+ return newTime;
65
+ }
66
+ initHourTicks() {
67
+ this.hourTicks = [];
68
+ // get first whole hour from start date
69
+ let startHour = this.roundHoursUp(this.start);
70
+ // get last whole hour from end date
71
+ let endHour = this.roundHoursDown(this.end);
72
+ let currentHour = new Date(startHour);
73
+ while (currentHour <= endHour) {
74
+ this.hourTicks.push(this.getTick(currentHour));
75
+ currentHour.setHours(currentHour.getHours() + 1);
76
+ }
77
+ }
78
+ initDayLabels() {
79
+ this.dayLabels = [];
80
+ // get start date at the beginning of the day
81
+ let startDate = new Date(this.start);
82
+ startDate.setHours(0, 0, 0, 0);
83
+ // get end date at the end of the day
84
+ let endDate = new Date(this.end);
85
+ endDate.setHours(23, 59, 59, 999);
86
+ let currentDate = new Date(startDate);
87
+ while (currentDate <= endDate) {
88
+ let endOfCurrentDay = new Date(currentDate);
89
+ endOfCurrentDay.setHours(23, 59, 59, 999);
90
+ this.dayLabels.push({
91
+ // date: new Date(currentDate),
92
+ x: this.getX(new Date(currentDate)),
93
+ width: this.getWidthFromTime(currentDate, endOfCurrentDay),
94
+ label: currentDate.toLocaleDateString([], { weekday: 'long', day: 'numeric', month: 'long', year: 'numeric' })
95
+ });
96
+ currentDate.setDate(currentDate.getDate() + 1);
97
+ }
98
+ }
99
+ initHourLabels() {
100
+ // get first whole hour from start date
101
+ let startHour = this.roundHoursUp(this.start);
102
+ // get last whole hour from end date
103
+ let endHour = this.roundHoursDown(this.end);
104
+ let currentHour = new Date(startHour);
105
+ while (currentHour <= endHour) {
106
+ if (currentHour.getHours() % 3 === 0) {
107
+ let labelStartTime = new Date(currentHour);
108
+ labelStartTime.setMinutes(-30);
109
+ this.hourLabels.push({
110
+ x: this.getX(labelStartTime),
111
+ width: this.getWidthFromMinutes(60),
112
+ label: currentHour.getHours().toString() //currentHour.toLocaleTimeString([], { hour: 'numeric'})
113
+ });
114
+ currentHour.setHours(currentHour.getHours() + 2);
115
+ }
116
+ currentHour.setHours(currentHour.getHours() + 1);
117
+ }
118
+ }
119
+ }
120
+
121
+ class SdsTimelineComponent {
122
+ constructor() {
123
+ /**
124
+ * The start date and time for the timeline.
125
+ *
126
+ * @type {Date}
127
+ * @memberof SdsTimelineComponent
128
+ */
129
+ this.start = new Date();
130
+ /**
131
+ * The end date and time for the timeline.
132
+ *
133
+ * @type {Date}
134
+ * @memberof SdsTimelineComponent
135
+ */
136
+ this.end = new Date();
137
+ /**
138
+ * The items to be displayed on the timeline. Specify data if you need
139
+ * additional data for custom rendering of the items.
140
+ *
141
+ * @type {TimelineItem[]}
142
+ * @memberof SdsTimelineComponent
143
+ */
144
+ this.items = [];
145
+ /**
146
+ * The template to be used for custom rendering of the items.
147
+ *
148
+ * @type {(TemplateRef<any> | undefined)}
149
+ * @memberof SdsTimelineComponent
150
+ */
151
+ this.itemTemplate = undefined;
152
+ /**
153
+ * The frequency of the ticks on the timeline.
154
+ *
155
+ * @type {TimelineTickFrequency}
156
+ * @memberof SdsTimelineComponent
157
+ */
158
+ this.tickFrequency = 'hourly';
159
+ /**
160
+ * The current zoom level of the timeline. In percent.
161
+ *
162
+ * @type {number}
163
+ * @memberof SdsTimelineComponent
164
+ */
165
+ this.zoomPercent = 100;
166
+ /**
167
+ * The maximum allowed zoom level of the timeline. In percent.
168
+ *
169
+ * @type {number}
170
+ * @memberof SdsTimelineComponent
171
+ */
172
+ this.maxZoomPercent = 500;
173
+ /**
174
+ * Whether to show hour labels.
175
+ *
176
+ * @type {boolean}
177
+ * @memberof SdsTimelineComponent
178
+ */
179
+ this.showHourLabels = true;
180
+ /**
181
+ * Whether to show day labels.
182
+ *
183
+ * @type {boolean}
184
+ * @memberof SdsTimelineComponent
185
+ */
186
+ this.showDayLabels = false;
187
+ /**
188
+ * The height of the timeline. Default is 2rem.
189
+ *
190
+ * @type {string}
191
+ * @memberof SdsTimelineComponent
192
+ */
193
+ this.timelineHeight = '2rem';
194
+ /**
195
+ * Whether to enable zoom and drag functionality.
196
+ *
197
+ * @type {boolean}
198
+ * @memberof SdsTimelineComponent
199
+ */
200
+ this.enableZoomAndDrag = true;
201
+ /**
202
+ * Number of minutes added to start and stop to fit the data on the edges
203
+ *
204
+ * @type {number}
205
+ * @memberof SdsTimelineComponent
206
+ */
207
+ this.offSetMinutes = 15;
208
+ // protected
209
+ this.hourTicks = [];
210
+ this.hourLabels = [];
211
+ this.dayLabels = [];
212
+ this._timelineService = new SdsTimelineService(this.start, this.end, this.offSetMinutes);
213
+ this.presentationItems = [];
214
+ this.viewOffsetPercent = 0;
215
+ this.isDragging = false;
216
+ this.initialDragX = 0;
217
+ this.viewOffsetPercentDragStart = 0;
218
+ }
219
+ ngAfterViewInit() {
220
+ this.generateTicks();
221
+ }
222
+ ngOnChanges(changes) {
223
+ if (this.start && this.end) {
224
+ this._timelineService = new SdsTimelineService(this.start, this.end, this.offSetMinutes);
225
+ this.generateTicks();
226
+ this.generateInternalTimelineItems();
227
+ }
228
+ if (changes['start'] || changes['end']) {
229
+ this._timelineService = new SdsTimelineService(this.start, this.end, this.offSetMinutes);
230
+ }
231
+ if (changes['items']) {
232
+ this.generateInternalTimelineItems();
233
+ }
234
+ if (changes['zoomPercent']) {
235
+ this.viewOffsetPercent = (this.zoomPercent - 100) / -2;
236
+ }
237
+ if (changes['showDayLabels'] || changes['showHourLabels']) {
238
+ this.generateTicks();
239
+ }
240
+ }
241
+ ngOnInit() { }
242
+ //#region mouse wheel zoom
243
+ onScroll(event) {
244
+ var _a, _b;
245
+ if (this.enableZoomAndDrag) {
246
+ event.preventDefault();
247
+ const delta = Math.sign(event.deltaY);
248
+ const newZoomPercent = Math.min(Math.max(this.zoomPercent + -delta * 20, 100), this.maxZoomPercent);
249
+ const deltaZoomPercent = newZoomPercent - this.zoomPercent;
250
+ this.zoomPercent = newZoomPercent;
251
+ // get the relative position of the cursor on the viewport so we can zoom in into this position
252
+ const x = event.clientX - ((_a = this._viewport) === null || _a === void 0 ? void 0 : _a.nativeElement.getBoundingClientRect().left);
253
+ const cursorRelativePosition = x / ((_b = this._viewport) === null || _b === void 0 ? void 0 : _b.nativeElement.getBoundingClientRect().width);
254
+ this.viewOffsetPercent = this.viewOffsetPercent - deltaZoomPercent * cursorRelativePosition;
255
+ this.constrainOffset();
256
+ }
257
+ }
258
+ //#endregion
259
+ //#region dragging
260
+ onDragStart(event) {
261
+ if (this.enableZoomAndDrag) {
262
+ event.preventDefault();
263
+ this.isDragging = true;
264
+ this.viewOffsetPercentDragStart = this.viewOffsetPercent;
265
+ if (event instanceof MouseEvent) {
266
+ this.initialDragX = event.clientX;
267
+ }
268
+ else if (event instanceof TouchEvent) {
269
+ this.initialDragX = event.touches[0].clientX;
270
+ }
271
+ }
272
+ }
273
+ onDragMove(event) {
274
+ if (this.enableZoomAndDrag) {
275
+ if (this.isDragging) {
276
+ const currentX = event.clientX;
277
+ this.moveElement(currentX);
278
+ }
279
+ }
280
+ }
281
+ onDragMoveTouch(event) {
282
+ if (this.enableZoomAndDrag) {
283
+ if (this.isDragging) {
284
+ const currentX = event.touches[0].clientX;
285
+ this.moveElement(currentX);
286
+ }
287
+ }
288
+ }
289
+ onDragEnd(event) {
290
+ if (this.enableZoomAndDrag) {
291
+ this.isDragging = false;
292
+ }
293
+ }
294
+ moveElement(currentX) {
295
+ var _a;
296
+ const diff = currentX - this.initialDragX;
297
+ if (this._viewport && this._viewport.nativeElement) {
298
+ const diffInPercent = (diff / ((_a = this._viewport) === null || _a === void 0 ? void 0 : _a.nativeElement.getBoundingClientRect().width)) * 100;
299
+ this.viewOffsetPercent = this.viewOffsetPercentDragStart + diffInPercent;
300
+ this.constrainOffset();
301
+ }
302
+ }
303
+ //#endregion
304
+ constrainOffset() {
305
+ if (this.zoomPercent + this.viewOffsetPercent < 100) {
306
+ this.viewOffsetPercent = -this.zoomPercent + 100;
307
+ }
308
+ this.viewOffsetPercent = Math.min(0, this.viewOffsetPercent);
309
+ }
310
+ generateTicks() {
311
+ this.hourTicks = this._timelineService.getHourTicks(this.tickFrequency);
312
+ this.dayLabels = this._timelineService.dayLabels;
313
+ this.hourLabels = this._timelineService.hourLabels;
314
+ }
315
+ generateInternalTimelineItems() {
316
+ this.presentationItems = this.items.map((item) => {
317
+ var _a;
318
+ const startTime = new Date(item.start).toLocaleTimeString([], { hour: 'numeric', minute: '2-digit' });
319
+ const endTime = new Date(item.end).toLocaleTimeString([], { hour: 'numeric', minute: '2-digit' });
320
+ const timeRange = `${startTime} - ${endTime}`;
321
+ return {
322
+ data: item.data,
323
+ x: this._timelineService.getX(item.start),
324
+ width: this._timelineService.getWidthFromTime(item.start, item.end),
325
+ hint: (_a = item.hint) !== null && _a !== void 0 ? _a : timeRange
326
+ };
327
+ });
328
+ }
329
+ }
330
+ SdsTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
331
+ SdsTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: SdsTimelineComponent, selector: "sds-timeline", inputs: { start: "start", end: "end", items: "items", itemTemplate: "itemTemplate", tickFrequency: "tickFrequency", zoomPercent: "zoomPercent", maxZoomPercent: "maxZoomPercent", showHourLabels: "showHourLabels", showDayLabels: "showDayLabels", timelineHeight: "timelineHeight", enableZoomAndDrag: "enableZoomAndDrag" }, host: { listeners: { "window:mousemove": "onDragMove($event)", "window:touchmove": "onDragMoveTouch($event)", "window:mouseup": "onDragEnd($event)", "window:touchend": "onDragEnd($event)" } }, viewQueries: [{ propertyName: "_viewport", first: true, predicate: ["viewport"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template #defaultItemTemplate let-item=\"item\">\r\n <div \r\n class=\"sds-timeline-item\"\r\n [title]=\"item.hint\"\r\n >\r\n </div>\r\n</ng-template>\r\n\r\n<div \r\n #viewport\r\n class=\"sds-timeline-viewport\"\r\n (wheel)=\"onScroll($event)\"\r\n\r\n (mousedown)=\"onDragStart($event)\"\r\n (touchstart)=\"onDragStart($event)\"\r\n >\r\n\r\n <div \r\n class=\"sds-timeline-container d-flex flex-column\"\r\n [style.left.%]=\"viewOffsetPercent\"\r\n [style.width.%]=\"zoomPercent\"\r\n [style.cursor]=\"isDragging ? 'ew-resize' : 'default'\"\r\n >\r\n\r\n <div\r\n *ngIf=\"showDayLabels\" \r\n class=\"sds-timeline-day-header\">\r\n\r\n <div \r\n *ngFor=\"let label of dayLabels\"\r\n class=\"sds-day-label font-monospace\" \r\n [style.left.%]=\"label.x\"\r\n [style.width.%]=\"label.width\"\r\n >\r\n <small>\r\n {{label.label}}\r\n </small>\r\n </div>\r\n </div>\r\n\r\n <div \r\n *ngIf=\"showHourLabels\" \r\n class=\"sds-timeline-hour-header\">\r\n\r\n <div \r\n *ngFor=\"let label of hourLabels;\"\r\n class=\"sds-hour-label font-monospace\" \r\n [style.left.%]=\"label.x\"\r\n [style.width.%]=\"label.width\"\r\n >\r\n <small>\r\n {{label.label}}\r\n </small>\r\n </div>\r\n </div>\r\n\r\n <div \r\n class=\"sds-timeline flex-grow-1\"\r\n [style.height]=\"timelineHeight\"\r\n >\r\n\r\n <div \r\n *ngFor=\"let tick of hourTicks\"\r\n class=\"sds-timeline-tick\" \r\n [ngStyle]=\"tick.x == 100 ? {'left': 'calc(' + tick.x +'% - 1px)'} : {'left': 'calc(' + tick.x + '% - 0.5px)'}\"\r\n >\r\n </div>\r\n\r\n\r\n <div \r\n *ngFor=\"let item of presentationItems\"\r\n class=\"sds-timeline-item-container\"\r\n [ngStyle]=\"{'width': 'max(' + item.width +'%, 1px)'}\"\r\n [style.left.%]=\"item.x\"\r\n >\r\n\r\n <ng-container \r\n [ngTemplateOutlet]=\"itemTemplate ? itemTemplate : defaultItemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: item}\">\r\n </ng-container> \r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".sds-timeline-viewport{overflow:hidden}.sds-timeline-viewport .sds-timeline-container{width:100%;min-height:0;position:relative;-webkit-user-select:none;user-select:none}.sds-timeline-viewport .sds-timeline-container .sds-timeline-day-header{height:1.6rem;position:relative}.sds-timeline-viewport .sds-timeline-container .sds-timeline-day-header .sds-day-label{position:absolute;display:inline;text-align:center}.sds-timeline-viewport .sds-timeline-container .sds-timeline-hour-header{height:1.6rem;position:relative}.sds-timeline-viewport .sds-timeline-container .sds-timeline-hour-header .sds-hour-label{position:absolute;display:inline;text-align:center}.sds-timeline-viewport .sds-timeline-container .sds-timeline{position:relative}.sds-timeline-viewport .sds-timeline-container .sds-timeline .sds-timeline-tick{border-left:1px solid #bbbbbb;height:100%;position:absolute;display:inline}.sds-timeline-viewport .sds-timeline-container .sds-timeline .sds-timeline-item-container{height:100%;position:absolute;display:inline}.sds-timeline-viewport .sds-timeline-container .sds-timeline .sds-timeline-item-container .sds-timeline-item{position:relative;top:20%;height:60%;width:100%;background-color:#4a8399}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsTimelineComponent, decorators: [{
333
+ type: Component,
334
+ args: [{ selector: 'sds-timeline', template: "<ng-template #defaultItemTemplate let-item=\"item\">\r\n <div \r\n class=\"sds-timeline-item\"\r\n [title]=\"item.hint\"\r\n >\r\n </div>\r\n</ng-template>\r\n\r\n<div \r\n #viewport\r\n class=\"sds-timeline-viewport\"\r\n (wheel)=\"onScroll($event)\"\r\n\r\n (mousedown)=\"onDragStart($event)\"\r\n (touchstart)=\"onDragStart($event)\"\r\n >\r\n\r\n <div \r\n class=\"sds-timeline-container d-flex flex-column\"\r\n [style.left.%]=\"viewOffsetPercent\"\r\n [style.width.%]=\"zoomPercent\"\r\n [style.cursor]=\"isDragging ? 'ew-resize' : 'default'\"\r\n >\r\n\r\n <div\r\n *ngIf=\"showDayLabels\" \r\n class=\"sds-timeline-day-header\">\r\n\r\n <div \r\n *ngFor=\"let label of dayLabels\"\r\n class=\"sds-day-label font-monospace\" \r\n [style.left.%]=\"label.x\"\r\n [style.width.%]=\"label.width\"\r\n >\r\n <small>\r\n {{label.label}}\r\n </small>\r\n </div>\r\n </div>\r\n\r\n <div \r\n *ngIf=\"showHourLabels\" \r\n class=\"sds-timeline-hour-header\">\r\n\r\n <div \r\n *ngFor=\"let label of hourLabels;\"\r\n class=\"sds-hour-label font-monospace\" \r\n [style.left.%]=\"label.x\"\r\n [style.width.%]=\"label.width\"\r\n >\r\n <small>\r\n {{label.label}}\r\n </small>\r\n </div>\r\n </div>\r\n\r\n <div \r\n class=\"sds-timeline flex-grow-1\"\r\n [style.height]=\"timelineHeight\"\r\n >\r\n\r\n <div \r\n *ngFor=\"let tick of hourTicks\"\r\n class=\"sds-timeline-tick\" \r\n [ngStyle]=\"tick.x == 100 ? {'left': 'calc(' + tick.x +'% - 1px)'} : {'left': 'calc(' + tick.x + '% - 0.5px)'}\"\r\n >\r\n </div>\r\n\r\n\r\n <div \r\n *ngFor=\"let item of presentationItems\"\r\n class=\"sds-timeline-item-container\"\r\n [ngStyle]=\"{'width': 'max(' + item.width +'%, 1px)'}\"\r\n [style.left.%]=\"item.x\"\r\n >\r\n\r\n <ng-container \r\n [ngTemplateOutlet]=\"itemTemplate ? itemTemplate : defaultItemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: item}\">\r\n </ng-container> \r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".sds-timeline-viewport{overflow:hidden}.sds-timeline-viewport .sds-timeline-container{width:100%;min-height:0;position:relative;-webkit-user-select:none;user-select:none}.sds-timeline-viewport .sds-timeline-container .sds-timeline-day-header{height:1.6rem;position:relative}.sds-timeline-viewport .sds-timeline-container .sds-timeline-day-header .sds-day-label{position:absolute;display:inline;text-align:center}.sds-timeline-viewport .sds-timeline-container .sds-timeline-hour-header{height:1.6rem;position:relative}.sds-timeline-viewport .sds-timeline-container .sds-timeline-hour-header .sds-hour-label{position:absolute;display:inline;text-align:center}.sds-timeline-viewport .sds-timeline-container .sds-timeline{position:relative}.sds-timeline-viewport .sds-timeline-container .sds-timeline .sds-timeline-tick{border-left:1px solid #bbbbbb;height:100%;position:absolute;display:inline}.sds-timeline-viewport .sds-timeline-container .sds-timeline .sds-timeline-item-container{height:100%;position:absolute;display:inline}.sds-timeline-viewport .sds-timeline-container .sds-timeline .sds-timeline-item-container .sds-timeline-item{position:relative;top:20%;height:60%;width:100%;background-color:#4a8399}\n"] }]
335
+ }], ctorParameters: function () { return []; }, propDecorators: { start: [{
336
+ type: Input
337
+ }], end: [{
338
+ type: Input
339
+ }], items: [{
340
+ type: Input
341
+ }], itemTemplate: [{
342
+ type: Input
343
+ }], tickFrequency: [{
344
+ type: Input
345
+ }], zoomPercent: [{
346
+ type: Input
347
+ }], maxZoomPercent: [{
348
+ type: Input
349
+ }], showHourLabels: [{
350
+ type: Input
351
+ }], showDayLabels: [{
352
+ type: Input
353
+ }], timelineHeight: [{
354
+ type: Input
355
+ }], enableZoomAndDrag: [{
356
+ type: Input
357
+ }], _viewport: [{
358
+ type: ViewChild,
359
+ args: ['viewport', { static: true }]
360
+ }], onDragMove: [{
361
+ type: HostListener,
362
+ args: ['window:mousemove', ['$event']]
363
+ }], onDragMoveTouch: [{
364
+ type: HostListener,
365
+ args: ['window:touchmove', ['$event']]
366
+ }], onDragEnd: [{
367
+ type: HostListener,
368
+ args: ['window:mouseup', ['$event']]
369
+ }, {
370
+ type: HostListener,
371
+ args: ['window:touchend', ['$event']]
372
+ }] } });
373
+
374
+ class SdsTimelineModule {
375
+ }
376
+ SdsTimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
377
+ SdsTimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsTimelineModule, declarations: [SdsTimelineComponent], imports: [CommonModule], exports: [SdsTimelineComponent] });
378
+ SdsTimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsTimelineModule, imports: [[
379
+ CommonModule
380
+ ]] });
381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsTimelineModule, decorators: [{
382
+ type: NgModule,
383
+ args: [{
384
+ declarations: [
385
+ SdsTimelineComponent
386
+ ],
387
+ imports: [
388
+ CommonModule
389
+ ],
390
+ exports: [
391
+ SdsTimelineComponent
392
+ ],
393
+ }]
394
+ }] });
395
+
396
+ /**
397
+ * Generated bundle index. Do not edit.
398
+ */
399
+
400
+ export { SdsTimelineComponent, SdsTimelineModule };
401
+ //# sourceMappingURL=spicainternational-ngx-sds-components-src-lib-timeline.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-timeline.mjs","sources":["../../../projects/ngx-sds-components/src/lib/timeline/services/timeline.service.ts","../../../projects/ngx-sds-components/src/lib/timeline/components/timeline.component.ts","../../../projects/ngx-sds-components/src/lib/timeline/components/timeline.component.html","../../../projects/ngx-sds-components/src/lib/timeline/timeline.module.ts","../../../projects/ngx-sds-components/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { TimelineIntervalLabel, TimelineTick } from '../models/timeline.model';\r\nimport { TimelineTickFrequency } from '../types/timeline.types';\r\n\r\nexport class SdsTimelineService {\r\n\r\n private start: Date = new Date();\r\n private end: Date = new Date();\r\n\r\n private widthPercentPerMinute: number;\r\n\r\n private hourTicks: TimelineTick[] = [];\r\n public dayLabels: TimelineIntervalLabel[] = [];\r\n public hourLabels: TimelineIntervalLabel[] = [];\r\n \r\n constructor(start: Date, end: Date, offSetMinutes: number) {\r\n this.start = new Date(start);\r\n this.start.setMinutes(this.start.getMinutes() - offSetMinutes);\r\n this.end = new Date(end); \r\n this.end.setMinutes(this.end.getMinutes() + offSetMinutes);\r\n this.widthPercentPerMinute = (100 / this.diffInMinutes(start, end));\r\n\r\n this.initHourTicks();\r\n this.initDayLabels();\r\n this.initHourLabels();\r\n }\r\n\r\n public getX(time: Date): number {\r\n return this.diffInMinutes(this.start, time) * this.widthPercentPerMinute; \r\n }\r\n\r\n public getWidthFromMinutes(minutes: number): number {\r\n return minutes * this.widthPercentPerMinute;\r\n }\r\n\r\n public getWidthFromTime(start: Date, end: Date): number {\r\n return this.getWidthFromMinutes(this.diffInMinutes(start, end));\r\n }\r\n\r\n public getTick(time: Date): TimelineTick {\r\n return {\r\n date: new Date(time),\r\n x: this.getX(time),\r\n } \r\n }\r\n \r\n public getHourTicks(frequency: TimelineTickFrequency = 'hourly'): TimelineTick[] {\r\n if (frequency == 'hourly') {\r\n return this.hourTicks;\r\n } else if (frequency == '3hrs') {\r\n return this.hourTicks.filter((tick, index) => index % 3 == 0)\r\n } else if (frequency == '6hrs') {\r\n return this.hourTicks.filter((tick, index) => index % 6 == 0)\r\n }\r\n return []\r\n }\r\n\r\n\r\n //#region Private Methods\r\n\r\n private diffInMinutes(start: Date, end: Date): number {\r\n return (end.getTime() - start.getTime()) / (1000 * 60);\r\n }\r\n\r\n private roundHoursUp(time: Date): Date {\r\n \r\n let newTime = new Date(time);\r\n \r\n if (newTime.getMinutes() > 0 || newTime.getSeconds() > 0 || newTime.getMilliseconds() > 0) {\r\n newTime.setHours(newTime.getHours() + 1);\r\n }\r\n newTime.setMinutes(0, 0, 0);\r\n return newTime;\r\n }\r\n\r\n\r\n private roundHoursDown(time: Date) {\r\n let newTime = new Date(time);\r\n newTime.setMinutes(0, 0, 0);\r\n return newTime;\r\n }\r\n \r\n\r\n private initHourTicks(): void {\r\n this.hourTicks = [];\r\n\r\n // get first whole hour from start date\r\n let startHour = this.roundHoursUp(this.start);\r\n\r\n // get last whole hour from end date\r\n let endHour = this.roundHoursDown(this.end);\r\n\r\n let currentHour = new Date(startHour)\r\n while (currentHour <= endHour) {\r\n this.hourTicks.push(this.getTick(currentHour));\r\n currentHour.setHours(currentHour.getHours() + 1);\r\n }\r\n }\r\n\r\n private initDayLabels(): void {\r\n this.dayLabels = [];\r\n\r\n // get start date at the beginning of the day\r\n let startDate = new Date(this.start);\r\n startDate.setHours(0, 0, 0, 0);\r\n\r\n // get end date at the end of the day\r\n let endDate = new Date(this.end);\r\n endDate.setHours(23, 59, 59, 999);\r\n\r\n let currentDate = new Date(startDate);\r\n while (currentDate <= endDate) {\r\n let endOfCurrentDay = new Date(currentDate);\r\n endOfCurrentDay.setHours(23, 59, 59, 999);\r\n\r\n this.dayLabels.push({\r\n // date: new Date(currentDate),\r\n x: this.getX(new Date(currentDate)),\r\n width: this.getWidthFromTime(currentDate, endOfCurrentDay),\r\n label: currentDate.toLocaleDateString([], { weekday: 'long', day: 'numeric', month: 'long', year: 'numeric' })\r\n });\r\n currentDate.setDate(currentDate.getDate() + 1); \r\n }\r\n } \r\n \r\n private initHourLabels(): void {\r\n\r\n // get first whole hour from start date\r\n let startHour = this.roundHoursUp(this.start);\r\n // get last whole hour from end date\r\n let endHour = this.roundHoursDown(this.end);\r\n\r\n let currentHour = new Date(startHour)\r\n while (currentHour <= endHour) {\r\n if (currentHour.getHours() % 3 === 0) {\r\n let labelStartTime = new Date(currentHour);\r\n labelStartTime.setMinutes(-30);\r\n this.hourLabels.push(\r\n {\r\n x: this.getX(labelStartTime),\r\n width: this.getWidthFromMinutes(60),\r\n label: currentHour.getHours().toString() //currentHour.toLocaleTimeString([], { hour: 'numeric'})\r\n }\r\n );\r\n currentHour.setHours(currentHour.getHours() + 2);\r\n }\r\n currentHour.setHours(currentHour.getHours() + 1);\r\n }\r\n }\r\n\r\n //#endregion\r\n\r\n}\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ElementRef,\r\n HostListener,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n SimpleChanges,\r\n TemplateRef,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { TimelineTickFrequency } from '../types/timeline.types';\r\nimport { SdsTimelineService } from '../services/timeline.service';\r\nimport {\r\n TimelineIntervalLabel,\r\n TimelineItem,\r\n TimelineItemPresentation,\r\n TimelineTick,\r\n} from '../models/timeline.model';\r\n\r\n@Component({\r\n selector: 'sds-timeline',\r\n templateUrl: './timeline.component.html',\r\n styleUrls: ['./timeline.component.scss'],\r\n})\r\nexport class SdsTimelineComponent implements OnInit, OnChanges, AfterViewInit {\r\n /**\r\n * The start date and time for the timeline.\r\n *\r\n * @type {Date}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() start: Date = new Date();\r\n\r\n /**\r\n * The end date and time for the timeline.\r\n *\r\n * @type {Date}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() end: Date = new Date();\r\n\r\n /**\r\n * The items to be displayed on the timeline. Specify data if you need \r\n * additional data for custom rendering of the items.\r\n *\r\n * @type {TimelineItem[]}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() items: TimelineItem[] = [];\r\n\r\n /**\r\n * The template to be used for custom rendering of the items.\r\n *\r\n * @type {(TemplateRef<any> | undefined)}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() itemTemplate: TemplateRef<any> | undefined = undefined;\r\n\r\n /**\r\n * The frequency of the ticks on the timeline.\r\n *\r\n * @type {TimelineTickFrequency}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() tickFrequency: TimelineTickFrequency = 'hourly';\r\n /**\r\n * The current zoom level of the timeline. In percent.\r\n *\r\n * @type {number}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() zoomPercent: number = 100;\r\n\r\n /**\r\n * The maximum allowed zoom level of the timeline. In percent.\r\n *\r\n * @type {number}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() maxZoomPercent: number = 500;\r\n\r\n /**\r\n * Whether to show hour labels.\r\n *\r\n * @type {boolean}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() showHourLabels: boolean = true;\r\n\r\n /**\r\n * Whether to show day labels. \r\n *\r\n * @type {boolean}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() showDayLabels: boolean = false;\r\n\r\n /**\r\n * The height of the timeline. Default is 2rem.\r\n *\r\n * @type {string}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() timelineHeight: string = '2rem';\r\n\r\n /**\r\n * Whether to enable zoom and drag functionality.\r\n *\r\n * @type {boolean}\r\n * @memberof SdsTimelineComponent\r\n */\r\n @Input() enableZoomAndDrag: boolean = true;\r\n\r\n /**\r\n * Number of minutes added to start and stop to fit the data on the edges\r\n *\r\n * @type {number}\r\n * @memberof SdsTimelineComponent\r\n */\r\n offSetMinutes: number = 15;\r\n\r\n // protected\r\n hourTicks: TimelineTick[] = [];\r\n hourLabels: TimelineIntervalLabel[] = [];\r\n dayLabels: TimelineIntervalLabel[] = [];\r\n\r\n private _timelineService: SdsTimelineService = new SdsTimelineService(\r\n this.start,\r\n this.end,\r\n this.offSetMinutes\r\n );\r\n\r\n public presentationItems: TimelineItemPresentation[] = [];\r\n\r\n public viewOffsetPercent = 0;\r\n\r\n public isDragging = false;\r\n public initialDragX = 0;\r\n\r\n private viewOffsetPercentDragStart = 0;\r\n\r\n @ViewChild('viewport', { static: true }) _viewport: ElementRef | undefined;\r\n\r\n constructor() {}\r\n\r\n ngAfterViewInit(): void {\r\n this.generateTicks();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.start && this.end) {\r\n this._timelineService = new SdsTimelineService(\r\n this.start,\r\n this.end,\r\n this.offSetMinutes\r\n );\r\n this.generateTicks();\r\n this.generateInternalTimelineItems();\r\n }\r\n\r\n if (changes['start'] || changes['end']) {\r\n this._timelineService = new SdsTimelineService(\r\n this.start,\r\n this.end,\r\n this.offSetMinutes\r\n );\r\n }\r\n\r\n if (changes['items']) {\r\n this.generateInternalTimelineItems();\r\n }\r\n\r\n if (changes['zoomPercent']) {\r\n this.viewOffsetPercent = (this.zoomPercent - 100) / -2;\r\n }\r\n\r\n if (changes['showDayLabels'] || changes['showHourLabels']) {\r\n this.generateTicks();\r\n } \r\n }\r\n\r\n ngOnInit(): void {}\r\n\r\n //#region mouse wheel zoom\r\n onScroll(event: WheelEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n\r\n event.preventDefault();\r\n\r\n const delta = Math.sign(event.deltaY);\r\n const newZoomPercent = Math.min(\r\n Math.max(this.zoomPercent + -delta * 20, 100),\r\n this.maxZoomPercent\r\n );\r\n const deltaZoomPercent = newZoomPercent - this.zoomPercent;\r\n this.zoomPercent = newZoomPercent;\r\n \r\n // get the relative position of the cursor on the viewport so we can zoom in into this position\r\n const x = event.clientX - this._viewport?.nativeElement.getBoundingClientRect().left;\r\n const cursorRelativePosition = x / this._viewport?.nativeElement.getBoundingClientRect().width;\r\n this.viewOffsetPercent = this.viewOffsetPercent - deltaZoomPercent * cursorRelativePosition;\r\n\r\n this.constrainOffset();\r\n }\r\n }\r\n //#endregion\r\n\r\n //#region dragging\r\n \r\n public onDragStart(event: MouseEvent | TouchEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n event.preventDefault();\r\n this.isDragging = true;\r\n this.viewOffsetPercentDragStart = this.viewOffsetPercent;\r\n\r\n if (event instanceof MouseEvent) {\r\n this.initialDragX = event.clientX;\r\n } else if (event instanceof TouchEvent) {\r\n this.initialDragX = event.touches[0].clientX;\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:mousemove', ['$event'])\r\n public onDragMove(event: MouseEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n if (this.isDragging) {\r\n const currentX = event.clientX;\r\n this.moveElement(currentX);\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:touchmove', ['$event'])\r\n onDragMoveTouch(event: TouchEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n if (this.isDragging) {\r\n const currentX = event.touches[0].clientX;\r\n this.moveElement(currentX);\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:mouseup', ['$event'])\r\n @HostListener('window:touchend', ['$event'])\r\n public onDragEnd(event: MouseEvent | TouchEvent): void {\r\n if (this.enableZoomAndDrag) {\r\n this.isDragging = false;\r\n }\r\n }\r\n\r\n private moveElement(currentX: number): void {\r\n const diff = currentX - this.initialDragX;\r\n if (this._viewport && this._viewport.nativeElement) {\r\n const diffInPercent = (diff / this._viewport?.nativeElement.getBoundingClientRect().width) * 100;\r\n this.viewOffsetPercent = this.viewOffsetPercentDragStart + diffInPercent;\r\n this.constrainOffset();\r\n }\r\n }\r\n\r\n //#endregion\r\n\r\n private constrainOffset(): void {\r\n if (this.zoomPercent + this.viewOffsetPercent < 100) {\r\n this.viewOffsetPercent = -this.zoomPercent + 100;\r\n }\r\n this.viewOffsetPercent = Math.min(0, this.viewOffsetPercent);\r\n }\r\n\r\n private generateTicks(): void {\r\n this.hourTicks = this._timelineService.getHourTicks(this.tickFrequency);\r\n this.dayLabels = this._timelineService.dayLabels;\r\n this.hourLabels = this._timelineService.hourLabels;\r\n }\r\n\r\n private generateInternalTimelineItems(): void {\r\n this.presentationItems = this.items.map((item) => {\r\n\r\n const startTime = new Date(item.start).toLocaleTimeString([], { hour: 'numeric', minute: '2-digit' });\r\n const endTime = new Date(item.end).toLocaleTimeString([], { hour: 'numeric', minute: '2-digit' });\r\n const timeRange = `${startTime} - ${endTime}`;\r\n \r\n return {\r\n data: item.data,\r\n x: this._timelineService.getX(item.start),\r\n width: this._timelineService.getWidthFromTime(\r\n item.start,\r\n item.end\r\n ),\r\n hint: item.hint ?? timeRange\r\n };\r\n });\r\n }\r\n}\r\n","<ng-template #defaultItemTemplate let-item=\"item\">\r\n <div \r\n class=\"sds-timeline-item\"\r\n [title]=\"item.hint\"\r\n >\r\n </div>\r\n</ng-template>\r\n\r\n<div \r\n #viewport\r\n class=\"sds-timeline-viewport\"\r\n (wheel)=\"onScroll($event)\"\r\n\r\n (mousedown)=\"onDragStart($event)\"\r\n (touchstart)=\"onDragStart($event)\"\r\n >\r\n\r\n <div \r\n class=\"sds-timeline-container d-flex flex-column\"\r\n [style.left.%]=\"viewOffsetPercent\"\r\n [style.width.%]=\"zoomPercent\"\r\n [style.cursor]=\"isDragging ? 'ew-resize' : 'default'\"\r\n >\r\n\r\n <div\r\n *ngIf=\"showDayLabels\" \r\n class=\"sds-timeline-day-header\">\r\n\r\n <div \r\n *ngFor=\"let label of dayLabels\"\r\n class=\"sds-day-label font-monospace\" \r\n [style.left.%]=\"label.x\"\r\n [style.width.%]=\"label.width\"\r\n >\r\n <small>\r\n {{label.label}}\r\n </small>\r\n </div>\r\n </div>\r\n\r\n <div \r\n *ngIf=\"showHourLabels\" \r\n class=\"sds-timeline-hour-header\">\r\n\r\n <div \r\n *ngFor=\"let label of hourLabels;\"\r\n class=\"sds-hour-label font-monospace\" \r\n [style.left.%]=\"label.x\"\r\n [style.width.%]=\"label.width\"\r\n >\r\n <small>\r\n {{label.label}}\r\n </small>\r\n </div>\r\n </div>\r\n\r\n <div \r\n class=\"sds-timeline flex-grow-1\"\r\n [style.height]=\"timelineHeight\"\r\n >\r\n\r\n <div \r\n *ngFor=\"let tick of hourTicks\"\r\n class=\"sds-timeline-tick\" \r\n [ngStyle]=\"tick.x == 100 ? {'left': 'calc(' + tick.x +'% - 1px)'} : {'left': 'calc(' + tick.x + '% - 0.5px)'}\"\r\n >\r\n </div>\r\n\r\n\r\n <div \r\n *ngFor=\"let item of presentationItems\"\r\n class=\"sds-timeline-item-container\"\r\n [ngStyle]=\"{'width': 'max(' + item.width +'%, 1px)'}\"\r\n [style.left.%]=\"item.x\"\r\n >\r\n\r\n <ng-container \r\n [ngTemplateOutlet]=\"itemTemplate ? itemTemplate : defaultItemTemplate\"\r\n [ngTemplateOutletContext]=\"{item: item}\">\r\n </ng-container> \r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsTimelineComponent } from './components/timeline.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n SdsTimelineComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n SdsTimelineComponent\r\n ],\r\n})\r\nexport class SdsTimelineModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAIa,kBAAkB,CAAA;AAW3B,IAAA,WAAA,CAAY,KAAW,EAAE,GAAS,EAAE,aAAqB,EAAA;AATjD,QAAA,IAAA,CAAA,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;AACzB,QAAA,IAAA,CAAA,GAAG,GAAS,IAAI,IAAI,EAAE,CAAC;AAIvB,QAAA,IAAS,CAAA,SAAA,GAAmB,EAAE,CAAC;AAChC,QAAA,IAAS,CAAA,SAAA,GAA4B,EAAE,CAAC;AACxC,QAAA,IAAU,CAAA,UAAA,GAA4B,EAAE,CAAC;QAG5C,IAAI,CAAC,KAAK,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;AAC7B,QAAA,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,GAAG,aAAa,CAAC,CAAC;QAC/D,IAAI,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;AACzB,QAAA,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,aAAa,CAAC,CAAC;AAC3D,QAAA,IAAI,CAAC,qBAAqB,IAAI,GAAG,GAAG,IAAI,CAAC,aAAa,C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AAA,EAAA,iBAAiB,EAPjB,OAAA,EAAA,CAAA;YACL,YAAY;SACf,CAAA,EAAA,CAAA,CAAA;2FAKQ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAX7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV,oBAAoB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,oBAAoB;AACvB,qBAAA;iBACJ,CAAA;;;ACdD;;AAEG;;;;"}
@@ -23,6 +23,7 @@ export * from '@spicainternational/ngx-sds-components/src/lib/quick-info';
23
23
  export * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';
24
24
  export * from '@spicainternational/ngx-sds-components/src/lib/side-bar';
25
25
  export * from '@spicainternational/ngx-sds-components/src/lib/static-value';
26
+ export * from '@spicainternational/ngx-sds-components/src/lib/timeline';
26
27
  export * from '@spicainternational/ngx-sds-components/src/lib/timer';
27
28
  export * from '@spicainternational/ngx-sds-components/src/lib/tooltip';
28
29
  export * from '@spicainternational/ngx-sds-components/src/lib/table-actions';
@@ -1 +1 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components.mjs","sources":["../../../projects/ngx-sds-components/src/public-api.ts","../../../projects/ngx-sds-components/src/spicainternational-ngx-sds-components.ts"],"sourcesContent":["/*\r\n * Public API Surface of ngx-sds-components\r\n */\r\n\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/badge';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/callout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/color-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/ellipsis';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/expansion-panel';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/duration-pipe';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/duration-box';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/highlight-text';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/intersection';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/keyboard-shortcut';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/layout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/message';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/modal';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/navigation';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/number-box';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/page-header';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/pane';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/quick-info';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/side-bar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/static-value';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/timer';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/tooltip';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/table-actions';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}
1
+ {"version":3,"file":"spicainternational-ngx-sds-components.mjs","sources":["../../../projects/ngx-sds-components/src/public-api.ts","../../../projects/ngx-sds-components/src/spicainternational-ngx-sds-components.ts"],"sourcesContent":["/*\r\n * Public API Surface of ngx-sds-components\r\n */\r\n\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/badge';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/callout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/color-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/ellipsis';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/expansion-panel';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/duration-pipe';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/duration-box';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/highlight-text';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/intersection';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/keyboard-shortcut';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/layout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/message';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/modal';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/navigation';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/number-box';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/page-header';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/pane';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/quick-info';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/side-bar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/static-value';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/timeline';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/timer';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/tooltip';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/table-actions';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}