@konce-pt/angular 0.18.6 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konce-pt/angular",
3
- "version": "0.18.6",
3
+ "version": "0.19.0",
4
4
  "description": "Open-source Angular 22 component library on Signals & Signal Forms - 70+ components, rich data table, zoneless, fully tokenized. Selektory kpt-*, klasy Kpt*.",
5
5
  "license": "MIT",
6
6
  "author": "konce.pt",
@@ -46,18 +46,19 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "tslib": "^2.3.0",
49
- "@konce-pt/chart": "0.18.6",
50
- "@konce-pt/mention": "0.18.6",
51
- "@konce-pt/map": "0.18.6",
52
- "@konce-pt/motion": "0.18.6",
53
- "@konce-pt/table": "0.18.6",
54
- "@konce-pt/roadmap": "0.18.6",
55
- "@konce-pt/backdrop": "0.18.6",
56
- "@konce-pt/speech": "0.18.6",
57
- "@konce-pt/i18n": "0.18.6",
58
- "@konce-pt/icons": "0.18.6",
59
- "@konce-pt/chat": "0.18.6",
60
- "@konce-pt/datetime": "0.18.6"
49
+ "@konce-pt/backdrop": "0.19.0",
50
+ "@konce-pt/chart": "0.19.0",
51
+ "@konce-pt/datetime": "0.19.0",
52
+ "@konce-pt/motion": "0.19.0",
53
+ "@konce-pt/nav": "0.19.0",
54
+ "@konce-pt/icons": "0.19.0",
55
+ "@konce-pt/i18n": "0.19.0",
56
+ "@konce-pt/mention": "0.19.0",
57
+ "@konce-pt/roadmap": "0.19.0",
58
+ "@konce-pt/speech": "0.19.0",
59
+ "@konce-pt/chat": "0.19.0",
60
+ "@konce-pt/table": "0.19.0",
61
+ "@konce-pt/map": "0.19.0"
61
62
  },
62
63
  "module": "fesm2022/konce-pt-angular.mjs",
63
64
  "typings": "types/konce-pt-angular.d.ts",
@@ -111,8 +111,8 @@ layer are `aria-hidden`.
111
111
  ## Tokens
112
112
  Surfaces `--kpt-color-surface{,-variant,-sunken,-hover}`, outlines `--kpt-color-border{,-strong}`,
113
113
  bars per variant `--kpt-color-{primary,success,danger,warning,info,muted}`.
114
- A bar's label is white, but the `neutral` variant has a light background, so its text uses
115
- `--kpt-color-on-muted`. A group's rolled-up bar in the `neutral` variant is drawn in
114
+ A bar's label takes its variant's content token: `--kpt-color-{success,danger,warning,info}-contrast`,
115
+ `--kpt-color-on-muted` for `neutral` and `--kpt-color-text-inverse` for `primary`. A group's rolled-up bar in the `neutral` variant is drawn in
116
116
  `--kpt-color-on-surface-muted` - `--kpt-color-muted` would be indistinguishable from the row background.
117
117
  Further:
118
118
  the year marker is inverted, `--kpt-color-on-surface` / `--kpt-color-surface`.
