@weeehaoooz/talos-ui 0.1.0 → 0.1.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.
- package/README.md +2 -0
- package/fesm2022/{weeehaoooz-talos-ui-button-button-group.mjs → weeehaoooz-talos-ui-button.mjs} +115 -18
- package/fesm2022/weeehaoooz-talos-ui-button.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-data-display.mjs +3110 -0
- package/fesm2022/weeehaoooz-talos-ui-data-display.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-data-viz.mjs +2414 -0
- package/fesm2022/weeehaoooz-talos-ui-data-viz.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-dropdown.mjs +1039 -0
- package/fesm2022/weeehaoooz-talos-ui-dropdown.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-feedback.mjs +2885 -0
- package/fesm2022/weeehaoooz-talos-ui-feedback.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-form.mjs +10799 -0
- package/fesm2022/weeehaoooz-talos-ui-form.mjs.map +1 -0
- package/fesm2022/weeehaoooz-talos-ui-layout.mjs +1320 -11
- package/fesm2022/weeehaoooz-talos-ui-layout.mjs.map +1 -1
- package/fesm2022/weeehaoooz-talos-ui-nav.mjs +119 -72
- package/fesm2022/weeehaoooz-talos-ui-nav.mjs.map +1 -1
- package/fesm2022/weeehaoooz-talos-ui.mjs +22190 -15213
- package/fesm2022/weeehaoooz-talos-ui.mjs.map +1 -1
- package/package.json +20 -135
- package/styles/_breadcrumb.scss +16 -0
- package/styles/_button-group.scss +156 -7
- package/styles/_buttons.scss +156 -8
- package/styles/_dropdown.scss +438 -0
- package/styles/_form-controls.scss +13 -0
- package/styles/_progress-bar.scss +43 -0
- package/styles/_skeleton.scss +176 -0
- package/styles/_spinner.scss +58 -0
- package/styles/_variables.scss +37 -0
- package/styles/index.scss +6 -1
- package/types/weeehaoooz-talos-ui-button.d.ts +92 -0
- package/types/weeehaoooz-talos-ui-button.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-data-display.d.ts +1018 -0
- package/types/weeehaoooz-talos-ui-data-display.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-data-viz.d.ts +839 -0
- package/types/weeehaoooz-talos-ui-data-viz.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-dropdown.d.ts +187 -0
- package/types/weeehaoooz-talos-ui-dropdown.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-feedback.d.ts +1495 -0
- package/types/weeehaoooz-talos-ui-feedback.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-form.d.ts +2639 -0
- package/types/weeehaoooz-talos-ui-form.d.ts.map +1 -0
- package/types/weeehaoooz-talos-ui-layout.d.ts +851 -3
- package/types/weeehaoooz-talos-ui-layout.d.ts.map +1 -1
- package/types/weeehaoooz-talos-ui-nav.d.ts +36 -10
- package/types/weeehaoooz-talos-ui-nav.d.ts.map +1 -1
- package/types/weeehaoooz-talos-ui.d.ts +6949 -4137
- package/types/weeehaoooz-talos-ui.d.ts.map +1 -1
- package/fesm2022/weeehaoooz-talos-ui-button-button-group.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-button-button.mjs +0 -93
- package/fesm2022/weeehaoooz-talos-ui-button-button.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-badge.mjs +0 -233
- package/fesm2022/weeehaoooz-talos-ui-data-display-badge.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-status-tag.mjs +0 -361
- package/fesm2022/weeehaoooz-talos-ui-data-display-status-tag.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-timeline.mjs +0 -312
- package/fesm2022/weeehaoooz-talos-ui-data-display-timeline.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-display-trend-indicator.mjs +0 -235
- package/fesm2022/weeehaoooz-talos-ui-data-display-trend-indicator.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-category-bar.mjs +0 -462
- package/fesm2022/weeehaoooz-talos-ui-data-viz-category-bar.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-heatmap.mjs +0 -805
- package/fesm2022/weeehaoooz-talos-ui-data-viz-heatmap.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-donut.mjs +0 -267
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-donut.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-gauge.mjs +0 -351
- package/fesm2022/weeehaoooz-talos-ui-data-viz-mini-gauge.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-data-viz-sparkline.mjs +0 -566
- package/fesm2022/weeehaoooz-talos-ui-data-viz-sparkline.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-alert.mjs +0 -534
- package/fesm2022/weeehaoooz-talos-ui-feedback-alert.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-dialog.mjs +0 -446
- package/fesm2022/weeehaoooz-talos-ui-feedback-dialog.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-snackbar.mjs +0 -376
- package/fesm2022/weeehaoooz-talos-ui-feedback-snackbar.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-feedback-tooltip.mjs +0 -147
- package/fesm2022/weeehaoooz-talos-ui-feedback-tooltip.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-affix.mjs +0 -242
- package/fesm2022/weeehaoooz-talos-ui-form-affix.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-autocomplete.mjs +0 -514
- package/fesm2022/weeehaoooz-talos-ui-form-autocomplete.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-checkbox.mjs +0 -548
- package/fesm2022/weeehaoooz-talos-ui-form-checkbox.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-chips.mjs +0 -692
- package/fesm2022/weeehaoooz-talos-ui-form-chips.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-color-picker.mjs +0 -761
- package/fesm2022/weeehaoooz-talos-ui-form-color-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-picker.mjs +0 -896
- package/fesm2022/weeehaoooz-talos-ui-form-date-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-range-picker.mjs +0 -872
- package/fesm2022/weeehaoooz-talos-ui-form-date-range-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-picker.mjs +0 -119
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-range-picker.mjs +0 -135
- package/fesm2022/weeehaoooz-talos-ui-form-date-time-range-picker.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-drop-zone.mjs +0 -666
- package/fesm2022/weeehaoooz-talos-ui-form-drop-zone.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-form-field.mjs +0 -147
- package/fesm2022/weeehaoooz-talos-ui-form-form-field.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-input.mjs +0 -33
- package/fesm2022/weeehaoooz-talos-ui-form-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-otp.mjs +0 -455
- package/fesm2022/weeehaoooz-talos-ui-form-otp.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-password-input.mjs +0 -379
- package/fesm2022/weeehaoooz-talos-ui-form-password-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-radio.mjs +0 -297
- package/fesm2022/weeehaoooz-talos-ui-form-radio.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-range-input.mjs +0 -661
- package/fesm2022/weeehaoooz-talos-ui-form-range-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-rating.mjs +0 -346
- package/fesm2022/weeehaoooz-talos-ui-form-rating.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-select-input.mjs +0 -896
- package/fesm2022/weeehaoooz-talos-ui-form-select-input.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-slide-toggle.mjs +0 -252
- package/fesm2022/weeehaoooz-talos-ui-form-slide-toggle.mjs.map +0 -1
- package/fesm2022/weeehaoooz-talos-ui-form-transfer-list.mjs +0 -916
- package/fesm2022/weeehaoooz-talos-ui-form-transfer-list.mjs.map +0 -1
- package/types/weeehaoooz-talos-ui-button-button-group.d.ts +0 -59
- package/types/weeehaoooz-talos-ui-button-button-group.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-button-button.d.ts +0 -38
- package/types/weeehaoooz-talos-ui-button-button.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-badge.d.ts +0 -119
- package/types/weeehaoooz-talos-ui-data-display-badge.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-status-tag.d.ts +0 -135
- package/types/weeehaoooz-talos-ui-data-display-status-tag.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-timeline.d.ts +0 -144
- package/types/weeehaoooz-talos-ui-data-display-timeline.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-display-trend-indicator.d.ts +0 -83
- package/types/weeehaoooz-talos-ui-data-display-trend-indicator.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-category-bar.d.ts +0 -255
- package/types/weeehaoooz-talos-ui-data-viz-category-bar.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-heatmap.d.ts +0 -204
- package/types/weeehaoooz-talos-ui-data-viz-heatmap.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-mini-donut.d.ts +0 -101
- package/types/weeehaoooz-talos-ui-data-viz-mini-donut.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-mini-gauge.d.ts +0 -138
- package/types/weeehaoooz-talos-ui-data-viz-mini-gauge.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-data-viz-sparkline.d.ts +0 -161
- package/types/weeehaoooz-talos-ui-data-viz-sparkline.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-alert.d.ts +0 -212
- package/types/weeehaoooz-talos-ui-feedback-alert.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-dialog.d.ts +0 -259
- package/types/weeehaoooz-talos-ui-feedback-dialog.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-snackbar.d.ts +0 -147
- package/types/weeehaoooz-talos-ui-feedback-snackbar.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-feedback-tooltip.d.ts +0 -32
- package/types/weeehaoooz-talos-ui-feedback-tooltip.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-affix.d.ts +0 -88
- package/types/weeehaoooz-talos-ui-form-affix.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-autocomplete.d.ts +0 -113
- package/types/weeehaoooz-talos-ui-form-autocomplete.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-checkbox.d.ts +0 -165
- package/types/weeehaoooz-talos-ui-form-checkbox.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-chips.d.ts +0 -152
- package/types/weeehaoooz-talos-ui-form-chips.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-color-picker.d.ts +0 -144
- package/types/weeehaoooz-talos-ui-form-color-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-picker.d.ts +0 -138
- package/types/weeehaoooz-talos-ui-form-date-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-range-picker.d.ts +0 -148
- package/types/weeehaoooz-talos-ui-form-date-range-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-time-picker.d.ts +0 -44
- package/types/weeehaoooz-talos-ui-form-date-time-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-date-time-range-picker.d.ts +0 -48
- package/types/weeehaoooz-talos-ui-form-date-time-range-picker.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-drop-zone.d.ts +0 -227
- package/types/weeehaoooz-talos-ui-form-drop-zone.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-form-field.d.ts +0 -42
- package/types/weeehaoooz-talos-ui-form-form-field.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-input.d.ts +0 -15
- package/types/weeehaoooz-talos-ui-form-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-otp.d.ts +0 -111
- package/types/weeehaoooz-talos-ui-form-otp.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-password-input.d.ts +0 -145
- package/types/weeehaoooz-talos-ui-form-password-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-radio.d.ts +0 -84
- package/types/weeehaoooz-talos-ui-form-radio.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-range-input.d.ts +0 -181
- package/types/weeehaoooz-talos-ui-form-range-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-rating.d.ts +0 -110
- package/types/weeehaoooz-talos-ui-form-rating.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-select-input.d.ts +0 -195
- package/types/weeehaoooz-talos-ui-form-select-input.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-slide-toggle.d.ts +0 -79
- package/types/weeehaoooz-talos-ui-form-slide-toggle.d.ts.map +0 -1
- package/types/weeehaoooz-talos-ui-form-transfer-list.d.ts +0 -192
- package/types/weeehaoooz-talos-ui-form-transfer-list.d.ts.map +0 -1
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, TemplateRef, Directive, input, output, linkedSignal, computed, ContentChild, Component, NgModule } from '@angular/core';
|
|
3
|
-
import { NgTemplateOutlet, NgComponentOutlet, DatePipe, KeyValuePipe } from '@angular/common';
|
|
4
|
-
import { LucideLoader2, LucideClock, LucideInfo, LucideAlertTriangle, LucideAlertCircle, LucideCheck, LucideChevronDown, LucideChevronUp, LucideUser } from '@lucide/angular';
|
|
5
|
-
|
|
6
|
-
class TalosTimelineDotDirective {
|
|
7
|
-
templateRef = inject(TemplateRef, { optional: true });
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineDotDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TalosTimelineDotDirective, isStandalone: true, selector: "[talosTimelineDot], ng-template[talosTimelineDot]", ngImport: i0 });
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineDotDirective, decorators: [{
|
|
12
|
-
type: Directive,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: '[talosTimelineDot], ng-template[talosTimelineDot]'
|
|
15
|
-
}]
|
|
16
|
-
}] });
|
|
17
|
-
class TalosTimelineTitleDirective {
|
|
18
|
-
templateRef = inject(TemplateRef, { optional: true });
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TalosTimelineTitleDirective, isStandalone: true, selector: "[talosTimelineTitle], ng-template[talosTimelineTitle]", ngImport: i0 });
|
|
21
|
-
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineTitleDirective, decorators: [{
|
|
23
|
-
type: Directive,
|
|
24
|
-
args: [{
|
|
25
|
-
selector: '[talosTimelineTitle], ng-template[talosTimelineTitle]'
|
|
26
|
-
}]
|
|
27
|
-
}] });
|
|
28
|
-
class TalosTimelineTimeDirective {
|
|
29
|
-
templateRef = inject(TemplateRef, { optional: true });
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineTimeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TalosTimelineTimeDirective, isStandalone: true, selector: "[talosTimelineTime], ng-template[talosTimelineTime]", ngImport: i0 });
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineTimeDirective, decorators: [{
|
|
34
|
-
type: Directive,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: '[talosTimelineTime], ng-template[talosTimelineTime]'
|
|
37
|
-
}]
|
|
38
|
-
}] });
|
|
39
|
-
class TalosTimelineContentDirective {
|
|
40
|
-
templateRef = inject(TemplateRef, { optional: true });
|
|
41
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TalosTimelineContentDirective, isStandalone: true, selector: "[talosTimelineContent], ng-template[talosTimelineContent]", ngImport: i0 });
|
|
43
|
-
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineContentDirective, decorators: [{
|
|
45
|
-
type: Directive,
|
|
46
|
-
args: [{
|
|
47
|
-
selector: '[talosTimelineContent], ng-template[talosTimelineContent]'
|
|
48
|
-
}]
|
|
49
|
-
}] });
|
|
50
|
-
class TalosTimelineExtraDirective {
|
|
51
|
-
templateRef = inject(TemplateRef, { optional: true });
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineExtraDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
53
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TalosTimelineExtraDirective, isStandalone: true, selector: "[talosTimelineExtra], ng-template[talosTimelineExtra]", ngImport: i0 });
|
|
54
|
-
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineExtraDirective, decorators: [{
|
|
56
|
-
type: Directive,
|
|
57
|
-
args: [{
|
|
58
|
-
selector: '[talosTimelineExtra], ng-template[talosTimelineExtra]'
|
|
59
|
-
}]
|
|
60
|
-
}] });
|
|
61
|
-
|
|
62
|
-
class TalosTimelineItemComponent {
|
|
63
|
-
// Inputs
|
|
64
|
-
status = input('neutral', /* @ts-ignore */
|
|
65
|
-
...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
|
|
66
|
-
dotVariant = input('solid', /* @ts-ignore */
|
|
67
|
-
...(ngDevMode ? [{ debugName: "dotVariant" }] : /* istanbul ignore next */ []));
|
|
68
|
-
dotSize = input('md', /* @ts-ignore */
|
|
69
|
-
...(ngDevMode ? [{ debugName: "dotSize" }] : /* istanbul ignore next */ []));
|
|
70
|
-
dotColor = input(null, /* @ts-ignore */
|
|
71
|
-
...(ngDevMode ? [{ debugName: "dotColor" }] : /* istanbul ignore next */ []));
|
|
72
|
-
icon = input(null, /* @ts-ignore */
|
|
73
|
-
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
74
|
-
loading = input(false, /* @ts-ignore */
|
|
75
|
-
...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
76
|
-
active = input(false, /* @ts-ignore */
|
|
77
|
-
...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
|
|
78
|
-
lineStyle = input('solid', /* @ts-ignore */
|
|
79
|
-
...(ngDevMode ? [{ debugName: "lineStyle" }] : /* istanbul ignore next */ []));
|
|
80
|
-
timestamp = input(null, /* @ts-ignore */
|
|
81
|
-
...(ngDevMode ? [{ debugName: "timestamp" }] : /* istanbul ignore next */ []));
|
|
82
|
-
relativeTime = input(null, /* @ts-ignore */
|
|
83
|
-
...(ngDevMode ? [{ debugName: "relativeTime" }] : /* istanbul ignore next */ []));
|
|
84
|
-
title = input(null, /* @ts-ignore */
|
|
85
|
-
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
86
|
-
description = input(null, /* @ts-ignore */
|
|
87
|
-
...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
|
|
88
|
-
actor = input(null, /* @ts-ignore */
|
|
89
|
-
...(ngDevMode ? [{ debugName: "actor" }] : /* istanbul ignore next */ []));
|
|
90
|
-
tags = input(null, /* @ts-ignore */
|
|
91
|
-
...(ngDevMode ? [{ debugName: "tags" }] : /* istanbul ignore next */ []));
|
|
92
|
-
diffs = input(null, /* @ts-ignore */
|
|
93
|
-
...(ngDevMode ? [{ debugName: "diffs" }] : /* istanbul ignore next */ []));
|
|
94
|
-
metadata = input(null, /* @ts-ignore */
|
|
95
|
-
...(ngDevMode ? [{ debugName: "metadata" }] : /* istanbul ignore next */ []));
|
|
96
|
-
expandable = input(false, /* @ts-ignore */
|
|
97
|
-
...(ngDevMode ? [{ debugName: "expandable" }] : /* istanbul ignore next */ []));
|
|
98
|
-
expanded = input(false, /* @ts-ignore */
|
|
99
|
-
...(ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []));
|
|
100
|
-
position = input('left', /* @ts-ignore */
|
|
101
|
-
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
102
|
-
isLast = input(false, /* @ts-ignore */
|
|
103
|
-
...(ngDevMode ? [{ debugName: "isLast" }] : /* istanbul ignore next */ []));
|
|
104
|
-
// Outputs
|
|
105
|
-
itemClick = output();
|
|
106
|
-
toggleExpand = output();
|
|
107
|
-
// Slot Directives
|
|
108
|
-
customDot;
|
|
109
|
-
customTitle;
|
|
110
|
-
customTime;
|
|
111
|
-
customContent;
|
|
112
|
-
customExtra;
|
|
113
|
-
// Internal state for accordion / collapse linked to input
|
|
114
|
-
isExpanded = linkedSignal(() => this.expanded(), /* @ts-ignore */
|
|
115
|
-
...(ngDevMode ? [{ debugName: "isExpanded" }] : /* istanbul ignore next */ []));
|
|
116
|
-
hasExpandableDetails = computed(() => {
|
|
117
|
-
return (this.expandable() ||
|
|
118
|
-
(this.diffs() && this.diffs().length > 0) ||
|
|
119
|
-
(this.metadata() && Object.keys(this.metadata()).length > 0));
|
|
120
|
-
}, /* @ts-ignore */
|
|
121
|
-
...(ngDevMode ? [{ debugName: "hasExpandableDetails" }] : /* istanbul ignore next */ []));
|
|
122
|
-
effectiveIcon = computed(() => {
|
|
123
|
-
if (this.loading()) {
|
|
124
|
-
return LucideLoader2;
|
|
125
|
-
}
|
|
126
|
-
if (this.icon()) {
|
|
127
|
-
return this.icon();
|
|
128
|
-
}
|
|
129
|
-
switch (this.status()) {
|
|
130
|
-
case 'success':
|
|
131
|
-
case 'completed':
|
|
132
|
-
return LucideCheck;
|
|
133
|
-
case 'error':
|
|
134
|
-
case 'cancelled':
|
|
135
|
-
return LucideAlertCircle;
|
|
136
|
-
case 'warning':
|
|
137
|
-
return LucideAlertTriangle;
|
|
138
|
-
case 'info':
|
|
139
|
-
return LucideInfo;
|
|
140
|
-
case 'pending':
|
|
141
|
-
case 'in-progress':
|
|
142
|
-
return LucideClock;
|
|
143
|
-
default:
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
}, /* @ts-ignore */
|
|
147
|
-
...(ngDevMode ? [{ debugName: "effectiveIcon" }] : /* istanbul ignore next */ []));
|
|
148
|
-
isStatus(expected) {
|
|
149
|
-
return this.status() === expected;
|
|
150
|
-
}
|
|
151
|
-
toggleAccordion() {
|
|
152
|
-
this.isExpanded.update(current => !current);
|
|
153
|
-
this.toggleExpand.emit(this.isExpanded());
|
|
154
|
-
}
|
|
155
|
-
onItemClicked() {
|
|
156
|
-
this.itemClick.emit();
|
|
157
|
-
}
|
|
158
|
-
isDateObject(val) {
|
|
159
|
-
return val instanceof Date;
|
|
160
|
-
}
|
|
161
|
-
formatJsonValue(val) {
|
|
162
|
-
if (typeof val === 'string')
|
|
163
|
-
return `"${val}"`;
|
|
164
|
-
if (typeof val === 'object' && val !== null)
|
|
165
|
-
return JSON.stringify(val);
|
|
166
|
-
return String(val);
|
|
167
|
-
}
|
|
168
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
169
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: TalosTimelineItemComponent, isStandalone: true, selector: "talos-timeline-item, [talosTimelineItem]", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, dotVariant: { classPropertyName: "dotVariant", publicName: "dotVariant", isSignal: true, isRequired: false, transformFunction: null }, dotSize: { classPropertyName: "dotSize", publicName: "dotSize", isSignal: true, isRequired: false, transformFunction: null }, dotColor: { classPropertyName: "dotColor", publicName: "dotColor", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, lineStyle: { classPropertyName: "lineStyle", publicName: "lineStyle", isSignal: true, isRequired: false, transformFunction: null }, timestamp: { classPropertyName: "timestamp", publicName: "timestamp", isSignal: true, isRequired: false, transformFunction: null }, relativeTime: { classPropertyName: "relativeTime", publicName: "relativeTime", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, actor: { classPropertyName: "actor", publicName: "actor", isSignal: true, isRequired: false, transformFunction: null }, tags: { classPropertyName: "tags", publicName: "tags", isSignal: true, isRequired: false, transformFunction: null }, diffs: { classPropertyName: "diffs", publicName: "diffs", isSignal: true, isRequired: false, transformFunction: null }, metadata: { classPropertyName: "metadata", publicName: "metadata", isSignal: true, isRequired: false, transformFunction: null }, expandable: { classPropertyName: "expandable", publicName: "expandable", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, isLast: { classPropertyName: "isLast", publicName: "isLast", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick", toggleExpand: "toggleExpand" }, host: { properties: { "class.talos-timeline-item--primary": "isStatus(\"primary\")", "class.talos-timeline-item--secondary": "isStatus(\"secondary\")", "class.talos-timeline-item--success": "isStatus(\"success\") || isStatus(\"completed\")", "class.talos-timeline-item--warning": "isStatus(\"warning\")", "class.talos-timeline-item--error": "isStatus(\"error\") || isStatus(\"cancelled\")", "class.talos-timeline-item--info": "isStatus(\"info\")", "class.talos-timeline-item--neutral": "isStatus(\"neutral\")", "class.talos-timeline-item--pending": "isStatus(\"pending\")", "class.talos-timeline-item--in-progress": "isStatus(\"in-progress\")", "class.talos-timeline-item--loading": "loading()", "class.talos-timeline-item--active": "active()", "class.talos-timeline-item--last": "isLast()", "class.talos-timeline-item--left": "position() === \"left\"", "class.talos-timeline-item--right": "position() === \"right\"", "class.talos-timeline-item--expanded": "isExpanded()" }, classAttribute: "talos-timeline-item" }, queries: [{ propertyName: "customDot", first: true, predicate: TalosTimelineDotDirective, descendants: true }, { propertyName: "customTitle", first: true, predicate: TalosTimelineTitleDirective, descendants: true }, { propertyName: "customTime", first: true, predicate: TalosTimelineTimeDirective, descendants: true }, { propertyName: "customContent", first: true, predicate: TalosTimelineContentDirective, descendants: true }, { propertyName: "customExtra", first: true, predicate: TalosTimelineExtraDirective, descendants: true }], ngImport: i0, template: "<!-- Left / Opposite Slot (Used for Timestamps/Actor in Alternating or Two-Sided mode) -->\n<div class=\"talos-timeline-item__opposite\" aria-hidden=\"true\">\n @if (customTime?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customTime!.templateRef!\" />\n } @else if (timestamp() || relativeTime()) {\n <div class=\"talos-timeline-item__time-stamp\">\n @if (relativeTime()) {\n <span class=\"talos-timeline-item__relative-time\">{{ relativeTime() }}</span>\n }\n @if (timestamp()) {\n <span class=\"talos-timeline-item__absolute-time\">\n @if (isDateObject(timestamp())) {\n {{ timestamp() | date: 'medium' }}\n } @else {\n {{ timestamp() }}\n }\n </span>\n }\n </div>\n }\n</div>\n\n<!-- Separator Column: Connector Track & Dot Marker -->\n<div class=\"talos-timeline-item__separator\">\n <div\n class=\"talos-timeline-item__connector talos-timeline-item__connector--top\"\n [class.talos-timeline-item__connector--dashed]=\"lineStyle() === 'dashed'\"\n [class.talos-timeline-item__connector--dotted]=\"lineStyle() === 'dotted'\"\n ></div>\n\n <div\n class=\"talos-timeline-item__dot\"\n [class.talos-timeline-item__dot--solid]=\"dotVariant() === 'solid'\"\n [class.talos-timeline-item__dot--subtle]=\"dotVariant() === 'subtle'\"\n [class.talos-timeline-item__dot--outline]=\"dotVariant() === 'outline'\"\n [class.talos-timeline-item__dot--pure-dot]=\"dotVariant() === 'dot'\"\n [class.talos-timeline-item__dot--xs]=\"dotSize() === 'xs'\"\n [class.talos-timeline-item__dot--sm]=\"dotSize() === 'sm'\"\n [class.talos-timeline-item__dot--md]=\"dotSize() === 'md'\"\n [class.talos-timeline-item__dot--lg]=\"dotSize() === 'lg'\"\n [class.talos-timeline-item__dot--loading]=\"loading()\"\n [style.background-color]=\"dotColor()\"\n [style.border-color]=\"dotColor()\"\n >\n @if (customDot?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customDot!.templateRef!\" />\n } @else if (effectiveIcon()) {\n <ng-container *ngComponentOutlet=\"effectiveIcon()!\" />\n }\n </div>\n\n <div\n class=\"talos-timeline-item__connector talos-timeline-item__connector--bottom\"\n [class.talos-timeline-item__connector--dashed]=\"lineStyle() === 'dashed'\"\n [class.talos-timeline-item__connector--dotted]=\"lineStyle() === 'dotted'\"\n ></div>\n</div>\n\n<!-- Main Body / Content Area -->\n<div class=\"talos-timeline-item__body\" (click)=\"onItemClicked()\">\n <div class=\"talos-timeline-item__header\">\n <div class=\"talos-timeline-item__title-group\">\n <!-- Projected or Input Title -->\n @if (customTitle?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customTitle!.templateRef!\" />\n } @else if (title()) {\n <h4 class=\"talos-timeline-item__title\">{{ title() }}</h4>\n }\n\n <!-- Status Indicator Pill -->\n @if (status() && status() !== 'neutral') {\n <span class=\"talos-timeline-item__status-badge talos-timeline-item__status-badge--{{ status() }}\">\n {{ status() }}\n </span>\n }\n </div>\n\n <!-- Header Right / Metadata (Timestamp in Left Align mode) -->\n <div class=\"talos-timeline-item__header-meta\">\n @if (relativeTime()) {\n <span class=\"talos-timeline-item__header-time\">{{ relativeTime() }}</span>\n } @else if (timestamp()) {\n <span class=\"talos-timeline-item__header-time\">\n @if (isDateObject(timestamp())) {\n {{ timestamp() | date: 'short' }}\n } @else {\n {{ timestamp() }}\n }\n </span>\n }\n\n @if (hasExpandableDetails()) {\n <button\n type=\"button\"\n class=\"talos-timeline-item__expand-btn\"\n [attr.aria-expanded]=\"isExpanded()\"\n aria-label=\"Toggle audit details\"\n (click)=\"toggleAccordion(); $event.stopPropagation()\"\n >\n @if (isExpanded()) {\n <svg lucideChevronUp [size]=\"14\"></svg>\n } @else {\n <svg lucideChevronDown [size]=\"14\"></svg>\n }\n </button>\n }\n </div>\n </div>\n\n <!-- Actor Info for Audit Logs -->\n @if (actor(); as currentActor) {\n <div class=\"talos-timeline-item__actor\">\n <div class=\"talos-timeline-item__actor-avatar\">\n @if (currentActor.avatar) {\n <img [src]=\"currentActor.avatar\" [alt]=\"currentActor.name\" />\n } @else {\n <svg lucideUser [size]=\"12\"></svg>\n }\n </div>\n <div class=\"talos-timeline-item__actor-details\">\n <span class=\"talos-timeline-item__actor-name\">{{ currentActor.name }}</span>\n @if (currentActor.role) {\n <span class=\"talos-timeline-item__actor-role\">{{ currentActor.role }}</span>\n }\n @if (currentActor.ip) {\n <span class=\"talos-timeline-item__actor-ip\">({{ currentActor.ip }})</span>\n }\n </div>\n </div>\n }\n\n <!-- Description / Content Area -->\n <div class=\"talos-timeline-item__content\">\n @if (customContent?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customContent!.templateRef!\" />\n } @else if (description()) {\n <p class=\"talos-timeline-item__description\">{{ description() }}</p>\n }\n <ng-content></ng-content>\n </div>\n\n <!-- Tags Pill Row -->\n @if (tags() && tags()!.length > 0) {\n <div class=\"talos-timeline-item__tags\">\n @for (tag of tags()!; track tag) {\n <span class=\"talos-timeline-item__tag\">{{ tag }}</span>\n }\n </div>\n }\n\n <!-- Audit Change Diffs (Expanded / Default) -->\n @if (diffs() && diffs()!.length > 0 && isExpanded()) {\n <div class=\"talos-timeline-item__diffs-table-wrapper\">\n <table class=\"talos-timeline-item__diffs-table\">\n <thead>\n <tr>\n <th>Field</th>\n <th>Previous Value</th>\n <th>New Value</th>\n </tr>\n </thead>\n <tbody>\n @for (diff of diffs()!; track diff.field) {\n <tr class=\"talos-timeline-item__diff-row talos-timeline-item__diff-row--{{ diff.type || 'modified' }}\">\n <td class=\"talos-timeline-item__diff-field\">{{ diff.field }}</td>\n <td class=\"talos-timeline-item__diff-old\">\n <code>{{ formatJsonValue(diff.previousValue) }}</code>\n </td>\n <td class=\"talos-timeline-item__diff-new\">\n <code>{{ formatJsonValue(diff.newValue) }}</code>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n\n <!-- Expandable JSON / Metadata -->\n @if (metadata() && isExpanded()) {\n <div class=\"talos-timeline-item__metadata-card\">\n <div class=\"talos-timeline-item__metadata-header\">Metadata & Payload</div>\n <div class=\"talos-timeline-item__metadata-grid\">\n @for (entry of metadata()! | keyvalue; track entry.key) {\n <div class=\"talos-timeline-item__meta-item\">\n <span class=\"talos-timeline-item__meta-key\">{{ entry.key }}:</span>\n <span class=\"talos-timeline-item__meta-val\"><code>{{ formatJsonValue(entry.value) }}</code></span>\n </div>\n }\n </div>\n </div>\n }\n\n <!-- Extra Slot Projection -->\n @if (customExtra?.templateRef) {\n <div class=\"talos-timeline-item__extra\">\n <ng-container [ngTemplateOutlet]=\"customExtra!.templateRef!\" />\n </div>\n }\n</div>\n", styles: [":host{display:flex;position:relative;min-height:4.5rem;box-sizing:border-box;--timeline-line-color: var(--talos-border-color, #e2e8f0);--timeline-line-width: 2px;--timeline-dot-size: 1.5rem;--timeline-dot-color: var(--talos-text-muted, #64748b);--timeline-dot-bg: var(--talos-card-bg, #ffffff);--timeline-dot-border: var(--talos-border-color, #cbd5e1);--timeline-title-color: var(--talos-text-color, #0f172a);--timeline-desc-color: var(--talos-text-muted, #475569);--timeline-time-color: var(--talos-text-muted, #64748b)}:host(.talos-timeline-item--primary){--timeline-dot-color: var(--talos-primary-color, #2563eb);--timeline-dot-border: var(--talos-primary-color, #2563eb);--timeline-dot-bg: var(--talos-primary-color, #2563eb)}:host(.talos-timeline-item--secondary){--timeline-dot-color: #6366f1;--timeline-dot-border: #6366f1;--timeline-dot-bg: #6366f1}:host(.talos-timeline-item--success){--timeline-dot-color: var(--talos-success-color, #16a34a);--timeline-dot-border: var(--talos-success-color, #16a34a);--timeline-dot-bg: var(--talos-success-color, #16a34a)}:host(.talos-timeline-item--warning){--timeline-dot-color: var(--talos-warning-color, #d97706);--timeline-dot-border: var(--talos-warning-color, #d97706);--timeline-dot-bg: var(--talos-warning-color, #d97706)}:host(.talos-timeline-item--error){--timeline-dot-color: var(--talos-error-color, #ef4444);--timeline-dot-border: var(--talos-error-color, #ef4444);--timeline-dot-bg: var(--talos-error-color, #ef4444)}:host(.talos-timeline-item--info){--timeline-dot-color: #0284c7;--timeline-dot-border: #0284c7;--timeline-dot-bg: #0284c7}:host(.talos-timeline-item--pending),:host(.talos-timeline-item--in-progress){--timeline-dot-color: #0ea5e9;--timeline-dot-border: #0ea5e9;--timeline-dot-bg: #0ea5e9}.talos-timeline-item__opposite{display:none;flex:1;padding:0 1.25rem 1rem 0;text-align:right;box-sizing:border-box}.talos-timeline-item__opposite .talos-timeline-item__time-stamp{display:flex;flex-direction:column;gap:.125rem}.talos-timeline-item__opposite .talos-timeline-item__relative-time{font-size:.8125rem;font-weight:600;color:var(--timeline-title-color)}.talos-timeline-item__opposite .talos-timeline-item__absolute-time{font-size:.75rem;color:var(--timeline-time-color)}.talos-timeline-item__separator{display:flex;flex-direction:column;align-items:center;position:relative;min-width:2rem;margin:0 .75rem 0 0}.talos-timeline-item__connector{width:var(--timeline-line-width);background-color:var(--timeline-line-color);flex-grow:1}.talos-timeline-item__connector--top{height:.5rem;flex-grow:0}.talos-timeline-item__connector--dashed{background:none;border-left:var(--timeline-line-width) dashed var(--timeline-line-color)}.talos-timeline-item__connector--dotted{background:none;border-left:var(--timeline-line-width) dotted var(--timeline-line-color)}:host(:first-child) .talos-timeline-item__connector--top{visibility:hidden}:host(.talos-timeline-item--last) .talos-timeline-item__connector--bottom{visibility:hidden}.talos-timeline-item__dot{display:inline-flex;align-items:center;justify-content:center;border-radius:9999px;box-sizing:border-box;flex-shrink:0;z-index:1;line-height:0;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff)}.talos-timeline-item__dot>*{display:inline-flex;align-items:center;justify-content:center;line-height:0;width:auto;height:auto}.talos-timeline-item__dot svg{display:block;stroke-width:2.25;overflow:visible}.talos-timeline-item__dot--xs{width:.625rem;height:.625rem;min-width:.625rem;min-height:.625rem}.talos-timeline-item__dot--sm{width:1.375rem;height:1.375rem;min-width:1.375rem;min-height:1.375rem}.talos-timeline-item__dot--sm svg,.talos-timeline-item__dot--sm>*{width:.6875rem!important;height:.6875rem!important;max-width:.6875rem!important;max-height:.6875rem!important}.talos-timeline-item__dot--md{width:1.875rem;height:1.875rem;min-width:1.875rem;min-height:1.875rem}.talos-timeline-item__dot--md svg,.talos-timeline-item__dot--md>*{width:.8125rem!important;height:.8125rem!important;max-width:.8125rem!important;max-height:.8125rem!important}.talos-timeline-item__dot--lg{width:2.375rem;height:2.375rem;min-width:2.375rem;min-height:2.375rem}.talos-timeline-item__dot--lg svg,.talos-timeline-item__dot--lg>*{width:1rem!important;height:1rem!important;max-width:1rem!important;max-height:1rem!important}.talos-timeline-item__dot--solid{background-color:var(--timeline-dot-bg);color:#fff;border:1px solid var(--timeline-dot-border)}.talos-timeline-item__dot--subtle{background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--timeline-dot-color);border:1.5px solid var(--timeline-dot-border)}.talos-timeline-item__dot--outline{background-color:var(--talos-card-bg, #ffffff);color:var(--timeline-dot-color);border:2px solid var(--timeline-dot-border)}.talos-timeline-item__dot--pure-dot{background-color:var(--timeline-dot-bg);border:2px solid var(--talos-card-bg, #ffffff);width:.75rem;height:.75rem;min-width:.75rem;min-height:.75rem}.talos-timeline-item__dot--loading{animation:talosTimelineSpin 1s linear infinite}:host(.talos-timeline-item--loading) .talos-timeline-item__dot{box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff),0 0 0 6px #2563eb40;animation:talosTimelinePulse 2s cubic-bezier(.4,0,.6,1) infinite}.talos-timeline-item__body{flex:1;padding-bottom:1.5rem;min-width:0}.talos-timeline-item__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.25rem}.talos-timeline-item__title-group{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.talos-timeline-item__title{margin:0;font-size:.9375rem;font-weight:600;color:var(--timeline-title-color);line-height:1.4}.talos-timeline-item__status-badge{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:9999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--talos-text-muted, #64748b);border:1px solid var(--talos-border-color, #e2e8f0)}.talos-timeline-item__status-badge--primary{background-color:#2563eb1a;color:#2563eb;border-color:#2563eb33}.talos-timeline-item__status-badge--success,.talos-timeline-item__status-badge--completed{background-color:#16a34a1a;color:#16a34a;border-color:#16a34a33}.talos-timeline-item__status-badge--warning{background-color:#d977061a;color:#d97706;border-color:#d9770633}.talos-timeline-item__status-badge--error,.talos-timeline-item__status-badge--cancelled{background-color:#ef44441a;color:#ef4444;border-color:#ef444433}.talos-timeline-item__status-badge--info,.talos-timeline-item__status-badge--pending,.talos-timeline-item__status-badge--in-progress{background-color:#0ea5e91a;color:#0284c7;border-color:#0ea5e933}.talos-timeline-item__header-meta{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.talos-timeline-item__header-time{font-size:.75rem;color:var(--timeline-time-color);white-space:nowrap}.talos-timeline-item__expand-btn{display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid var(--talos-border-color, #e2e8f0);border-radius:.25rem;padding:.1875rem;color:var(--talos-text-muted, #64748b);cursor:pointer;transition:all .15s ease}.talos-timeline-item__expand-btn:hover{background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--talos-text-color, #0f172a);border-color:var(--talos-border-hover, #cbd5e1)}.talos-timeline-item__actor{display:flex;align-items:center;gap:.5rem;margin-top:.25rem;margin-bottom:.375rem}.talos-timeline-item__actor-avatar{width:1.25rem;height:1.25rem;border-radius:9999px;background-color:var(--talos-bg-subtle, #e2e8f0);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--talos-text-muted, #64748b)}.talos-timeline-item__actor-avatar img{width:100%;height:100%;object-fit:cover}.talos-timeline-item__actor-details{display:flex;align-items:center;gap:.375rem;font-size:.75rem}.talos-timeline-item__actor-name{font-weight:600;color:var(--timeline-title-color)}.talos-timeline-item__actor-role{color:var(--talos-text-muted, #64748b);background-color:var(--talos-bg-subtle, #f1f5f9);padding:.0625rem .375rem;border-radius:.25rem;font-size:.6875rem}.talos-timeline-item__actor-ip{color:var(--talos-text-muted, #94a3b8);font-family:monospace;font-size:.6875rem}.talos-timeline-item__description{margin:.25rem 0 .5rem;font-size:.8125rem;line-height:1.5;color:var(--timeline-desc-color)}.talos-timeline-item__tags{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.375rem}.talos-timeline-item__tag{display:inline-flex;align-items:center;padding:.125rem .4375rem;font-size:.6875rem;font-weight:500;border-radius:.25rem;background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--talos-text-muted, #475569);border:1px solid var(--talos-border-color, #e2e8f0)}.talos-timeline-item__diffs-table-wrapper{margin-top:.75rem;border-radius:var(--talos-border-radius, .375rem);border:1px solid var(--talos-border-color, #e2e8f0);background-color:var(--talos-card-bg, #ffffff);overflow-x:auto}.talos-timeline-item__diffs-table{width:100%;border-collapse:collapse;font-size:.75rem;text-align:left}.talos-timeline-item__diffs-table th{padding:.375rem .625rem;font-weight:600;color:var(--talos-text-muted, #64748b);background-color:var(--talos-bg-subtle, #f8fafc);border-bottom:1px solid var(--talos-border-color, #e2e8f0)}.talos-timeline-item__diffs-table td{padding:.375rem .625rem;border-bottom:1px solid var(--talos-border-color, #f1f5f9);vertical-align:top}.talos-timeline-item__diffs-table tr:last-child td{border-bottom:none}.talos-timeline-item__diffs-table code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;padding:.0625rem .25rem;border-radius:.25rem;background-color:var(--talos-bg-subtle, #f1f5f9)}.talos-timeline-item__diff-row--modified .talos-timeline-item__diff-old code{color:#b91c1c;background-color:#ef44441a;text-decoration:line-through}.talos-timeline-item__diff-row--modified .talos-timeline-item__diff-new code,.talos-timeline-item__diff-row--added .talos-timeline-item__diff-new code{color:#15803d;background-color:#22c55e1a}.talos-timeline-item__diff-row--removed .talos-timeline-item__diff-old code{color:#b91c1c;background-color:#ef44441a;text-decoration:line-through}.talos-timeline-item__metadata-card{margin-top:.75rem;padding:.625rem .75rem;border-radius:var(--talos-border-radius, .375rem);border:1px solid var(--talos-border-color, #e2e8f0);background-color:var(--talos-bg-subtle, #f8fafc);font-size:.75rem}.talos-timeline-item__metadata-header{font-weight:600;color:var(--talos-text-muted, #64748b);margin-bottom:.375rem;font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em}.talos-timeline-item__metadata-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.375rem .75rem}.talos-timeline-item__meta-item{display:flex;align-items:center;gap:.375rem}.talos-timeline-item__meta-key{font-weight:500;color:var(--talos-text-muted, #64748b)}.talos-timeline-item__meta-val code{font-family:monospace;font-size:.75rem;color:var(--talos-text-color, #0f172a)}.talos-timeline-item__extra{margin-top:.75rem}@keyframes talosTimelineSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes talosTimelinePulse{0%,to{box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff),0 0 0 6px #2563eb40}50%{box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff),0 0 0 10px #2563eb00}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "component", type: LucideChevronDown, selector: "svg[lucideChevronDown]" }, { kind: "component", type: LucideChevronUp, selector: "svg[lucideChevronUp]" }, { kind: "component", type: LucideUser, selector: "svg[lucideUser]" }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }] });
|
|
170
|
-
}
|
|
171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineItemComponent, decorators: [{
|
|
172
|
-
type: Component,
|
|
173
|
-
args: [{ selector: 'talos-timeline-item, [talosTimelineItem]', imports: [
|
|
174
|
-
DatePipe,
|
|
175
|
-
KeyValuePipe,
|
|
176
|
-
NgTemplateOutlet,
|
|
177
|
-
NgComponentOutlet,
|
|
178
|
-
LucideChevronDown,
|
|
179
|
-
LucideChevronUp,
|
|
180
|
-
LucideUser
|
|
181
|
-
], host: {
|
|
182
|
-
'class': 'talos-timeline-item',
|
|
183
|
-
'[class.talos-timeline-item--primary]': 'isStatus("primary")',
|
|
184
|
-
'[class.talos-timeline-item--secondary]': 'isStatus("secondary")',
|
|
185
|
-
'[class.talos-timeline-item--success]': 'isStatus("success") || isStatus("completed")',
|
|
186
|
-
'[class.talos-timeline-item--warning]': 'isStatus("warning")',
|
|
187
|
-
'[class.talos-timeline-item--error]': 'isStatus("error") || isStatus("cancelled")',
|
|
188
|
-
'[class.talos-timeline-item--info]': 'isStatus("info")',
|
|
189
|
-
'[class.talos-timeline-item--neutral]': 'isStatus("neutral")',
|
|
190
|
-
'[class.talos-timeline-item--pending]': 'isStatus("pending")',
|
|
191
|
-
'[class.talos-timeline-item--in-progress]': 'isStatus("in-progress")',
|
|
192
|
-
'[class.talos-timeline-item--loading]': 'loading()',
|
|
193
|
-
'[class.talos-timeline-item--active]': 'active()',
|
|
194
|
-
'[class.talos-timeline-item--last]': 'isLast()',
|
|
195
|
-
'[class.talos-timeline-item--left]': 'position() === "left"',
|
|
196
|
-
'[class.talos-timeline-item--right]': 'position() === "right"',
|
|
197
|
-
'[class.talos-timeline-item--expanded]': 'isExpanded()'
|
|
198
|
-
}, template: "<!-- Left / Opposite Slot (Used for Timestamps/Actor in Alternating or Two-Sided mode) -->\n<div class=\"talos-timeline-item__opposite\" aria-hidden=\"true\">\n @if (customTime?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customTime!.templateRef!\" />\n } @else if (timestamp() || relativeTime()) {\n <div class=\"talos-timeline-item__time-stamp\">\n @if (relativeTime()) {\n <span class=\"talos-timeline-item__relative-time\">{{ relativeTime() }}</span>\n }\n @if (timestamp()) {\n <span class=\"talos-timeline-item__absolute-time\">\n @if (isDateObject(timestamp())) {\n {{ timestamp() | date: 'medium' }}\n } @else {\n {{ timestamp() }}\n }\n </span>\n }\n </div>\n }\n</div>\n\n<!-- Separator Column: Connector Track & Dot Marker -->\n<div class=\"talos-timeline-item__separator\">\n <div\n class=\"talos-timeline-item__connector talos-timeline-item__connector--top\"\n [class.talos-timeline-item__connector--dashed]=\"lineStyle() === 'dashed'\"\n [class.talos-timeline-item__connector--dotted]=\"lineStyle() === 'dotted'\"\n ></div>\n\n <div\n class=\"talos-timeline-item__dot\"\n [class.talos-timeline-item__dot--solid]=\"dotVariant() === 'solid'\"\n [class.talos-timeline-item__dot--subtle]=\"dotVariant() === 'subtle'\"\n [class.talos-timeline-item__dot--outline]=\"dotVariant() === 'outline'\"\n [class.talos-timeline-item__dot--pure-dot]=\"dotVariant() === 'dot'\"\n [class.talos-timeline-item__dot--xs]=\"dotSize() === 'xs'\"\n [class.talos-timeline-item__dot--sm]=\"dotSize() === 'sm'\"\n [class.talos-timeline-item__dot--md]=\"dotSize() === 'md'\"\n [class.talos-timeline-item__dot--lg]=\"dotSize() === 'lg'\"\n [class.talos-timeline-item__dot--loading]=\"loading()\"\n [style.background-color]=\"dotColor()\"\n [style.border-color]=\"dotColor()\"\n >\n @if (customDot?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customDot!.templateRef!\" />\n } @else if (effectiveIcon()) {\n <ng-container *ngComponentOutlet=\"effectiveIcon()!\" />\n }\n </div>\n\n <div\n class=\"talos-timeline-item__connector talos-timeline-item__connector--bottom\"\n [class.talos-timeline-item__connector--dashed]=\"lineStyle() === 'dashed'\"\n [class.talos-timeline-item__connector--dotted]=\"lineStyle() === 'dotted'\"\n ></div>\n</div>\n\n<!-- Main Body / Content Area -->\n<div class=\"talos-timeline-item__body\" (click)=\"onItemClicked()\">\n <div class=\"talos-timeline-item__header\">\n <div class=\"talos-timeline-item__title-group\">\n <!-- Projected or Input Title -->\n @if (customTitle?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customTitle!.templateRef!\" />\n } @else if (title()) {\n <h4 class=\"talos-timeline-item__title\">{{ title() }}</h4>\n }\n\n <!-- Status Indicator Pill -->\n @if (status() && status() !== 'neutral') {\n <span class=\"talos-timeline-item__status-badge talos-timeline-item__status-badge--{{ status() }}\">\n {{ status() }}\n </span>\n }\n </div>\n\n <!-- Header Right / Metadata (Timestamp in Left Align mode) -->\n <div class=\"talos-timeline-item__header-meta\">\n @if (relativeTime()) {\n <span class=\"talos-timeline-item__header-time\">{{ relativeTime() }}</span>\n } @else if (timestamp()) {\n <span class=\"talos-timeline-item__header-time\">\n @if (isDateObject(timestamp())) {\n {{ timestamp() | date: 'short' }}\n } @else {\n {{ timestamp() }}\n }\n </span>\n }\n\n @if (hasExpandableDetails()) {\n <button\n type=\"button\"\n class=\"talos-timeline-item__expand-btn\"\n [attr.aria-expanded]=\"isExpanded()\"\n aria-label=\"Toggle audit details\"\n (click)=\"toggleAccordion(); $event.stopPropagation()\"\n >\n @if (isExpanded()) {\n <svg lucideChevronUp [size]=\"14\"></svg>\n } @else {\n <svg lucideChevronDown [size]=\"14\"></svg>\n }\n </button>\n }\n </div>\n </div>\n\n <!-- Actor Info for Audit Logs -->\n @if (actor(); as currentActor) {\n <div class=\"talos-timeline-item__actor\">\n <div class=\"talos-timeline-item__actor-avatar\">\n @if (currentActor.avatar) {\n <img [src]=\"currentActor.avatar\" [alt]=\"currentActor.name\" />\n } @else {\n <svg lucideUser [size]=\"12\"></svg>\n }\n </div>\n <div class=\"talos-timeline-item__actor-details\">\n <span class=\"talos-timeline-item__actor-name\">{{ currentActor.name }}</span>\n @if (currentActor.role) {\n <span class=\"talos-timeline-item__actor-role\">{{ currentActor.role }}</span>\n }\n @if (currentActor.ip) {\n <span class=\"talos-timeline-item__actor-ip\">({{ currentActor.ip }})</span>\n }\n </div>\n </div>\n }\n\n <!-- Description / Content Area -->\n <div class=\"talos-timeline-item__content\">\n @if (customContent?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customContent!.templateRef!\" />\n } @else if (description()) {\n <p class=\"talos-timeline-item__description\">{{ description() }}</p>\n }\n <ng-content></ng-content>\n </div>\n\n <!-- Tags Pill Row -->\n @if (tags() && tags()!.length > 0) {\n <div class=\"talos-timeline-item__tags\">\n @for (tag of tags()!; track tag) {\n <span class=\"talos-timeline-item__tag\">{{ tag }}</span>\n }\n </div>\n }\n\n <!-- Audit Change Diffs (Expanded / Default) -->\n @if (diffs() && diffs()!.length > 0 && isExpanded()) {\n <div class=\"talos-timeline-item__diffs-table-wrapper\">\n <table class=\"talos-timeline-item__diffs-table\">\n <thead>\n <tr>\n <th>Field</th>\n <th>Previous Value</th>\n <th>New Value</th>\n </tr>\n </thead>\n <tbody>\n @for (diff of diffs()!; track diff.field) {\n <tr class=\"talos-timeline-item__diff-row talos-timeline-item__diff-row--{{ diff.type || 'modified' }}\">\n <td class=\"talos-timeline-item__diff-field\">{{ diff.field }}</td>\n <td class=\"talos-timeline-item__diff-old\">\n <code>{{ formatJsonValue(diff.previousValue) }}</code>\n </td>\n <td class=\"talos-timeline-item__diff-new\">\n <code>{{ formatJsonValue(diff.newValue) }}</code>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n\n <!-- Expandable JSON / Metadata -->\n @if (metadata() && isExpanded()) {\n <div class=\"talos-timeline-item__metadata-card\">\n <div class=\"talos-timeline-item__metadata-header\">Metadata & Payload</div>\n <div class=\"talos-timeline-item__metadata-grid\">\n @for (entry of metadata()! | keyvalue; track entry.key) {\n <div class=\"talos-timeline-item__meta-item\">\n <span class=\"talos-timeline-item__meta-key\">{{ entry.key }}:</span>\n <span class=\"talos-timeline-item__meta-val\"><code>{{ formatJsonValue(entry.value) }}</code></span>\n </div>\n }\n </div>\n </div>\n }\n\n <!-- Extra Slot Projection -->\n @if (customExtra?.templateRef) {\n <div class=\"talos-timeline-item__extra\">\n <ng-container [ngTemplateOutlet]=\"customExtra!.templateRef!\" />\n </div>\n }\n</div>\n", styles: [":host{display:flex;position:relative;min-height:4.5rem;box-sizing:border-box;--timeline-line-color: var(--talos-border-color, #e2e8f0);--timeline-line-width: 2px;--timeline-dot-size: 1.5rem;--timeline-dot-color: var(--talos-text-muted, #64748b);--timeline-dot-bg: var(--talos-card-bg, #ffffff);--timeline-dot-border: var(--talos-border-color, #cbd5e1);--timeline-title-color: var(--talos-text-color, #0f172a);--timeline-desc-color: var(--talos-text-muted, #475569);--timeline-time-color: var(--talos-text-muted, #64748b)}:host(.talos-timeline-item--primary){--timeline-dot-color: var(--talos-primary-color, #2563eb);--timeline-dot-border: var(--talos-primary-color, #2563eb);--timeline-dot-bg: var(--talos-primary-color, #2563eb)}:host(.talos-timeline-item--secondary){--timeline-dot-color: #6366f1;--timeline-dot-border: #6366f1;--timeline-dot-bg: #6366f1}:host(.talos-timeline-item--success){--timeline-dot-color: var(--talos-success-color, #16a34a);--timeline-dot-border: var(--talos-success-color, #16a34a);--timeline-dot-bg: var(--talos-success-color, #16a34a)}:host(.talos-timeline-item--warning){--timeline-dot-color: var(--talos-warning-color, #d97706);--timeline-dot-border: var(--talos-warning-color, #d97706);--timeline-dot-bg: var(--talos-warning-color, #d97706)}:host(.talos-timeline-item--error){--timeline-dot-color: var(--talos-error-color, #ef4444);--timeline-dot-border: var(--talos-error-color, #ef4444);--timeline-dot-bg: var(--talos-error-color, #ef4444)}:host(.talos-timeline-item--info){--timeline-dot-color: #0284c7;--timeline-dot-border: #0284c7;--timeline-dot-bg: #0284c7}:host(.talos-timeline-item--pending),:host(.talos-timeline-item--in-progress){--timeline-dot-color: #0ea5e9;--timeline-dot-border: #0ea5e9;--timeline-dot-bg: #0ea5e9}.talos-timeline-item__opposite{display:none;flex:1;padding:0 1.25rem 1rem 0;text-align:right;box-sizing:border-box}.talos-timeline-item__opposite .talos-timeline-item__time-stamp{display:flex;flex-direction:column;gap:.125rem}.talos-timeline-item__opposite .talos-timeline-item__relative-time{font-size:.8125rem;font-weight:600;color:var(--timeline-title-color)}.talos-timeline-item__opposite .talos-timeline-item__absolute-time{font-size:.75rem;color:var(--timeline-time-color)}.talos-timeline-item__separator{display:flex;flex-direction:column;align-items:center;position:relative;min-width:2rem;margin:0 .75rem 0 0}.talos-timeline-item__connector{width:var(--timeline-line-width);background-color:var(--timeline-line-color);flex-grow:1}.talos-timeline-item__connector--top{height:.5rem;flex-grow:0}.talos-timeline-item__connector--dashed{background:none;border-left:var(--timeline-line-width) dashed var(--timeline-line-color)}.talos-timeline-item__connector--dotted{background:none;border-left:var(--timeline-line-width) dotted var(--timeline-line-color)}:host(:first-child) .talos-timeline-item__connector--top{visibility:hidden}:host(.talos-timeline-item--last) .talos-timeline-item__connector--bottom{visibility:hidden}.talos-timeline-item__dot{display:inline-flex;align-items:center;justify-content:center;border-radius:9999px;box-sizing:border-box;flex-shrink:0;z-index:1;line-height:0;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff)}.talos-timeline-item__dot>*{display:inline-flex;align-items:center;justify-content:center;line-height:0;width:auto;height:auto}.talos-timeline-item__dot svg{display:block;stroke-width:2.25;overflow:visible}.talos-timeline-item__dot--xs{width:.625rem;height:.625rem;min-width:.625rem;min-height:.625rem}.talos-timeline-item__dot--sm{width:1.375rem;height:1.375rem;min-width:1.375rem;min-height:1.375rem}.talos-timeline-item__dot--sm svg,.talos-timeline-item__dot--sm>*{width:.6875rem!important;height:.6875rem!important;max-width:.6875rem!important;max-height:.6875rem!important}.talos-timeline-item__dot--md{width:1.875rem;height:1.875rem;min-width:1.875rem;min-height:1.875rem}.talos-timeline-item__dot--md svg,.talos-timeline-item__dot--md>*{width:.8125rem!important;height:.8125rem!important;max-width:.8125rem!important;max-height:.8125rem!important}.talos-timeline-item__dot--lg{width:2.375rem;height:2.375rem;min-width:2.375rem;min-height:2.375rem}.talos-timeline-item__dot--lg svg,.talos-timeline-item__dot--lg>*{width:1rem!important;height:1rem!important;max-width:1rem!important;max-height:1rem!important}.talos-timeline-item__dot--solid{background-color:var(--timeline-dot-bg);color:#fff;border:1px solid var(--timeline-dot-border)}.talos-timeline-item__dot--subtle{background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--timeline-dot-color);border:1.5px solid var(--timeline-dot-border)}.talos-timeline-item__dot--outline{background-color:var(--talos-card-bg, #ffffff);color:var(--timeline-dot-color);border:2px solid var(--timeline-dot-border)}.talos-timeline-item__dot--pure-dot{background-color:var(--timeline-dot-bg);border:2px solid var(--talos-card-bg, #ffffff);width:.75rem;height:.75rem;min-width:.75rem;min-height:.75rem}.talos-timeline-item__dot--loading{animation:talosTimelineSpin 1s linear infinite}:host(.talos-timeline-item--loading) .talos-timeline-item__dot{box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff),0 0 0 6px #2563eb40;animation:talosTimelinePulse 2s cubic-bezier(.4,0,.6,1) infinite}.talos-timeline-item__body{flex:1;padding-bottom:1.5rem;min-width:0}.talos-timeline-item__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.25rem}.talos-timeline-item__title-group{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.talos-timeline-item__title{margin:0;font-size:.9375rem;font-weight:600;color:var(--timeline-title-color);line-height:1.4}.talos-timeline-item__status-badge{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:9999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--talos-text-muted, #64748b);border:1px solid var(--talos-border-color, #e2e8f0)}.talos-timeline-item__status-badge--primary{background-color:#2563eb1a;color:#2563eb;border-color:#2563eb33}.talos-timeline-item__status-badge--success,.talos-timeline-item__status-badge--completed{background-color:#16a34a1a;color:#16a34a;border-color:#16a34a33}.talos-timeline-item__status-badge--warning{background-color:#d977061a;color:#d97706;border-color:#d9770633}.talos-timeline-item__status-badge--error,.talos-timeline-item__status-badge--cancelled{background-color:#ef44441a;color:#ef4444;border-color:#ef444433}.talos-timeline-item__status-badge--info,.talos-timeline-item__status-badge--pending,.talos-timeline-item__status-badge--in-progress{background-color:#0ea5e91a;color:#0284c7;border-color:#0ea5e933}.talos-timeline-item__header-meta{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.talos-timeline-item__header-time{font-size:.75rem;color:var(--timeline-time-color);white-space:nowrap}.talos-timeline-item__expand-btn{display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid var(--talos-border-color, #e2e8f0);border-radius:.25rem;padding:.1875rem;color:var(--talos-text-muted, #64748b);cursor:pointer;transition:all .15s ease}.talos-timeline-item__expand-btn:hover{background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--talos-text-color, #0f172a);border-color:var(--talos-border-hover, #cbd5e1)}.talos-timeline-item__actor{display:flex;align-items:center;gap:.5rem;margin-top:.25rem;margin-bottom:.375rem}.talos-timeline-item__actor-avatar{width:1.25rem;height:1.25rem;border-radius:9999px;background-color:var(--talos-bg-subtle, #e2e8f0);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--talos-text-muted, #64748b)}.talos-timeline-item__actor-avatar img{width:100%;height:100%;object-fit:cover}.talos-timeline-item__actor-details{display:flex;align-items:center;gap:.375rem;font-size:.75rem}.talos-timeline-item__actor-name{font-weight:600;color:var(--timeline-title-color)}.talos-timeline-item__actor-role{color:var(--talos-text-muted, #64748b);background-color:var(--talos-bg-subtle, #f1f5f9);padding:.0625rem .375rem;border-radius:.25rem;font-size:.6875rem}.talos-timeline-item__actor-ip{color:var(--talos-text-muted, #94a3b8);font-family:monospace;font-size:.6875rem}.talos-timeline-item__description{margin:.25rem 0 .5rem;font-size:.8125rem;line-height:1.5;color:var(--timeline-desc-color)}.talos-timeline-item__tags{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.375rem}.talos-timeline-item__tag{display:inline-flex;align-items:center;padding:.125rem .4375rem;font-size:.6875rem;font-weight:500;border-radius:.25rem;background-color:var(--talos-bg-subtle, #f1f5f9);color:var(--talos-text-muted, #475569);border:1px solid var(--talos-border-color, #e2e8f0)}.talos-timeline-item__diffs-table-wrapper{margin-top:.75rem;border-radius:var(--talos-border-radius, .375rem);border:1px solid var(--talos-border-color, #e2e8f0);background-color:var(--talos-card-bg, #ffffff);overflow-x:auto}.talos-timeline-item__diffs-table{width:100%;border-collapse:collapse;font-size:.75rem;text-align:left}.talos-timeline-item__diffs-table th{padding:.375rem .625rem;font-weight:600;color:var(--talos-text-muted, #64748b);background-color:var(--talos-bg-subtle, #f8fafc);border-bottom:1px solid var(--talos-border-color, #e2e8f0)}.talos-timeline-item__diffs-table td{padding:.375rem .625rem;border-bottom:1px solid var(--talos-border-color, #f1f5f9);vertical-align:top}.talos-timeline-item__diffs-table tr:last-child td{border-bottom:none}.talos-timeline-item__diffs-table code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;padding:.0625rem .25rem;border-radius:.25rem;background-color:var(--talos-bg-subtle, #f1f5f9)}.talos-timeline-item__diff-row--modified .talos-timeline-item__diff-old code{color:#b91c1c;background-color:#ef44441a;text-decoration:line-through}.talos-timeline-item__diff-row--modified .talos-timeline-item__diff-new code,.talos-timeline-item__diff-row--added .talos-timeline-item__diff-new code{color:#15803d;background-color:#22c55e1a}.talos-timeline-item__diff-row--removed .talos-timeline-item__diff-old code{color:#b91c1c;background-color:#ef44441a;text-decoration:line-through}.talos-timeline-item__metadata-card{margin-top:.75rem;padding:.625rem .75rem;border-radius:var(--talos-border-radius, .375rem);border:1px solid var(--talos-border-color, #e2e8f0);background-color:var(--talos-bg-subtle, #f8fafc);font-size:.75rem}.talos-timeline-item__metadata-header{font-weight:600;color:var(--talos-text-muted, #64748b);margin-bottom:.375rem;font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em}.talos-timeline-item__metadata-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.375rem .75rem}.talos-timeline-item__meta-item{display:flex;align-items:center;gap:.375rem}.talos-timeline-item__meta-key{font-weight:500;color:var(--talos-text-muted, #64748b)}.talos-timeline-item__meta-val code{font-family:monospace;font-size:.75rem;color:var(--talos-text-color, #0f172a)}.talos-timeline-item__extra{margin-top:.75rem}@keyframes talosTimelineSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes talosTimelinePulse{0%,to{box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff),0 0 0 6px #2563eb40}50%{box-shadow:0 0 0 4px var(--talos-card-bg, #ffffff),0 0 0 10px #2563eb00}}\n"] }]
|
|
199
|
-
}], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], dotVariant: [{ type: i0.Input, args: [{ isSignal: true, alias: "dotVariant", required: false }] }], dotSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "dotSize", required: false }] }], dotColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "dotColor", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], lineStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineStyle", required: false }] }], timestamp: [{ type: i0.Input, args: [{ isSignal: true, alias: "timestamp", required: false }] }], relativeTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "relativeTime", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], actor: [{ type: i0.Input, args: [{ isSignal: true, alias: "actor", required: false }] }], tags: [{ type: i0.Input, args: [{ isSignal: true, alias: "tags", required: false }] }], diffs: [{ type: i0.Input, args: [{ isSignal: true, alias: "diffs", required: false }] }], metadata: [{ type: i0.Input, args: [{ isSignal: true, alias: "metadata", required: false }] }], expandable: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandable", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], isLast: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLast", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], toggleExpand: [{ type: i0.Output, args: ["toggleExpand"] }], customDot: [{
|
|
200
|
-
type: ContentChild,
|
|
201
|
-
args: [TalosTimelineDotDirective]
|
|
202
|
-
}], customTitle: [{
|
|
203
|
-
type: ContentChild,
|
|
204
|
-
args: [TalosTimelineTitleDirective]
|
|
205
|
-
}], customTime: [{
|
|
206
|
-
type: ContentChild,
|
|
207
|
-
args: [TalosTimelineTimeDirective]
|
|
208
|
-
}], customContent: [{
|
|
209
|
-
type: ContentChild,
|
|
210
|
-
args: [TalosTimelineContentDirective]
|
|
211
|
-
}], customExtra: [{
|
|
212
|
-
type: ContentChild,
|
|
213
|
-
args: [TalosTimelineExtraDirective]
|
|
214
|
-
}] } });
|
|
215
|
-
|
|
216
|
-
class TalosTimelineComponent {
|
|
217
|
-
// Inputs
|
|
218
|
-
orientation = input('vertical', /* @ts-ignore */
|
|
219
|
-
...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
220
|
-
align = input('left', /* @ts-ignore */
|
|
221
|
-
...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
222
|
-
mode = input('standard', /* @ts-ignore */
|
|
223
|
-
...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
|
|
224
|
-
reverse = input(false, /* @ts-ignore */
|
|
225
|
-
...(ngDevMode ? [{ debugName: "reverse" }] : /* istanbul ignore next */ []));
|
|
226
|
-
lineStyle = input('solid', /* @ts-ignore */
|
|
227
|
-
...(ngDevMode ? [{ debugName: "lineStyle" }] : /* istanbul ignore next */ []));
|
|
228
|
-
items = input(null, /* @ts-ignore */
|
|
229
|
-
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
230
|
-
// Outputs
|
|
231
|
-
itemClick = output();
|
|
232
|
-
// Processed items for data-driven rendering
|
|
233
|
-
processedItems = computed(() => {
|
|
234
|
-
const raw = this.items();
|
|
235
|
-
if (!raw || raw.length === 0)
|
|
236
|
-
return [];
|
|
237
|
-
const list = [...raw];
|
|
238
|
-
if (this.reverse()) {
|
|
239
|
-
list.reverse();
|
|
240
|
-
}
|
|
241
|
-
return list;
|
|
242
|
-
}, /* @ts-ignore */
|
|
243
|
-
...(ngDevMode ? [{ debugName: "processedItems" }] : /* istanbul ignore next */ []));
|
|
244
|
-
getItemPosition(index) {
|
|
245
|
-
if (this.align() === 'alternate') {
|
|
246
|
-
return index % 2 === 0 ? 'left' : 'right';
|
|
247
|
-
}
|
|
248
|
-
return this.align() === 'right' ? 'right' : 'left';
|
|
249
|
-
}
|
|
250
|
-
onDataDrivenItemClick(item) {
|
|
251
|
-
this.itemClick.emit(item);
|
|
252
|
-
}
|
|
253
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
254
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: TalosTimelineComponent, isStandalone: true, selector: "talos-timeline, [talosTimeline]", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, reverse: { classPropertyName: "reverse", publicName: "reverse", isSignal: true, isRequired: false, transformFunction: null }, lineStyle: { classPropertyName: "lineStyle", publicName: "lineStyle", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { attributes: { "role": "list" }, properties: { "class.talos-timeline--vertical": "orientation() === \"vertical\"", "class.talos-timeline--horizontal": "orientation() === \"horizontal\"", "class.talos-timeline--left": "align() === \"left\"", "class.talos-timeline--right": "align() === \"right\"", "class.talos-timeline--alternate": "align() === \"alternate\"", "class.talos-timeline--standard": "mode() === \"standard\"", "class.talos-timeline--dense": "mode() === \"dense\"", "class.talos-timeline--card": "mode() === \"card\"" }, classAttribute: "talos-timeline" }, ngImport: i0, template: "@if (items() && items()!.length > 0) {\n @for (item of processedItems(); track item.id || $index; let idx = $index; let isLast = $last) {\n <talos-timeline-item\n [title]=\"item.title\"\n [description]=\"item.description || null\"\n [timestamp]=\"item.timestamp || null\"\n [relativeTime]=\"item.relativeTime || null\"\n [status]=\"item.status || 'neutral'\"\n [dotVariant]=\"item.dotVariant || 'solid'\"\n [dotSize]=\"item.dotSize || 'md'\"\n [dotColor]=\"item.dotColor || null\"\n [icon]=\"item.icon || null\"\n [loading]=\"item.loading || false\"\n [active]=\"item.active || false\"\n [lineStyle]=\"item.lineStyle || lineStyle()\"\n [actor]=\"item.actor || null\"\n [tags]=\"item.tags || null\"\n [diffs]=\"item.diffs || null\"\n [metadata]=\"item.metadata || null\"\n [expanded]=\"item.expanded || false\"\n [expandable]=\"!!(item.diffs?.length || item.metadata)\"\n [position]=\"getItemPosition(idx)\"\n [isLast]=\"isLast\"\n (itemClick)=\"onDataDrivenItemClick(item)\"\n />\n }\n} @else {\n <ng-content></ng-content>\n}\n", styles: [":host{display:flex;box-sizing:border-box;width:100%}:host(.talos-timeline--vertical){flex-direction:column;position:relative}:host(.talos-timeline--horizontal){flex-direction:row;overflow-x:auto;padding-bottom:1rem}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item{flex-direction:column;min-height:auto;min-width:180px;flex:1}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__separator,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__separator{flex-direction:row;min-width:auto;height:2rem;margin:0;width:100%}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__connector,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__connector{height:var(--timeline-line-width, 2px);width:auto;flex-grow:1}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__connector--top,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__connector--top{width:1rem;flex-grow:0}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__body{padding-top:.75rem;padding-bottom:0;text-align:center}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__header,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__header{flex-direction:column;align-items:center;text-align:center}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__title-group,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__title-group{justify-content:center}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__actor,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__actor{justify-content:center}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item .talos-timeline-item__opposite,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item .talos-timeline-item__opposite{display:block}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right{flex-direction:row-reverse}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__opposite,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__opposite{text-align:left;padding:0 0 1rem 1.25rem}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__body,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__body{text-align:right}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__header,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__header{flex-direction:row-reverse}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__title-group,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__title-group{justify-content:flex-end}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__actor,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__actor{justify-content:flex-end}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__tags,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__tags{justify-content:flex-end}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__separator,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__separator{margin:0 0 0 .75rem}:host(.talos-timeline--right) ::ng-deep talos-timeline-item,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item{flex-direction:row-reverse}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__separator,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__separator{margin:0 0 0 .75rem}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__body{text-align:right}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__header,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__header{flex-direction:row-reverse}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__title-group,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__title-group{justify-content:flex-end}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__actor,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__actor{justify-content:flex-end}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__tags,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__tags{justify-content:flex-end}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item{min-height:2.75rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__body{padding-bottom:.75rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__title,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__title{font-size:.8125rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__description,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__description{font-size:.75rem;margin:.125rem 0 .25rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__separator,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__separator{min-width:1.5rem;margin-right:.5rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__dot,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__dot{width:1rem;height:1rem;min-width:1rem;min-height:1rem;font-size:.625rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__dot svg,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__dot svg{width:.625rem;height:.625rem}:host(.talos-timeline--card) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--card) ::ng-deep .talos-timeline-item .talos-timeline-item__body{padding:1rem 1.125rem;margin-bottom:1rem;background-color:var(--talos-card-bg, #ffffff);border:1px solid var(--talos-border-color, #e2e8f0);border-radius:var(--talos-border-radius, .5rem);box-shadow:0 1px 3px #0000000a,0 1px 2px -1px #0000000a;transition:all .2s ease}:host(.talos-timeline--card) ::ng-deep talos-timeline-item .talos-timeline-item__body:hover,:host(.talos-timeline--card) ::ng-deep .talos-timeline-item .talos-timeline-item__body:hover{border-color:var(--talos-border-hover, #cbd5e1);box-shadow:0 4px 6px -1px #0000000f,0 2px 4px -2px #0000000a}\n"], dependencies: [{ kind: "component", type: TalosTimelineItemComponent, selector: "talos-timeline-item, [talosTimelineItem]", inputs: ["status", "dotVariant", "dotSize", "dotColor", "icon", "loading", "active", "lineStyle", "timestamp", "relativeTime", "title", "description", "actor", "tags", "diffs", "metadata", "expandable", "expanded", "position", "isLast"], outputs: ["itemClick", "toggleExpand"] }] });
|
|
255
|
-
}
|
|
256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineComponent, decorators: [{
|
|
257
|
-
type: Component,
|
|
258
|
-
args: [{ selector: 'talos-timeline, [talosTimeline]', imports: [TalosTimelineItemComponent], host: {
|
|
259
|
-
'class': 'talos-timeline',
|
|
260
|
-
'[class.talos-timeline--vertical]': 'orientation() === "vertical"',
|
|
261
|
-
'[class.talos-timeline--horizontal]': 'orientation() === "horizontal"',
|
|
262
|
-
'[class.talos-timeline--left]': 'align() === "left"',
|
|
263
|
-
'[class.talos-timeline--right]': 'align() === "right"',
|
|
264
|
-
'[class.talos-timeline--alternate]': 'align() === "alternate"',
|
|
265
|
-
'[class.talos-timeline--standard]': 'mode() === "standard"',
|
|
266
|
-
'[class.talos-timeline--dense]': 'mode() === "dense"',
|
|
267
|
-
'[class.talos-timeline--card]': 'mode() === "card"',
|
|
268
|
-
'role': 'list'
|
|
269
|
-
}, template: "@if (items() && items()!.length > 0) {\n @for (item of processedItems(); track item.id || $index; let idx = $index; let isLast = $last) {\n <talos-timeline-item\n [title]=\"item.title\"\n [description]=\"item.description || null\"\n [timestamp]=\"item.timestamp || null\"\n [relativeTime]=\"item.relativeTime || null\"\n [status]=\"item.status || 'neutral'\"\n [dotVariant]=\"item.dotVariant || 'solid'\"\n [dotSize]=\"item.dotSize || 'md'\"\n [dotColor]=\"item.dotColor || null\"\n [icon]=\"item.icon || null\"\n [loading]=\"item.loading || false\"\n [active]=\"item.active || false\"\n [lineStyle]=\"item.lineStyle || lineStyle()\"\n [actor]=\"item.actor || null\"\n [tags]=\"item.tags || null\"\n [diffs]=\"item.diffs || null\"\n [metadata]=\"item.metadata || null\"\n [expanded]=\"item.expanded || false\"\n [expandable]=\"!!(item.diffs?.length || item.metadata)\"\n [position]=\"getItemPosition(idx)\"\n [isLast]=\"isLast\"\n (itemClick)=\"onDataDrivenItemClick(item)\"\n />\n }\n} @else {\n <ng-content></ng-content>\n}\n", styles: [":host{display:flex;box-sizing:border-box;width:100%}:host(.talos-timeline--vertical){flex-direction:column;position:relative}:host(.talos-timeline--horizontal){flex-direction:row;overflow-x:auto;padding-bottom:1rem}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item{flex-direction:column;min-height:auto;min-width:180px;flex:1}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__separator,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__separator{flex-direction:row;min-width:auto;height:2rem;margin:0;width:100%}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__connector,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__connector{height:var(--timeline-line-width, 2px);width:auto;flex-grow:1}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__connector--top,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__connector--top{width:1rem;flex-grow:0}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__body{padding-top:.75rem;padding-bottom:0;text-align:center}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__header,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__header{flex-direction:column;align-items:center;text-align:center}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__title-group,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__title-group{justify-content:center}:host(.talos-timeline--horizontal) ::ng-deep talos-timeline-item .talos-timeline-item__actor,:host(.talos-timeline--horizontal) ::ng-deep .talos-timeline-item .talos-timeline-item__actor{justify-content:center}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item .talos-timeline-item__opposite,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item .talos-timeline-item__opposite{display:block}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right{flex-direction:row-reverse}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__opposite,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__opposite{text-align:left;padding:0 0 1rem 1.25rem}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__body,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__body{text-align:right}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__header,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__header{flex-direction:row-reverse}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__title-group,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__title-group{justify-content:flex-end}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__actor,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__actor{justify-content:flex-end}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__tags,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__tags{justify-content:flex-end}:host(.talos-timeline--alternate) ::ng-deep talos-timeline-item.talos-timeline-item--right .talos-timeline-item__separator,:host(.talos-timeline--alternate) ::ng-deep .talos-timeline-item.talos-timeline-item--right .talos-timeline-item__separator{margin:0 0 0 .75rem}:host(.talos-timeline--right) ::ng-deep talos-timeline-item,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item{flex-direction:row-reverse}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__separator,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__separator{margin:0 0 0 .75rem}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__body{text-align:right}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__header,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__header{flex-direction:row-reverse}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__title-group,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__title-group{justify-content:flex-end}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__actor,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__actor{justify-content:flex-end}:host(.talos-timeline--right) ::ng-deep talos-timeline-item .talos-timeline-item__tags,:host(.talos-timeline--right) ::ng-deep .talos-timeline-item .talos-timeline-item__tags{justify-content:flex-end}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item{min-height:2.75rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__body{padding-bottom:.75rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__title,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__title{font-size:.8125rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__description,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__description{font-size:.75rem;margin:.125rem 0 .25rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__separator,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__separator{min-width:1.5rem;margin-right:.5rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__dot,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__dot{width:1rem;height:1rem;min-width:1rem;min-height:1rem;font-size:.625rem}:host(.talos-timeline--dense) ::ng-deep talos-timeline-item .talos-timeline-item__dot svg,:host(.talos-timeline--dense) ::ng-deep .talos-timeline-item .talos-timeline-item__dot svg{width:.625rem;height:.625rem}:host(.talos-timeline--card) ::ng-deep talos-timeline-item .talos-timeline-item__body,:host(.talos-timeline--card) ::ng-deep .talos-timeline-item .talos-timeline-item__body{padding:1rem 1.125rem;margin-bottom:1rem;background-color:var(--talos-card-bg, #ffffff);border:1px solid var(--talos-border-color, #e2e8f0);border-radius:var(--talos-border-radius, .5rem);box-shadow:0 1px 3px #0000000a,0 1px 2px -1px #0000000a;transition:all .2s ease}:host(.talos-timeline--card) ::ng-deep talos-timeline-item .talos-timeline-item__body:hover,:host(.talos-timeline--card) ::ng-deep .talos-timeline-item .talos-timeline-item__body:hover{border-color:var(--talos-border-hover, #cbd5e1);box-shadow:0 4px 6px -1px #0000000f,0 2px 4px -2px #0000000a}\n"] }]
|
|
270
|
-
}], propDecorators: { orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], reverse: [{ type: i0.Input, args: [{ isSignal: true, alias: "reverse", required: false }] }], lineStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineStyle", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
271
|
-
|
|
272
|
-
const TIMELINE_COMPONENTS = [
|
|
273
|
-
TalosTimelineComponent,
|
|
274
|
-
TalosTimelineItemComponent,
|
|
275
|
-
TalosTimelineDotDirective,
|
|
276
|
-
TalosTimelineTitleDirective,
|
|
277
|
-
TalosTimelineTimeDirective,
|
|
278
|
-
TalosTimelineContentDirective,
|
|
279
|
-
TalosTimelineExtraDirective
|
|
280
|
-
];
|
|
281
|
-
class TalosTimelineModule {
|
|
282
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
283
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineModule, imports: [TalosTimelineComponent,
|
|
284
|
-
TalosTimelineItemComponent,
|
|
285
|
-
TalosTimelineDotDirective,
|
|
286
|
-
TalosTimelineTitleDirective,
|
|
287
|
-
TalosTimelineTimeDirective,
|
|
288
|
-
TalosTimelineContentDirective,
|
|
289
|
-
TalosTimelineExtraDirective], exports: [TalosTimelineComponent,
|
|
290
|
-
TalosTimelineItemComponent,
|
|
291
|
-
TalosTimelineDotDirective,
|
|
292
|
-
TalosTimelineTitleDirective,
|
|
293
|
-
TalosTimelineTimeDirective,
|
|
294
|
-
TalosTimelineContentDirective,
|
|
295
|
-
TalosTimelineExtraDirective] });
|
|
296
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineModule, imports: [TalosTimelineComponent,
|
|
297
|
-
TalosTimelineItemComponent] });
|
|
298
|
-
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TalosTimelineModule, decorators: [{
|
|
300
|
-
type: NgModule,
|
|
301
|
-
args: [{
|
|
302
|
-
imports: TIMELINE_COMPONENTS,
|
|
303
|
-
exports: TIMELINE_COMPONENTS
|
|
304
|
-
}]
|
|
305
|
-
}] });
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* Generated bundle index. Do not edit.
|
|
309
|
-
*/
|
|
310
|
-
|
|
311
|
-
export { TalosTimelineComponent, TalosTimelineContentDirective, TalosTimelineDotDirective, TalosTimelineExtraDirective, TalosTimelineItemComponent, TalosTimelineModule, TalosTimelineTimeDirective, TalosTimelineTitleDirective };
|
|
312
|
-
//# sourceMappingURL=weeehaoooz-talos-ui-data-display-timeline.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"weeehaoooz-talos-ui-data-display-timeline.mjs","sources":["../../../projects/talos-ui/data-display/timeline/timeline.directives.ts","../../../projects/talos-ui/data-display/timeline/timeline-item.component.ts","../../../projects/talos-ui/data-display/timeline/timeline-item.component.html","../../../projects/talos-ui/data-display/timeline/timeline.component.ts","../../../projects/talos-ui/data-display/timeline/timeline.component.html","../../../projects/talos-ui/data-display/timeline/timeline.module.ts","../../../projects/talos-ui/data-display/timeline/weeehaoooz-talos-ui-data-display-timeline.ts"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n selector: '[talosTimelineDot], ng-template[talosTimelineDot]'\n})\nexport class TalosTimelineDotDirective {\n readonly templateRef = inject(TemplateRef, { optional: true });\n}\n\n@Directive({\n selector: '[talosTimelineTitle], ng-template[talosTimelineTitle]'\n})\nexport class TalosTimelineTitleDirective {\n readonly templateRef = inject(TemplateRef, { optional: true });\n}\n\n@Directive({\n selector: '[talosTimelineTime], ng-template[talosTimelineTime]'\n})\nexport class TalosTimelineTimeDirective {\n readonly templateRef = inject(TemplateRef, { optional: true });\n}\n\n@Directive({\n selector: '[talosTimelineContent], ng-template[talosTimelineContent]'\n})\nexport class TalosTimelineContentDirective {\n readonly templateRef = inject(TemplateRef, { optional: true });\n}\n\n@Directive({\n selector: '[talosTimelineExtra], ng-template[talosTimelineExtra]'\n})\nexport class TalosTimelineExtraDirective {\n readonly templateRef = inject(TemplateRef, { optional: true });\n}\n","import {\n Component,\n ContentChild,\n Type,\n computed,\n input,\n linkedSignal,\n output\n} from '@angular/core';\nimport { DatePipe, KeyValuePipe, NgComponentOutlet, NgTemplateOutlet } from '@angular/common';\nimport {\n LucideChevronDown,\n LucideChevronUp,\n LucideLoader2,\n LucideClock,\n LucideCheck,\n LucideAlertCircle,\n LucideInfo,\n LucideUser,\n LucideAlertTriangle\n} from '@lucide/angular';\nimport {\n TalosTimelineActor,\n TalosTimelineDiff,\n TalosTimelineDotSize,\n TalosTimelineDotVariant,\n TalosTimelineItemStatus,\n TalosTimelineLineStyle\n} from './timeline.types';\nimport {\n TalosTimelineContentDirective,\n TalosTimelineDotDirective,\n TalosTimelineExtraDirective,\n TalosTimelineTimeDirective,\n TalosTimelineTitleDirective\n} from './timeline.directives';\n\n@Component({\n selector: 'talos-timeline-item, [talosTimelineItem]',\n imports: [\n DatePipe,\n KeyValuePipe,\n NgTemplateOutlet,\n NgComponentOutlet,\n LucideChevronDown,\n LucideChevronUp,\n LucideUser\n ],\n templateUrl: './timeline-item.component.html',\n styleUrl: './timeline-item.component.scss',\n host: {\n 'class': 'talos-timeline-item',\n '[class.talos-timeline-item--primary]': 'isStatus(\"primary\")',\n '[class.talos-timeline-item--secondary]': 'isStatus(\"secondary\")',\n '[class.talos-timeline-item--success]': 'isStatus(\"success\") || isStatus(\"completed\")',\n '[class.talos-timeline-item--warning]': 'isStatus(\"warning\")',\n '[class.talos-timeline-item--error]': 'isStatus(\"error\") || isStatus(\"cancelled\")',\n '[class.talos-timeline-item--info]': 'isStatus(\"info\")',\n '[class.talos-timeline-item--neutral]': 'isStatus(\"neutral\")',\n '[class.talos-timeline-item--pending]': 'isStatus(\"pending\")',\n '[class.talos-timeline-item--in-progress]': 'isStatus(\"in-progress\")',\n '[class.talos-timeline-item--loading]': 'loading()',\n '[class.talos-timeline-item--active]': 'active()',\n '[class.talos-timeline-item--last]': 'isLast()',\n '[class.talos-timeline-item--left]': 'position() === \"left\"',\n '[class.talos-timeline-item--right]': 'position() === \"right\"',\n '[class.talos-timeline-item--expanded]': 'isExpanded()'\n }\n})\nexport class TalosTimelineItemComponent {\n // Inputs\n readonly status = input<TalosTimelineItemStatus>('neutral');\n readonly dotVariant = input<TalosTimelineDotVariant>('solid');\n readonly dotSize = input<TalosTimelineDotSize>('md');\n readonly dotColor = input<string | null>(null);\n readonly icon = input<Type<unknown> | null>(null);\n readonly loading = input<boolean>(false);\n readonly active = input<boolean>(false);\n readonly lineStyle = input<TalosTimelineLineStyle>('solid');\n readonly timestamp = input<string | Date | null>(null);\n readonly relativeTime = input<string | null>(null);\n readonly title = input<string | null>(null);\n readonly description = input<string | null>(null);\n readonly actor = input<TalosTimelineActor | null>(null);\n readonly tags = input<string[] | null>(null);\n readonly diffs = input<TalosTimelineDiff[] | null>(null);\n readonly metadata = input<Record<string, unknown> | null>(null);\n readonly expandable = input<boolean>(false);\n readonly expanded = input<boolean>(false);\n readonly position = input<'left' | 'right'>('left');\n readonly isLast = input<boolean>(false);\n\n // Outputs\n readonly itemClick = output<void>();\n readonly toggleExpand = output<boolean>();\n\n // Slot Directives\n @ContentChild(TalosTimelineDotDirective) protected readonly customDot?: TalosTimelineDotDirective;\n @ContentChild(TalosTimelineTitleDirective) protected readonly customTitle?: TalosTimelineTitleDirective;\n @ContentChild(TalosTimelineTimeDirective) protected readonly customTime?: TalosTimelineTimeDirective;\n @ContentChild(TalosTimelineContentDirective) protected readonly customContent?: TalosTimelineContentDirective;\n @ContentChild(TalosTimelineExtraDirective) protected readonly customExtra?: TalosTimelineExtraDirective;\n\n // Internal state for accordion / collapse linked to input\n protected readonly isExpanded = linkedSignal(() => this.expanded());\n\n protected readonly hasExpandableDetails = computed(() => {\n return (\n this.expandable() ||\n (this.diffs() && this.diffs()!.length > 0) ||\n (this.metadata() && Object.keys(this.metadata()!).length > 0)\n );\n });\n\n protected readonly effectiveIcon = computed<Type<unknown> | null>(() => {\n if (this.loading()) {\n return LucideLoader2;\n }\n if (this.icon()) {\n return this.icon();\n }\n switch (this.status()) {\n case 'success':\n case 'completed':\n return LucideCheck;\n case 'error':\n case 'cancelled':\n return LucideAlertCircle;\n case 'warning':\n return LucideAlertTriangle;\n case 'info':\n return LucideInfo;\n case 'pending':\n case 'in-progress':\n return LucideClock;\n default:\n return null;\n }\n });\n\n protected isStatus(expected: string): boolean {\n return this.status() === expected;\n }\n\n protected toggleAccordion(): void {\n this.isExpanded.update(current => !current);\n this.toggleExpand.emit(this.isExpanded());\n }\n\n protected onItemClicked(): void {\n this.itemClick.emit();\n }\n\n protected isDateObject(val: unknown): val is Date {\n return val instanceof Date;\n }\n\n protected formatJsonValue(val: unknown): string {\n if (typeof val === 'string') return `\"${val}\"`;\n if (typeof val === 'object' && val !== null) return JSON.stringify(val);\n return String(val);\n }\n}\n","<!-- Left / Opposite Slot (Used for Timestamps/Actor in Alternating or Two-Sided mode) -->\n<div class=\"talos-timeline-item__opposite\" aria-hidden=\"true\">\n @if (customTime?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customTime!.templateRef!\" />\n } @else if (timestamp() || relativeTime()) {\n <div class=\"talos-timeline-item__time-stamp\">\n @if (relativeTime()) {\n <span class=\"talos-timeline-item__relative-time\">{{ relativeTime() }}</span>\n }\n @if (timestamp()) {\n <span class=\"talos-timeline-item__absolute-time\">\n @if (isDateObject(timestamp())) {\n {{ timestamp() | date: 'medium' }}\n } @else {\n {{ timestamp() }}\n }\n </span>\n }\n </div>\n }\n</div>\n\n<!-- Separator Column: Connector Track & Dot Marker -->\n<div class=\"talos-timeline-item__separator\">\n <div\n class=\"talos-timeline-item__connector talos-timeline-item__connector--top\"\n [class.talos-timeline-item__connector--dashed]=\"lineStyle() === 'dashed'\"\n [class.talos-timeline-item__connector--dotted]=\"lineStyle() === 'dotted'\"\n ></div>\n\n <div\n class=\"talos-timeline-item__dot\"\n [class.talos-timeline-item__dot--solid]=\"dotVariant() === 'solid'\"\n [class.talos-timeline-item__dot--subtle]=\"dotVariant() === 'subtle'\"\n [class.talos-timeline-item__dot--outline]=\"dotVariant() === 'outline'\"\n [class.talos-timeline-item__dot--pure-dot]=\"dotVariant() === 'dot'\"\n [class.talos-timeline-item__dot--xs]=\"dotSize() === 'xs'\"\n [class.talos-timeline-item__dot--sm]=\"dotSize() === 'sm'\"\n [class.talos-timeline-item__dot--md]=\"dotSize() === 'md'\"\n [class.talos-timeline-item__dot--lg]=\"dotSize() === 'lg'\"\n [class.talos-timeline-item__dot--loading]=\"loading()\"\n [style.background-color]=\"dotColor()\"\n [style.border-color]=\"dotColor()\"\n >\n @if (customDot?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customDot!.templateRef!\" />\n } @else if (effectiveIcon()) {\n <ng-container *ngComponentOutlet=\"effectiveIcon()!\" />\n }\n </div>\n\n <div\n class=\"talos-timeline-item__connector talos-timeline-item__connector--bottom\"\n [class.talos-timeline-item__connector--dashed]=\"lineStyle() === 'dashed'\"\n [class.talos-timeline-item__connector--dotted]=\"lineStyle() === 'dotted'\"\n ></div>\n</div>\n\n<!-- Main Body / Content Area -->\n<div class=\"talos-timeline-item__body\" (click)=\"onItemClicked()\">\n <div class=\"talos-timeline-item__header\">\n <div class=\"talos-timeline-item__title-group\">\n <!-- Projected or Input Title -->\n @if (customTitle?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customTitle!.templateRef!\" />\n } @else if (title()) {\n <h4 class=\"talos-timeline-item__title\">{{ title() }}</h4>\n }\n\n <!-- Status Indicator Pill -->\n @if (status() && status() !== 'neutral') {\n <span class=\"talos-timeline-item__status-badge talos-timeline-item__status-badge--{{ status() }}\">\n {{ status() }}\n </span>\n }\n </div>\n\n <!-- Header Right / Metadata (Timestamp in Left Align mode) -->\n <div class=\"talos-timeline-item__header-meta\">\n @if (relativeTime()) {\n <span class=\"talos-timeline-item__header-time\">{{ relativeTime() }}</span>\n } @else if (timestamp()) {\n <span class=\"talos-timeline-item__header-time\">\n @if (isDateObject(timestamp())) {\n {{ timestamp() | date: 'short' }}\n } @else {\n {{ timestamp() }}\n }\n </span>\n }\n\n @if (hasExpandableDetails()) {\n <button\n type=\"button\"\n class=\"talos-timeline-item__expand-btn\"\n [attr.aria-expanded]=\"isExpanded()\"\n aria-label=\"Toggle audit details\"\n (click)=\"toggleAccordion(); $event.stopPropagation()\"\n >\n @if (isExpanded()) {\n <svg lucideChevronUp [size]=\"14\"></svg>\n } @else {\n <svg lucideChevronDown [size]=\"14\"></svg>\n }\n </button>\n }\n </div>\n </div>\n\n <!-- Actor Info for Audit Logs -->\n @if (actor(); as currentActor) {\n <div class=\"talos-timeline-item__actor\">\n <div class=\"talos-timeline-item__actor-avatar\">\n @if (currentActor.avatar) {\n <img [src]=\"currentActor.avatar\" [alt]=\"currentActor.name\" />\n } @else {\n <svg lucideUser [size]=\"12\"></svg>\n }\n </div>\n <div class=\"talos-timeline-item__actor-details\">\n <span class=\"talos-timeline-item__actor-name\">{{ currentActor.name }}</span>\n @if (currentActor.role) {\n <span class=\"talos-timeline-item__actor-role\">{{ currentActor.role }}</span>\n }\n @if (currentActor.ip) {\n <span class=\"talos-timeline-item__actor-ip\">({{ currentActor.ip }})</span>\n }\n </div>\n </div>\n }\n\n <!-- Description / Content Area -->\n <div class=\"talos-timeline-item__content\">\n @if (customContent?.templateRef) {\n <ng-container [ngTemplateOutlet]=\"customContent!.templateRef!\" />\n } @else if (description()) {\n <p class=\"talos-timeline-item__description\">{{ description() }}</p>\n }\n <ng-content></ng-content>\n </div>\n\n <!-- Tags Pill Row -->\n @if (tags() && tags()!.length > 0) {\n <div class=\"talos-timeline-item__tags\">\n @for (tag of tags()!; track tag) {\n <span class=\"talos-timeline-item__tag\">{{ tag }}</span>\n }\n </div>\n }\n\n <!-- Audit Change Diffs (Expanded / Default) -->\n @if (diffs() && diffs()!.length > 0 && isExpanded()) {\n <div class=\"talos-timeline-item__diffs-table-wrapper\">\n <table class=\"talos-timeline-item__diffs-table\">\n <thead>\n <tr>\n <th>Field</th>\n <th>Previous Value</th>\n <th>New Value</th>\n </tr>\n </thead>\n <tbody>\n @for (diff of diffs()!; track diff.field) {\n <tr class=\"talos-timeline-item__diff-row talos-timeline-item__diff-row--{{ diff.type || 'modified' }}\">\n <td class=\"talos-timeline-item__diff-field\">{{ diff.field }}</td>\n <td class=\"talos-timeline-item__diff-old\">\n <code>{{ formatJsonValue(diff.previousValue) }}</code>\n </td>\n <td class=\"talos-timeline-item__diff-new\">\n <code>{{ formatJsonValue(diff.newValue) }}</code>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n\n <!-- Expandable JSON / Metadata -->\n @if (metadata() && isExpanded()) {\n <div class=\"talos-timeline-item__metadata-card\">\n <div class=\"talos-timeline-item__metadata-header\">Metadata & Payload</div>\n <div class=\"talos-timeline-item__metadata-grid\">\n @for (entry of metadata()! | keyvalue; track entry.key) {\n <div class=\"talos-timeline-item__meta-item\">\n <span class=\"talos-timeline-item__meta-key\">{{ entry.key }}:</span>\n <span class=\"talos-timeline-item__meta-val\"><code>{{ formatJsonValue(entry.value) }}</code></span>\n </div>\n }\n </div>\n </div>\n }\n\n <!-- Extra Slot Projection -->\n @if (customExtra?.templateRef) {\n <div class=\"talos-timeline-item__extra\">\n <ng-container [ngTemplateOutlet]=\"customExtra!.templateRef!\" />\n </div>\n }\n</div>\n","import {\n Component,\n computed,\n input,\n output\n} from '@angular/core';\nimport {\n TalosTimelineAlign,\n TalosTimelineItem,\n TalosTimelineLineStyle,\n TalosTimelineMode,\n TalosTimelineOrientation\n} from './timeline.types';\nimport { TalosTimelineItemComponent } from './timeline-item.component';\n\n@Component({\n selector: 'talos-timeline, [talosTimeline]',\n imports: [TalosTimelineItemComponent],\n templateUrl: './timeline.component.html',\n styleUrl: './timeline.component.scss',\n host: {\n 'class': 'talos-timeline',\n '[class.talos-timeline--vertical]': 'orientation() === \"vertical\"',\n '[class.talos-timeline--horizontal]': 'orientation() === \"horizontal\"',\n '[class.talos-timeline--left]': 'align() === \"left\"',\n '[class.talos-timeline--right]': 'align() === \"right\"',\n '[class.talos-timeline--alternate]': 'align() === \"alternate\"',\n '[class.talos-timeline--standard]': 'mode() === \"standard\"',\n '[class.talos-timeline--dense]': 'mode() === \"dense\"',\n '[class.talos-timeline--card]': 'mode() === \"card\"',\n 'role': 'list'\n }\n})\nexport class TalosTimelineComponent {\n // Inputs\n readonly orientation = input<TalosTimelineOrientation>('vertical');\n readonly align = input<TalosTimelineAlign>('left');\n readonly mode = input<TalosTimelineMode>('standard');\n readonly reverse = input<boolean>(false);\n readonly lineStyle = input<TalosTimelineLineStyle>('solid');\n readonly items = input<TalosTimelineItem[] | null>(null);\n\n // Outputs\n readonly itemClick = output<TalosTimelineItem>();\n\n // Processed items for data-driven rendering\n protected readonly processedItems = computed(() => {\n const raw = this.items();\n if (!raw || raw.length === 0) return [];\n const list = [...raw];\n if (this.reverse()) {\n list.reverse();\n }\n return list;\n });\n\n protected getItemPosition(index: number): 'left' | 'right' {\n if (this.align() === 'alternate') {\n return index % 2 === 0 ? 'left' : 'right';\n }\n return this.align() === 'right' ? 'right' : 'left';\n }\n\n protected onDataDrivenItemClick(item: TalosTimelineItem): void {\n this.itemClick.emit(item);\n }\n}\n","@if (items() && items()!.length > 0) {\n @for (item of processedItems(); track item.id || $index; let idx = $index; let isLast = $last) {\n <talos-timeline-item\n [title]=\"item.title\"\n [description]=\"item.description || null\"\n [timestamp]=\"item.timestamp || null\"\n [relativeTime]=\"item.relativeTime || null\"\n [status]=\"item.status || 'neutral'\"\n [dotVariant]=\"item.dotVariant || 'solid'\"\n [dotSize]=\"item.dotSize || 'md'\"\n [dotColor]=\"item.dotColor || null\"\n [icon]=\"item.icon || null\"\n [loading]=\"item.loading || false\"\n [active]=\"item.active || false\"\n [lineStyle]=\"item.lineStyle || lineStyle()\"\n [actor]=\"item.actor || null\"\n [tags]=\"item.tags || null\"\n [diffs]=\"item.diffs || null\"\n [metadata]=\"item.metadata || null\"\n [expanded]=\"item.expanded || false\"\n [expandable]=\"!!(item.diffs?.length || item.metadata)\"\n [position]=\"getItemPosition(idx)\"\n [isLast]=\"isLast\"\n (itemClick)=\"onDataDrivenItemClick(item)\"\n />\n }\n} @else {\n <ng-content></ng-content>\n}\n","import { NgModule } from '@angular/core';\nimport { TalosTimelineComponent } from './timeline.component';\nimport { TalosTimelineItemComponent } from './timeline-item.component';\nimport {\n TalosTimelineContentDirective,\n TalosTimelineDotDirective,\n TalosTimelineExtraDirective,\n TalosTimelineTimeDirective,\n TalosTimelineTitleDirective\n} from './timeline.directives';\n\nconst TIMELINE_COMPONENTS = [\n TalosTimelineComponent,\n TalosTimelineItemComponent,\n TalosTimelineDotDirective,\n TalosTimelineTitleDirective,\n TalosTimelineTimeDirective,\n TalosTimelineContentDirective,\n TalosTimelineExtraDirective\n];\n\n@NgModule({\n imports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