@cngx/common 0.1.0-rc.5 → 0.1.0-rc.7
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/chart/README.md +85 -0
- package/command/README.md +157 -0
- package/data/README.md +23 -0
- package/fesm2022/cngx-common-a11y.mjs +247 -85
- package/fesm2022/cngx-common-a11y.mjs.map +1 -1
- package/fesm2022/cngx-common-audio.mjs +37 -37
- package/fesm2022/cngx-common-audio.mjs.map +1 -1
- package/fesm2022/cngx-common-card.mjs +13 -9
- package/fesm2022/cngx-common-card.mjs.map +1 -1
- package/fesm2022/cngx-common-chart.mjs +3404 -1392
- package/fesm2022/cngx-common-chart.mjs.map +1 -1
- package/fesm2022/cngx-common-command.mjs +144 -0
- package/fesm2022/cngx-common-command.mjs.map +1 -0
- package/fesm2022/cngx-common-data.mjs +304 -213
- package/fesm2022/cngx-common-data.mjs.map +1 -1
- package/fesm2022/cngx-common-dialog.mjs +369 -100
- package/fesm2022/cngx-common-dialog.mjs.map +1 -1
- package/fesm2022/cngx-common-display.mjs +144 -30
- package/fesm2022/cngx-common-display.mjs.map +1 -1
- package/fesm2022/cngx-common-interactive.mjs +1089 -459
- package/fesm2022/cngx-common-interactive.mjs.map +1 -1
- package/fesm2022/cngx-common-layout.mjs +113 -61
- package/fesm2022/cngx-common-layout.mjs.map +1 -1
- package/fesm2022/cngx-common-popover.mjs +430 -54
- package/fesm2022/cngx-common-popover.mjs.map +1 -1
- package/fesm2022/cngx-common-stepper.mjs +107 -49
- package/fesm2022/cngx-common-stepper.mjs.map +1 -1
- package/fesm2022/cngx-common-tabs.mjs +1170 -752
- package/fesm2022/cngx-common-tabs.mjs.map +1 -1
- package/fesm2022/cngx-common-timeline.mjs +1086 -0
- package/fesm2022/cngx-common-timeline.mjs.map +1 -0
- package/fesm2022/cngx-common.mjs +2 -2
- package/fesm2022/cngx-common.mjs.map +1 -1
- package/package.json +11 -1
- package/stepper/README.md +1 -1
- package/theming/components/cngx-accordion.css +20 -6
- package/theming/components/cngx-badge.css +22 -0
- package/theming/components/cngx-bottom-sheet.css +14 -2
- package/theming/components/cngx-breadcrumb.css +9 -1
- package/theming/components/cngx-button-toggle.css +44 -2
- package/theming/components/cngx-data-grid.css +69 -4
- package/theming/components/cngx-dialog.css +12 -0
- package/theming/components/cngx-divider.css +12 -0
- package/theming/components/cngx-listbox.css +27 -0
- package/theming/components/cngx-menu.css +36 -0
- package/theming/components/cngx-ripple.css +1 -1
- package/theming/components/cngx-slider.css +1 -1
- package/theming/components/cngx-tooltip.css +11 -0
- package/types/cngx-common-a11y.d.ts +63 -17
- package/types/cngx-common-audio.d.ts +32 -32
- package/types/cngx-common-card.d.ts +10 -3
- package/types/cngx-common-chart.d.ts +1281 -141
- package/types/cngx-common-command.d.ts +167 -0
- package/types/cngx-common-data.d.ts +264 -98
- package/types/cngx-common-dialog.d.ts +214 -25
- package/types/cngx-common-display.d.ts +83 -13
- package/types/cngx-common-interactive.d.ts +708 -174
- package/types/cngx-common-layout.d.ts +48 -1
- package/types/cngx-common-popover.d.ts +120 -3
- package/types/cngx-common-stepper.d.ts +55 -5
- package/types/cngx-common-tabs.d.ts +386 -25
- package/types/cngx-common-timeline.d.ts +1059 -0
- package/types/cngx-common.d.ts +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Signal, InjectionToken, ModelSignal, TemplateRef, OnInit, EnvironmentProviders, Provider, Injector } from '@angular/core';
|
|
2
|
+
import { Signal, InjectionToken, ModelSignal, TemplateRef, OnInit, AfterContentInit, EnvironmentProviders, Provider, Injector } from '@angular/core';
|
|
3
3
|
import { CngxAsyncState, StatusTransition } from '@cngx/core/utils';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { CngxErrorAggregatorContract } from '@cngx/common/interactive';
|
|
6
|
-
import { Router } from '@angular/router';
|
|
6
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
7
7
|
import { CngxCommitController } from '@cngx/common/data';
|
|
8
|
+
import { CngxDirection } from '@cngx/core';
|
|
8
9
|
import { CngxActiveDescendant, ActiveDescendantItem } from '@cngx/common/a11y';
|
|
9
10
|
import { CngxPopover } from '@cngx/common/popover';
|
|
10
11
|
|
|
@@ -316,6 +317,122 @@ interface CngxTabPanelHost {
|
|
|
316
317
|
*/
|
|
317
318
|
declare const CNGX_TAB_PANEL_HOST: InjectionToken<CngxTabPanelHost>;
|
|
318
319
|
|
|
320
|
+
/**
|
|
321
|
+
* Marks a tab presenter as the **navigation** flavour rather than the
|
|
322
|
+
* tablist flavour. \
|
|
323
|
+
* Provided by `<cngx-tab-nav>` (`@cngx/ui/tabs`) and `[cngxMatTabNav]`
|
|
324
|
+
* (`@cngx/ui/mat-tabs`); deliberately not provided by `<cngx-tab-group>`.
|
|
325
|
+
*
|
|
326
|
+
* Presence-only by design. There is no contract interface: providers
|
|
327
|
+
* register `{ provide: CNGX_TAB_NAV_HOST, useValue: true }` and readers
|
|
328
|
+
* only ever test `navHost != null`. Nothing here can be widened into a
|
|
329
|
+
* second host contract - {@link CNGX_TAB_GROUP_HOST} already owns the
|
|
330
|
+
* presenter surface, and this token sits beside it so the tablist path
|
|
331
|
+
* gains no dead field.
|
|
332
|
+
*
|
|
333
|
+
* **Why a token and not the host class.** A sub-directive talks to its
|
|
334
|
+
* host through DI, never through a concrete class: importing `CngxTabNav`
|
|
335
|
+
* from `@cngx/common` would be a `common -> ui` edge that Sheriff rejects,
|
|
336
|
+
* and element-tag sniffing breaks the moment a decomposed skin renames the
|
|
337
|
+
* element.
|
|
338
|
+
*
|
|
339
|
+
* **What reads it.** {@link CngxTabsRouteSync} injects it
|
|
340
|
+
* `{ optional: true, host: true }` to pick its URL-matching semantics: a
|
|
341
|
+
* nav link owns a whole subtree and stays current for every URL beneath it
|
|
342
|
+
* (prefix), while a tablist tab is a leaf and matches only its own route
|
|
343
|
+
* (suffix). The `[match]` input overrides the token-derived default when a
|
|
344
|
+
* consumer needs the other mode.
|
|
345
|
+
*
|
|
346
|
+
* ```ts
|
|
347
|
+
* @Component({
|
|
348
|
+
* selector: 'my-section-nav',
|
|
349
|
+
* providers: [{ provide: CNGX_TAB_NAV_HOST, useValue: true }],
|
|
350
|
+
* hostDirectives: [CngxTabGroupPresenter],
|
|
351
|
+
* })
|
|
352
|
+
* export class MySectionNav {}
|
|
353
|
+
* ```
|
|
354
|
+
*
|
|
355
|
+
* @category common/tabs
|
|
356
|
+
* @wcag AA
|
|
357
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/common/tabs/tab-nav-host.token.ts
|
|
358
|
+
* @since 0.1.0
|
|
359
|
+
* @relatedTo CngxTabsRouteSync, CNGX_TAB_GROUP_HOST, CngxTabNav, CngxMatTabNav
|
|
360
|
+
*/
|
|
361
|
+
declare const CNGX_TAB_NAV_HOST: InjectionToken<true>;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* How a tab's route is compared against the current URL.
|
|
365
|
+
*
|
|
366
|
+
* - `'suffix'` - the tab owns the trailing segment(s), the leaf semantics
|
|
367
|
+
* a `role="tablist"` implies.
|
|
368
|
+
* - `'prefix'` - the tab owns a subtree, the section semantics a
|
|
369
|
+
* `role="navigation"` of links implies.
|
|
370
|
+
*
|
|
371
|
+
* @category common/tabs
|
|
372
|
+
*/
|
|
373
|
+
type CngxTabMatchMode = 'suffix' | 'prefix';
|
|
374
|
+
/**
|
|
375
|
+
* Everything {@link CngxTabUrlMatch} needs to resolve the active tab.
|
|
376
|
+
* Passed in rather than injected, so the strategy stays a pure function
|
|
377
|
+
* of its inputs and needs no injection context.
|
|
378
|
+
*
|
|
379
|
+
* @category common/tabs
|
|
380
|
+
*/
|
|
381
|
+
interface CngxTabUrlMatchContext {
|
|
382
|
+
readonly router: Router;
|
|
383
|
+
/** The sync directive's mount point. `null` outside a routed tree. */
|
|
384
|
+
readonly activatedRoute: ActivatedRoute | null;
|
|
385
|
+
/** Registered tabs, in registration order. */
|
|
386
|
+
readonly tabs: readonly CngxTabHandle[];
|
|
387
|
+
/** The directive's `routeFor`, already resolved. */
|
|
388
|
+
readonly routeFor: (handle: CngxTabHandle) => unknown[];
|
|
389
|
+
/** Effective mode after the input / config / host-flavour cascade. */
|
|
390
|
+
readonly mode: CngxTabMatchMode;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Resolves which registered tab the current URL belongs to.
|
|
394
|
+
*
|
|
395
|
+
* @category common/tabs
|
|
396
|
+
*/
|
|
397
|
+
interface CngxTabUrlMatch {
|
|
398
|
+
/** Active tab id, or `null` when the URL is outside this tab set. */
|
|
399
|
+
resolve(ctx: CngxTabUrlMatchContext): string | null;
|
|
400
|
+
}
|
|
401
|
+
/** Factory shape overrides must match. @category common/tabs */
|
|
402
|
+
type CngxTabUrlMatchFactory = () => CngxTabUrlMatch;
|
|
403
|
+
/**
|
|
404
|
+
* The two URL-matching policies `[cngxTabsRouteSync]` ships, dispatched
|
|
405
|
+
* on {@link CngxTabUrlMatchContext.mode}. Same exact-versus-prefix
|
|
406
|
+
* distinction `routerLinkActive` draws.
|
|
407
|
+
*
|
|
408
|
+
* Pure: no injection context, no signal reads. The directive resolves the
|
|
409
|
+
* mode cascade and the tab registry, then hands both in.
|
|
410
|
+
*
|
|
411
|
+
* @category common/tabs
|
|
412
|
+
*/
|
|
413
|
+
declare function createTabUrlMatch(): CngxTabUrlMatch;
|
|
414
|
+
/**
|
|
415
|
+
* Swap point for how a routed tab set decides which tab the URL belongs
|
|
416
|
+
* to. Default {@link createTabUrlMatch}.
|
|
417
|
+
*
|
|
418
|
+
* Override when neither shipped policy fits: locale-segment-insensitive
|
|
419
|
+
* comparison (`/de/rounds` and `/en/rounds` are the same tab), matching
|
|
420
|
+
* on a route `data` key instead of the path, or a permission-aware read
|
|
421
|
+
* that skips tabs the user cannot open. `routeFor` only changes what a
|
|
422
|
+
* tab's route *is*; this changes how it is *compared*.
|
|
423
|
+
*
|
|
424
|
+
* Mirrors {@link CNGX_TABS_COMMIT_ACTION} on the write side: the
|
|
425
|
+
* navigation a tab switch performs is already swappable, so the read that
|
|
426
|
+
* mirrors navigation back onto `activeIndex` should be too.
|
|
427
|
+
*
|
|
428
|
+
* @category common/tabs
|
|
429
|
+
* @wcag AA
|
|
430
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/common/tabs/url-match.ts
|
|
431
|
+
* @since 0.1.0
|
|
432
|
+
* @relatedTo CngxTabsRouteSync, createTabUrlMatch, createTabRouterCommit
|
|
433
|
+
*/
|
|
434
|
+
declare const CNGX_TAB_URL_MATCH_STRATEGY: InjectionToken<CngxTabUrlMatch>;
|
|
435
|
+
|
|
319
436
|
/**
|
|
320
437
|
* Structural slot directive marking the per-tab panel-body template. \
|
|
321
438
|
* Discovered by `<cngx-tab-group>` via `contentChild` on each
|
|
@@ -421,6 +538,9 @@ declare class CngxTabSubLabel {
|
|
|
421
538
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/common/tabs/tab.directive.ts
|
|
422
539
|
* @since 0.1.0
|
|
423
540
|
* @relatedTo CngxTabGroupPresenter, CngxTabLabel, CngxTabContent, CngxTabErrorBadge
|
|
541
|
+
* @slot cngxTabLabel The tab's own header label.
|
|
542
|
+
* @slot cngxTabSubLabel Secondary line under the label, e.g. a count or status.
|
|
543
|
+
* @slot cngxTabContent The panel body, rendered lazily when the tab activates.
|
|
424
544
|
*/
|
|
425
545
|
declare class CngxTab implements OnInit {
|
|
426
546
|
readonly id: i0.InputSignal<string>;
|
|
@@ -517,6 +637,7 @@ declare class CngxTab implements OnInit {
|
|
|
517
637
|
*/
|
|
518
638
|
declare class CngxTabLink implements OnInit {
|
|
519
639
|
private readonly host;
|
|
640
|
+
private readonly config;
|
|
520
641
|
private readonly destroyRef;
|
|
521
642
|
private readonly renderer;
|
|
522
643
|
private readonly hostEl;
|
|
@@ -549,6 +670,27 @@ declare class CngxTabLink implements OnInit {
|
|
|
549
670
|
* silent until revealed). Mirrors `CngxTab.hasError`.
|
|
550
671
|
*/
|
|
551
672
|
protected readonly hasError: Signal<boolean>;
|
|
673
|
+
/**
|
|
674
|
+
* Which `aria-current` token the link publishes while it is active.
|
|
675
|
+
* Cascade: this input -> `CngxTabsConfig.linkAriaCurrent`
|
|
676
|
+
* ({@link withTabsLinkAriaCurrent}) -> `'page'`.
|
|
677
|
+
*
|
|
678
|
+
* Use `'true'` when the link owns a *subtree* and stays active for URLs
|
|
679
|
+
* beneath it - a section nav driven by `[cngxTabsRouteSync]` in its
|
|
680
|
+
* prefix mode. WAI-ARIA reserves `page` for the current page itself, so
|
|
681
|
+
* `page` on an ancestor section over-claims: AT reads "current page" for
|
|
682
|
+
* something that is not the page being viewed. A whole nav switches at
|
|
683
|
+
* once via `provideTabsConfigAt(withTabsLinkAriaCurrent('true'))`; this
|
|
684
|
+
* input is the per-link escape hatch.
|
|
685
|
+
*
|
|
686
|
+
* Not derived from the sync directive's match mode on purpose. `selected`
|
|
687
|
+
* has exactly one source, the presenter's `activeId` (Pillar 1); reading
|
|
688
|
+
* a sibling directive's mode here would fork that derivation and couple
|
|
689
|
+
* the atom to a directive it does not otherwise know about.
|
|
690
|
+
*/
|
|
691
|
+
readonly ariaCurrent: i0.InputSignal<"page" | "true" | "location" | "step" | undefined>;
|
|
692
|
+
/** Resolved token: input -> config -> `'page'`. */
|
|
693
|
+
protected readonly resolvedAriaCurrent: Signal<'page' | 'true' | 'location' | 'step'>;
|
|
552
694
|
/** `true` when the presenter's `activeId` equals this link's id. */
|
|
553
695
|
protected readonly selected: Signal<boolean>;
|
|
554
696
|
/**
|
|
@@ -569,7 +711,7 @@ declare class CngxTabLink implements OnInit {
|
|
|
569
711
|
*/
|
|
570
712
|
private syncDescriptor;
|
|
571
713
|
static ɵfac: i0.ɵɵFactoryDeclaration<CngxTabLink, never>;
|
|
572
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CngxTabLink, "[cngxTabLink]", ["cngxTabLink"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorAggregator": { "alias": "errorAggregator"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
714
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CngxTabLink, "[cngxTabLink]", ["cngxTabLink"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorAggregator": { "alias": "errorAggregator"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
573
715
|
}
|
|
574
716
|
|
|
575
717
|
/**
|
|
@@ -580,6 +722,11 @@ declare class CngxTabLink implements OnInit {
|
|
|
580
722
|
* - `mode = 'fragment'` (default) → `#tab=settings`
|
|
581
723
|
* - `mode = 'queryParam'` with `paramName = 'tab'` → `?tab=settings`
|
|
582
724
|
*
|
|
725
|
+
* Reflecting the active tab replaces the current history entry by
|
|
726
|
+
* default, so browser-back leaves the page instead of stepping through
|
|
727
|
+
* the tabs opened on the way. Set `[replaceUrl]="false"` when the tabs
|
|
728
|
+
* read as distinct destinations.
|
|
729
|
+
*
|
|
583
730
|
* `Router` is optional - without it the directive logs a dev warning
|
|
584
731
|
* via `afterNextRender` and becomes a no-op. \
|
|
585
732
|
* Every `router.navigate` and `host.selectById` inside the effects sits in `untracked()`.
|
|
@@ -605,16 +752,57 @@ declare class CngxTabLink implements OnInit {
|
|
|
605
752
|
* @since 0.1.0
|
|
606
753
|
* @relatedTo CngxTabGroupPresenter, CngxTab
|
|
607
754
|
*/
|
|
608
|
-
declare class CngxTabsFragmentSync {
|
|
755
|
+
declare class CngxTabsFragmentSync implements AfterContentInit {
|
|
609
756
|
readonly mode: i0.InputSignal<"fragment" | "queryParam">;
|
|
610
757
|
readonly paramName: i0.InputSignal<string>;
|
|
758
|
+
/**
|
|
759
|
+
* Whether reflecting the active tab into the URL replaces the current
|
|
760
|
+
* history entry instead of pushing a new one. Default `true`, which is
|
|
761
|
+
* right for a view toggle: browser-back leaves the page rather than
|
|
762
|
+
* stepping through the tabs the user opened on the way.
|
|
763
|
+
*
|
|
764
|
+
* Set `false` when the tabs read as distinct destinations and back
|
|
765
|
+
* should step between them. Note that every tab switch then costs a
|
|
766
|
+
* history entry.
|
|
767
|
+
*/
|
|
768
|
+
readonly replaceUrl: i0.InputSignal<boolean>;
|
|
611
769
|
private readonly host;
|
|
612
770
|
private readonly router;
|
|
771
|
+
/**
|
|
772
|
+
* Latched once the URL seed has reached a registered tab, so the
|
|
773
|
+
* `afterNextRender` fallback cannot run it twice.
|
|
774
|
+
*
|
|
775
|
+
* Not symmetric with {@link CngxTabsRouteSync}, and it has to be: that
|
|
776
|
+
* sibling writes `activeIndex` directly, so its second seed bails on
|
|
777
|
+
* the already-matching id. This one goes through `select()`, and under
|
|
778
|
+
* a pessimistic commit `activeIndex` still holds the *previous* value
|
|
779
|
+
* while the action is in flight - so the presenter's `target ===
|
|
780
|
+
* previous` bail does not catch the repeat, and a consumer's async
|
|
781
|
+
* commit action would fire a second time and supersede the first.
|
|
782
|
+
*/
|
|
783
|
+
private seeded;
|
|
613
784
|
constructor();
|
|
785
|
+
/**
|
|
786
|
+
* Seed from the URL before the group renders its panels. `CngxTab`
|
|
787
|
+
* registers in `ngOnInit`, so the registry is populated by the time
|
|
788
|
+
* this runs, and the group's own view has not rendered yet - which is
|
|
789
|
+
* what keeps `panelMode="lazy"` from counting the default tab's first
|
|
790
|
+
* render as its first activation on a deep link.
|
|
791
|
+
*
|
|
792
|
+
* Unlike {@link CngxTabsRouteSync}, this seed goes through
|
|
793
|
+
* `selectById`, so it runs `select()` and any consumer-bound
|
|
794
|
+
* commit-action. Moving it earlier therefore also moves when that
|
|
795
|
+
* action first fires; it still fires exactly once for the seed.
|
|
796
|
+
*
|
|
797
|
+
* Its own router guard: the constructor's early return does not stop
|
|
798
|
+
* lifecycle hooks from running.
|
|
799
|
+
*/
|
|
800
|
+
ngAfterContentInit(): void;
|
|
801
|
+
private seedFromUrl;
|
|
614
802
|
private readUrlValue;
|
|
615
803
|
private parseFragment;
|
|
616
804
|
static ɵfac: i0.ɵɵFactoryDeclaration<CngxTabsFragmentSync, never>;
|
|
617
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CngxTabsFragmentSync, "[cngxTabsFragmentSync]", ["cngxTabsFragmentSync"], { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "paramName": { "alias": "paramName"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
805
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CngxTabsFragmentSync, "[cngxTabsFragmentSync]", ["cngxTabsFragmentSync"], { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "paramName": { "alias": "paramName"; "required": false; "isSignal": true; }; "replaceUrl": { "alias": "replaceUrl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
618
806
|
}
|
|
619
807
|
|
|
620
808
|
/**
|
|
@@ -672,11 +860,24 @@ declare const CNGX_TABS_COMMIT_ACTION: InjectionToken<CngxTabsCommitActionSource
|
|
|
672
860
|
* keeps the old tab. The routing gate reuses the presenter's commit
|
|
673
861
|
* lifecycle verbatim; the router navigation is the async op.
|
|
674
862
|
*
|
|
675
|
-
* Seeds the active tab from the current URL
|
|
863
|
+
* Seeds the active tab from the current URL at content-init - before
|
|
864
|
+
* the group renders its panels, so a deep link under
|
|
865
|
+
* `panelMode="lazy"` mounts only the target panel - and reflects
|
|
676
866
|
* external navigations (back/forward, direct URL) into `activeIndex`
|
|
677
867
|
* *without* re-navigating - those writes bypass the commit-action,
|
|
678
868
|
* since the router is already at the resolved route.
|
|
679
869
|
*
|
|
870
|
+
* **Two URL-matching modes, defaulted from the host flavour.** On a
|
|
871
|
+
* `<cngx-tab-group>` tablist each tab is a *leaf* route, so the default
|
|
872
|
+
* is `'suffix'`: a tab owns the trailing segment(s) of the URL and
|
|
873
|
+
* nothing else. On a `<cngx-tab-nav>` (or `[cngxMatTabNav]`) each link is
|
|
874
|
+
* an application *section* that owns a whole subtree, so the default
|
|
875
|
+
* flips to `'prefix'` and the section stays current for every URL beneath
|
|
876
|
+
* it - the non-exact flavour of `routerLinkActive`. The flavour is read
|
|
877
|
+
* from the {@link CNGX_TAB_NAV_HOST} marker the nav organisms provide, so
|
|
878
|
+
* neither default needs a consumer flag; `[match]` overrides both for the
|
|
879
|
+
* mixed case.
|
|
880
|
+
*
|
|
680
881
|
* `Router` is optional - without it the directive logs a single dev
|
|
681
882
|
* warning via `afterNextRender`, exposes a null action, and becomes a
|
|
682
883
|
* no-op. Mirrors {@link CngxTabsFragmentSync}; every `activeIndex`
|
|
@@ -746,15 +947,41 @@ declare const CNGX_TABS_COMMIT_ACTION: InjectionToken<CngxTabsCommitActionSource
|
|
|
746
947
|
* @since 0.1.0
|
|
747
948
|
* @relatedTo CngxTabGroupPresenter, CngxTabsFragmentSync, createTabRouterCommit, CngxTabNav, CngxTabLink
|
|
748
949
|
*/
|
|
749
|
-
declare class CngxTabsRouteSync implements CngxTabsCommitActionSource {
|
|
950
|
+
declare class CngxTabsRouteSync implements CngxTabsCommitActionSource, AfterContentInit {
|
|
750
951
|
/**
|
|
751
952
|
* Maps a tab handle to its router command array. Default
|
|
752
953
|
* `(handle) => [handle.id]` - the tab id is the child segment.
|
|
753
954
|
* Override for real route paths.
|
|
754
955
|
*/
|
|
755
956
|
readonly routeFor: i0.InputSignal<(handle: CngxTabHandle) => unknown[]>;
|
|
957
|
+
/**
|
|
958
|
+
* How a tab's route is matched against the current URL.
|
|
959
|
+
*
|
|
960
|
+
* - `'suffix'` - the tab owns the trailing segment(s). A leaf tab in a
|
|
961
|
+
* tablist: `/settings/billing` activates the `billing` tab, and
|
|
962
|
+
* `/billing/invoices/42` activates nothing.
|
|
963
|
+
* - `'prefix'` - the tab owns a subtree. A section link in a nav:
|
|
964
|
+
* `/rounds/explorer` activates the `rounds` link. Matching is a
|
|
965
|
+
* `UrlTree` subset test anchored at the host's own `ActivatedRoute`,
|
|
966
|
+
* so a nav mounted under a base path still resolves. When several
|
|
967
|
+
* tabs match, the one with the most path segments wins.
|
|
968
|
+
*
|
|
969
|
+
* Cascade: this input -> `CngxTabsConfig.routeMatch`
|
|
970
|
+
* ({@link withTabsRouteMatch}) -> the host flavour, which is `'prefix'`
|
|
971
|
+
* when {@link CNGX_TAB_NAV_HOST} is present and `'suffix'` otherwise.
|
|
972
|
+
*
|
|
973
|
+
* This picks *which* policy runs. {@link CNGX_TAB_URL_MATCH_STRATEGY}
|
|
974
|
+
* replaces the policies themselves.
|
|
975
|
+
*/
|
|
976
|
+
readonly match: i0.InputSignal<CngxTabMatchMode | undefined>;
|
|
756
977
|
private readonly host;
|
|
757
978
|
private readonly router;
|
|
979
|
+
private readonly navHost;
|
|
980
|
+
private readonly config;
|
|
981
|
+
private readonly urlMatch;
|
|
982
|
+
/** Resolved match mode: input -> config -> host flavour. */
|
|
983
|
+
private readonly effectiveMatch;
|
|
984
|
+
private readonly activatedRoute;
|
|
758
985
|
/**
|
|
759
986
|
* Pessimistic-only - not exposed as an input. The route-sync owns the
|
|
760
987
|
* mode so optimistic (show-then-revert) can never flash the target
|
|
@@ -769,6 +996,17 @@ declare class CngxTabsRouteSync implements CngxTabsCommitActionSource {
|
|
|
769
996
|
*/
|
|
770
997
|
readonly action: Signal<CngxTabsCommitAction | null>;
|
|
771
998
|
constructor();
|
|
999
|
+
/**
|
|
1000
|
+
* Seed from the URL before the group renders its panels. `CngxTab`
|
|
1001
|
+
* registers in `ngOnInit`, so the registry is populated by the time
|
|
1002
|
+
* this runs, and the group's own view has not rendered yet - which is
|
|
1003
|
+
* what keeps `panelMode="lazy"` from counting the default tab's first
|
|
1004
|
+
* render as its first activation on a deep link.
|
|
1005
|
+
*
|
|
1006
|
+
* Its own router guard: the constructor's early return does not stop
|
|
1007
|
+
* lifecycle hooks from running.
|
|
1008
|
+
*/
|
|
1009
|
+
ngAfterContentInit(): void;
|
|
772
1010
|
/**
|
|
773
1011
|
* Mirror the URL's active tab onto `activeIndex` without navigating.
|
|
774
1012
|
* Writing the index directly (not via `select()`) is the re-entry
|
|
@@ -778,17 +1016,13 @@ declare class CngxTabsRouteSync implements CngxTabsCommitActionSource {
|
|
|
778
1016
|
*/
|
|
779
1017
|
private reflectFromUrl;
|
|
780
1018
|
/**
|
|
781
|
-
*
|
|
782
|
-
*
|
|
783
|
-
*
|
|
784
|
-
* unrelated parent segment cannot win. The path is taken before any
|
|
785
|
-
* query/fragment. If two tabs produce the same trailing segment(s)
|
|
786
|
-
* (only possible with a custom `routeFor` that collides), the first
|
|
787
|
-
* registered tab wins - the default id-based mapping never collides.
|
|
1019
|
+
* Resolve the active tab id through the swappable match strategy.
|
|
1020
|
+
* The directive owns the mode cascade (input -> config -> host
|
|
1021
|
+
* flavour); the strategy owns the comparison.
|
|
788
1022
|
*/
|
|
789
1023
|
private readActiveId;
|
|
790
1024
|
static ɵfac: i0.ɵɵFactoryDeclaration<CngxTabsRouteSync, never>;
|
|
791
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CngxTabsRouteSync, "[cngxTabsRouteSync]", ["cngxTabsRouteSync"], { "routeFor": { "alias": "routeFor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1025
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CngxTabsRouteSync, "[cngxTabsRouteSync]", ["cngxTabsRouteSync"], { "routeFor": { "alias": "routeFor"; "required": false; "isSignal": true; }; "match": { "alias": "match"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
792
1026
|
}
|
|
793
1027
|
|
|
794
1028
|
/**
|
|
@@ -1254,6 +1488,13 @@ type CngxTabIconLayout = 'start' | 'end' | 'top' | 'only';
|
|
|
1254
1488
|
* is activated and keeps it (keep-alive). `'lazy-destroy'` renders only
|
|
1255
1489
|
* the active panel's content and destroys it on leave.
|
|
1256
1490
|
*
|
|
1491
|
+
* A `[cngxTabsRouteSync]` / `[cngxTabsFragmentSync]` deep link resolves
|
|
1492
|
+
* its tab at content-init, before the first panel render, so under
|
|
1493
|
+
* `'lazy'` only the target panel's content ever mounts - the default tab
|
|
1494
|
+
* is never activated on the way. Without that ordering the first render
|
|
1495
|
+
* would count as tab 0's first activation and keep-alive would hold its
|
|
1496
|
+
* content for the rest of the session.
|
|
1497
|
+
*
|
|
1257
1498
|
* @category common/tabs
|
|
1258
1499
|
*/
|
|
1259
1500
|
type CngxTabsPanelMode = 'eager' | 'lazy' | 'lazy-destroy';
|
|
@@ -1313,6 +1554,25 @@ interface CngxTabsConfig {
|
|
|
1313
1554
|
* Override via {@link withTabsFragmentSync}.
|
|
1314
1555
|
*/
|
|
1315
1556
|
readonly fragmentSyncParam?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* App-wide default URL-matching mode for
|
|
1559
|
+
* {@link CngxTabsRouteSync}: `'suffix'` treats a tab as a leaf route,
|
|
1560
|
+
* `'prefix'` treats it as a section that owns a subtree. Per-instance
|
|
1561
|
+
* `[match]` still wins. Unset (the default) lets each host pick from
|
|
1562
|
+
* its own flavour - `'prefix'` on a nav, `'suffix'` on a tablist -
|
|
1563
|
+
* which is almost always what you want; set this only to force one
|
|
1564
|
+
* mode app-wide. Override via {@link withTabsRouteMatch}.
|
|
1565
|
+
*/
|
|
1566
|
+
readonly routeMatch?: 'suffix' | 'prefix';
|
|
1567
|
+
/**
|
|
1568
|
+
* App-wide `aria-current` token {@link CngxTabLink} publishes while
|
|
1569
|
+
* active. Default `'page'`. Set `'true'` when the links are sections
|
|
1570
|
+
* that stay active for URLs beneath them, which is the shape
|
|
1571
|
+
* `routeMatch: 'prefix'` implies - `page` would then claim the link is
|
|
1572
|
+
* the page being viewed. Per-link `[ariaCurrent]` still wins. Override
|
|
1573
|
+
* via {@link withTabsLinkAriaCurrent}.
|
|
1574
|
+
*/
|
|
1575
|
+
readonly linkAriaCurrent?: 'page' | 'true' | 'location' | 'step';
|
|
1316
1576
|
/**
|
|
1317
1577
|
* App-wide default visual skin. \
|
|
1318
1578
|
* Default `'line'`. Per-instance
|
|
@@ -1450,6 +1710,36 @@ declare function withTabsCommitMode(mode: 'optimistic' | 'pessimistic'): CngxTab
|
|
|
1450
1710
|
* @category common/tabs
|
|
1451
1711
|
*/
|
|
1452
1712
|
declare function withTabsFragmentSync(mode: 'fragment' | 'queryParam', param?: string): CngxTabsConfigFeature;
|
|
1713
|
+
/**
|
|
1714
|
+
* Force one URL-matching mode app-wide for `[cngxTabsRouteSync]`. \
|
|
1715
|
+
* `'suffix'` treats every tab as a leaf route, `'prefix'` as a section
|
|
1716
|
+
* that stays active for URLs beneath it.
|
|
1717
|
+
*
|
|
1718
|
+
* Reach for this only when the host-flavour default is wrong for your
|
|
1719
|
+
* app. Unset, a `<cngx-tab-nav>` matches by prefix and a
|
|
1720
|
+
* `<cngx-tab-group>` by suffix, which is what each markup implies; this
|
|
1721
|
+
* feature overrides *both*. Per-instance `[match]` still wins.
|
|
1722
|
+
*
|
|
1723
|
+
* Changes which policy runs, not the policies themselves - swap those via
|
|
1724
|
+
* {@link CNGX_TAB_URL_MATCH_STRATEGY}.
|
|
1725
|
+
*
|
|
1726
|
+
* @category common/tabs
|
|
1727
|
+
*/
|
|
1728
|
+
declare function withTabsRouteMatch(mode: 'suffix' | 'prefix'): CngxTabsConfigFeature;
|
|
1729
|
+
/**
|
|
1730
|
+
* Set the `aria-current` token `[cngxTabLink]` publishes while active. \
|
|
1731
|
+
* Default `'page'`.
|
|
1732
|
+
*
|
|
1733
|
+
* Use `'true'` for a section nav whose links stay active across a whole
|
|
1734
|
+
* subtree: the active link is then the current *section*, and `page`
|
|
1735
|
+
* would tell AT it is the page being viewed. Scope it to one nav with
|
|
1736
|
+
* `provideTabsConfigAt` in that component's `viewProviders` rather than
|
|
1737
|
+
* setting it app-wide, unless every nav in the app is section-shaped.
|
|
1738
|
+
* Per-link `[ariaCurrent]` still wins.
|
|
1739
|
+
*
|
|
1740
|
+
* @category common/tabs
|
|
1741
|
+
*/
|
|
1742
|
+
declare function withTabsLinkAriaCurrent(token: 'page' | 'true' | 'location' | 'step'): CngxTabsConfigFeature;
|
|
1453
1743
|
/**
|
|
1454
1744
|
* @deprecated Use {@link withTabsFragmentSync}. "Router sync" collided
|
|
1455
1745
|
* with the new `[cngxTabsRouteSync]` router-outlet directive; this
|
|
@@ -1486,6 +1776,9 @@ declare function withTabsIconLayout(layout: CngxTabIconLayout): CngxTabsConfigFe
|
|
|
1486
1776
|
* `[panelMode]` Input still wins. The panel `<div>` always stays in the
|
|
1487
1777
|
* DOM regardless of mode (the `aria-controls` target).
|
|
1488
1778
|
*
|
|
1779
|
+
* Under `'lazy'`, a deep link mounts only the panel it names: both sync
|
|
1780
|
+
* directives seed the active tab before the first panel render.
|
|
1781
|
+
*
|
|
1489
1782
|
* @category common/tabs
|
|
1490
1783
|
*/
|
|
1491
1784
|
declare function withTabsPanelMode(mode: CngxTabsPanelMode): CngxTabsConfigFeature;
|
|
@@ -1813,7 +2106,7 @@ type CngxTabsFeature = CngxTabsConfigFeature | CngxTabsI18nFeature;
|
|
|
1813
2106
|
* - `provideCngxSelect`;
|
|
1814
2107
|
* apply once in the app providers array. \
|
|
1815
2108
|
* Returns {@link EnvironmentProviders}; for
|
|
1816
|
-
* - `viewProviders` use {@link provideCngxTabsAt}
|
|
2109
|
+
* - `viewProviders` use {@link provideCngxTabsAt} - opaque
|
|
1817
2110
|
* - `EnvironmentProviders` cannot live there.
|
|
1818
2111
|
*
|
|
1819
2112
|
* ```ts
|
|
@@ -2193,6 +2486,11 @@ declare function createTabDismissals(opts: CngxTabDismissalsOptions): CngxTabDis
|
|
|
2193
2486
|
interface CngxTabKeyboardNavOptions {
|
|
2194
2487
|
readonly host: CngxTabGroupHost;
|
|
2195
2488
|
readonly hostElement: HTMLElement;
|
|
2489
|
+
/**
|
|
2490
|
+
* Document writing direction. Flips the horizontal-arrow step under
|
|
2491
|
+
* `rtl` (APG); the vertical axis and Home/End stay direction-invariant.
|
|
2492
|
+
*/
|
|
2493
|
+
readonly direction: Signal<CngxDirection>;
|
|
2196
2494
|
}
|
|
2197
2495
|
/**
|
|
2198
2496
|
* Resolved keyboard surface for `<cngx-tab-group>`'s tablist. The
|
|
@@ -2246,7 +2544,7 @@ declare function createTabKeyboardNav(opts: CngxTabKeyboardNavOptions): CngxTabK
|
|
|
2246
2544
|
|
|
2247
2545
|
/**
|
|
2248
2546
|
* Inputs to {@link createTabGroupTemplateBindings}. \
|
|
2249
|
-
* The organism owns the `contentChild()` queries (NG8110
|
|
2547
|
+
* The organism owns the `contentChild()` queries (NG8110 - must run in component
|
|
2250
2548
|
* injection context) and the resolved {@link CngxTabsConfig}; the
|
|
2251
2549
|
* factory runs the 3-stage cascade per slot key.
|
|
2252
2550
|
*
|
|
@@ -2293,10 +2591,10 @@ interface CngxTabGroupTemplateBindings {
|
|
|
2293
2591
|
* span for the state decorations, the `CNGX_TABS_GLYPHS` glyph for
|
|
2294
2592
|
* `closeIcon` / `addIcon`, and nothing for `icon`.
|
|
2295
2593
|
*
|
|
2296
|
-
* Pure
|
|
2594
|
+
* Pure - no DI, no side effects. Safe in field-init. Sibling to
|
|
2297
2595
|
* `createStepperTemplateBindings` and `createTabOverflowTemplateBindings`.
|
|
2298
2596
|
*
|
|
2299
|
-
* Single-consumer today: `[cngxMatTabs]` does not consume this
|
|
2597
|
+
* Single-consumer today: `[cngxMatTabs]` does not consume this -
|
|
2300
2598
|
* Material owns the rendered tab-button chrome via its own MDC
|
|
2301
2599
|
* template, leaving no DOM seam. See `tabs-accepted-debt §9`.
|
|
2302
2600
|
*
|
|
@@ -2321,7 +2619,7 @@ declare function createTabGroupTemplateBindings(opts: CngxTabGroupTemplateBindin
|
|
|
2321
2619
|
/**
|
|
2322
2620
|
* Inputs the announcements bundle reads from the host organism.
|
|
2323
2621
|
* Passing presenter / i18n / config in (instead of re-injecting)
|
|
2324
|
-
* keeps the factory pure
|
|
2622
|
+
* keeps the factory pure - one call returns the bundle, no
|
|
2325
2623
|
* injection context required.
|
|
2326
2624
|
*
|
|
2327
2625
|
* @category common/tabs/announcements
|
|
@@ -2363,7 +2661,7 @@ interface CngxTabGroupAnnouncements {
|
|
|
2363
2661
|
*/
|
|
2364
2662
|
readonly resolvedAriaLabel: Signal<string | null>;
|
|
2365
2663
|
/**
|
|
2366
|
-
* Polite live-region content
|
|
2664
|
+
* Polite live-region content - declarative, never an imperative
|
|
2367
2665
|
* `announce()`. Empty between transitions so the region stays
|
|
2368
2666
|
* quiet on no-op ticks.
|
|
2369
2667
|
*
|
|
@@ -2386,7 +2684,7 @@ interface CngxTabGroupAnnouncements {
|
|
|
2386
2684
|
*/
|
|
2387
2685
|
statusPhrase(tab: CngxTabHandle): string;
|
|
2388
2686
|
/**
|
|
2389
|
-
* Verbose tab-button `aria-label`
|
|
2687
|
+
* Verbose tab-button `aria-label` - `selectedTab(label, position,
|
|
2390
2688
|
* count)` so AT hears "Tab 2 of 5: Settings" instead of inferring
|
|
2391
2689
|
* position from tablist enumeration. The visual span keeps the
|
|
2392
2690
|
* bare label.
|
|
@@ -2396,7 +2694,7 @@ interface CngxTabGroupAnnouncements {
|
|
|
2396
2694
|
/**
|
|
2397
2695
|
* Pure factory bundling the `<cngx-tab-group>` AT-announcement +
|
|
2398
2696
|
* descriptor surfaces. Owns one internal `linkedSignal`
|
|
2399
|
-
* (prior-active-index, drives the success-arm direction prefix)
|
|
2697
|
+
* (prior-active-index, drives the success-arm direction prefix) -
|
|
2400
2698
|
* lazy by `linkedSignal` semantics, so the organism reads
|
|
2401
2699
|
* `liveAnnouncement` once at construction to seed it.
|
|
2402
2700
|
*
|
|
@@ -2426,6 +2724,69 @@ interface CngxTabGroupAnnouncements {
|
|
|
2426
2724
|
*/
|
|
2427
2725
|
declare function createTabGroupAnnouncements(options: CngxTabGroupAnnouncementsOptions): CngxTabGroupAnnouncements;
|
|
2428
2726
|
|
|
2727
|
+
/**
|
|
2728
|
+
* Inputs the nav announcement bundle reads from its host organism.
|
|
2729
|
+
* Passing the presenter in (instead of re-injecting) keeps the factory a
|
|
2730
|
+
* plain function of its arguments.
|
|
2731
|
+
*
|
|
2732
|
+
* @category common/tabs/announcements
|
|
2733
|
+
*/
|
|
2734
|
+
interface CngxTabNavAnnouncementOptions {
|
|
2735
|
+
readonly presenter: CngxTabGroupHost;
|
|
2736
|
+
/**
|
|
2737
|
+
* Injection context for the one-shot `afterNextRender` that opens the
|
|
2738
|
+
* mount window. Callers pass their own `inject(Injector)`.
|
|
2739
|
+
*/
|
|
2740
|
+
readonly injector: Injector;
|
|
2741
|
+
}
|
|
2742
|
+
/**
|
|
2743
|
+
* Resolved bundle returned by {@link createTabNavAnnouncement}.
|
|
2744
|
+
*
|
|
2745
|
+
* @category common/tabs/announcements
|
|
2746
|
+
*/
|
|
2747
|
+
interface CngxTabNavAnnouncement {
|
|
2748
|
+
/**
|
|
2749
|
+
* Polite live-region content - declarative, never an imperative
|
|
2750
|
+
* `announce()`. Empty at rest and through the mount window, so the
|
|
2751
|
+
* region speaks only on a real change.
|
|
2752
|
+
*/
|
|
2753
|
+
readonly liveAnnouncement: Signal<string>;
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
* Live-region content for the link-driven nav flavour: the active link's
|
|
2757
|
+
* accessible label, announced only when the active id actually changes.
|
|
2758
|
+
*
|
|
2759
|
+
* **Why this is not {@link createTabGroupAnnouncements}.** That bundle's
|
|
2760
|
+
* phrasing is built around the commit lifecycle (`pending -> success`,
|
|
2761
|
+
* rollback, direction prefix) and it gates on the commit transition, so
|
|
2762
|
+
* it stays silent at rest for free. The nav path is commit-free by
|
|
2763
|
+
* design: links navigate through their own `routerLink` and nothing calls
|
|
2764
|
+
* `presenter.select()`. Its only meaningful announcement is the landing
|
|
2765
|
+
* label, and it needs a different silence gate.
|
|
2766
|
+
*
|
|
2767
|
+
* **The mount window.** `announcing` stays `false` through the first
|
|
2768
|
+
* render and the microtask after it. On a deep link the active link is
|
|
2769
|
+
* the page's *initial state*, not a change, and the browser already
|
|
2770
|
+
* announces the document; pushing the landing section into a polite
|
|
2771
|
+
* region there is noise. `queueMicrotask` rather than the
|
|
2772
|
+
* `afterNextRender` body: every `afterNextRender` callback for one render
|
|
2773
|
+
* runs in a single synchronous batch, so deferring past it makes the gate
|
|
2774
|
+
* independent of whether a `[cngxTabsRouteSync]` seed registered before
|
|
2775
|
+
* or after this one.
|
|
2776
|
+
*
|
|
2777
|
+
* The prior-id tracker is seeded when that window closes, not at
|
|
2778
|
+
* construction, so whatever the seed resolved counts as the starting
|
|
2779
|
+
* point instead of as the first announcement. Returning to a section
|
|
2780
|
+
* that was active at mount still announces.
|
|
2781
|
+
*
|
|
2782
|
+
* @category common/tabs/announcements
|
|
2783
|
+
* @wcag AA
|
|
2784
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/common/tabs/announcements/tab-nav-announcement.ts
|
|
2785
|
+
* @since 0.1.0
|
|
2786
|
+
* @relatedTo CngxTabNav, CngxLiveRegion, createTabGroupAnnouncements
|
|
2787
|
+
*/
|
|
2788
|
+
declare function createTabNavAnnouncement(options: CngxTabNavAnnouncementOptions): CngxTabNavAnnouncement;
|
|
2789
|
+
|
|
2429
2790
|
/**
|
|
2430
2791
|
* Default glyph fallbacks for `<cngx-tab-group>` skin slots. Read by
|
|
2431
2792
|
* the organism when neither a per-instance slot directive nor
|
|
@@ -2711,5 +3072,5 @@ type CngxDirectiveByIdMapFactory = <T extends {
|
|
|
2711
3072
|
*/
|
|
2712
3073
|
declare const CNGX_DIRECTIVE_BY_ID_MAP_FACTORY: InjectionToken<CngxDirectiveByIdMapFactory>;
|
|
2713
3074
|
|
|
2714
|
-
export { CNGX_DIRECTIVE_BY_ID_MAP_FACTORY, CNGX_DOM_ANCHOR_RETRY_FACTORY, CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_OVERFLOW_POPOVER_HIGHLIGHT_FACTORY, CNGX_TABS_COMMIT_ACTION, CNGX_TABS_COMMIT_HANDLER_FACTORY, CNGX_TABS_CONFIG, CNGX_TABS_GLYPHS, CNGX_TABS_I18N, CNGX_TAB_GROUP_HOST, CNGX_TAB_OVERFLOW_DOM_ADAPTER_FACTORY, CNGX_TAB_PANEL_HOST, CngxTab, CngxTabAddIcon, CngxTabBusySpinner, CngxTabCloseIcon, CngxTabContent, CngxTabErrorBadge, CngxTabGroupPresenter, CngxTabIcon, CngxTabLabel, CngxTabLink, CngxTabOverflowItem, CngxTabOverflowTrigger, CngxTabRejectionIcon, CngxTabSubLabel, CngxTabsFragmentSync, CngxTabsRouteSync, createCngxTabOverflowDefaultDomAdapter, createDirectiveByIdMap, createDomAnchorRetry, createOrganismScrollSync, createOverflowPopoverHighlightSync, createTabDismissals, createTabGroupAnnouncements, createTabGroupTemplateBindings, createTabKeyboardNav, createTabOverflowTemplateBindings, createTabRouterCommit, createTabsCommitHandler, createTabsHostAttrs, injectTabsConfig, injectTabsI18n, provideCngxTabs, provideCngxTabsAt, provideTabsConfig, provideTabsConfigAt, provideTabsI18n, tabOverflowOptionId, withDefaultOrientation, withTabAddIconTemplate, withTabBusySpinnerTemplate, withTabCloseIconTemplate, withTabErrorBadgeTemplate, withTabIconTemplate, withTabOverflowItemTemplate, withTabOverflowMaxDeferMs, withTabOverflowStabilizeMs, withTabOverflowTriggerTemplate, withTabRejectionIconTemplate, withTabsAddable, withTabsAlign, withTabsAriaLabels, withTabsClosable, withTabsCommitMode, withTabsDefaultOrientation, withTabsFallbackLabels, withTabsFitted, withTabsFragmentSync, withTabsI18nLabels, withTabsIconLayout, withTabsPanelMode, withTabsRouterSync, withTabsRovingLoop, withTabsSkin };
|
|
2715
|
-
export type { CngxDirectiveByIdMapFactory, CngxDirectiveByIdMapOptions, CngxDomAnchorRetryFactory, CngxDomAnchorRetryHandle, CngxDomAnchorRetryOptions, CngxDomAnchorRetryResult, CngxOrganismScrollSyncFactory, CngxOrganismScrollSyncOptions, CngxOverflowPopoverHighlightSyncFactory, CngxTabAlign, CngxTabBusySpinnerContext, CngxTabCloseEvent, CngxTabCloseIconContext, CngxTabDismissals, CngxTabDismissalsOptions, CngxTabErrorBadgeContext, CngxTabGroupAnnouncements, CngxTabGroupAnnouncementsOptions, CngxTabGroupHost, CngxTabGroupTemplateBindings, CngxTabGroupTemplateBindingsOptions, CngxTabHandle, CngxTabIconContext, CngxTabIconLayout, CngxTabKeyboardNav, CngxTabKeyboardNavOptions, CngxTabOverflowDomAdapter, CngxTabOverflowDomAdapterFactory, CngxTabOverflowItemContext, CngxTabOverflowTemplateBindings, CngxTabOverflowTemplateBindingsOptions, CngxTabOverflowTriggerContext, CngxTabPanelHost, CngxTabRejectionIconContext, CngxTabRouterCommitOptions, CngxTabsAriaLabels, CngxTabsCommitAction, CngxTabsCommitActionSource, CngxTabsCommitHandler, CngxTabsCommitHandlerFactory, CngxTabsCommitHandlerOptions, CngxTabsConfig, CngxTabsConfigFeature, CngxTabsFallbackLabels, CngxTabsFeature, CngxTabsHostAttrs, CngxTabsHostAttrsInputs, CngxTabsI18n, CngxTabsI18nFeature, CngxTabsPanelMode, CngxTabsSkin, CngxTabsTemplates };
|
|
3075
|
+
export { CNGX_DIRECTIVE_BY_ID_MAP_FACTORY, CNGX_DOM_ANCHOR_RETRY_FACTORY, CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_OVERFLOW_POPOVER_HIGHLIGHT_FACTORY, CNGX_TABS_COMMIT_ACTION, CNGX_TABS_COMMIT_HANDLER_FACTORY, CNGX_TABS_CONFIG, CNGX_TABS_GLYPHS, CNGX_TABS_I18N, CNGX_TAB_GROUP_HOST, CNGX_TAB_NAV_HOST, CNGX_TAB_OVERFLOW_DOM_ADAPTER_FACTORY, CNGX_TAB_PANEL_HOST, CNGX_TAB_URL_MATCH_STRATEGY, CngxTab, CngxTabAddIcon, CngxTabBusySpinner, CngxTabCloseIcon, CngxTabContent, CngxTabErrorBadge, CngxTabGroupPresenter, CngxTabIcon, CngxTabLabel, CngxTabLink, CngxTabOverflowItem, CngxTabOverflowTrigger, CngxTabRejectionIcon, CngxTabSubLabel, CngxTabsFragmentSync, CngxTabsRouteSync, createCngxTabOverflowDefaultDomAdapter, createDirectiveByIdMap, createDomAnchorRetry, createOrganismScrollSync, createOverflowPopoverHighlightSync, createTabDismissals, createTabGroupAnnouncements, createTabGroupTemplateBindings, createTabKeyboardNav, createTabNavAnnouncement, createTabOverflowTemplateBindings, createTabRouterCommit, createTabUrlMatch, createTabsCommitHandler, createTabsHostAttrs, injectTabsConfig, injectTabsI18n, provideCngxTabs, provideCngxTabsAt, provideTabsConfig, provideTabsConfigAt, provideTabsI18n, tabOverflowOptionId, withDefaultOrientation, withTabAddIconTemplate, withTabBusySpinnerTemplate, withTabCloseIconTemplate, withTabErrorBadgeTemplate, withTabIconTemplate, withTabOverflowItemTemplate, withTabOverflowMaxDeferMs, withTabOverflowStabilizeMs, withTabOverflowTriggerTemplate, withTabRejectionIconTemplate, withTabsAddable, withTabsAlign, withTabsAriaLabels, withTabsClosable, withTabsCommitMode, withTabsDefaultOrientation, withTabsFallbackLabels, withTabsFitted, withTabsFragmentSync, withTabsI18nLabels, withTabsIconLayout, withTabsLinkAriaCurrent, withTabsPanelMode, withTabsRouteMatch, withTabsRouterSync, withTabsRovingLoop, withTabsSkin };
|
|
3076
|
+
export type { CngxDirectiveByIdMapFactory, CngxDirectiveByIdMapOptions, CngxDomAnchorRetryFactory, CngxDomAnchorRetryHandle, CngxDomAnchorRetryOptions, CngxDomAnchorRetryResult, CngxOrganismScrollSyncFactory, CngxOrganismScrollSyncOptions, CngxOverflowPopoverHighlightSyncFactory, CngxTabAlign, CngxTabBusySpinnerContext, CngxTabCloseEvent, CngxTabCloseIconContext, CngxTabDismissals, CngxTabDismissalsOptions, CngxTabErrorBadgeContext, CngxTabGroupAnnouncements, CngxTabGroupAnnouncementsOptions, CngxTabGroupHost, CngxTabGroupTemplateBindings, CngxTabGroupTemplateBindingsOptions, CngxTabHandle, CngxTabIconContext, CngxTabIconLayout, CngxTabKeyboardNav, CngxTabKeyboardNavOptions, CngxTabMatchMode, CngxTabNavAnnouncement, CngxTabNavAnnouncementOptions, CngxTabOverflowDomAdapter, CngxTabOverflowDomAdapterFactory, CngxTabOverflowItemContext, CngxTabOverflowTemplateBindings, CngxTabOverflowTemplateBindingsOptions, CngxTabOverflowTriggerContext, CngxTabPanelHost, CngxTabRejectionIconContext, CngxTabRouterCommitOptions, CngxTabUrlMatch, CngxTabUrlMatchContext, CngxTabUrlMatchFactory, CngxTabsAriaLabels, CngxTabsCommitAction, CngxTabsCommitActionSource, CngxTabsCommitHandler, CngxTabsCommitHandlerFactory, CngxTabsCommitHandlerOptions, CngxTabsConfig, CngxTabsConfigFeature, CngxTabsFallbackLabels, CngxTabsFeature, CngxTabsHostAttrs, CngxTabsHostAttrsInputs, CngxTabsI18n, CngxTabsI18nFeature, CngxTabsPanelMode, CngxTabsSkin, CngxTabsTemplates };
|