@cngx/ui 0.1.0-rc.3 → 0.1.0-rc.4
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/accordion/README.md +86 -0
- package/collection/README.md +167 -0
- package/data-grid-accordion/README.md +137 -0
- package/fesm2022/cngx-ui-accordion.mjs +853 -0
- package/fesm2022/cngx-ui-accordion.mjs.map +1 -0
- package/fesm2022/cngx-ui-action-button.mjs +2 -2
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
- package/fesm2022/cngx-ui-breadcrumb.mjs +1044 -0
- package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/cngx-ui-collection.mjs +645 -0
- package/fesm2022/cngx-ui-collection.mjs.map +1 -0
- package/fesm2022/cngx-ui-data-grid-accordion.mjs +1135 -0
- package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -0
- package/fesm2022/cngx-ui-empty-state.mjs +2 -2
- package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
- package/fesm2022/cngx-ui-feedback.mjs +10 -10
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-accordion.mjs +229 -0
- package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -0
- package/fesm2022/cngx-ui-paginator.mjs +324 -255
- package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-sidenav.mjs +547 -65
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +6 -6
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui.mjs +1 -1
- package/mat-accordion/README.md +48 -0
- package/package.json +21 -1
- package/paginator/README.md +9 -6
- package/sidenav/README.md +89 -3
- package/types/cngx-ui-accordion.d.ts +801 -0
- package/types/cngx-ui-breadcrumb.d.ts +890 -0
- package/types/cngx-ui-collection.d.ts +396 -0
- package/types/cngx-ui-data-grid-accordion.d.ts +912 -0
- package/types/cngx-ui-mat-accordion.d.ts +63 -0
- package/types/cngx-ui-paginator.d.ts +258 -146
- package/types/cngx-ui-sidenav.d.ts +429 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cngx-ui-collection.mjs","sources":["../../../projects/ui/collection/incremental-list-config.ts","../../../projects/ui/collection/incremental-list-host.token.ts","../../../projects/ui/collection/incremental-list-virtualized-body.component.ts","../../../projects/ui/collection/incremental-list-virtualized-body.component.html","../../../projects/ui/collection/incremental-list-slots.ts","../../../projects/ui/collection/incremental-list.component.ts","../../../projects/ui/collection/incremental-list.component.html","../../../projects/ui/collection/public-api.ts","../../../projects/ui/collection/cngx-ui-collection.ts"],"sourcesContent":["import {\n inject,\n InjectionToken,\n makeEnvironmentProviders,\n Optional,\n SkipSelf,\n type EnvironmentProviders,\n type Provider,\n type TemplateRef,\n} from '@angular/core';\n\n/**\n * Accessible-name / visible-label strings for the incremental-list view states.\n * Each doubles as the live-region announcement and the built-in view text, so\n * an override stays in sync across both surfaces. Library defaults are English;\n * consumers localise via {@link withIncrementalListAriaLabels}.\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport interface CngxIncrementalListAriaLabels {\n /** Busy indicator label while the first load runs. */\n readonly loading: string;\n /** Empty-view text shown when the bound state settles with no data. */\n readonly empty: string;\n /** Error-view text shown when the first load fails. */\n readonly error: string;\n /**\n * Error text shown when a subsequent page fails but the accumulated rows stay\n * visible (`content+error`). Distinct from `error` so assistive tech can tell\n * a page-N failure (list preserved) from a first-load failure (nothing shown).\n */\n readonly pageError: string;\n /** Retry-button label on the built-in error view. */\n readonly retry: string;\n /** End-reached label once every page is revealed, given the total item count. */\n readonly endReached: (total: number) => string;\n /**\n * Recycler load-count announcement, live-announced when the accumulated total\n * grows under `[virtualize]`. Owner-split from the view-state live region: the\n * recycler announcer speaks only load-count, the organism's `statusMessage`\n * keeps empty / error / end-reached. `count` rows newly revealed, `total`\n * accumulated. Routed into the recycler's i18n so localisation stays one\n * cascade.\n */\n readonly loadedMore: (count: number, total: number) => string;\n}\n\n/**\n * Application-wide template-slot defaults. A per-instance projected slot still\n * wins over this tier; it supplies a shared override when no instance slot is\n * projected. Library default is unset (the built-in views render).\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport interface CngxIncrementalListTemplates {\n /** Row template for each accumulated item. */\n readonly item?: TemplateRef<unknown>;\n /** Empty view. */\n readonly empty?: TemplateRef<unknown>;\n /** Error + retry view. */\n readonly error?: TemplateRef<unknown>;\n /** End-reached view. */\n readonly end?: TemplateRef<unknown>;\n /** First-load busy indicator. */\n readonly loading?: TemplateRef<unknown>;\n}\n\n/**\n * Resolved incremental-list configuration - the accessible-name strings plus an\n * optional `templates` slot tree, each merged independently by the reducer in\n * {@link provideIncrementalListConfig}.\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport interface CngxIncrementalListConfig {\n readonly ariaLabels: CngxIncrementalListAriaLabels;\n readonly templates?: CngxIncrementalListTemplates;\n}\n\n/** Library defaults - English. Override via {@link provideIncrementalListConfig}. */\nexport const CNGX_INCREMENTAL_LIST_DEFAULTS: CngxIncrementalListConfig = {\n ariaLabels: {\n loading: 'Loading',\n empty: 'Nothing here yet',\n error: 'Failed to load',\n pageError: 'Failed to load more',\n retry: 'Retry',\n endReached: (total) => `All ${total} loaded`,\n loadedMore: (count, total) => `${count} more loaded. ${total} total.`,\n },\n};\n\n/**\n * Configuration cascade token. Resolution priority (high to low):\n * per-instance projected slot, then `provideIncrementalListConfigAt(...)` at\n * component scope, then `provideIncrementalListConfig(...)` at the application\n * root, then the library defaults.\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport const CNGX_INCREMENTAL_LIST_CONFIG = new InjectionToken<CngxIncrementalListConfig>(\n 'CngxIncrementalListConfig',\n {\n providedIn: 'root',\n factory: () => CNGX_INCREMENTAL_LIST_DEFAULTS,\n },\n);\n\n/**\n * A single configuration override produced by a `with*` feature factory. The\n * reducer in {@link provideIncrementalListConfig} matches on `kind` and\n * shallow-merges `payload` into the matching sub-tree.\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport type CngxIncrementalListConfigFeature =\n | { readonly kind: 'ariaLabels'; readonly payload: Partial<CngxIncrementalListAriaLabels> }\n | { readonly kind: 'templates'; readonly payload: Partial<CngxIncrementalListTemplates> };\n\n/** Reduce a feature list onto a base config, merging each sub-tree in isolation. */\nfunction applyFeatures(\n base: CngxIncrementalListConfig,\n features: readonly CngxIncrementalListConfigFeature[],\n): CngxIncrementalListConfig {\n let ariaLabels = base.ariaLabels;\n let templates = base.templates;\n for (const feature of features) {\n if (feature.kind === 'ariaLabels') {\n ariaLabels = { ...ariaLabels, ...feature.payload };\n } else {\n templates = { ...templates, ...feature.payload };\n }\n }\n return { ariaLabels, templates };\n}\n\n/**\n * Override any subset of the incremental-list labels. The override applies to\n * both the visible built-in views and the live-region announcements.\n *\n * ```ts\n * provideIncrementalListConfig(\n * withIncrementalListAriaLabels({\n * empty: 'Noch nichts hier',\n * endReached: (total) => `Alle ${total} geladen`,\n * }),\n * );\n * ```\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport function withIncrementalListAriaLabels(\n payload: Partial<CngxIncrementalListAriaLabels>,\n): CngxIncrementalListConfigFeature {\n return { kind: 'ariaLabels', payload };\n}\n\n/**\n * Supply application-wide template-slot defaults. A per-instance projected slot\n * still wins over this tier; it only applies where no instance slot is present.\n *\n * ```ts\n * provideIncrementalListConfig(\n * withIncrementalListTemplates({ empty: myBrandedEmptyTemplate }),\n * );\n * ```\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport function withIncrementalListTemplates(\n payload: Partial<CngxIncrementalListTemplates>,\n): CngxIncrementalListConfigFeature {\n return { kind: 'templates', payload };\n}\n\n/**\n * Application-root configuration cascade for the incremental list. Pass any\n * combination of `with*` features in `bootstrapApplication`'s providers.\n * Supplied features merge with the library defaults, so consumers only declare\n * the keys they override.\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport function provideIncrementalListConfig(\n ...features: CngxIncrementalListConfigFeature[]\n): EnvironmentProviders {\n // Empty-features: leave the root default reference untouched so downstream\n // identity comparisons stay stable.\n if (features.length === 0) {\n return makeEnvironmentProviders([]);\n }\n return makeEnvironmentProviders([\n {\n provide: CNGX_INCREMENTAL_LIST_CONFIG,\n useValue: applyFeatures(CNGX_INCREMENTAL_LIST_DEFAULTS, features),\n },\n ]);\n}\n\n/**\n * Component-scoped incremental-list configuration override. Pass into a\n * component's or directive's `viewProviders`; features merge on top of the\n * parent config (an enclosing scope or the application root), so a region can\n * re-phrase its labels without disturbing the rest of the app.\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport function provideIncrementalListConfigAt(\n ...features: CngxIncrementalListConfigFeature[]\n): Provider[] {\n return [\n {\n provide: CNGX_INCREMENTAL_LIST_CONFIG,\n useFactory: (parent: CngxIncrementalListConfig | null) =>\n applyFeatures(parent ?? CNGX_INCREMENTAL_LIST_DEFAULTS, features),\n deps: [[new SkipSelf(), new Optional(), CNGX_INCREMENTAL_LIST_CONFIG]],\n },\n ];\n}\n\n/**\n * Convenience accessor for the incremental-list configuration. Runs in\n * injection context; resolves through the cascade. Equivalent to\n * `inject(CNGX_INCREMENTAL_LIST_CONFIG)`.\n *\n * @category ui/collection\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list-config.ts\n * @since 0.1.0\n */\nexport function injectIncrementalListConfig(): CngxIncrementalListConfig {\n return inject(CNGX_INCREMENTAL_LIST_CONFIG);\n}\n","/**\n * The collection organism reuses the paginator's read-mostly host contract\n * verbatim. `CngxIncrementalList` hosts the same `CngxPaginate` brain and\n * provides `CNGX_PAGINATOR_HOST` via `useExisting`, so a projected trigger atom\n * (`cngx-pgn-load-more`, `cngx-pgn-infinite`) injects the identical token and\n * needs only `next()` / `isBusy()` / `isLast()` / `cumulativeRange()`.\n *\n * This alias gives `@cngx/ui/collection` consumers a local import surface\n * without redefining the contract: one token, one shape, no new trigger context\n * type. The re-exported symbol is the same `InjectionToken` instance, so a\n * trigger imported from either entry resolves to the same provider.\n *\n * @category ui/collection\n */\nexport { CNGX_PAGINATOR_HOST, type CngxPaginatorHost } from '@cngx/ui/paginator';\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n computed,\n ElementRef,\n inject,\n input,\n output,\n type TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { CngxMeasure, CngxRecyclerAnnouncer, CngxVirtualItem, injectRecycler } from '@cngx/common/data';\n\nimport type { CngxIncrementalItemContext } from './incremental-list-slots';\n\n/**\n * Virtualized content body for `CngxIncrementalList`. Instantiated only under\n * the organism's `@if (virtualize())`, so the recycler (scroll observer, four\n * effects, and focus listeners installed unconditionally at construction) never\n * runs for a render-all list - the opt-in cost is real, not nominal.\n *\n * A private composition unit in the shape of the `CngxSelectPanel` /\n * `CngxSelectPanelShell` split: it owns `injectRecycler`, the equal'd window,\n * and renders the windowed rows with the existing `CngxVirtualItem` /\n * `CngxMeasure` atoms. The host element IS the scroll viewport - the\n * `.cngx-incremental-list__viewport` overflow + bounded-height rule and the\n * recycler's `scrollElement` resolve to this one node.\n *\n * @internal Not exported from `@cngx/ui/collection` public API.\n */\n@Component({\n selector: 'cngx-incremental-virtualized-body',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, CngxVirtualItem, CngxMeasure, CngxRecyclerAnnouncer],\n templateUrl: './incremental-list-virtualized-body.component.html',\n host: { class: 'cngx-incremental-list__viewport' },\n})\nexport class CngxIncrementalVirtualizedBody<T = unknown> {\n /**\n * The full accumulated slice to virtualize. Defaults to `[]` (not\n * `required`) because `injectRecycler` reads `totalCount()` at construction to\n * seed its announcement bookkeeping - a required input would throw NG0950\n * before the organism binds. The organism always binds it.\n */\n readonly items = input<readonly T[]>([]);\n\n /** Initial per-row height estimate (px); forwarded to the recycler. */\n readonly estimateSize = input<number>(48);\n\n /**\n * Item slot template resolved by the organism, or `null` for the built-in\n * text row. Rendered per windowed row with the same context the render-all\n * path uses, but keyed on the absolute index.\n */\n readonly itemTemplate = input<TemplateRef<CngxIncrementalItemContext<T>> | null>(null);\n\n /** `@for` track fn from the organism - keyed on the absolute row index. */\n readonly trackItem = input.required<(index: number, item: T) => unknown>();\n\n /**\n * Emitted when the row holding focus recycles out of the window and no\n * rendered row remains to catch it. The organism owns the projected trigger,\n * so the escape-fallback target is the organism's, not this component's - it\n * hands focus back rather than reaching outside its own host.\n */\n readonly focusEscaped = output<void>();\n\n private readonly host = inject(ElementRef<HTMLElement>);\n\n /**\n * The recycler. Constructed here, never in the organism, so its scroll\n * observer + effects install only when virtualized. `estimateSize` is passed\n * as the signal reference so it reads reactively after binding rather than the\n * construction-time default; `state` is intentionally not forwarded - the\n * recycler reads `config.state` once at construction when the input is still\n * unbound, and its no-state branch already announces load-count from\n * `totalCount` growth, which is the append-feed semantics the announcer wants.\n */\n protected readonly recycler = injectRecycler({\n scrollElement: this.host.nativeElement as HTMLElement,\n totalCount: () => this.items().length,\n estimateSize: this.estimateSize,\n });\n\n /**\n * The visible window, sliced to `[recycler.start(), recycler.end())` with an\n * explicit structural `equal` (mirrors the select family's recycler panel\n * renderer): length + per-entry `Object.is`, so a window that does not move\n * keeps its reference and the row `@for` does not thrash. Returns the source\n * verbatim when the window covers the whole list, so upstream identity stays\n * stable for small opt-in lists.\n */\n protected readonly windowItems = computed<readonly T[]>(\n () => {\n const all = this.items();\n const start = this.recycler.start();\n const end = this.recycler.end();\n if (start === 0 && end >= all.length) {\n return all;\n }\n return all.slice(start, Math.min(end, all.length));\n },\n {\n equal: (a, b) => {\n if (a === b) {\n return true;\n }\n if (a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!Object.is(a[i], b[i])) {\n return false;\n }\n }\n return true;\n },\n },\n );\n\n constructor() {\n // Focus continuity under recycling: when the row that held focus scrolls out\n // of the window, move focus to the nearest still-rendered row so keyboard\n // focus is never stranded on a detached node (Pillar 2 - a recycled-out\n // focus is a silent failure). afterRenderEffect (not effect) so the restore\n // reads the DOM AFTER the recycled window has painted its new rows - a plain\n // effect races the @for re-render and would target an about-to-be-removed\n // row. Reads `lostFocus` (the recycler owns the focusin/focusout tracking);\n // writes no signal it owns and calls no service, so no `untracked` guard is\n // needed. Landing focus on an in-window row re-enters the recycler's focusin\n // handler, which pulls `focusedIndex` back into `[start, end)` and nulls\n // `lostFocus` - the next run early-returns, so there is no re-fire loop.\n afterRenderEffect(() => {\n const lost = this.recycler.lostFocus();\n if (!lost) {\n return;\n }\n this.restoreFocus(lost.index);\n });\n }\n\n /**\n * Move focus to the rendered row nearest the recycled-out index, or emit\n * `focusEscaped` when the window has no row to receive it.\n */\n private restoreFocus(lostIndex: number): void {\n const rows = Array.from(\n (this.host.nativeElement as HTMLElement).querySelectorAll<HTMLElement>(\n '[data-cngx-recycle-index]',\n ),\n );\n if (rows.length === 0) {\n this.focusEscaped.emit();\n return;\n }\n const indexOf = (row: HTMLElement): number =>\n Number(row.getAttribute('data-cngx-recycle-index'));\n const target = rows.reduce((nearest, row) =>\n Math.abs(indexOf(row) - lostIndex) < Math.abs(indexOf(nearest) - lostIndex) ? row : nearest,\n );\n // Content rows are not natively focusable; make the target programmatically\n // focusable without adding it to the tab order.\n target.tabIndex = -1;\n target.focus({ preventScroll: true });\n }\n}\n","<ul\n class=\"cngx-incremental-list__items\"\n role=\"list\"\n [style.padding-block-start.px]=\"recycler.offsetBefore()\"\n [style.padding-block-end.px]=\"recycler.offsetAfter()\"\n>\n @for (item of windowItems(); track trackItem()(recycler.start() + $index, item)) {\n <li\n class=\"cngx-incremental-list__item\"\n [cngxVirtualItem]=\"recycler\"\n [cngxVirtualItemIndex]=\"recycler.start() + $index\"\n [cngxMeasure]=\"recycler\"\n [cngxMeasureIndex]=\"recycler.start() + $index\"\n >\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: recycler.start() + $index }\"\n />\n } @else {\n {{ item }}\n }\n </li>\n }\n</ul>\n\n<cngx-recycler-announcer [cngxRecyclerAnnouncer]=\"recycler\" />\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n/**\n * Context exposed to a projected item template - the accumulated item and its\n * index in the revealed slice.\n *\n * @category ui/collection\n */\nexport interface CngxIncrementalItemContext<T> {\n readonly $implicit: T;\n readonly index: number;\n}\n\n/**\n * Item slot. Project `<ng-template cngxIncrementalItem let-item let-i=\"index\">`\n * inside `<cngx-incremental-list>` to render each accumulated row; the organism\n * renders it per item in the revealed slice. Resolution cascades instance slot\n * -> `CngxIncrementalListConfig.templates.item` -> the built-in text row.\n *\n * @category ui/collection\n * @since 0.1.0\n */\n@Directive({\n selector: 'ng-template[cngxIncrementalItem]',\n standalone: true,\n exportAs: 'cngxIncrementalItem',\n})\nexport class CngxIncrementalItem<T = unknown> {\n readonly templateRef = inject<TemplateRef<CngxIncrementalItemContext<T>>>(TemplateRef);\n\n static ngTemplateContextGuard<T>(\n _dir: CngxIncrementalItem<T>,\n ctx: unknown,\n ): ctx is CngxIncrementalItemContext<T> {\n return true;\n }\n}\n\n/**\n * Empty slot. Project `<ng-template cngxIncrementalEmpty>` to replace the\n * built-in empty view shown when the bound state settles with no data.\n *\n * @category ui/collection\n * @since 0.1.0\n */\n@Directive({\n selector: 'ng-template[cngxIncrementalEmpty]',\n standalone: true,\n exportAs: 'cngxIncrementalEmpty',\n})\nexport class CngxIncrementalEmpty {\n readonly templateRef = inject(TemplateRef);\n}\n\n/**\n * Context exposed to a projected error template - a `retry` callback that\n * re-drives the consumer's data source (emits the organism's `retry` output)\n * and the raw `error` the bound state carries.\n *\n * @category ui/collection\n */\nexport interface CngxIncrementalErrorContext {\n readonly retry: () => void;\n readonly error: unknown;\n}\n\n/**\n * Error slot. Project `<ng-template cngxIncrementalError let-retry=\"retry\">` to\n * replace the built-in error + retry view. Resolution cascades instance slot ->\n * `CngxIncrementalListConfig.templates.error` -> the built-in message + button.\n *\n * @category ui/collection\n * @since 0.1.0\n */\n@Directive({\n selector: 'ng-template[cngxIncrementalError]',\n standalone: true,\n exportAs: 'cngxIncrementalError',\n})\nexport class CngxIncrementalError {\n readonly templateRef = inject<TemplateRef<CngxIncrementalErrorContext>>(TemplateRef);\n\n static ngTemplateContextGuard(\n _dir: CngxIncrementalError,\n ctx: unknown,\n ): ctx is CngxIncrementalErrorContext {\n return true;\n }\n}\n\n/**\n * End-reached slot. Project `<ng-template cngxIncrementalEnd>` to replace the\n * built-in \"all loaded\" label shown once every page has been revealed.\n *\n * @category ui/collection\n * @since 0.1.0\n */\n@Directive({\n selector: 'ng-template[cngxIncrementalEnd]',\n standalone: true,\n exportAs: 'cngxIncrementalEnd',\n})\nexport class CngxIncrementalEnd {\n readonly templateRef = inject(TemplateRef);\n}\n\n/**\n * Loading slot. Project `<ng-template cngxIncrementalLoading>` to replace the\n * built-in first-load progress indicator. Resolution cascades instance slot ->\n * `CngxIncrementalListConfig.templates.loading` -> the built-in `CngxProgress`.\n *\n * @category ui/collection\n * @since 0.1.0\n */\n@Directive({\n selector: 'ng-template[cngxIncrementalLoading]',\n standalone: true,\n exportAs: 'cngxIncrementalLoading',\n})\nexport class CngxIncrementalLoading {\n readonly templateRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n ElementRef,\n inject,\n input,\n output,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { CngxLiveRegion } from '@cngx/common/a11y';\nimport {\n type AsyncView,\n CngxPaginate,\n CNGX_RECYCLER_I18N,\n connectPaginateEmit,\n type RecyclerI18n,\n resolveAsyncView,\n} from '@cngx/common/data';\nimport { CngxEmptyState } from '@cngx/ui/empty-state';\nimport { CngxProgress } from '@cngx/ui/feedback';\n\nimport { injectIncrementalListConfig } from './incremental-list-config';\nimport { CNGX_PAGINATOR_HOST } from './incremental-list-host.token';\nimport { CngxIncrementalVirtualizedBody } from './incremental-list-virtualized-body.component';\nimport {\n CngxIncrementalEmpty,\n CngxIncrementalEnd,\n CngxIncrementalError,\n type CngxIncrementalErrorContext,\n CngxIncrementalItem,\n CngxIncrementalLoading,\n} from './incremental-list-slots';\n\n/**\n * Visual skin. Paint-only - structure, ARIA, and keyboard behaviour are\n * identical across values; each is reflected onto `[data-skin]`.\n * - `plain` (default): browser-native list, no chrome.\n * - `divided`: hairline separators between rows.\n * - `card`: the list sits on an elevated, rounded surface.\n */\nexport type CngxIncrementalListSkin = 'plain' | 'divided' | 'card';\n\n/**\n * Append-style collection organism. \\\n * Accumulates rows across pages (append, don't replace) and switches its view\n * by async status - loading / content / empty / error / end-reached - from a\n * single `[state]` source. A thin shell over the `CngxPaginate` brain (applied\n * as a `hostDirective`): the accumulated slice is read from the brain's\n * `cumulativeRange()`, the end-reached branch from `isLast()`, and the loading\n * gate from the bound state's `isBusy()`. It owns no `[mode]` flag and no\n * accumulation state of its own.\n *\n * The brain is provided as `CNGX_PAGINATOR_HOST` via `useExisting`, so an\n * existing trigger atom (`cngx-pgn-load-more`, `cngx-pgn-infinite`) injects the\n * same contract when projected - the trigger stays a swappable terminal unit,\n * the rich async experience lives here.\n *\n * Two-way `[(pageIndex)]` / `[(pageSize)]` mirror the paginator shell: the\n * brain's controlled inputs are aliased through `hostDirectives` and this\n * component is the single emitter of the matching outputs.\n *\n * All ARIA is signal-driven: `aria-busy` reflects the brain busy signal and a\n * polite live region communicates every settle (empty / error / end-reached).\n *\n * @category ui/collection\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/collection/incremental-list.component.ts\n * @since 0.1.0\n * @relatedTo CngxPaginate, CngxPaginator, CngxAsyncState\n */\n@Component({\n selector: 'cngx-incremental-list',\n exportAs: 'cngxIncrementalList',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n CngxProgress,\n CngxEmptyState,\n CngxLiveRegion,\n NgTemplateOutlet,\n CngxIncrementalVirtualizedBody,\n ],\n templateUrl: './incremental-list.component.html',\n styleUrl: './incremental-list.component.css',\n hostDirectives: [\n {\n directive: CngxPaginate,\n inputs: ['cngxPageIndex: pageIndex', 'cngxPageSize: pageSize', 'total', 'state'],\n },\n ],\n providers: [\n { provide: CNGX_PAGINATOR_HOST, useExisting: CngxPaginate },\n {\n // Route the recycler's SR i18n through the same config cascade the\n // organism uses, so a consumer localises the load-count announcement via\n // withIncrementalListAriaLabels alongside the view-state labels. Owner\n // split: only loaded() carries text; empty()/error()/filtered() stay\n // silent so the organism's statusMessage live region remains the sole\n // owner of view-state (no double-announce). The no-state recycler branch\n // never calls filtered()/error() anyway.\n provide: CNGX_RECYCLER_I18N,\n useFactory: (): RecyclerI18n => {\n const config = injectIncrementalListConfig();\n return {\n loaded: (count, total) => config.ariaLabels.loadedMore(count, total),\n filtered: () => '',\n empty: () => '',\n error: () => '',\n };\n },\n },\n ],\n host: {\n class: 'cngx-incremental-list',\n '[attr.aria-busy]': 'paginate.isBusy()',\n '[attr.data-skin]': 'skin()',\n '[attr.data-virtualize]': \"virtualize() ? '' : null\",\n },\n})\nexport class CngxIncrementalList<T = unknown> {\n /** Visual skin; reflected onto `[data-skin]`. Paint-only. */\n readonly skin = input<CngxIncrementalListSkin>('plain');\n\n /**\n * Opt into DOM recycling. When set, the accumulated content branch renders\n * only the visible window of rows through an internal virtualized body inside\n * a bounded scroll viewport; every off-window row is a pixel spacer. Unset\n * (default) keeps the render-all path - the recycler never constructs, so a\n * small list pays nothing. Reflected onto `[data-virtualize]`.\n */\n readonly virtualize = input(false, { transform: booleanAttribute });\n\n /**\n * Initial per-row height estimate (px) for the virtualized window - the first\n * guess before a row is measured. Ignored unless `[virtualize]` is set.\n */\n readonly estimateSize = input<number>(48);\n\n /** Emits the effective page index on every change - navigation or `total`-shrink clamp. */\n readonly pageIndexChange = output<number>();\n /** Emits the effective page size on every change. */\n readonly pageSizeChange = output<number>();\n /**\n * Emits when the error view's retry affordance is activated (the built-in\n * button or a projected error slot's `retry()` context). The consumer re-runs\n * its data source; the organism owns no fetch of its own.\n */\n readonly retry = output<void>();\n\n /**\n * Item identity for the accumulated `@for`. Defaults to the row index\n * (append-safe: appended rows keep their position). Supply a key fn when the\n * bound `[state]` data can be replaced or reordered, so a projected item\n * template keeps its per-row state instead of being reused by position.\n */\n readonly trackBy = input<(index: number, item: T) => unknown>((index) => index);\n\n protected readonly paginate = inject(CngxPaginate);\n private readonly host = inject(ElementRef<HTMLElement>);\n private readonly config = injectIncrementalListConfig();\n\n // View slot resolvers. Direct contentChild field initialisers (AOT NG8110\n // rejects them from a helper); read as TemplateRef so the cascade computeds\n // return a renderable reference or null.\n private readonly itemSlot = contentChild(CngxIncrementalItem, { read: TemplateRef });\n private readonly emptySlot = contentChild(CngxIncrementalEmpty, { read: TemplateRef });\n private readonly errorSlot = contentChild(CngxIncrementalError, { read: TemplateRef });\n private readonly endSlot = contentChild(CngxIncrementalEnd, { read: TemplateRef });\n private readonly loadingSlot = contentChild(CngxIncrementalLoading, { read: TemplateRef });\n\n // Three-stage slot cascade: instance slot -> config.templates.<key> ->\n // built-in default. Returns existing TemplateRef refs or null -\n // reference-stable, so no explicit equal fn is needed.\n protected readonly itemTemplate = computed(\n () => this.itemSlot() ?? this.config.templates?.item ?? null,\n );\n protected readonly emptyTemplate = computed(\n () => this.emptySlot() ?? this.config.templates?.empty ?? null,\n );\n protected readonly errorTemplate = computed(\n () => this.errorSlot() ?? this.config.templates?.error ?? null,\n );\n protected readonly endTemplate = computed(\n () => this.endSlot() ?? this.config.templates?.end ?? null,\n );\n protected readonly loadingTemplate = computed(\n () => this.loadingSlot() ?? this.config.templates?.loading ?? null,\n );\n\n /**\n * Which region renders, resolved from the single `[state]` source through the\n * shared `resolveAsyncView` switch - no local state machine. With no bound\n * state the organism is a plain content list.\n */\n protected readonly view = computed<AsyncView>(() => {\n const state = this.paginate.state();\n if (!state) {\n return 'content';\n }\n return resolveAsyncView(state.status(), state.isFirstLoad(), state.isEmpty());\n });\n\n /** `true` on the last page - every accumulated item has been revealed. */\n protected readonly exhausted = computed(() => this.paginate.isLast());\n\n /**\n * The accumulated slice: every page revealed so far, sliced from the top of\n * the bound data. Pure derivation of the brain `cumulativeRange()` and the\n * state's `data()`; the explicit `equal` stops a fresh-array identity from\n * cascading downstream.\n */\n protected readonly items = computed<readonly T[]>(\n () => {\n const data = this.paginate.state()?.data();\n if (!Array.isArray(data)) {\n return [];\n }\n const [start, end] = this.paginate.cumulativeRange();\n return (data as readonly T[]).slice(start, end);\n },\n { equal: (a, b) => a.length === b.length && a.every((item, i) => Object.is(item, b[i])) },\n );\n\n // Built-in view labels, resolved through the config cascade (EN library\n // defaults). Consumers re-phrase or localise via provideIncrementalListConfig.\n protected readonly loadingLabel = computed(() => this.config.ariaLabels.loading);\n protected readonly emptyLabel = computed(() => this.config.ariaLabels.empty);\n protected readonly errorLabel = computed(() => this.config.ariaLabels.error);\n protected readonly pageErrorLabel = computed(() => this.config.ariaLabels.pageError);\n protected readonly retryLabel = computed(() => this.config.ariaLabels.retry);\n protected readonly endLabel = computed(() => this.config.ariaLabels.endReached(this.paginate.total()));\n\n /**\n * Error text for the active error view - the distinct `pageError` phrasing\n * when a subsequent page failed with the list still visible (`content+error`),\n * the first-load `error` phrasing otherwise. Drives both the built-in visible\n * text and the live-region announcement so the two never diverge.\n */\n protected readonly errorViewLabel = computed(() =>\n this.view() === 'content+error' ? this.pageErrorLabel() : this.errorLabel(),\n );\n\n /**\n * Polite live-region message - communicated on every settle through the same\n * labels the visible views use, so a config or slot override stays in sync.\n */\n protected readonly statusMessage = computed(() => {\n if (this.paginate.isBusy()) {\n return this.loadingLabel();\n }\n const view = this.view();\n if (view === 'empty') {\n return this.emptyLabel();\n }\n if (view === 'error' || view === 'content+error') {\n return this.errorViewLabel();\n }\n return this.exhausted() ? this.endLabel() : '';\n });\n\n /** Stable retry callback - emits the `retry` output; shared by the built-in button and the error slot context. */\n protected readonly retryFn = (): void => this.retry.emit();\n\n /**\n * Focus fallback for the virtualized body: when a focused row recycles out and\n * the window has no row left to catch focus, restore it to the projected\n * trigger. The organism owns the trigger `ng-content`, so the escape target is\n * the organism's, not the body's.\n */\n protected handleFocusEscaped(): void {\n const root = this.host.nativeElement as HTMLElement;\n const trigger = root.querySelector<HTMLElement>('[cngxIncrementalTrigger]');\n if (!trigger) {\n return;\n }\n const focusable = trigger.querySelector<HTMLElement>('button, [tabindex]') ?? trigger;\n focusable.focus();\n }\n\n /** Context handed to a projected error slot: the retry callback and the raw error. */\n protected readonly errorContext = computed<CngxIncrementalErrorContext>(\n () => ({ retry: this.retryFn, error: this.paginate.state()?.error() }),\n { equal: (a, b) => a.retry === b.retry && a.error === b.error },\n );\n\n /** `@for` track expression - delegates to the `trackBy` input (index by default). */\n protected readonly trackItem = (index: number, item: T): unknown => this.trackBy()(index, item);\n\n constructor() {\n // Two-way [(pageIndex)] / [(pageSize)] emit, shared verbatim with\n // CngxPaginator through the connectPaginateEmit bridge.\n connectPaginateEmit(this.paginate, {\n onIndex: (index) => this.pageIndexChange.emit(index),\n onSize: (size) => this.pageSizeChange.emit(size),\n });\n }\n}\n","@switch (view()) {\n @case ('skeleton') {\n @if (loadingTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <cngx-progress\n class=\"cngx-incremental-list__progress\"\n variant=\"linear\"\n [state]=\"paginate.state()\"\n [label]=\"loadingLabel()\"\n />\n }\n }\n @case ('empty') {\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <cngx-empty-state class=\"cngx-incremental-list__empty\" [title]=\"emptyLabel()\" />\n }\n }\n @case ('error') {\n @if (errorTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"errorContext()\" />\n } @else {\n <div class=\"cngx-incremental-list__error\">\n <ng-container [ngTemplateOutlet]=\"builtinError\" />\n </div>\n }\n }\n @default {\n @if (virtualize()) {\n <cngx-incremental-virtualized-body\n [items]=\"items()\"\n [estimateSize]=\"estimateSize()\"\n [itemTemplate]=\"itemTemplate()\"\n [trackItem]=\"trackItem\"\n (focusEscaped)=\"handleFocusEscaped()\"\n />\n } @else {\n <ul class=\"cngx-incremental-list__items\" role=\"list\">\n @for (item of items(); track trackItem($index, item)) {\n <li class=\"cngx-incremental-list__item\">\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\"\n />\n } @else {\n {{ item }}\n }\n </li>\n }\n </ul>\n }\n @if (view() === 'content+error') {\n <!-- Subsequent-page failure: keep the accumulated list above visible and\n render a reachable retry, rather than silently swallowing the error. -->\n @if (errorTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"errorContext()\" />\n } @else {\n <div class=\"cngx-incremental-list__inline-error\">\n <ng-container [ngTemplateOutlet]=\"builtinError\" />\n </div>\n }\n } @else if (exhausted()) {\n @if (endTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <p class=\"cngx-incremental-list__message cngx-incremental-list__end\">{{ endLabel() }}</p>\n }\n } @else {\n <ng-content select=\"[cngxIncrementalTrigger]\" />\n }\n }\n}\n\n<ng-template #builtinError>\n <p class=\"cngx-incremental-list__error-text\">{{ errorViewLabel() }}</p>\n <button type=\"button\" class=\"cngx-incremental-list__retry\" (click)=\"retryFn()\">\n {{ retryLabel() }}\n </button>\n</ng-template>\n\n<span cngxLiveRegion class=\"cngx-incremental-list__sr\">{{ statusMessage() }}</span>\n","/**\n * @module @cngx/ui/collection\n */\n\nexport { CngxIncrementalList, type CngxIncrementalListSkin } from './incremental-list.component';\nexport { CNGX_PAGINATOR_HOST, type CngxPaginatorHost } from './incremental-list-host.token';\nexport {\n CngxIncrementalItem,\n CngxIncrementalEmpty,\n CngxIncrementalError,\n CngxIncrementalEnd,\n CngxIncrementalLoading,\n type CngxIncrementalItemContext,\n type CngxIncrementalErrorContext,\n} from './incremental-list-slots';\nexport {\n CNGX_INCREMENTAL_LIST_CONFIG,\n CNGX_INCREMENTAL_LIST_DEFAULTS,\n provideIncrementalListConfig,\n provideIncrementalListConfigAt,\n injectIncrementalListConfig,\n withIncrementalListAriaLabels,\n withIncrementalListTemplates,\n type CngxIncrementalListConfig,\n type CngxIncrementalListConfigFeature,\n type CngxIncrementalListAriaLabels,\n type CngxIncrementalListTemplates,\n} from './incremental-list-config';\n\n// Trigger atoms re-exported for discoverability - a projected trigger injects\n// the shared CNGX_PAGINATOR_HOST the organism provides. No new component; these\n// are the existing terminal trigger units from @cngx/ui/paginator.\nexport { CngxPaginatorLoadMore, CngxPaginatorInfinite } from '@cngx/ui/paginator';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;AAqFA;AACO,MAAM,8BAA8B,GAA8B;AACvE,IAAA,UAAU,EAAE;AACV,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,KAAK,EA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