@cngx/ui 0.1.0-rc.6 → 0.1.0-rc.8
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 +112 -1
- package/a11y/README.md +87 -0
- package/accordion/README.md +4 -2
- package/breadcrumb/README.md +262 -0
- package/collection/README.md +6 -0
- package/command-palette/README.md +224 -0
- package/context-menu/README.md +98 -0
- package/data-grid-accordion/README.md +103 -2
- package/feedback/README.md +42 -0
- package/fesm2022/cngx-ui-a11y.mjs +452 -0
- package/fesm2022/cngx-ui-a11y.mjs.map +1 -0
- package/fesm2022/cngx-ui-accordion.mjs +116 -38
- package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-action-button.mjs +115 -50
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
- package/fesm2022/cngx-ui-breadcrumb.mjs +181 -96
- package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/cngx-ui-chart-panel.mjs +586 -0
- package/fesm2022/cngx-ui-chart-panel.mjs.map +1 -0
- package/fesm2022/cngx-ui-collection.mjs +207 -66
- package/fesm2022/cngx-ui-collection.mjs.map +1 -1
- package/fesm2022/cngx-ui-command-palette.mjs +1281 -0
- package/fesm2022/cngx-ui-command-palette.mjs.map +1 -0
- package/fesm2022/cngx-ui-context-menu.mjs +857 -0
- package/fesm2022/cngx-ui-context-menu.mjs.map +1 -0
- package/fesm2022/cngx-ui-data-grid-accordion.mjs +498 -111
- package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-empty-state.mjs +16 -6
- package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
- package/fesm2022/cngx-ui-feedback.mjs +1095 -521
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
- package/fesm2022/cngx-ui-layout.mjs +18 -9
- package/fesm2022/cngx-ui-layout.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-accordion.mjs +84 -16
- package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-paginator.mjs +67 -24
- package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-stepper.mjs +72 -47
- package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-tabs.mjs +370 -203
- package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-overlay.mjs +69 -13
- package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
- package/fesm2022/cngx-ui-paginator.mjs +501 -182
- package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-sidenav.mjs +327 -106
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
- package/fesm2022/cngx-ui-skeleton.mjs +22 -21
- package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
- package/fesm2022/cngx-ui-speak.mjs +107 -8
- package/fesm2022/cngx-ui-speak.mjs.map +1 -1
- package/fesm2022/cngx-ui-stat-card.mjs +718 -0
- package/fesm2022/cngx-ui-stat-card.mjs.map +1 -0
- package/fesm2022/cngx-ui-stepper.mjs +217 -76
- package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +40 -19
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-timeline.mjs +548 -0
- package/fesm2022/cngx-ui-timeline.mjs.map +1 -0
- package/fesm2022/cngx-ui-toc.mjs +748 -0
- package/fesm2022/cngx-ui-toc.mjs.map +1 -0
- package/fesm2022/cngx-ui.mjs +16 -21
- package/fesm2022/cngx-ui.mjs.map +1 -1
- package/mat-accordion/README.md +1 -1
- package/mat-paginator/README.md +9 -2
- package/mat-tabs/styles/mat-tabs.css +29 -27
- package/overlay/README.md +9 -4
- package/package.json +32 -1
- package/paginator/README.md +8 -4
- package/sidenav/README.md +33 -11
- package/skeleton/README.md +2 -0
- package/speak/README.md +3 -2
- package/stepper/README.md +15 -3
- package/timeline/README.md +350 -0
- package/toc/README.md +186 -0
- package/types/cngx-ui-a11y.d.ts +394 -0
- package/types/cngx-ui-accordion.d.ts +100 -30
- package/types/cngx-ui-action-button.d.ts +47 -3
- package/types/cngx-ui-breadcrumb.d.ts +159 -58
- package/types/cngx-ui-chart-panel.d.ts +382 -0
- package/types/cngx-ui-collection.d.ts +159 -58
- package/types/cngx-ui-command-palette.d.ts +565 -0
- package/types/cngx-ui-context-menu.d.ts +559 -0
- package/types/cngx-ui-data-grid-accordion.d.ts +344 -51
- package/types/cngx-ui-empty-state.d.ts +9 -2
- package/types/cngx-ui-feedback.d.ts +664 -73
- package/types/cngx-ui-layout.d.ts +8 -3
- package/types/cngx-ui-mat-accordion.d.ts +32 -4
- package/types/cngx-ui-mat-paginator.d.ts +37 -8
- package/types/cngx-ui-mat-stepper.d.ts +23 -11
- package/types/cngx-ui-mat-tabs.d.ts +218 -23
- package/types/cngx-ui-overlay.d.ts +56 -10
- package/types/cngx-ui-paginator.d.ts +416 -132
- package/types/cngx-ui-sidenav.d.ts +248 -74
- package/types/cngx-ui-skeleton.d.ts +18 -7
- package/types/cngx-ui-speak.d.ts +118 -5
- package/types/cngx-ui-stat-card.d.ts +411 -0
- package/types/cngx-ui-stepper.d.ts +81 -29
- package/types/cngx-ui-tabs.d.ts +22 -6
- package/types/cngx-ui-timeline.d.ts +495 -0
- package/types/cngx-ui-toc.d.ts +581 -0
- package/types/cngx-ui.d.ts +8 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cngx-ui-timeline.mjs","sources":["../../../projects/ui/timeline/slot-cascade.ts","../../../projects/ui/timeline/timeline-labels.ts","../../../projects/ui/timeline/timeline-view.ts","../../../projects/ui/timeline/timeline.component.ts","../../../projects/ui/timeline/timeline.component.html","../../../projects/ui/timeline/public-api.ts","../../../projects/ui/timeline/cngx-ui-timeline.ts"],"sourcesContent":["import { computed, type Signal, type TemplateRef } from '@angular/core';\nimport type {\n CngxTimelineDateHeaderContext,\n CngxTimelineEmptyContext,\n CngxTimelineErrorContext,\n CngxTimelineItemContext,\n CngxTimelineMarkerContext,\n CngxTimelineRetryButtonContext,\n CngxTimelineTemplates,\n} from '@cngx/common/timeline';\n\n/**\n * Anything a cngx slot directive exposes: its own `TemplateRef`. Structural\n * rather than a base class, so a consumer's own slot directive satisfies it\n * by shape alone.\n *\n * @category ui/timeline\n */\nexport interface CngxTimelineSlotSource<C> {\n readonly templateRef: TemplateRef<C>;\n}\n\n/**\n * The family-standard three-stage template cascade, as one named concept:\n *\n * ```text\n * instance contentChild -> CNGX_*_CONFIG.templates.<key> -> null\n * ```\n *\n * The `contentChild()` query itself has to stay a direct field initialiser\n * on the component (AOT rejects it from a helper, NG8110), but resolving the\n * three tiers does not - and writing that resolution out once per slot turns\n * a single rule into eight places it can drift.\n *\n * `configured` is a thunk rather than a value so the config tier is read at\n * resolution time, inside the `computed()`.\n *\n * Exported because an ejected skin resolves the same three tiers and would\n * otherwise have to restate the rule.\n *\n * @category ui/timeline\n * @relatedTo createTimelineSlots\n * @since 0.1.0\n */\nexport function createTimelineSlotBinding<C>(\n instance: Signal<CngxTimelineSlotSource<C> | undefined>,\n configured: () => TemplateRef<C> | undefined,\n): Signal<TemplateRef<C> | null> {\n return computed(() => instance()?.templateRef ?? configured() ?? null);\n}\n\n/**\n * The eight `contentChild()` queries a timeline runs, handed over as one bag\n * because AOT requires them to be declared on the component itself.\n *\n * @category ui/timeline\n */\nexport interface CngxTimelineSlotQueries<T> {\n readonly item: Signal<CngxTimelineSlotSource<CngxTimelineItemContext<T>> | undefined>;\n readonly dateHeader: Signal<CngxTimelineSlotSource<CngxTimelineDateHeaderContext<T>> | undefined>;\n readonly marker: Signal<CngxTimelineSlotSource<CngxTimelineMarkerContext<T>> | undefined>;\n readonly empty: Signal<CngxTimelineSlotSource<CngxTimelineEmptyContext> | undefined>;\n readonly error: Signal<CngxTimelineSlotSource<CngxTimelineErrorContext> | undefined>;\n readonly retryButton: Signal<CngxTimelineSlotSource<CngxTimelineRetryButtonContext> | undefined>;\n readonly loadingTail: Signal<CngxTimelineSlotSource<void> | undefined>;\n readonly skeleton: Signal<CngxTimelineSlotSource<void> | undefined>;\n}\n\n/**\n * The same eight, resolved. Every member is already through the cascade, so\n * the template reads one signal per region and never restates the rule.\n *\n * @category ui/timeline\n */\nexport interface CngxTimelineSlots<T> {\n readonly item: Signal<TemplateRef<CngxTimelineItemContext<T>> | null>;\n readonly dateHeader: Signal<TemplateRef<CngxTimelineDateHeaderContext<T>> | null>;\n readonly marker: Signal<TemplateRef<CngxTimelineMarkerContext<T>> | null>;\n readonly empty: Signal<TemplateRef<CngxTimelineEmptyContext> | null>;\n readonly error: Signal<TemplateRef<CngxTimelineErrorContext> | null>;\n readonly retryButton: Signal<TemplateRef<CngxTimelineRetryButtonContext> | null>;\n readonly loadingTail: Signal<TemplateRef<void> | null>;\n readonly skeleton: Signal<TemplateRef<void> | null>;\n}\n\n/**\n * Runs {@link createTimelineSlotBinding} over the whole slot set at once, so\n * the organism holds one field instead of eight near-identical ones and each\n * region has exactly one call site.\n *\n * The casts live here rather than at eight use sites: `CngxTimelineTemplates`\n * is typed against `unknown` items because the config is app-wide while the\n * slots are generic. `TemplateRef` is method-bivariant, so a consumer's\n * concrete template still assigns in.\n *\n * @category ui/timeline\n * @relatedTo createTimelineSlotBinding\n * @since 0.1.0\n */\nexport function createTimelineSlots<T>(\n queries: CngxTimelineSlotQueries<T>,\n templates: () => CngxTimelineTemplates | undefined,\n): CngxTimelineSlots<T> {\n const pick = <C,>(key: keyof CngxTimelineTemplates): TemplateRef<C> | undefined =>\n templates()?.[key] as TemplateRef<C> | undefined;\n\n return {\n item: createTimelineSlotBinding(queries.item, () => pick('item')),\n dateHeader: createTimelineSlotBinding(queries.dateHeader, () => pick('dateHeader')),\n marker: createTimelineSlotBinding(queries.marker, () => pick('marker')),\n empty: createTimelineSlotBinding(queries.empty, () => pick('empty')),\n error: createTimelineSlotBinding(queries.error, () => pick('error')),\n retryButton: createTimelineSlotBinding(queries.retryButton, () => pick('retryButton')),\n loadingTail: createTimelineSlotBinding(queries.loadingTail, () => pick('loadingTail')),\n skeleton: createTimelineSlotBinding(queries.skeleton, () => pick('skeleton')),\n };\n}\n","import { computed, type Signal } from '@angular/core';\nimport type { CngxTimelineConfig, CngxTimelineLabels, TimelineGroup } from '@cngx/common/timeline';\nimport { coerceSignal } from '@cngx/core/utils';\nimport { recordEqual } from '@cngx/utils';\n\n/**\n * @internal Shared empty bundle for a config without `labels`. One identity,\n * so every `coerceSignal` over it resolves to the same cached source.\n */\nexport const TIMELINE_NO_LABELS: CngxTimelineLabels = {};\n\n/**\n * The fallback copy the timeline renders when a consumer bound no slot for\n * a surface, resolved from the config cascade.\n *\n * @category ui/timeline\n */\nexport interface CngxTimelineFallbackCopy {\n readonly retry: string;\n readonly errorFallback: string;\n readonly emptyFallback: string;\n readonly loading: string;\n readonly refreshing: string;\n readonly groupLabel: (group: TimelineGroup<unknown>, locale: string) => string;\n}\n\n/**\n * Flattens the config's optional label bag into the exact set the template\n * reads, so the template names what it wants rather than indexing a keyed\n * accessor, and the optional-chaining lives in one place instead of at every\n * use site.\n *\n * Returns a `Signal`: when the config's `labels` is a `Signal` (as it is once\n * `withTimelineLabels` ran), the copy follows a runtime language switch. The\n * bundle keeps its reference while the resolved strings stay equal.\n *\n * `groupLabel` keeps the band's key as its own last resort: a consumer who\n * clears the formatter should still get a legible header rather than an\n * empty one that leaves the group unnamed.\n *\n * @category ui/timeline\n * @since 0.1.0\n */\nexport function createTimelineFallbackCopy(\n config: CngxTimelineConfig,\n): Signal<CngxTimelineFallbackCopy> {\n const source = coerceSignal<CngxTimelineLabels>(config.labels ?? TIMELINE_NO_LABELS);\n // The wrapper closure is rebuilt only when the consumer formatter itself\n // changes, so an unrelated label flip keeps `groupLabel` reference-stable.\n const formatter = computed(() => source().groupLabel);\n const groupLabel = computed(() => {\n const format = formatter();\n return (group: TimelineGroup<unknown>, locale: string): string =>\n format?.(group, locale) ?? group.key;\n });\n return computed(\n () => {\n const labels = source();\n return {\n retry: labels.retry ?? '',\n errorFallback: labels.errorFallback ?? '',\n emptyFallback: labels.emptyFallback ?? '',\n loading: labels.loading ?? '',\n refreshing: labels.refreshing ?? '',\n groupLabel: groupLabel(),\n };\n },\n { equal: recordEqual },\n );\n}\n","import { computed, InjectionToken, untracked, type Signal } from '@angular/core';\nimport { resolveAsyncView, type AsyncView } from '@cngx/common/data';\nimport type { CngxAsyncState } from '@cngx/core/utils';\n\nimport type { CngxTimelineFallbackCopy } from './timeline-labels';\n\n/**\n * Everything the template needs to decide what the body shows.\n *\n * @category ui/timeline\n */\nexport interface CngxTimelineView {\n readonly activeView: Signal<AsyncView>;\n readonly showsContent: Signal<boolean>;\n readonly refreshing: Signal<boolean>;\n readonly ariaBusy: Signal<'true' | null>;\n readonly announcement: Signal<string>;\n}\n\n/**\n * Derives the whole body switch from one bound state. No second state\n * machine, no boolean fallback inputs - every branch is a `computed()` over\n * `resolveAsyncView`, the same lookup table the rest of cngx switches on.\n *\n * Two cases the lookup table does not cover on its own:\n *\n * - **No state bound.** The timeline is then a plain list over `[items]`,\n * but an empty one still has to reach the empty surface; otherwise\n * `*cngxTimelineEmpty` would be unreachable on the synchronous path.\n * - **The announcement.** Only `loading` and `refreshing` have anything to\n * say, and the string is empty otherwise so the live region stays in the\n * DOM while staying silent.\n * - **Busy with an empty screen.** The lookup table resolves a non-first-load\n * `loading` or `pending` to `content`; with no rows that renders nothing at\n * all, so it is treated as a load instead. `refreshing` keeps its tail.\n * - **First-load busy over seed rows.** The lookup table resolves a first\n * load to `skeleton` unconditionally, but `[items]` documents seed rows as\n * a legitimate companion to a bound state - rows that exist are painted,\n * never hidden behind placeholders. `aria-busy` still marks the list.\n *\n * Swap the whole mapping through {@link CNGX_TIMELINE_VIEW_FACTORY} rather\n * than forking the organism - treating `pending` as content, or holding the\n * skeleton through a refresh, is a per-app decision.\n *\n * @category ui/timeline\n * @relatedTo CNGX_TIMELINE_VIEW_FACTORY\n * @since 0.1.0\n */\nexport function createTimelineView(\n state: () => CngxAsyncState<unknown> | undefined,\n isEmpty: () => boolean,\n labels: Signal<CngxTimelineFallbackCopy>,\n): CngxTimelineView {\n const activeView = computed<AsyncView>(() => {\n const empty = isEmpty();\n const bound = state();\n if (!bound) {\n return empty ? 'empty' : 'content';\n }\n const view = resolveAsyncView(bound.status(), bound.isFirstLoad(), empty);\n // A first load with seed rows on screen paints the rows: `[items]`\n // documents seed-plus-state, and a skeleton over existing content would\n // hide it. The busy window still reaches AT through `aria-busy`.\n if (view === 'skeleton' && !empty) {\n return 'content';\n }\n // `loading` and `pending` that are not a first load resolve to `content`,\n // and with nothing to render that is a blank, silent region: no rows, no\n // tail, nothing announced. Work in flight with an empty screen is a load.\n // `refreshing` is deliberately excluded - it already renders its tail and\n // announces itself, so it is communicated, just sparse.\n const silentlyBusy = empty && bound.isBusy() && !bound.isRefreshing();\n return view === 'content' && silentlyBusy ? 'skeleton' : view;\n });\n\n const showsContent = computed(\n () => activeView() === 'content' || activeView() === 'content+error',\n );\n const refreshing = computed(() => showsContent() && (state()?.isRefreshing() ?? false));\n\n return {\n activeView,\n showsContent,\n refreshing,\n ariaBusy: computed(() => (state()?.isBusy() ? 'true' : null)),\n // Copy is read untracked: a language switch never re-voices the region;\n // the next view transition speaks the new language.\n announcement: computed(() => {\n const view = activeView();\n if (view === 'skeleton') {\n return untracked(() => labels().loading);\n }\n // The single announcer for the failure: the built-in error surface\n // carries no role=\"alert\" (that would double-fire on top of this\n // region), so the fallback reaches AT here whether the built-in markup\n // or a bound *cngxTimelineError renders.\n if (view === 'error' || view === 'content+error') {\n return untracked(() => labels().errorFallback);\n }\n return refreshing() ? untracked(() => labels().refreshing) : '';\n }),\n };\n}\n\n/**\n * The shape {@link CNGX_TIMELINE_VIEW_FACTORY} hands out.\n *\n * @category ui/timeline\n */\nexport type CngxTimelineViewFactory = (\n state: () => CngxAsyncState<unknown> | undefined,\n isEmpty: () => boolean,\n labels: Signal<CngxTimelineFallbackCopy>,\n) => CngxTimelineView;\n\n/**\n * Swap point for the body-view mapping. Override it to reshape when the\n * timeline shows a skeleton, content, the empty surface or the error\n * surface - enterprise-wide or per component - without forking the organism.\n *\n * The mapping is genuinely per-app: whether a `pending` refetch keeps its\n * rows on screen, whether a background failure surfaces inline or is\n * swallowed until the next settle, and whether an empty result after a\n * filter reads as empty at all are product decisions, not library ones.\n *\n * ```ts\n * providers: [\n * {\n * provide: CNGX_TIMELINE_VIEW_FACTORY,\n * useValue: ((state, isEmpty, labels) => {\n * const base = createTimelineView(state, isEmpty, labels);\n * // Hold the rows through every refetch, never fall back to placeholders.\n * return { ...base, activeView: computed(() => (base.activeView() === 'skeleton' && state()?.hasData() ? 'content' : base.activeView())) };\n * }) satisfies CngxTimelineViewFactory,\n * },\n * ]\n * ```\n *\n * @category ui/timeline\n * @relatedTo createTimelineView\n * @since 0.1.0\n */\nexport const CNGX_TIMELINE_VIEW_FACTORY = new InjectionToken<CngxTimelineViewFactory>(\n 'CNGX_TIMELINE_VIEW_FACTORY',\n { providedIn: 'root', factory: () => createTimelineView },\n);\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n inject,\n input,\n isDevMode,\n output,\n ViewEncapsulation,\n type Signal,\n} from '@angular/core';\nimport type { EmptyReason } from '@cngx/common/card';\nimport { createForwardedAsyncState } from '@cngx/common/data';\nimport {\n CNGX_TIMELINE_GROUPING_FACTORY,\n CNGX_TIMELINE_MARKER_HOST,\n CngxTimelineDateHeader,\n CngxTimelineEmpty,\n CngxTimelineError,\n CngxTimelineItemTpl,\n CngxTimelineLoadingTail,\n CngxTimelineMarkerTpl,\n CngxTimelineRetryButton,\n CngxTimelineSkeleton,\n injectTimelineConfig,\n type CngxTimelineItemContext,\n type CngxTimelineMarkerHost,\n type TimelineDateAccessor,\n type TimelineDirection,\n type TimelineGroup,\n type CngxTimelineLabels,\n type TimelineGroupBy,\n} from '@cngx/common/timeline';\nimport {\n CNGX_STATEFUL,\n coerceSignal,\n injectLocale,\n nextUid,\n type CngxAsyncState,\n} from '@cngx/core/utils';\nimport { CngxSkeletonContainer, CngxSkeletonPlaceholder } from '@cngx/ui/skeleton';\n\nimport { createTimelineSlots } from './slot-cascade';\nimport { createTimelineFallbackCopy, TIMELINE_NO_LABELS } from './timeline-labels';\nimport { CNGX_TIMELINE_VIEW_FACTORY } from './timeline-view';\n\n/**\n * Raster the timeline lays its rows out on.\n *\n * `narrative` (default) stacks the timestamp above the body and gives each\n * event room to breathe - a history someone reads. `activity` trails the\n * timestamp after the body on one line - a feed someone scans. Purely\n * visual: same DOM, same ARIA, same slots, only the `[data-mode]` host\n * attribute changes.\n *\n * @category ui/timeline\n */\nexport type CngxTimelineMode = 'narrative' | 'activity';\n\n/**\n * Visual skin, applied through `[data-skin]`. Thematic only - structure,\n * ARIA and slots are identical across all three.\n *\n * `line` (default) is the bare rail. `card` lifts each event body onto its\n * own surface. `bands` tints alternating groups so long timelines stay\n * scannable.\n *\n * @category ui/timeline\n */\nexport type CngxTimelineSkin = 'line' | 'card' | 'bands';\n\n/**\n * Which side of the rail each row's body sits on.\n *\n * `start` (default) is v1: rail leading, body trailing. `end` mirrors every\n * row. `alternate` centres the rail and flips the body side by row, which is\n * the classic infographic layout - pair it with `[cngxTimelineOpposite]` so\n * the empty side carries a year or a label.\n *\n * Purely visual. DOM order stays chronological under every value, the ARIA\n * chain is identical, and alternation comes from the loop index rather than\n * from `:nth-child`, so a filtered list alternates correctly.\n *\n * `alternate` is not supported with `mode=\"activity\"`: alternating a\n * scan-feed defeats the scan. Those rows render `start` and dev mode warns.\n *\n * @category ui/timeline\n */\nexport type CngxTimelinePlacement = 'start' | 'end' | 'alternate';\n\n/**\n * Whether the rail breaks between rows or reads as one line.\n *\n * `segmented` (default) is v1: one segment per row, separated by the item\n * gap. `continuous` stretches each segment across that gap so a band reads\n * as an unbroken line.\n *\n * Continuity is built per segment rather than from one line behind the run,\n * so a `rejected` stretch stays red and an `upcoming` tail stays dashed.\n * It applies within a band; the gap between groups stays open, because a\n * band is a semantic boundary rather than a rendering accident.\n *\n * @category ui/timeline\n */\nexport type CngxTimelineRail = 'segmented' | 'continuous';\n\n/**\n * Which axis the run reads along.\n *\n * `vertical` (default) stacks rows down the page. `horizontal` lays them out\n * along the inline axis behind a scroll container, with the rail as a\n * horizontal axis and the content stacked away from it.\n *\n * Orientation composes with `placement` rather than replacing it: under\n * `horizontal`, `[placement]` selects which side of the *axis* a row's body\n * sits on, so `alternate` puts cards above and below in turn.\n *\n * Named `orientation` rather than `direction` because `[direction]` is\n * already the sort order on this component.\n *\n * @category ui/timeline\n */\nexport type CngxTimelineOrientation = 'vertical' | 'horizontal';\n\n/**\n * Grouped, themed, RTL-safe timeline over a flat list of events.\n *\n * Data in, rows out: bind `[items]` and a `[dateAccessor]`, project one\n * `*cngxTimelineItem` template, and the organism buckets, sorts and renders\n * the rest. Bucketing is not its own code - it resolves\n * {@link CNGX_TIMELINE_GROUPING_FACTORY} and derives everything from one\n * `computed()`, so an app can swap in fiscal quarters or server-supplied\n * grouping without forking the component.\n *\n * **ARIA.** One chain in two configurations, both derived rather than set:\n * grouped is `group` -> `list` -> `listitem`, one list per band named by its\n * date header, so a screen reader counts items per band rather than across\n * the whole history. The header sits beside that list, never inside it - a\n * list may own nothing but `listitem`, and the header is a consumer slot.\n * `groupBy=\"none\"` moves `list` up to the container and collapses the chain\n * to `list` -> `listitem`.\n *\n * **Not keyboard-navigable, deliberately.** v1 items are content, not\n * widgets - links and buttons *inside* a row are natively tabbable in DOM\n * order, which is the right behaviour for a read-only history. Roving\n * tabindex becomes mandatory the moment a row is selectable, and that is a\n * v2 concern.\n *\n * ```html\n * <cngx-timeline [items]=\"events()\" [dateAccessor]=\"at\" groupBy=\"day\">\n * <ng-template [cngxTimelineItem]=\"events()\" let-event let-last=\"last\">\n * <cngx-timeline-item [position]=\"last ? 'last' : 'middle'\">\n * <cngx-time cngxTimelineTime [date]=\"event.at\" />\n * <p>{{ event.summary }}</p>\n * </cngx-timeline-item>\n * </ng-template>\n * </cngx-timeline>\n * ```\n *\n * @category ui/timeline\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/timeline/timeline.component.ts\n * @relatedTo CngxTimelineItem, CngxTimelineItemTpl, CNGX_TIMELINE_GROUPING_FACTORY, CNGX_TIMELINE_CONFIG\n * @slot cngxTimelineItem Renders one event row; gets the event plus first/last/index flags.\n * @slot cngxTimelineMarkerTpl Replaces a row's marker; takes precedence over a projected marker element.\n * @slot cngxTimelineDateHeader Replaces a band's date caption; gets the band date.\n * @slot cngxTimelineSkeleton Replaces the placeholder rows drawn during the first load.\n * @slot cngxTimelineEmpty Rendered when no event resolves; gets the reason from [emptyReason].\n * @slot cngxTimelineError Rendered when the load fails; gets the error and a retry callback.\n * @slot cngxTimelineRetryButton Replaces the retry control on the error surface.\n * @slot cngxTimelineLoadingTail Rendered below the rows while more history streams in.\n * <example-url>http://localhost:4200/#/ui/timeline/basics/flat-array</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/basics/group-by-week</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/basics/direction</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/basics/ungrouped</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/layout/horizontal</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/layout/alternating-infographic</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/layout/opposite-time</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/integration/data-source</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/integration/scroll-spy-nav</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/async/error-retry</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/async/refreshing-tail</example-url>\n * <example-url>http://localhost:4200/#/ui/timeline/skins/activity-vs-narrative</example-url>\n * @since 0.1.0\n */\n@Component({\n selector: 'cngx-timeline',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, CngxSkeletonContainer, CngxSkeletonPlaceholder],\n providers: [\n // The rows render their own markers, so an app-wide marker template can\n // only reach them through a contract. A token, never the class itself:\n // a row has to stay usable with no timeline above it.\n { provide: CNGX_TIMELINE_MARKER_HOST, useExisting: CngxTimeline },\n {\n // Re-exposes whatever is bound to [state] so CngxToastOn / CngxAlertOn /\n // CngxBannerOn attach with no wiring at all. It cannot be `useExisting`\n // like the select family's: there the state is a concrete field, here it\n // arrives through an Input that can change or be absent, so the façade\n // below forwards each signal instead of capturing one object.\n provide: CNGX_STATEFUL,\n useFactory: (): { readonly state: CngxAsyncState<unknown> } => ({\n state: inject(CngxTimeline).asyncState,\n }),\n },\n ],\n host: {\n class: 'cngx-timeline',\n '[attr.data-mode]': 'mode()',\n '[attr.data-skin]': 'skin()',\n '[attr.data-placement]': 'placement()',\n '[attr.data-rail]': 'rail()',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-ungrouped]': 'ungrouped() ? \"\" : null',\n // Aliased inputs leave the raw attribute behind, naming the role-less host.\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n },\n templateUrl: './timeline.component.html',\n styleUrl: './timeline.component.css',\n})\nexport class CngxTimeline<T = unknown> implements CngxTimelineMarkerHost {\n private readonly config = injectTimelineConfig();\n // Same cached source `createTimelineFallbackCopy` resolves (coerceSignal is\n // identity-keyed), read here for the raw `timelineRegion`.\n private readonly configLabels = coerceSignal<CngxTimelineLabels>(\n this.config.labels ?? TIMELINE_NO_LABELS,\n );\n private readonly groupingFactory = inject(CNGX_TIMELINE_GROUPING_FACTORY);\n private readonly uid = nextUid('cngx-timeline');\n\n /**\n * The flat event list. Order is irrelevant - the presenter sorts.\n *\n * A bound `[state]` supplies the rows instead as soon as it *has* data;\n * until then these are still used, so binding both is a legitimate way to\n * render a seed list while the first load runs. Note that the body still\n * follows the state, so an `idle` state renders nothing whatever `[items]`\n * holds.\n */\n readonly items = input<readonly T[]>([]);\n\n /**\n * The list's async state. Wins over `[items]`, and drives the whole body:\n * skeleton on first load, error surface with a retry, empty surface, and a\n * refreshing tail over content that stays on screen.\n *\n * Also republished through `CNGX_STATEFUL`, so a transition bridge inside\n * the timeline needs no binding of its own.\n */\n readonly state = input<\n CngxAsyncState<readonly T[]> | undefined,\n CngxAsyncState<readonly T[]> | '' | undefined\n >(undefined, { transform: (value) => (typeof value === 'string' ? undefined : value) });\n\n /**\n * Why the timeline is empty, forwarded to `*cngxTimelineEmpty`. The\n * organism cannot infer this - only the consumer knows whether a filter\n * cleared the list or nothing has happened yet.\n */\n readonly emptyReason = input<EmptyReason>('first-use');\n\n /**\n * How many placeholder rows the loading body draws. Match it to the usual\n * length so the skeleton reserves roughly the space the content will take.\n */\n readonly skeletonRowCount = input<number>(3);\n\n /** Fires when the consumer asks to retry a failed load. */\n readonly retry = output<void>();\n\n /**\n * Pulls the timestamp out of an event. Anything the `Date` constructor\n * accepts, so ISO strings off an API response need no pre-mapping.\n */\n readonly dateAccessor = input.required<TimelineDateAccessor<T>>();\n\n /**\n * Stable event identity, used as the `@for` track expression so a row\n * keeps its DOM across a refetch instead of being torn down and rebuilt.\n *\n * It deliberately does *not* drive band reuse: a refetch returns new\n * objects at the same ids, and reusing a band on an id match would pin it\n * to the old payload.\n */\n readonly idAccessor = input<((item: T) => unknown) | undefined>(undefined);\n\n /**\n * Bucketing. `'day'` (default), `'week'`, `'month'`, `'none'` for a flat\n * ungrouped list, or a custom function for anything else.\n */\n readonly groupBy = input<TimelineGroupBy<T>>('day');\n\n /** `'desc'` (default) is newest-first; `'asc'` reads oldest-first. */\n readonly direction = input<TimelineDirection>('desc');\n\n /** Row raster. See {@link CngxTimelineMode}. */\n readonly mode = input<CngxTimelineMode>('narrative');\n\n /** Visual skin. See {@link CngxTimelineSkin}. */\n readonly skin = input<CngxTimelineSkin>('line');\n\n /** Which side of the rail rows sit on. See {@link CngxTimelinePlacement}. */\n readonly placement = input<CngxTimelinePlacement>('start');\n\n /** Whether the rail breaks between rows. See {@link CngxTimelineRail}. */\n readonly rail = input<CngxTimelineRail>('segmented');\n\n /** Which axis the run reads along. See {@link CngxTimelineOrientation}. */\n readonly orientation = input<CngxTimelineOrientation>('vertical');\n\n /** Accessible name for the list. Falls back to the config's `timelineRegion`. */\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n\n /** Names the list from existing markup instead. Wins over `aria-label`. */\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n // Direct field initialisers, not a registry factory: AOT (NG8110) rejects\n // contentChild from a helper.\n private readonly itemSlot = contentChild(CngxTimelineItemTpl);\n private readonly dateHeaderSlot = contentChild(CngxTimelineDateHeader);\n private readonly markerSlot = contentChild(CngxTimelineMarkerTpl);\n private readonly emptySlot = contentChild(CngxTimelineEmpty);\n private readonly errorSlot = contentChild(CngxTimelineError);\n private readonly retryButtonSlot = contentChild(CngxTimelineRetryButton);\n private readonly loadingTailSlot = contentChild(CngxTimelineLoadingTail);\n private readonly skeletonSlot = contentChild(CngxTimelineSkeleton);\n\n /** @internal The list the presenter groups: bound state first, then `[items]`. */\n private readonly resolvedItems = computed<readonly T[]>(\n () => this.state()?.data() ?? this.items(),\n );\n\n private readonly grouping = this.groupingFactory<T>({\n items: this.resolvedItems,\n dateAccessor: (item) => this.dateAccessor()(item),\n groupBy: this.groupBy,\n direction: this.direction,\n locale: () => this.locale(),\n });\n\n /** The derived bands, in sort order. */\n readonly groups: Signal<readonly TimelineGroup<T>[]> = this.grouping.groups;\n\n /** @internal Eight slots, one cascade rule, resolved in one place. */\n private readonly slots = createTimelineSlots<T>(\n {\n item: this.itemSlot,\n dateHeader: this.dateHeaderSlot,\n marker: this.markerSlot,\n empty: this.emptySlot,\n error: this.errorSlot,\n retryButton: this.retryButtonSlot,\n loadingTail: this.loadingTailSlot,\n skeleton: this.skeletonSlot,\n },\n () => this.config.templates,\n );\n\n protected readonly itemTpl = this.slots.item;\n protected readonly dateHeaderTpl = this.slots.dateHeader;\n /** Public: this is the `CNGX_TIMELINE_MARKER_HOST` contract the rows read. */\n readonly markerTpl = this.slots.marker;\n protected readonly emptyTpl = this.slots.empty;\n protected readonly errorTpl = this.slots.error;\n protected readonly retryButtonTpl = this.slots.retryButton;\n protected readonly loadingTailTpl = this.slots.loadingTail;\n protected readonly skeletonTpl = this.slots.skeleton;\n\n /**\n * Forwarding façade over the bound `[state]`, published through\n * `CNGX_STATEFUL`. Every member delegates, so swapping the bound state (or\n * binding none at all) never leaves a bridge holding a stale object.\n */\n readonly asyncState: CngxAsyncState<readonly T[]> = createForwardedAsyncState(this.state);\n\n /** @internal Fallback copy for every surface with no slot bound. */\n protected readonly labels = createTimelineFallbackCopy(this.config);\n\n private readonly locale = injectLocale();\n\n // Narrowed so an unrelated label change (retry, loading) leaves the header\n // formatter, which only depends on `groupLabel` and the locale, untouched.\n private readonly groupFormatter = computed(() => this.labels().groupLabel);\n\n /**\n * @internal Group header formatter: `labels.groupLabel` bound to the live\n * app locale, so a `CNGX_LOCALE` flip re-formats the headers.\n */\n protected readonly groupHeaderLabel = computed<(group: TimelineGroup<unknown>) => string>(() => {\n const format = this.groupFormatter();\n const locale = this.locale();\n return (group) => format(group, locale);\n });\n\n /** @internal The body switch, the busy flag and the live-region text. */\n // Empty from the items, not the bands: every item lands in a band (invalid\n // dates included), and the bands re-split on a locale switch, which must not\n // reach the live region.\n private readonly view = inject(CNGX_TIMELINE_VIEW_FACTORY)(\n this.state,\n () => this.resolvedItems().length === 0,\n this.labels,\n );\n\n protected readonly activeView = this.view.activeView;\n protected readonly showsContent = this.view.showsContent;\n protected readonly refreshing = this.view.refreshing;\n protected readonly ariaBusy = this.view.ariaBusy;\n protected readonly announcement = this.view.announcement;\n\n /** @internal Passed into the error and retry-button slot contexts. */\n protected readonly emitRetry = (): void => this.retry.emit();\n\n /**\n * @internal `groupBy: 'none'` still produces one synthetic band from the\n * presenter, so the ungrouped configuration is a rendering decision here\n * rather than a second data path.\n */\n protected readonly ungrouped = computed(() => this.groupBy() === 'none');\n\n /** @internal Grouped is `group -> list -> listitem`: one list per band. */\n protected readonly containerRole = computed(() => (this.ungrouped() ? 'list' : 'group'));\n\n /** @internal Generic when grouped so the header may sit beside the rows. */\n protected readonly wrapperRole = computed(() => (this.ungrouped() ? 'presentation' : null));\n\n /** @internal The rows are the list, so it owns only `listitem` children. */\n protected readonly rowsRole = computed(() => (this.ungrouped() ? 'presentation' : 'list'));\n\n /** @internal Config fallback only applies when nothing was named explicitly. */\n protected readonly listLabel = computed(() =>\n this.ariaLabelledBy() ? null : (this.ariaLabel() ?? this.configLabels().timelineRegion ?? null),\n );\n\n /** @internal A group is named by its own header element, keyed on position. */\n protected groupLabelId(index: number): string {\n return `${this.uid}-group-${index}`;\n }\n\n /** @internal Row context. `first` / `last` are positions within the group. */\n protected itemContext(\n item: T,\n index: number,\n group: TimelineGroup<T>,\n ): CngxTimelineItemContext<T> {\n return {\n $implicit: item,\n index,\n first: index === 0,\n last: index === group.items.length - 1,\n group,\n };\n }\n\n /**\n * @internal Which side this row's body sits on. Derived from the loop\n * index, never from `:nth-child`: a filtered or refetched list has to\n * alternate by its own position in the rendered run, and CSS structural\n * parity would count DOM children instead. The row stylesheet reads the\n * resulting `[data-row-side]` off an ancestor, exactly like `[data-mode]`.\n *\n * The built-in skeleton placeholder calls this with the index its own\n * container hands it, so the loading rows land on the same sides the\n * content will - which is what keeps the swap from reflowing.\n */\n protected rowSide(index: number): 'start' | 'end' {\n const placement = this.placement();\n if (placement !== 'alternate') {\n return placement;\n }\n // Alternating a scan-feed defeats the scan; the warning below says so.\n if (this.mode() === 'activity') {\n return 'start';\n }\n return index % 2 === 0 ? 'start' : 'end';\n }\n\n /** @internal Track by consumer identity when given, else by reference. */\n protected trackItem = (index: number, item: T): unknown => this.idAccessor()?.(item) ?? item;\n\n constructor() {\n if (isDevMode()) {\n // afterNextRender, not an effect: this is a one-shot authoring check,\n // and a dead node in the reactive graph is worse than a missed\n // re-check after a runtime mode swap nobody does.\n afterNextRender(() => {\n if (this.mode() === 'activity' && this.placement() === 'alternate') {\n console.warn(\n '[cngx-timeline] placement=\"alternate\" is ignored in mode=\"activity\" - ' +\n 'alternating a scan-feed defeats the scan, so every row renders at the ' +\n 'start side. Use mode=\"narrative\" to alternate.',\n );\n }\n });\n }\n }\n}\n","@switch (activeView()) {\n @case ('skeleton') {\n <!-- The container owns show-delay and min-dwell, so a fast load never\n flashes and the timeline holds no latency logic. The placeholder\n reuses the item raster, so the swap to content cannot reflow. -->\n <!-- The class carries no rule on purpose: `<cngx-skeleton>` hosts itself\n with `display: contents` and has no box to style. It is the hook that\n makes the loading branch addressable from outside - tests and\n consumer overrides have nothing else to select on. -->\n <!-- [loading], not [state]: the container derives first-load from a bound\n state and would refuse to draw on a refetch that has nothing on\n screen, which is exactly the branch this case exists for. Reaching\n this branch at all IS the decision that a placeholder belongs here -\n activeView() already made it - so the flag is true by construction\n and the container is left owning only show-delay and min-dwell. -->\n <cngx-skeleton class=\"cngx-timeline__skeleton\" [loading]=\"true\" [count]=\"skeletonRowCount()\">\n <!-- let-index: the container has passed index/count/first/last into\n this template all along, the timeline just never read it. The\n built-in placeholder needs the per-row index to land on the same\n sides the content will, so the swap does not reflow under\n placement=\"end\" / \"alternate\". A consumer-supplied\n *cngxTimelineSkeleton is still outletted without context, which is\n unchanged and tracked. -->\n <ng-template cngxSkeletonPlaceholder let-index=\"index\">\n <!-- aria-hidden on the wrapper, not on the branches: whatever a\n consumer supplies is decoration too, and the load is announced\n through the live region at the bottom of this template. -->\n <div aria-hidden=\"true\">\n @if (skeletonTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\" />\n } @else {\n <!-- Own classes, not the row's. `CngxTimelineItem` is never\n imported here, so on a cold first load its Track-A stylesheet\n is not in the document yet and borrowed classes would render\n unstyled - on the one path the skeleton exists to cover. -->\n <div class=\"cngx-timeline__skeleton-row\" [attr.data-row-side]=\"rowSide(index)\">\n <span class=\"cngx-timeline__skeleton-marker\"></span>\n <span class=\"cngx-timeline__skeleton-rail\"></span>\n <div class=\"cngx-timeline__skeleton-body\">\n <span class=\"cngx-timeline__skeleton-line\"></span>\n <span\n class=\"cngx-timeline__skeleton-line cngx-timeline__skeleton-line--short\"\n ></span>\n </div>\n </div>\n }\n </div>\n </ng-template>\n </cngx-skeleton>\n }\n\n @case ('empty') {\n <div class=\"cngx-timeline__empty\">\n @if (emptyTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: emptyReason() }\" />\n } @else {\n {{ labels().emptyFallback }}\n }\n </div>\n }\n\n @case ('error') {\n <ng-container *ngTemplateOutlet=\"errorSurface\" />\n }\n}\n\n@if (showsContent() && groups().length) {\n <!-- aria-busy belongs on the element that owns the content, not on the\n role-less host, where AT would never read it. -->\n <div\n class=\"cngx-timeline__list\"\n [attr.role]=\"containerRole()\"\n [attr.aria-busy]=\"ariaBusy()\"\n [attr.aria-label]=\"listLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n >\n @for (group of groups(); track group.key) {\n <!-- Three elements per band, not two, and the middle one is why: a\n list may own nothing but listitems, so the header cannot sit\n inside it. The header is a consumer slot and the documented\n example is an <h3> - a real role, which axe rejects as a child of\n role=\"list\". So the band wrapper stays generic, the header sits\n beside the rows, and only the rows carry the list role. The rows\n element is what the header names, and what v2 wraps in a\n <details role=\"group\">.\n\n Ungrouped drops both wrappers to presentation rather than to no\n role at all: a generic div between the list and its rows still\n owns them and breaks listitem's required context - display:\n contents fixes the box tree, not this.\n\n The label id is keyed on $index, not on group.key: a custom\n TimelineGroupingFn is free to return \"today / this week / earlier\",\n and whitespace in an id makes this reference resolve to nothing,\n leaving the band unnamed. -->\n <div class=\"cngx-timeline__group\" [attr.role]=\"wrapperRole()\">\n @if (!ungrouped()) {\n <div class=\"cngx-timeline__date-header\" [id]=\"groupLabelId($index)\">\n @if (dateHeaderTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: group }\" />\n } @else {\n {{ groupHeaderLabel()(group) }}\n }\n </div>\n }\n\n <div\n class=\"cngx-timeline__rows\"\n [attr.role]=\"rowsRole()\"\n [attr.aria-labelledby]=\"ungrouped() ? null : groupLabelId($index)\"\n >\n @for (item of group.items; track trackItem($index, item)) {\n <!-- The side comes from the loop index, not from :nth-child: a\n filtered list has to alternate by its position in the run\n that is actually rendered, and the row stylesheet reads the\n attribute off an ancestor exactly like [data-mode]. -->\n <div class=\"cngx-timeline__item\" role=\"listitem\" [attr.data-row-side]=\"rowSide($index)\">\n @if (itemTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: itemContext(item, $index, group)\" />\n }\n </div>\n }\n </div>\n </div>\n }\n </div>\n}\n\n<!-- A refresh keeps the loaded rows on screen, so this tail is the only visible\n sign anything is happening. Outside the list, so it never reads as an\n event of its own. Decorative: the announcement is the live region below,\n which stays in the DOM whether or not there is anything to say. -->\n@if (refreshing()) {\n <div class=\"cngx-timeline__tail\" aria-hidden=\"true\">\n @if (loadingTailTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\" />\n } @else {\n {{ labels().refreshing }}\n }\n </div>\n}\n\n@if (activeView() === 'content+error') {\n <ng-container *ngTemplateOutlet=\"errorSurface\" />\n}\n\n<!-- Always in the DOM, content reactive - a region created together with its\n message is announced inconsistently or not at all. Empty whenever the\n timeline has nothing to report. -->\n<span aria-live=\"polite\" aria-atomic=\"true\" class=\"cngx-timeline__sr-only\">\n {{ announcement() }}\n</span>\n\n<ng-template #errorSurface>\n <div class=\"cngx-timeline__error\">\n @if (errorTpl(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: state()?.error(), retry: emitRetry }\"\n />\n } @else {\n <!-- No role=\"alert\" here: the polite region below is the single\n announcer for every view transition, error included - an alert on\n top of it would double-fire the same fallback. -->\n <p class=\"cngx-timeline__error-message\">{{ labels().errorFallback }}</p>\n @if (retryButtonTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: emitRetry }\" />\n } @else {\n <button class=\"cngx-timeline__retry\" type=\"button\" (click)=\"emitRetry()\">\n {{ labels().retry }}\n </button>\n }\n }\n </div>\n</ng-template>\n","/**\n * @module @cngx/ui/timeline\n */\n\nexport {\n CngxTimeline,\n type CngxTimelineMode,\n type CngxTimelineSkin,\n type CngxTimelinePlacement,\n type CngxTimelineRail,\n type CngxTimelineOrientation,\n} from './timeline.component';\n// The organism composes these rather than inlining them, and they are public\n// for the same reason: an ejected skin has to resolve the same slot cascade,\n// the same body-view mapping and the same fallback copy, or it forks the\n// brain instead of replacing the paint. The state-forwarding façade is the\n// one piece that is not timeline-specific at all, so it ships from\n// `@cngx/common/data` next to the rest of the async-state surface.\nexport {\n CNGX_TIMELINE_VIEW_FACTORY,\n createTimelineView,\n type CngxTimelineView,\n type CngxTimelineViewFactory,\n} from './timeline-view';\nexport {\n createTimelineSlotBinding,\n createTimelineSlots,\n type CngxTimelineSlotQueries,\n type CngxTimelineSlots,\n type CngxTimelineSlotSource,\n} from './slot-cascade';\nexport {\n createTimelineFallbackCopy,\n type CngxTimelineFallbackCopy,\n} from './timeline-labels';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAsBA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,yBAAyB,CACvC,QAAuD,EACvD,UAA4C,EAAA;AAE5C,IAAA,OAAO,QAAQ,CAAC,MAAM,QAAQ,EAAE,EAAE,WAAW,IAAI,UAAU,EAAE,IAAI,IAAI,CAAC;AACxE;AAoCA;;;;;;;;;;;;;AAaG;AACG,SAAU,mBAAmB,CACjC,OAAmC,EACnC,SAAkD,EAAA;AAElD,IAAA,MAAM,IAAI,GAAG,CAAK,GAAgC,KAChD,SAAS,E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