@@ -1,49 +1,125 @@
1
- # KptSidenav (kpt-sidenav)
2
-
3
- A side panel - a styled navigation container, usually in the `kptShellSidenav` slot
4
- of `kpt-app-shell`. Import: `import { KptSidenav } from '@konce-pt/angular';`
5
-
6
- ## Selector
7
- `kpt-sidenav`
8
-
9
- ## Content
10
- Anything (ng-content) - it lands in the scrollable area. `<a>` elements come with built-in
11
- navigation-entry styling (hover with `--kpt-color-muted`).
12
-
13
- ## The footer - `kptSidenavFooter`
14
- An element carrying this attribute lands outside the scrollable area and stays stuck to the bottom of the
15
- panel, no matter how long the navigation is. It gets a top rule (`--kpt-sidenav-border`) across the panel's
16
- full width and the same padding as the navigation. Typical uses: the signed-in user block,
17
- a theme toggle, the application version. It is a plain attribute, not a directive - there is nothing
18
- to import.
19
-
20
- ## Example
21
- <kpt-sidenav kptShellSidenav>
22
- <a href="#">Dashboard</a>
23
- <a href="#">Settings</a>
24
-
25
- <div kptSidenavFooter>
26
- <kpt-avatar name="Anna Kowalska" size="sm" />
27
- <span kptNavLabel>Anna Kowalska</span>
28
- </div>
29
- </kpt-sidenav>
30
-
31
- In the icon rail, mark the footer text with the `kptNavLabel` attribute - the collapsed panel then leaves just the avatar.
32
-
33
- ## The icon rail (kpt-app-shell)
34
- If the shell has `sidenavRailBreakpoint` enabled, mark an entry's text with the `kptNavLabel` attribute
35
- and a group heading with `kptNavSection` - in the collapsed rail only the icon remains, and the label is
36
- hidden technically (visually hidden), so a screen reader still knows the entry's name:
37
-
38
- <a href="#"><kpt-icon name="list" /> <span kptNavLabel>Dashboard</span></a>
39
-
40
- These are plain attributes, not directives - there is nothing to import. Without an icon the rail will be empty.
41
-
42
- ## Links
43
- Links in the scroll area are `display: flex` with a gap, so an icon and a label never glue together
44
- even when the template compiler drops the whitespace between them. A link with
45
- `aria-current="page"` gets the muted background and a medium weight - mark the current page
46
- yourself, the component does not know which one it is.
47
-
48
- ## Tokens
49
- `--kpt-sidenav-{bg,fg,border,width,rail-width}` (the width is set by `kpt-app-shell`).
1
+ # KptSidenav (kpt-sidenav)
2
+
3
+ A side panel - a styled navigation container, usually in the `kptShellSidenav` slot
4
+ of `kpt-app-shell`. Import: `import { KptSidenav } from '@konce-pt/angular';`
5
+
6
+ ## Selector
7
+ `kpt-sidenav`
8
+
9
+ ## Content
10
+ Anything (ng-content) - it lands in the scrollable area. `<a>` elements come with built-in
11
+ navigation-entry styling (hover with `--kpt-color-muted`).
12
+
13
+ ## Data-driven navigation - `groups`
14
+ Hand the panel a list of groups and it draws the whole menu itself: group headings (e.g. "Dashboards",
15
+ "Pages"), entries with icons and counters, expandable branches, and above them a "Favorites" /
16
+ "Recently" tab pair. Projected content still works and lands ABOVE the data menu (a search field,
17
+ a logo); without `groups` the panel is the plain container it always was.
18
+
19
+ import { KptSidenav, type KptSidenavGroup } from '@konce-pt/angular';
20
+
21
+ readonly nav: KptSidenavGroup[] = [
22
+ { id: 'dashboards', label: 'Dashboards', items: [
23
+ { id: 'overview', label: 'Overview', icon: 'chart-bar', url: '/overview' },
24
+ { id: 'shop', label: 'eCommerce', icon: 'shopping-cart', children: [
25
+ { id: 'orders', label: 'Orders', url: '/orders', badge: 12 },
26
+ { id: 'products', label: 'Products', url: '/products' },
27
+ ] },
28
+ ] },
29
+ ];
30
+
31
+ <kpt-sidenav kptShellSidenav
32
+ [groups]="nav"
33
+ [(active)]="page"
34
+ [(favorites)]="pins"
35
+ storageKey="app-nav"
36
+ (navigate)="go($event)"
37
+ />
38
+
39
+ `KptSidenavItem`: `id` (required, unique across the WHOLE menu including group ids - favorites and
40
+ recents are stored by it), `label`, `icon?`, `url?` (renders `<a href>`, otherwise a `<button>`),
41
+ `target?`, `value?`, `badge?` (number or short text on the right - `0` is shown too), `children?`
42
+ (the entry becomes an expandable branch with no address of its own), `expanded?` (initial state
43
+ only), `disabled?`, `pinnable?` (`false` hides the pin). `KptSidenavGroup`: `id`, `label`, `icon?`
44
+ (used only when the group is pinned), `items`, `pinnable?`, `collapsible?` (overrides
45
+ `collapsibleGroups` for this group either way), `expanded?` (start state of a foldable group;
46
+ `false` starts folded unless the active entry is inside).
47
+
48
+ Inputs:
49
+ - `groups` - `KptSidenavGroup[]`, default `[]`
50
+ - `[(active)]` - `id` of the current page; a click sets it, with a router bind it to the URL.
51
+ The ancestors of the active entry start expanded.
52
+ - `[(favorites)]` - pinned `id`s in pin order; `[(recent)]` - opened `id`s, newest first
53
+ - `[(quickTab)]` - `'favorites' | 'recent'`
54
+ - `pinnable` (default `true`) - pins and the Favorites tab; `recentLimit` (default `5`, `0` turns
55
+ Recently off). With only one of them on, a plain heading replaces the tabs.
56
+ - `storageKey` - a `localStorage` key; set, it restores and saves favorites and recents (SSR-safe,
57
+ storage errors are swallowed). Without it the state lives only in the models.
58
+ - `pinDelay` (ms, default `1000`) - how long the pointer must rest on a row before its pin appears
59
+ - `chevron` - `'end'` (default, at the end of the row) or `'start'` (before the icon)
60
+ - `childCount` - a branch without its own `badge` shows the number of its entries
61
+ - `collapsibleGroups` - each group heading becomes a button (`aria-expanded`) that folds the whole
62
+ group, with an arrow next to the name and the branch motion; the pin next to it still works.
63
+ A group's own `collapsible` wins: `true` without this input folds only that group, `false` with
64
+ it keeps that group always open.
65
+ - `ariaLabel` - name of the `<nav>`; inside `kpt-app-shell` usually unnecessary
66
+ - `collapseMotion` - `spring | fade | none`, defaults to `collapse` from `provideKptMotion`
67
+
68
+ Outputs: `itemClick` (`KptSidenavItem`, every leaf activation) and `navigate`
69
+ (`KptNavigateEvent<KptSidenavItem>` - a plain click on a link; call `event.preventDefault()` and
70
+ route yourself). Ctrl/Cmd-click and `target="_blank"` stay native and change nothing.
71
+
72
+ ## Pins, favorites, recents
73
+ The pin sits on the end of a row, over the counter. It appears after the pointer rests on the row
74
+ for `pinDelay`, and immediately when the row has keyboard focus - so Tab from an entry lands on
75
+ its pin. On touch screens (`hover: none`) it stays visible in the row. Any entry can be pinned:
76
+ a single page, a branch (it shows up in Favorites with its children, expandable) or a whole group
77
+ via the pin next to its heading. A pinned entry's pin removes it again. `id`s that no longer exist
78
+ in `groups` are skipped, not shown as broken rows. A top-level entry without an icon in the
79
+ Favorites and Recently lists keeps an empty icon-wide gap, so the labels line up.
80
+
81
+ Recently records leaves activated in the panel (`recentLimit` newest, no duplicates). Navigation
82
+ started elsewhere does not land there - push to `[(recent)]` yourself if you need it.
83
+
84
+ In the icon rail of `kpt-app-shell` the data menu keeps only top-level icons: pins, counters,
85
+ chevrons, the tabs and expanded branches are hidden, labels and headings are visually hidden.
86
+ For a foldable group the heading button is hidden too: open groups keep their icons, folded
87
+ ones show nothing until the panel opens again.
88
+
89
+ ## The footer - `kptSidenavFooter`
90
+ An element carrying this attribute lands outside the scrollable area and stays stuck to the bottom of the
91
+ panel, no matter how long the navigation is. It gets a top rule (`--kpt-sidenav-border`) across the panel's
92
+ full width and the same padding as the navigation. Typical uses: the signed-in user block,
93
+ a theme toggle, the application version. It is a plain attribute, not a directive - there is nothing
94
+ to import.
95
+
96
+ ## Example
97
+ <kpt-sidenav kptShellSidenav>
98
+ <a href="#">Dashboard</a>
99
+ <a href="#">Settings</a>
100
+
101
+ <div kptSidenavFooter>
102
+ <kpt-avatar name="Anna Kowalska" size="sm" />
103
+ <span kptNavLabel>Anna Kowalska</span>
104
+ </div>
105
+ </kpt-sidenav>
106
+
107
+ In the icon rail, mark the footer text with the `kptNavLabel` attribute - the collapsed panel then leaves just the avatar.
108
+
109
+ ## The icon rail (kpt-app-shell)
110
+ If the shell has `sidenavRailBreakpoint` enabled, mark an entry's text with the `kptNavLabel` attribute
111
+ and a group heading with `kptNavSection` - in the collapsed rail only the icon remains, and the label is
112
+ hidden technically (visually hidden), so a screen reader still knows the entry's name:
113
+
114
+ <a href="#"><kpt-icon name="list" /> <span kptNavLabel>Dashboard</span></a>
115
+
116
+ These are plain attributes, not directives - there is nothing to import. Without an icon the rail will be empty.
117
+
118
+ ## Links
119
+ Links in the scroll area are `display: flex` with a gap, so an icon and a label never glue together
120
+ even when the template compiler drops the whitespace between them. A link with
121
+ `aria-current="page"` gets the muted background and a medium weight - mark the current page
122
+ yourself, the component does not know which one it is.
123
+
124
+ ## Tokens
125
+ `--kpt-sidenav-{bg,fg,border,width,rail-width}` (the width is set by `kpt-app-shell`).
@@ -264,7 +264,7 @@ declare class KptChart {
264
264
  opacity: number;
265
265
  } | null>;
