@konce-pt/angular 0.18.1 → 0.18.3
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/CHANGELOG.md +47 -0
- package/charts/src/lib/llms.txt +116 -110
- package/fesm2022/konce-pt-angular-charts.mjs +282 -220
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs +3 -1
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/package.json +13 -13
- package/src/lib/app-shell/llms.txt +101 -99
- package/types/konce-pt-angular-charts.d.ts +30 -3
- package/types/konce-pt-angular-charts.d.ts.map +1 -1
- package/types/konce-pt-angular.d.ts +8 -6
- package/types/konce-pt-angular.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konce-pt/angular",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.3",
|
|
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,18 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.3.0",
|
|
49
|
-
"@konce-pt/
|
|
50
|
-
"@konce-pt/
|
|
51
|
-
"@konce-pt/
|
|
52
|
-
"@konce-pt/mention": "0.18.
|
|
53
|
-
"@konce-pt/
|
|
54
|
-
"@konce-pt/
|
|
55
|
-
"@konce-pt/
|
|
56
|
-
"@konce-pt/
|
|
57
|
-
"@konce-pt/
|
|
58
|
-
"@konce-pt/
|
|
59
|
-
"@konce-pt/
|
|
60
|
-
"@konce-pt/
|
|
49
|
+
"@konce-pt/backdrop": "0.18.3",
|
|
50
|
+
"@konce-pt/icons": "0.18.3",
|
|
51
|
+
"@konce-pt/map": "0.18.3",
|
|
52
|
+
"@konce-pt/mention": "0.18.3",
|
|
53
|
+
"@konce-pt/chart": "0.18.3",
|
|
54
|
+
"@konce-pt/chat": "0.18.3",
|
|
55
|
+
"@konce-pt/motion": "0.18.3",
|
|
56
|
+
"@konce-pt/i18n": "0.18.3",
|
|
57
|
+
"@konce-pt/roadmap": "0.18.3",
|
|
58
|
+
"@konce-pt/speech": "0.18.3",
|
|
59
|
+
"@konce-pt/table": "0.18.3",
|
|
60
|
+
"@konce-pt/datetime": "0.18.3"
|
|
61
61
|
},
|
|
62
62
|
"module": "fesm2022/konce-pt-angular.mjs",
|
|
63
63
|
"typings": "types/konce-pt-angular.d.ts",
|
|
@@ -1,99 +1,101 @@
|
|
|
1
|
-
# KptAppShell (kpt-app-shell)
|
|
2
|
-
|
|
3
|
-
The application skeleton: a top bar, a side panel, the content. Responsive with no configuration.
|
|
4
|
-
Import: `import { KptAppShell, KptShellNavToggle } from '@konce-pt/angular';`
|
|
5
|
-
|
|
6
|
-
## Selector
|
|
7
|
-
`kpt-app-shell`
|
|
8
|
-
|
|
9
|
-
## Inputs / outputs
|
|
10
|
-
- `sidenavOpen`: model<boolean> (default `true`) - the state of the DOCKED panel
|
|
11
|
-
(and of the forced `over` mode); two-way `[(sidenavOpen)]`
|
|
12
|
-
- `sidenavCompactOpen`: model<boolean> (default `false`) - the state of the OVERLAY in `auto` mode
|
|
13
|
-
- `sidenavMode`: `'auto' | 'side' | 'over'` (default **`'auto'`**)
|
|
14
|
-
- `sidenavBreakpoint`: `'sm'|'md'|'lg'|'xl'|'2xl'` (default `'lg'`) - from this threshold upward
|
|
15
|
-
`auto` docks the panel, below it turns it into an overlay
|
|
16
|
-
- `sidenavRailBreakpoint`: the same set or `null` (default `null`) - enables the icon rail
|
|
17
|
-
in the band from `sidenavBreakpoint` up to this threshold; the value must be HIGHER than `sidenavBreakpoint
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- `
|
|
21
|
-
- `
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
|
45
|
-
|
|
46
|
-
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- `[
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
1
|
+
# KptAppShell (kpt-app-shell)
|
|
2
|
+
|
|
3
|
+
The application skeleton: a top bar, a side panel, the content. Responsive with no configuration.
|
|
4
|
+
Import: `import { KptAppShell, KptShellNavToggle } from '@konce-pt/angular';`
|
|
5
|
+
|
|
6
|
+
## Selector
|
|
7
|
+
`kpt-app-shell`
|
|
8
|
+
|
|
9
|
+
## Inputs / outputs
|
|
10
|
+
- `sidenavOpen`: model<boolean> (default `true`) - the state of the DOCKED panel
|
|
11
|
+
(and of the forced `over` mode); two-way `[(sidenavOpen)]`
|
|
12
|
+
- `sidenavCompactOpen`: model<boolean> (default `false`) - the state of the OVERLAY in `auto` mode
|
|
13
|
+
- `sidenavMode`: `'auto' | 'side' | 'over'` (default **`'auto'`**)
|
|
14
|
+
- `sidenavBreakpoint`: `'sm'|'md'|'lg'|'xl'|'2xl'` (default `'lg'`) - from this threshold upward
|
|
15
|
+
`auto` docks the panel, below it turns it into an overlay
|
|
16
|
+
- `sidenavRailBreakpoint`: the same set, `'always'` or `null` (default `null`) - enables the icon rail
|
|
17
|
+
in the band from `sidenavBreakpoint` up to this threshold; the value must be HIGHER than `sidenavBreakpoint`.
|
|
18
|
+
`'always'` has no upper bound: at every width from `sidenavBreakpoint` up the toggle switches between the
|
|
19
|
+
full panel and the icons, and below it the overlay opens and closes as usual
|
|
20
|
+
- `sidenavLabel`: string - the panel's a11y label; empty = `appShell.navigation` from the dictionary
|
|
21
|
+
- `sidenavId`: readonly string - the panel's identifier (`aria-controls`)
|
|
22
|
+
- `isOverlay()`, `isSidenavOpen()`: Signal<boolean> - the effective state for the current layout
|
|
23
|
+
- `toggleSidenav()`, `openSidenav()`, `closeSidenav()` - they hit the state that belongs to the layout
|
|
24
|
+
|
|
25
|
+
## Projection slots
|
|
26
|
+
- `[kptShellToolbar]` -> the top bar
|
|
27
|
+
- `[kptShellSidenav]` -> the side panel
|
|
28
|
+
- the default content -> the main area
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
<kpt-app-shell [(sidenavOpen)]="navOpen">
|
|
32
|
+
<kpt-toolbar kptShellToolbar elevated>
|
|
33
|
+
<kpt-icon-button kptShellNavToggle variant="text" ariaLabel="Menu">
|
|
34
|
+
<kpt-icon name="menu" />
|
|
35
|
+
</kpt-icon-button>
|
|
36
|
+
</kpt-toolbar>
|
|
37
|
+
<kpt-sidenav kptShellSidenav>
|
|
38
|
+
<a href="#"><kpt-icon name="list" /> <span kptNavLabel>Dashboard</span></a>
|
|
39
|
+
</kpt-sidenav>
|
|
40
|
+
<router-outlet />
|
|
41
|
+
</kpt-app-shell>
|
|
42
|
+
|
|
43
|
+
## The three bands of 'auto' mode
|
|
44
|
+
| width | layout | what closing does |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| `< sidenavBreakpoint` | overlay + scrim | the panel slides off the edge (state: `sidenavCompactOpen`) |
|
|
47
|
+
| `>= sidenavBreakpoint`, `< sidenavRailBreakpoint` | icon rail | the panel narrows to `--kpt-sidenav-rail-width` |
|
|
48
|
+
| `>= sidenavRailBreakpoint` (or no rail) | full panel | the panel hides entirely (with `'always'` this band does not exist) |
|
|
49
|
+
|
|
50
|
+
## Why TWO open states
|
|
51
|
+
"Open" means different things on either side of the threshold: on a desktop the panel stands open by default,
|
|
52
|
+
on a phone it has to be hidden by default. If both layouts shared one model, moving to a narrow
|
|
53
|
+
screen would have to overwrite the application's state, and coming back to a wide one would have nothing to restore.
|
|
54
|
+
Keeping them apart means the desktop intent survives narrowing and widening the window for free.
|
|
55
|
+
|
|
56
|
+
The `kptShellNavToggle` button hits the right state on its own - do not write `navOpen.set(...)` by hand,
|
|
57
|
+
because on a narrow screen you would be setting the wrong model.
|
|
58
|
+
|
|
59
|
+
It also supplies `aria-expanded`, `aria-controls` and `aria-label`, and it puts them where a screen
|
|
60
|
+
reader can use them. On a native `<button>`/`<a>` host that is the host itself. On a wrapping
|
|
61
|
+
component such as `kpt-icon-button` the attributes go down to the inner `<button>` instead - placing
|
|
62
|
+
state attributes on a roleless wrapper would violate `aria-allowed-attr`. In that case the label
|
|
63
|
+
stays with the component (`ariaLabel`), which the directive does not overwrite.
|
|
64
|
+
|
|
65
|
+
## The menu content convention (needed only for the rail)
|
|
66
|
+
- `[kptNavLabel]` - the entry's text; in the rail it is hidden with the "visually hidden" technique, so the entry
|
|
67
|
+
keeps an accessible name for a screen reader.
|
|
68
|
+
- `[kptNavSection]` - a group heading; hidden the same way.
|
|
69
|
+
|
|
70
|
+
These are plain attributes (like `kptShellToolbar` or `kptToolbarSpacer`), not directives - there is nothing
|
|
71
|
+
to import. Without them the rail shows clipped text instead of an icon. In the rail it is worth marking entries
|
|
72
|
+
with `kptTooltip`, since only the glyph is visible.
|
|
73
|
+
|
|
74
|
+
## Behavior
|
|
75
|
+
- The layout is decided by CSS alone (`@media`), so nothing flickers before hydration and the whole thing
|
|
76
|
+
works under SSR. JavaScript is only responsible for which state the button toggles.
|
|
77
|
+
- A closed panel drops out of the tab order through `visibility: hidden` (not `inert`) - it is correct
|
|
78
|
+
from the very first frame.
|
|
79
|
+
- An open overlay puts `inert` on the content (`<main>`), so Tab does not walk underneath the scrim.
|
|
80
|
+
- `Escape` closes the overlay; so does clicking the scrim. An Escape that something opened above the
|
|
81
|
+
shell already handled (a dialog, menu or popover - `preventDefault()` or focus inside it) is left alone.
|
|
82
|
+
- The slide direction follows `dir` (RTL slides in from the right).
|
|
83
|
+
- Height: `100dvh` with a `100vh` fallback.
|
|
84
|
+
- `<main>` scrolls on its own and is registered as `cdkScrollable`, so overlay panels (select,
|
|
85
|
+
autocomplete, menu, datepicker) follow it while the content scrolls.
|
|
86
|
+
- It does **not** close the menu after navigation - the shell does not know what counts as navigation
|
|
87
|
+
in a given application. Do it yourself: `if (shell.isOverlay()) shell.closeSidenav();`.
|
|
88
|
+
|
|
89
|
+
## Forced modes (backward compatibility)
|
|
90
|
+
`sidenavMode="side"` and `"over"` ignore the window width and read `sidenavOpen`, exactly as
|
|
91
|
+
before `auto` was introduced. Set `"side"` if the application manages responsiveness itself -
|
|
92
|
+
otherwise you end up with two layers of the same logic.
|
|
93
|
+
|
|
94
|
+
## Tokens
|
|
95
|
+
`--kpt-sidenav-width` (16rem), `--kpt-sidenav-rail-width` (4rem), `--kpt-z-overlay`,
|
|
96
|
+
`--kpt-color-overlay-scrim`, `--kpt-elevation-3`, `--kpt-motion-duration-base`.
|
|
97
|
+
|
|
98
|
+
## Focus
|
|
99
|
+
Opening the overlay moves focus into the panel (its first focusable element, or the `<nav>`
|
|
100
|
+
itself); closing it returns focus to where it came from - usually the menu button - unless the user
|
|
101
|
+
has already moved it elsewhere. An overlay that is open when the page loads does not take focus.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _konce_pt_chart from '@konce-pt/chart';
|
|
2
|
-
import { KptChartConfig, KptAnimationOptions, KptAlign, KptDeltaKind } from '@konce-pt/chart';
|
|
2
|
+
import { KptChartConfig, KptChartMetrics, KptAnimationOptions, KptAlign, KptDeltaKind } from '@konce-pt/chart';
|
|
3
3
|
export { KPT_CHART_PALETTE, KptAlign, KptAnimationOptions, KptBarOrientation, KptChartConfig, KptChartSeries, KptChartType, KptFont, KptLegendOptions, KptLegendPosition, KptLegendTitle, KptLineInterpolation, KptPadding, KptPointStyle, KptTitleOptions, KptTooltipContext, KptTooltipOptions, KptValueAxisOptions, areaPath, barLayout, linePath, niceScale, pieSlices, polarSlices, radarGrid, radarPoints, seriesColor } from '@konce-pt/chart';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { KptI18n } from '@konce-pt/angular';
|
|
@@ -179,10 +179,37 @@ interface RadarVm {
|
|
|
179
179
|
*/
|
|
180
180
|
declare class KptChart {
|
|
181
181
|
readonly config: _angular_core.InputSignal<KptChartConfig>;
|
|
182
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* Szerokość projektowa. Wykres rysuje się w pikselach swojego kontenera (mierzy go
|
|
184
|
+
* `ResizeObserver`), więc `width`/`height` wyznaczają dziś proporcję (wysokość = szerokość
|
|
185
|
+
* kontenera x height / width) i rozmiar pierwszej klatki, zanim pomiar dotrze (SSR, testy).
|
|
186
|
+
*/
|
|
183
187
|
readonly width: _angular_core.InputSignal<number>;
|
|
184
|
-
/** Wysokość
|
|
188
|
+
/** Wysokość projektowa - patrz `width`. */
|
|
185
189
|
readonly height: _angular_core.InputSignal<number>;
|
|
190
|
+
/**
|
|
191
|
+
* Zmierzona szerokość płótna w pikselach CSS; `null` przed pierwszym pomiarem.
|
|
192
|
+
*
|
|
193
|
+
* viewBox równy pikselom ekranu to cała różnica: długości rosną z kontenerem, a czcionka
|
|
194
|
+
* (11px) i grubość kresek zostają prawdziwymi pikselami. Wcześniej stały viewBox 600x360
|
|
195
|
+
* skalował się w całości - na szerokim ekranie etykiety puchły i rozmywały się, w wąskiej
|
|
196
|
+
* kolumnie malały do nieczytelności. Przerzedzanie etykiet osi liczy się teraz na realnej
|
|
197
|
+
* szerokości, więc odpowiada temu, co widać.
|
|
198
|
+
*/
|
|
199
|
+
private readonly measured;
|
|
200
|
+
private readonly canvas;
|
|
201
|
+
/** Szerokość viewBoxa - zmierzona albo projektowa. */
|
|
202
|
+
protected readonly vw: _angular_core.Signal<number>;
|
|
203
|
+
/** Wysokość viewBoxa - z proporcji `width`/`height`. */
|
|
204
|
+
protected readonly vh: _angular_core.Signal<number>;
|
|
205
|
+
/**
|
|
206
|
+
* Rozmiar tekstu osi w px, odczytany z CSS płótna (`--kpt-chart-font-size`, domyślnie
|
|
207
|
+
* `--kpt-font-size-sm`). Tekst w SVG go dziedziczy, a marginesy, odstęp etykiet od osi,
|
|
208
|
+
* pigułka prowadnicy i przerzedzanie etykiet liczą się z niego (`chartMetrics`). 14 to wartość
|
|
209
|
+
* domyślnego tokenu - pierwsza klatka przed odczytem.
|
|
210
|
+
*/
|
|
211
|
+
private readonly fontPx;
|
|
212
|
+
protected readonly metrics: _angular_core.Signal<KptChartMetrics>;
|
|
186
213
|
protected readonly i18n: KptI18n;
|
|
187
214
|
private readonly motionConfig;
|
|
188
215
|
private readonly uid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"konce-pt-angular-charts.d.ts","sources":["../../charts/src/lib/chart-legend.component.ts","../../charts/src/lib/chart-tooltip.component.ts","../../charts/src/lib/chart.component.ts"],"mappings":";;;;;;UAGiB,kBAAkB;;;;;AAKlC;;UCLgB,kBAAkB;;;;AAIlC;UAEgB,oBAAoB;;;;;;UAM7B,kBAAkB;;;;;AAKzB;;
|
|
1
|
+
{"version":3,"file":"konce-pt-angular-charts.d.ts","sources":["../../charts/src/lib/chart-legend.component.ts","../../charts/src/lib/chart-tooltip.component.ts","../../charts/src/lib/chart.component.ts"],"mappings":"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","names":[]}
|
|
@@ -961,7 +961,7 @@ declare class KptFormField implements KptFormFieldContext {
|
|
|
961
961
|
* `over` (nad obramowaniem), `in` (u góry wewnątrz pola), `on` (na obramowaniu, notch).
|
|
962
962
|
* Uniesienie następuje przy focusie lub wypełnieniu pola.
|
|
963
963
|
*/
|
|
964
|
-
readonly labelType: _angular_core.InputSignal<"
|
|
964
|
+
readonly labelType: _angular_core.InputSignal<"over" | "fixed" | "in" | "on">;
|
|
965
965
|
/**
|
|
966
966
|
* Ruch: `spring` - komunikat wjeżdża z rozmycia, pole potrząsa się, gdy staje się błędne, etykieta
|
|
967
967
|
* float unosi się na sprężynie; `fade` - komunikat się przenika; `none` - bez ruchu. Bez wartości
|
|
@@ -1617,7 +1617,7 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1617
1617
|
/** Poziom, na którym klik w komórkę zatwierdza wartość zamiast schodzić niżej. */
|
|
1618
1618
|
protected readonly commitLevel: _angular_core.Signal<KptCalendarView>;
|
|
1619
1619
|
protected readonly timeStr: _angular_core.WritableSignal<string>;
|
|
1620
|
-
protected readonly dtView: _angular_core.WritableSignal<"
|
|
1620
|
+
protected readonly dtView: _angular_core.WritableSignal<"clock" | "calendar">;
|
|
1621
1621
|
private readonly pendingDate;
|
|
1622
1622
|
/** Tarcza zamiast siatek: tryb 'time' zawsze, 'datetime' po wejściu w pasek czasu. */
|
|
1623
1623
|
protected readonly showClock: _angular_core.Signal<boolean>;
|
|
@@ -1986,7 +1986,7 @@ declare class KptRichText implements FormValueControl<string> {
|
|
|
1986
1986
|
y: number;
|
|
1987
1987
|
}>;
|
|
1988
1988
|
protected readonly borderOpen: _angular_core.WritableSignal<boolean>;
|
|
1989
|
-
protected readonly borderTarget: _angular_core.WritableSignal<"
|
|
1989
|
+
protected readonly borderTarget: _angular_core.WritableSignal<"cell" | "table">;
|
|
1990
1990
|
private ctxCell;
|
|
1991
1991
|
private resize;
|
|
1992
1992
|
protected readonly selCount: _angular_core.WritableSignal<number>;
|
|
@@ -3113,9 +3113,11 @@ declare class KptAppShell {
|
|
|
3113
3113
|
* Włącza szynę ikon w paśmie od `sidenavBreakpoint` do tego breakpointa: zamknięty panel
|
|
3114
3114
|
* nie chowa się wtedy całkowicie, tylko zwęża do `--kpt-sidenav-rail-width`. Powyżej tego
|
|
3115
3115
|
* progu zamknięcie znów chowa panel w całości. Wartość musi być wyższa niż `sidenavBreakpoint`.
|
|
3116
|
-
* `
|
|
3116
|
+
* `'always'` - szyna bez górnej granicy: na każdej szerokości od `sidenavBreakpoint` w górę
|
|
3117
|
+
* zamknięcie zwija panel do ikon, a nie chowa go (CSS nie ma dla tej wartości reguły, która
|
|
3118
|
+
* przywraca pełne chowanie). `null` (domyślnie) wyłącza szynę.
|
|
3117
3119
|
*/
|
|
3118
|
-
readonly sidenavRailBreakpoint: _angular_core.InputSignal<KptBreakpoint | null>;
|
|
3120
|
+
readonly sidenavRailBreakpoint: _angular_core.InputSignal<KptBreakpoint | "always" | null>;
|
|
3119
3121
|
/** Etykieta dostępności panelu; puste = `appShell.navigation` ze słownika. */
|
|
3120
3122
|
readonly sidenavLabel: _angular_core.InputSignal<string>;
|
|
3121
3123
|
/** Identyfikator panelu dla `aria-controls` przycisku przełączającego. */
|
|
@@ -3781,7 +3783,7 @@ declare class KptEmpty {
|
|
|
3781
3783
|
* Robi z tytułu nagłówek strony (`role="heading"` z `aria-level`), żeby pusty stan pojawił się
|
|
3782
3784
|
* w strukturze dokumentu - np. gdy zastępuje całą sekcję. Bez tego tytuł to sam tekst.
|
|
3783
3785
|
*/
|
|
3784
|
-
readonly headingLevel: _angular_core.InputSignal<
|
|
3786
|
+
readonly headingLevel: _angular_core.InputSignal<5 | 1 | 2 | 4 | 3 | 6 | null>;
|
|
3785
3787
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptEmpty, never>;
|
|
3786
3788
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptEmpty, "kpt-empty", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3787
3789
|
}
|