266
266
  protected readonly type: _angular_core.Signal<_konce_pt_chart.KptChartType>;
267
- protected readonly anim: _angular_core.Signal<Required<Pick<KptAnimationOptions, "duration" | "enabled" | "delay" | "stagger">>>;
267
+ protected readonly anim: _angular_core.Signal<Required<Pick<KptAnimationOptions, "enabled" | "duration" | "delay" | "stagger">>>;
268
268
  protected readonly legendOpts: _angular_core.Signal<{
269
269
  display: boolean;
270
270
  position: _konce_pt_chart.KptLegendPosition;
@@ -17,6 +17,8 @@ import { KptDateDisplayFormat, KptFirstDayOfWeek, KptDateSelectionMode, KptCalen
17
17
  export { KptDateRangeValue } from '@konce-pt/datetime';
18
18
  import { KptMentionItem, KptMentionSegment } from '@konce-pt/mention';
19
19
  export { KPT_MENTION_LIMIT, KptMentionItem, KptMentionQuery, KptMentionSegment, applyMention, collectMentions, filterMentions, foldMentionText, mentionQuery, mentionToken, parseMentionText } from '@konce-pt/mention';
20
+ import { KptSidenavGroup, KptSidenavQuickTab, KptSidenavChevron, KptSidenavItem } from '@konce-pt/nav';
21
+ export { KptSidenavChevron, KptSidenavGroup, KptSidenavItem, KptSidenavQuickTab, KptSidenavStoredState } from '@konce-pt/nav';
20
22
  import { KptBackdropEffect, KptBackdropAnchor, KptBackdropInk } from '@konce-pt/backdrop';
21
23
  export { KPT_SIGNAL_GRID_CELL, KPT_SIGNAL_GRID_DENSITY, KPT_SIGNAL_GRID_FALLOFF, KPT_SIGNAL_GRID_GAP, KPT_WAVE_AMPLITUDE, KPT_WAVE_BAND, KPT_WAVE_RESOLUTION, KPT_WAVE_ROTATION, KptBackdropAnchor, KptBackdropEffect, KptBackdropRenderOptions, KptBackdropRenderer, KptOklab, KptRgb, KptSignalGridCell, KptSignalGridFrame, KptSignalGridOptions, KptWaveOptions, KptWaveSettings, buildSignalGrid, createBackdropRenderer, mixOklch, readCssColor, resolveWave, shiftHue, signalGridAlpha, signalGridDensity, waveIntensity, waveRamp } from '@konce-pt/backdrop';
22
24
  import { KptColumnFilter, KptColumnSummary, KptColumnGroup } from '@konce-pt/table';
@@ -3062,22 +3064,109 @@ declare class KptToolbar {
3062
3064
  * Panel boczny (sidenav) - stylowany kontener nawigacji, zwykle umieszczany w slocie
3063
3065
  * `kptShellSidenav` komponentu `kpt-app-shell`.
3064
3066
  *
3065
- * Treść domyślna ląduje w obszarze przewijanym. Element opatrzony atrybutem `kptSidenavFooter`
3066
- * trafia do stopki stojącej **poza** tym obszarem, więc zostaje przyklejony do dołu panelu
3067
- * niezależnie od długości nawigacji (blok użytkownika, wersja aplikacji, przełącznik motywu).
3067
+ * Dwa sposoby użycia, do połączenia w jednym panelu:
3068
+ * - **projekcja** - własne linki i treść lądują w obszarze przewijanym;
3069
+ * - **dane** (`groups`) - komponent sam rysuje grupy z nagłówkami, rozwijane gałęzie, ikony,
3070
+ * liczniki, a nad nimi zakładki "Ulubione" / "Ostatnie". Pinezka pojawia się po przytrzymaniu
3071
+ * kursora nad pozycją (`pinDelay`, domyślnie 1 s) albo od razu przy fokusie z klawiatury;
3072
+ * przypiąć da się pojedynczą pozycję, gałąź z dziećmi i całą grupę. `collapsibleGroups` robi
3073
+ * z nagłówków grup przyciski zwijające całą grupę.
3074
+ *
3075
+ * Element opatrzony atrybutem `kptSidenavFooter` trafia do stopki stojącej **poza** obszarem
3076
+ * przewijanym, więc zostaje przyklejony do dołu panelu niezależnie od długości nawigacji.
3068
3077
  *
3069
3078
  * @example
3070
- * <kpt-sidenav kptShellSidenav>
3071
- * <a href="#">Pulpit</a>
3072
- * <a href="#">Ustawienia</a>
3079
+ * <kpt-sidenav kptShellSidenav [groups]="nav" [(active)]="page" [(favorites)]="pins" storageKey="app-nav">
3073
3080
  * <div kptSidenavFooter>
3074
3081
  * <kpt-avatar name="Anna Kowalska" size="sm" />
3075
3082
  * </div>
3076
3083
  * </kpt-sidenav>
3077
3084
  */
3078
- declare class KptSidenav {
3079
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptSidenav, never>;
3080
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptSidenav, "kpt-sidenav", never, {}, {}, never, ["*", "[kptSidenavFooter]"], true, never>;
3085
+ declare class KptSidenav<T = unknown> {
3086
+ /** Grupy nawigacji. Pusta lista (domyślnie) - panel pokazuje wyłącznie treść z projekcji. */
3087
+ readonly groups: _angular_core.InputSignal<readonly KptSidenavGroup<T>[]>;
3088
+ /** `id` aktywnej pozycji (bieżąca strona). Klik w pozycję ustawia je sam; z routerem wiąż je z adresem. */
3089
+ readonly active: _angular_core.ModelSignal<string | null>;
3090
+ /** `id` przypiętych pozycji i grup, w kolejności przypięcia. */
3091
+ readonly favorites: _angular_core.ModelSignal<readonly string[]>;
3092
+ /** `id` ostatnio otwieranych pozycji, od najnowszej. */
3093
+ readonly recent: _angular_core.ModelSignal<readonly string[]>;
3094
+ /** Otwarta zakładka szybkiego dostępu. */
3095
+ readonly quickTab: _angular_core.ModelSignal<KptSidenavQuickTab>;
3096
+ /** Pinezki i zakładka "Ulubione". `false` wyłącza jedno i drugie. */
3097
+ readonly pinnable: _angular_core.InputSignalWithTransform<boolean, unknown>;
3098
+ /** Ile pozycji pamięta zakładka "Ostatnie"; `0` ją wyłącza. */
3099
+ readonly recentLimit: _angular_core.InputSignalWithTransform<number, unknown>;
3100
+ /** Klucz `localStorage` - podany włącza zapis ulubionych i ostatnich między wizytami. */
3101
+ readonly storageKey: _angular_core.InputSignal<string>;
3102
+ /** Po ilu milisekundach od najechania kursorem pokazuje się pinezka. */
3103
+ readonly pinDelay: _angular_core.InputSignalWithTransform<number, unknown>;
3104
+ /** Strona strzałki gałęzi: `end` - na końcu wiersza, `start` - przed ikoną. */
3105
+ readonly chevron: _angular_core.InputSignal<KptSidenavChevron>;
3106
+ /** Gałąź bez własnego `badge` pokazuje liczbę swoich pozycji. */
3107
+ readonly childCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
3108
+ /**
3109
+ * Nagłówek grupy zwija i rozwija całą grupę; stan początkowy z `expanded` grupy. Pojedyncza grupa
3110
+ * nadpisuje to własnym `collapsible`.
3111
+ */
3112
+ readonly collapsibleGroups: _angular_core.InputSignalWithTransform<boolean, unknown>;
3113
+ /** Nazwa elementu `<nav>` dla czytnika. W `kpt-app-shell` zwykle zbędna - panel ma już etykietę. */
3114
+ readonly ariaLabel: _angular_core.InputSignal<string>;
3115
+ /** Ruch rozwijania gałęzi (`spring | fade | none`); bez wartości bierze `collapse` z `provideKptMotion`. */
3116
+ readonly collapseMotion: _angular_core.InputSignal<KptCollapseMotion | undefined>;
3117
+ /** Klik w pozycję-liść (odnośnik albo akcja). */
3118
+ readonly itemClick: _angular_core.OutputEmitterRef<KptSidenavItem<T>>;
3119
+ /** Zwykły klik w odnośnik - aplikacja z routerem woła `event.preventDefault()` i nawiguje sama. */
3120
+ readonly navigate: _angular_core.OutputEmitterRef<KptNavigateEvent<KptSidenavItem<T>>>;
3121
+ protected readonly i18n: KptI18n;
3122
+ private readonly host;
3123
+ private readonly motionConfig;
3124
+ protected readonly uid: string;
3125
+ protected readonly motion: _angular_core.Signal<KptCollapseMotion>;
3126
+ /** Reguły wejścia (`@starting-style`) dopiero po pierwszym renderze - start strony się nie rusza. */
3127
+ protected readonly live: _angular_core.WritableSignal<boolean>;
3128
+ private readonly index;
3129
+ private readonly activePath;
3130
+ protected readonly favoriteItems: _angular_core.Signal<KptSidenavItem<T>[]>;
3131
+ protected readonly recentItems: _angular_core.Signal<KptSidenavItem<T>[]>;
3132
+ protected readonly quickTabs: _angular_core.Signal<KptSidenavQuickTab[]>;
3133
+ /** Zakładka faktycznie pokazana - wyłączona przez input przechodzi na tę, która została. */
3134
+ protected readonly shownTab: _angular_core.Signal<KptSidenavQuickTab>;
3135
+ /** Gałęzie przełączone przez użytkownika (klucz -> otwarta?). Spoza mapy: `expanded` z danych albo ścieżka aktywnej. */
3136
+ private readonly toggled;
3137
+ /** Gałęzie w trakcie zwijania - zostają w DOM, dopóki gra animacja. */
3138
+ private readonly closing;
3139
+ /** Klucz, którego stan wczytano już z pamięci - zapis rusza dopiero po odczycie. */
3140
+ private loadedKey;
3141
+ constructor();
3142
+ protected isBranch(item: KptSidenavItem<T>): boolean;
3143
+ /** Klucz stanu rozwinięcia - ta sama gałąź w menu i w ulubionych rozwija się niezależnie. */
3144
+ protected key(scope: string, item: KptSidenavItem<T>): string;
3145
+ protected isOpen(key: string, item: KptSidenavItem<T>): boolean;
3146
+ protected isClosing(key: string): boolean;
3147
+ protected isActive(item: KptSidenavItem<T>): boolean;
3148
+ protected isPinned(item: KptSidenavItem<T>): boolean;
3149
+ protected canPin(item: KptSidenavItem<T>): boolean;
3150
+ protected badge(item: KptSidenavItem<T>): string | number | null;
3151
+ /** `id` elementu DOM z dowolnego klucza - `id` aplikacji może mieć spacje i znaki spoza `[\w-]`. */
3152
+ protected domId(part: string, key: string): string;
3153
+ /** Klucz stanu rozwinięcia grupy - z prefiksem, żeby nie zderzył się z `id` pozycji. */
3154
+ protected groupKey(group: KptSidenavGroup<T>): string;
3155
+ protected isGroupCollapsible(group: KptSidenavGroup<T>): boolean;
3156
+ /** Niezwijana grupa jest zawsze otwarta; zwinięta z danych otwiera się dla aktywnej pozycji. */
3157
+ protected isGroupOpen(group: KptSidenavGroup<T>): boolean;
3158
+ protected toggleGroup(group: KptSidenavGroup<T>): void;
3159
+ protected toggle(key: string, item: KptSidenavItem<T>): void;
3160
+ /** Ustawia stan rozwinięcia; zwijana sekcja zostaje w DOM na czas animacji. */
3161
+ private flip;
3162
+ protected togglePin(item: Pick<KptSidenavItem<T>, 'id'>): void;
3163
+ protected activate(item: KptSidenavItem<T>): void;
3164
+ protected onLink(event: MouseEvent, item: KptSidenavItem<T>): void;
3165
+ protected selectTab(tab: KptSidenavQuickTab): void;
3166
+ /** Zakładki wg wzorca WAI-ARIA "tabs": strzałki i `Home`/`End` przełączają i przenoszą fokus. */
3167
+ protected onTabKeydown(event: KeyboardEvent): void;
3168
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptSidenav<any>, never>;
3169
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptSidenav<any>, "kpt-sidenav", never, { "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "favorites": { "alias": "favorites"; "required": false; "isSignal": true; }; "recent": { "alias": "recent"; "required": false; "isSignal": true; }; "quickTab": { "alias": "quickTab"; "required": false; "isSignal": true; }; "pinnable": { "alias": "pinnable"; "required": false; "isSignal": true; }; "recentLimit": { "alias": "recentLimit"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "pinDelay": { "alias": "pinDelay"; "required": false; "isSignal": true; }; "chevron": { "alias": "chevron"; "required": false; "isSignal": true; }; "childCount": { "alias": "childCount"; "required": false; "isSignal": true; }; "collapsibleGroups": { "alias": "collapsibleGroups"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "collapseMotion": { "alias": "collapseMotion"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "favorites": "favoritesChange"; "recent": "recentChange"; "quickTab": "quickTabChange"; "itemClick": "itemClick"; "navigate": "navigate"; }, never, ["*", "[kptSidenavFooter]"], true, never>;
3081
3170
  }
3082
3171
 
3083
3172
  /**