@konce-pt/angular 0.15.0 → 0.16.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/CHANGELOG.md +59 -0
- package/charts/src/lib/llms.txt +27 -3
- package/fesm2022/konce-pt-angular-charts.mjs +784 -283
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs +98 -84
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/package.json +13 -13
- package/src/lib/card/llms.txt +0 -1
- package/src/lib/peek/llms.txt +2 -1
- package/src/lib/popover/llms.txt +3 -1
- package/src/lib/splitter/llms.txt +0 -3
- package/types/konce-pt-angular-charts.d.ts +101 -7
- package/types/konce-pt-angular-charts.d.ts.map +1 -1
- package/types/konce-pt-angular.d.ts +11 -0
- 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.
|
|
3
|
+
"version": "0.16.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,18 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.3.0",
|
|
49
|
-
"@konce-pt/
|
|
50
|
-
"@konce-pt/
|
|
51
|
-
"@konce-pt/
|
|
52
|
-
"@konce-pt/map": "0.
|
|
53
|
-
"@konce-pt/
|
|
54
|
-
"@konce-pt/
|
|
55
|
-
"@konce-pt/
|
|
56
|
-
"@konce-pt/table": "0.
|
|
57
|
-
"@konce-pt/
|
|
58
|
-
"@konce-pt/
|
|
59
|
-
"@konce-pt/
|
|
60
|
-
"@konce-pt/
|
|
49
|
+
"@konce-pt/i18n": "0.16.0",
|
|
50
|
+
"@konce-pt/backdrop": "0.16.0",
|
|
51
|
+
"@konce-pt/mention": "0.16.0",
|
|
52
|
+
"@konce-pt/map": "0.16.0",
|
|
53
|
+
"@konce-pt/roadmap": "0.16.0",
|
|
54
|
+
"@konce-pt/datetime": "0.16.0",
|
|
55
|
+
"@konce-pt/motion": "0.16.0",
|
|
56
|
+
"@konce-pt/table": "0.16.0",
|
|
57
|
+
"@konce-pt/speech": "0.16.0",
|
|
58
|
+
"@konce-pt/chart": "0.16.0",
|
|
59
|
+
"@konce-pt/icons": "0.16.0",
|
|
60
|
+
"@konce-pt/chat": "0.16.0"
|
|
61
61
|
},
|
|
62
62
|
"module": "fesm2022/konce-pt-angular.mjs",
|
|
63
63
|
"typings": "types/konce-pt-angular.d.ts",
|
package/src/lib/card/llms.txt
CHANGED
|
@@ -10,7 +10,6 @@ Import: `import { KptCard } from '@konce-pt/angular';`
|
|
|
10
10
|
- `variant`: 'elevated' | 'outlined' (default 'elevated')
|
|
11
11
|
- `header`: string - optional header text
|
|
12
12
|
- `headingLevel`: 1-6 | null (default null) - makes `header` a heading of that level
|
|
13
|
-
- `headingLevel`: 1-6 | null (default null) - makes `header` a heading of that level
|
|
14
13
|
- `flush`: boolean - a body with no padding (for rich layouts that manage their own sections)
|
|
15
14
|
|
|
16
15
|
## Content projection
|
package/src/lib/peek/llms.txt
CHANGED
|
@@ -9,7 +9,8 @@ Import: `import { KptPeek, KptPeekTrigger } from '@konce-pt/angular';`
|
|
|
9
9
|
- the element carrying the `kptPeekTrigger` attribute = the trigger; everything else = the card
|
|
10
10
|
|
|
11
11
|
## Inputs / outputs
|
|
12
|
-
- `placement`: 'top' | 'bottom' (default 'bottom') - CDK flips it when there is no room
|
|
12
|
+
- `placement`: 'top' | 'bottom' (default 'bottom') - CDK flips it when there is no room; near the right edge of
|
|
13
|
+
the window the card opens leftwards, and when neither side fits it is pushed into view
|
|
13
14
|
- `openDelay`: number (default 300) - the wait before hover opens the card
|
|
14
15
|
- `closeDelay`: number (default 200) - the wait before leaving the trigger closes it
|
|
15
16
|
- `disabled`: boolean - the card never opens; the trigger stays a plain link or button
|
package/src/lib/popover/llms.txt
CHANGED
|
@@ -5,7 +5,9 @@ Requires `import '@angular/cdk/overlay-prebuilt.css';`
|
|
|
5
5
|
Import: `import { KptPopover } from '@konce-pt/angular';`
|
|
6
6
|
|
|
7
7
|
## Inputs / model
|
|
8
|
-
- `placement`: 'bottom' | 'top' (default 'bottom') - the preferred side; CDK flips it when there is no room
|
|
8
|
+
- `placement`: 'bottom' | 'top' (default 'bottom') - the preferred side; CDK flips it when there is no room.
|
|
9
|
+
Horizontally the bubble starts at the trigger's left edge and opens leftwards when it would cross the right
|
|
10
|
+
edge of the window (a bell in the top-right corner); on a screen too narrow for both it is pushed into view
|
|
9
11
|
- `open`: model<boolean> (default false) - two-way, so the application can close the bubble from code
|
|
10
12
|
|
|
11
13
|
## Slots
|
|
@@ -8,9 +8,6 @@ Import: `import { KptSplitter } from '@konce-pt/angular';`
|
|
|
8
8
|
- `startSize`: model<number> - the size of the first pane in % (two-way)
|
|
9
9
|
- `minSize`: number (%) - the minimum pane size
|
|
10
10
|
- `ariaLabel`: string - the handle's name; empty = `splitter.resize` from the dictionary
|
|
11
|
-
- `ariaLabel`: string - the handle's name; empty = `splitter.resize` from the dictionary
|
|
12
|
-
- `ariaLabel`: string - the handle's name; empty = `splitter.resize` from the dictionary
|
|
13
|
-
- `ariaLabel`: string - the handle's name; empty = `splitter.resize` from the dictionary
|
|
14
11
|
|
|
15
12
|
## Accessibility
|
|
16
13
|
The handle is a focusable `role="separator"` (the WAI-ARIA window splitter): `aria-valuenow`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _konce_pt_chart from '@konce-pt/chart';
|
|
2
|
-
import { KptChartConfig, KptAnimationOptions, KptAlign } from '@konce-pt/chart';
|
|
2
|
+
import { KptChartConfig, 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, 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';
|
|
@@ -23,6 +23,10 @@ interface KptChartTooltipState {
|
|
|
23
23
|
y: number;
|
|
24
24
|
label: string;
|
|
25
25
|
rows: KptChartTooltipRow[];
|
|
26
|
+
/** Kierunek ruchu do tego punktu: 1 w prawo, -1 w lewo, 0 bez kierunku - stąd wjeżdża etykieta. */
|
|
27
|
+
dir?: number;
|
|
28
|
+
/** Dymek już był na ekranie i jedzie dalej - etykieta i cyfry animują zmianę (pierwsze pokazanie stoi). */
|
|
29
|
+
live?: boolean;
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
interface AxisLabel {
|
|
@@ -51,6 +55,27 @@ interface LineSeriesVm {
|
|
|
51
55
|
area: string | null;
|
|
52
56
|
points: LinePoint[];
|
|
53
57
|
}
|
|
58
|
+
/** Odcinek od wartości poprzedniej do bieżącej (duch -> seria). */
|
|
59
|
+
interface DeltaTick {
|
|
60
|
+
x: number;
|
|
61
|
+
y1: number;
|
|
62
|
+
y2: number;
|
|
63
|
+
kind: KptDeltaKind;
|
|
64
|
+
}
|
|
65
|
+
/** Różnica nad punktem - wypływa i gaśnie. */
|
|
66
|
+
interface DeltaChip {
|
|
67
|
+
x: number;
|
|
68
|
+
y: number;
|
|
69
|
+
text: string;
|
|
70
|
+
kind: KptDeltaKind;
|
|
71
|
+
index: number;
|
|
72
|
+
}
|
|
73
|
+
interface LineGhostVm {
|
|
74
|
+
key: string;
|
|
75
|
+
path: string;
|
|
76
|
+
ticks: DeltaTick[];
|
|
77
|
+
chips: DeltaChip[];
|
|
78
|
+
}
|
|
54
79
|
interface LineVm {
|
|
55
80
|
plot: {
|
|
56
81
|
x: number;
|
|
@@ -63,9 +88,28 @@ interface LineVm {
|
|
|
63
88
|
valueLabels: AxisLabel[];
|
|
64
89
|
catLabels: AxisLabel[];
|
|
65
90
|
showPoints: boolean;
|
|
91
|
+
ghost: LineGhostVm[];
|
|
92
|
+
}
|
|
93
|
+
interface BarGhostVm {
|
|
94
|
+
key: string;
|
|
95
|
+
path: string;
|
|
96
|
+
/** Odcinek zmiany: prostokąt od końca słupka-ducha do końca bieżącego. */
|
|
97
|
+
delta: {
|
|
98
|
+
x: number;
|
|
99
|
+
y: number;
|
|
100
|
+
width: number;
|
|
101
|
+
height: number;
|
|
102
|
+
kind: KptDeltaKind;
|
|
103
|
+
};
|
|
66
104
|
}
|
|
67
105
|
interface BarVm {
|
|
68
106
|
orientation: 'vertical' | 'horizontal';
|
|
107
|
+
plot: {
|
|
108
|
+
x: number;
|
|
109
|
+
y: number;
|
|
110
|
+
width: number;
|
|
111
|
+
height: number;
|
|
112
|
+
};
|
|
69
113
|
bars: {
|
|
70
114
|
key: string;
|
|
71
115
|
path: string;
|
|
@@ -76,10 +120,12 @@ interface BarVm {
|
|
|
76
120
|
tipX: number;
|
|
77
121
|
tipY: number;
|
|
78
122
|
index: number;
|
|
123
|
+
cat: number;
|
|
79
124
|
}[];
|
|
80
125
|
grid: GridLine[];
|
|
81
126
|
valueLabels: AxisLabel[];
|
|
82
127
|
catLabels: AxisLabel[];
|
|
128
|
+
ghost: BarGhostVm[];
|
|
83
129
|
}
|
|
84
130
|
interface SliceVm {
|
|
85
131
|
key: string;
|
|
@@ -106,7 +152,12 @@ interface RadarVm {
|
|
|
106
152
|
/**
|
|
107
153
|
* Wykres SVG w pełni konfigurowalny przez obiekt `config`.
|
|
108
154
|
* Typy: line, bar, pie, doughnut, polarArea, radar. Sygnały + zoneless,
|
|
109
|
-
* natywne renderowanie SVG (bez manipulacji DOM). Rdzeń obliczeń:
|
|
155
|
+
* natywne renderowanie SVG (bez manipulacji DOM). Rdzeń obliczeń: `@konce-pt/chart`.
|
|
156
|
+
*
|
|
157
|
+
* Ruch: wejście w CSS (rysowanie linii, wzrost słupków); zmiana danych w tym samym wykresie -
|
|
158
|
+
* fala sprężyn od lewej z duchem poprzedniego stanu (`animation.update`, `animation.delta`);
|
|
159
|
+
* dymek jedzie między punktami z cyframi na bębnach (`tooltip.motion`). Systemowe "ogranicz ruch"
|
|
160
|
+
* i `provideKptMotion({ enabled: false })` wyłączają ruch sterowany z kodu.
|
|
110
161
|
*
|
|
111
162
|
* @example
|
|
112
163
|
* <kpt-chart [config]="{ type: 'line', labels: ['Sty','Lut','Mar'],
|
|
@@ -119,22 +170,52 @@ declare class KptChart {
|
|
|
119
170
|
/** Wysokość viewBoxa (jednostki SVG). */
|
|
120
171
|
readonly height: _angular_core.InputSignal<number>;
|
|
121
172
|
protected readonly i18n: KptI18n;
|
|
173
|
+
private readonly motionConfig;
|
|
174
|
+
private readonly uid;
|
|
122
175
|
/** Id opisu (`config.description`) dla `aria-describedby` wykresu. */
|
|
123
176
|
protected readonly descId: string;
|
|
177
|
+
/** Id gradientów smugi światła (linia i słupki). */
|
|
178
|
+
protected readonly sheenId: string;
|
|
124
179
|
/**
|
|
125
180
|
* Alternatywa tekstowa (WCAG 1.1.1): SVG `role="img"` dostaje nazwę (`ariaLabel` -> tytuł -> i18n),
|
|
126
181
|
* a dane idą do ukrytej wizualnie tabeli, po której czytnik chodzi komórka po komórce - dymek
|
|
127
|
-
* na najechanie jest dostępny tylko myszą.
|
|
182
|
+
* na najechanie jest dostępny tylko myszą. Tabela czyta config, nie klatki ruchu.
|
|
128
183
|
*/
|
|
129
184
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
130
185
|
protected readonly dataTable: _angular_core.Signal<_konce_pt_chart.KptChartDataTable>;
|
|
131
186
|
protected readonly hidden: _angular_core.WritableSignal<ReadonlySet<string>>;
|
|
132
187
|
protected readonly highlighted: _angular_core.WritableSignal<string | null>;
|
|
133
|
-
protected readonly tooltip: _angular_core.WritableSignal<KptChartTooltipState | null>;
|
|
134
188
|
/** Indeks kategorii pod kursorem (dla prowadnicy crosshair w wykresie liniowym). */
|
|
135
189
|
protected readonly activeIndex: _angular_core.WritableSignal<number | null>;
|
|
190
|
+
private readonly frame;
|
|
191
|
+
private readonly motion;
|
|
192
|
+
private prevConfig;
|
|
193
|
+
private hideTimer;
|
|
194
|
+
private lastTipIndex;
|
|
195
|
+
private readonly tipContent;
|
|
196
|
+
/** Fala z punktu docelowego dymka (wykres liniowy). */
|
|
197
|
+
protected readonly ripple: _angular_core.WritableSignal<{
|
|
198
|
+
id: number;
|
|
199
|
+
x: number;
|
|
200
|
+
y: number;
|
|
201
|
+
color: string;
|
|
202
|
+
}[]>;
|
|
203
|
+
/** Config z wartościami z bieżącej klatki ruchu - z niego liczy się geometria. */
|
|
204
|
+
protected readonly view: _angular_core.Signal<KptChartConfig>;
|
|
205
|
+
protected readonly tooltip: _angular_core.Signal<KptChartTooltipState | null>;
|
|
206
|
+
/**
|
|
207
|
+
* Smuga światła: pasmo gradientu biegnące wzdłuż osi kategorii razem z czołem fali (w poziomych
|
|
208
|
+
* słupkach z góry na dół). Współrzędne końców gradientu w jednostkach viewBoxa.
|
|
209
|
+
*/
|
|
210
|
+
protected readonly sheen: _angular_core.Signal<{
|
|
211
|
+
x1: number;
|
|
212
|
+
x2: number;
|
|
213
|
+
y1: number;
|
|
214
|
+
y2: number;
|
|
215
|
+
opacity: number;
|
|
216
|
+
} | null>;
|
|
136
217
|
protected readonly type: _angular_core.Signal<_konce_pt_chart.KptChartType>;
|
|
137
|
-
protected readonly anim: _angular_core.Signal<Required<KptAnimationOptions
|
|
218
|
+
protected readonly anim: _angular_core.Signal<Required<Pick<KptAnimationOptions, "duration" | "enabled" | "delay" | "stagger">>>;
|
|
138
219
|
protected readonly legendOpts: _angular_core.Signal<{
|
|
139
220
|
display: boolean;
|
|
140
221
|
position: _konce_pt_chart.KptLegendPosition;
|
|
@@ -146,6 +227,7 @@ declare class KptChart {
|
|
|
146
227
|
protected readonly subtitleOpts: _angular_core.Signal<_konce_pt_chart.KptTitleOptions | undefined>;
|
|
147
228
|
protected readonly titleStyle: _angular_core.Signal<string>;
|
|
148
229
|
protected readonly subtitleStyle: _angular_core.Signal<string>;
|
|
230
|
+
constructor();
|
|
149
231
|
protected readonly legendItems: _angular_core.Signal<KptChartLegendItem[]>;
|
|
150
232
|
protected readonly lineVm: _angular_core.Signal<LineVm | null>;
|
|
151
233
|
protected readonly barVm: _angular_core.Signal<BarVm | null>;
|
|
@@ -163,14 +245,26 @@ declare class KptChart {
|
|
|
163
245
|
pillW: number;
|
|
164
246
|
pillH: number;
|
|
165
247
|
} | null>;
|
|
166
|
-
|
|
167
|
-
|
|
248
|
+
/**
|
|
249
|
+
* Linia i słupki: najbliższa kategoria pod kursorem w całym obszarze wykresu. Dymek ma wiersze
|
|
250
|
+
* wszystkich widocznych serii i jedzie między kategoriami - przerwa między punktami go nie gasi.
|
|
251
|
+
*/
|
|
252
|
+
protected onCategoryMove(event: PointerEvent): void;
|
|
253
|
+
/** Wycinki i radar: dymek jednego elementu pod kursorem. */
|
|
168
254
|
protected showTip(tipX: number, tipY: number, name: string, label: string, value: number, color: string): void;
|
|
255
|
+
/** Ten sam punkt pod kursorem - dymek zostaje (i nie zgaśnie, jeśli właśnie miał). */
|
|
256
|
+
private keepTip;
|
|
257
|
+
private row;
|
|
258
|
+
private openTip;
|
|
169
259
|
protected hideTip(): void;
|
|
170
260
|
protected onToggle(key: string): void;
|
|
171
261
|
protected onHighlight(key: string | null): void;
|
|
172
262
|
/** Czy dany element ma być wygaszony (aktywne podświetlenie innego). */
|
|
173
263
|
protected dim(key: string): boolean;
|
|
264
|
+
/** Ruch sterowany z kodu: wyłącza go config, globalne `provideKptMotion` i systemowe "ogranicz ruch". */
|
|
265
|
+
private motionAllowed;
|
|
266
|
+
private tipMotion;
|
|
267
|
+
private onConfig;
|
|
174
268
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptChart, never>;
|
|
175
269
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptChart, "kpt-chart", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
176
270
|
}
|
|
@@ -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;;
|
|
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;;ACsBD,UAAU,SAAS;;;;AAIjB;AACD;AACD,UAAU,QAAQ;;;;;AAKjB;AACD,UAAU,SAAS;;;;;AAKlB;AACD,UAAU,YAAY;;;;;AAKpB;YACQ,SAAS;AAClB;AACD;AACA,UAAU,SAAS;;;;UAIX,YAAY;AACnB;AACD;AACA,UAAU,SAAS;;;;UAIX,YAAY;;AAEnB;AACD,UAAU,WAAW;;;WAGZ,SAAS;WACT,SAAS;AACjB;AACD,UAAU,MAAM;AACd;;;;;;YACQ,YAAY;UACd,QAAQ;iBACD,SAAS;eACX,SAAS;;WAEb,WAAW;AACnB;AACD,UAAU,UAAU;;;;AAIlB;;;;;cAAoE,YAAY;;AACjF;AACD,UAAU,KAAK;AACb;AACA;;;;;;AACA;;;;;;;;;;;AAAsJ;UAChJ,QAAQ;iBACD,SAAS;eACX,SAAS;WACb,UAAU;AAClB;AACD,UAAU,OAAO;;;;;;;;AAQhB;AACD,UAAU,aAAa;;;;;YAKb,SAAS;AAClB;AACD,UAAU,OAAO;;eAEJ,QAAQ;gBACP,SAAS;YACb,aAAa;AACtB;AAeD;;;;;;;;;;;;;AAaG;AACH,cAea,QAAQ;qBACJ,aAAA,CAAA,WAAA,CAAA,cAAA;;oBAED,aAAA,CAAA,WAAA;;qBAEC,aAAA,CAAA,WAAA;AAEf,6BAAuB,OAAA;AACvB;AACA;;AAEA;;AAEA;AACA;;;;AAIG;AACH,uCAAiC,aAAA,CAAA,MAAA;AACjC,kCAA4B,aAAA,CAAA,MAAA,CAAA,eAAA,CAAA,iBAAA;AAG5B,+BAAyB,aAAA,CAAA,cAAA,CAAA,WAAA;AACzB,oCAA8B,aAAA,CAAA,cAAA;;AAE9B,oCAA8B,aAAA,CAAA,cAAA;AAG9B;AACA;;;;AAIA;;+BAEyB,aAAA,CAAA,cAAA;;;;;AAAqE;;AAG9F,6BAAuB,aAAA,CAAA,MAAA,CAAA,cAAA;AAOvB,gCAA0B,aAAA,CAAA,MAAA,CAAA,oBAAA;AAO1B;;;AAGG;8BACqB,aAAA,CAAA,MAAA;;;;;;AAWrB;AAGH,6BAAuB,aAAA,CAAA,MAAA,CAAA,eAAA,CAAA,YAAA;AACvB,6BAAuB,aAAA,CAAA,MAAA,CAAA,QAAA,CAAA,IAAA,CAAA,mBAAA;mCAIM,aAAA,CAAA,MAAA;;;;;;AAS1B;AACH,kCAA4B,aAAA,CAAA,MAAA,CAAA,eAAA,CAAA,eAAA;AAC5B,qCAA+B,aAAA,CAAA,MAAA,CAAA,eAAA,CAAA,eAAA;AAE/B,mCAA6B,aAAA,CAAA,MAAA;AAC7B,sCAAgC,aAAA,CAAA,MAAA;;AAehC,oCAA8B,aAAA,CAAA,MAAA,CAAA,kBAAA;AAgB9B,+BAAyB,aAAA,CAAA,MAAA,CAAA,MAAA;AAkEzB,8BAAwB,aAAA,CAAA,MAAA,CAAA,KAAA;AAmFxB,8BAAwB,aAAA,CAAA,MAAA,CAAA,OAAA;AAuBxB,gCAA0B,aAAA,CAAA,MAAA,CAAA,OAAA;kCAmCE,aAAA,CAAA,MAAA;;;;;;;;;;;AAuBzB;AAGH;;;AAGG;AACH,oCAAgC,YAAY;;;;AAuC5C;AAMA;AAKA;;AAsBA;;;AAYA;;AAOA;AAKA;AAIA;oDA1cW,QAAQ;sDAAR,QAAQ;AAkepB;;;;","names":[]}
|
|
@@ -349,6 +349,7 @@ declare class KptMenu<T = unknown> {
|
|
|
349
349
|
protected readonly panelId: string;
|
|
350
350
|
/** Którą pozycję skupić po otwarciu - strzałka w górę na wyzwalaczu otwiera "od końca". */
|
|
351
351
|
private focusEdge;
|
|
352
|
+
protected readonly viewportMargin = 8;
|
|
352
353
|
protected readonly positions: ConnectedPosition[];
|
|
353
354
|
constructor();
|
|
354
355
|
protected toggle(): void;
|
|
@@ -391,6 +392,7 @@ declare class KptSplitButton<T = unknown> {
|
|
|
391
392
|
private readonly panel;
|
|
392
393
|
/** Którą pozycję skupić po otwarciu - strzałka w górę na przycisku otwiera "od końca". */
|
|
393
394
|
private focusEdge;
|
|
395
|
+
protected readonly viewportMargin = 8;
|
|
394
396
|
protected readonly positions: ConnectedPosition[];
|
|
395
397
|
protected toggle(): void;
|
|
396
398
|
/** Strzałki na przycisku otwierają menu (albo przenoszą do niego fokus, gdy już jest otwarte). */
|
|
@@ -1440,6 +1442,7 @@ declare class KptSelect<T = unknown> implements FormValueControl<unknown>, KptFo
|
|
|
1440
1442
|
private readonly injector;
|
|
1441
1443
|
private readonly typeahead;
|
|
1442
1444
|
protected readonly panelMinWidth: _angular_core.WritableSignal<number>;
|
|
1445
|
+
protected readonly viewportMargin = 8;
|
|
1443
1446
|
protected readonly positions: ConnectedPosition[];
|
|
1444
1447
|
constructor();
|
|
1445
1448
|
protected optionId(i: number): string;
|
|
@@ -1598,6 +1601,7 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1598
1601
|
/** Tarcza zamiast siatek: tryb 'time' zawsze, 'datetime' po wejściu w pasek czasu. */
|
|
1599
1602
|
protected readonly showClock: _angular_core.Signal<boolean>;
|
|
1600
1603
|
protected readonly hasFooter: _angular_core.Signal<boolean>;
|
|
1604
|
+
protected readonly viewportMargin = 8;
|
|
1601
1605
|
protected readonly positions: ConnectedPosition[];
|
|
1602
1606
|
constructor();
|
|
1603
1607
|
/** Dzień i komórka, na które trafi fokus po otwarciu albo zmianie poziomu. */
|
|
@@ -1978,6 +1982,7 @@ declare class KptRichText implements FormValueControl<string> {
|
|
|
1978
1982
|
protected readonly canIndent: _angular_core.WritableSignal<boolean>;
|
|
1979
1983
|
protected readonly canOutdent: _angular_core.WritableSignal<boolean>;
|
|
1980
1984
|
protected readonly currentBlock: _angular_core.WritableSignal<string>;
|
|
1985
|
+
protected readonly viewportMargin = 8;
|
|
1981
1986
|
protected readonly positions: ConnectedPosition[];
|
|
1982
1987
|
/** Sekcje paska (normalizacja płaskiej listy do jednej grupy). */
|
|
1983
1988
|
protected readonly sections: _angular_core.Signal<KptRichTool[][]>;
|
|
@@ -2505,6 +2510,7 @@ declare class KptDateRange implements FormValueControl<KptDateRangeValue> {
|
|
|
2505
2510
|
protected readonly timeEnd: _angular_core.WritableSignal<"start" | "end">;
|
|
2506
2511
|
private readonly startDate;
|
|
2507
2512
|
private readonly endDate;
|
|
2513
|
+
protected readonly viewportMargin = 8;
|
|
2508
2514
|
protected readonly positions: ConnectedPosition[];
|
|
2509
2515
|
protected readonly panelCount: _angular_core.Signal<number>;
|
|
2510
2516
|
protected readonly multi: _angular_core.Signal<boolean>;
|
|
@@ -5180,6 +5186,7 @@ declare class KptPopover {
|
|
|
5180
5186
|
private readonly injector;
|
|
5181
5187
|
private readonly panel;
|
|
5182
5188
|
protected readonly panelId: string;
|
|
5189
|
+
protected readonly viewportMargin = 8;
|
|
5183
5190
|
protected readonly positions: _angular_core.Signal<ConnectedPosition[]>;
|
|
5184
5191
|
constructor();
|
|
5185
5192
|
protected toggle(): void;
|
|
@@ -5249,6 +5256,7 @@ declare class KptPeek {
|
|
|
5249
5256
|
private timer?;
|
|
5250
5257
|
readonly isOpen: _angular_core.Signal<boolean>;
|
|
5251
5258
|
readonly pinned: _angular_core.Signal<boolean>;
|
|
5259
|
+
protected readonly viewportMargin = 8;
|
|
5252
5260
|
protected readonly positions: _angular_core.Signal<ConnectedPosition[]>;
|
|
5253
5261
|
constructor();
|
|
5254
5262
|
/** Najazd kursora - na trigger albo na samą kartę. */
|
|
@@ -5423,6 +5431,7 @@ declare class KptAutocomplete implements FormValueControl<string> {
|
|
|
5423
5431
|
protected readonly field: _konce_pt_angular.KptFieldA11y;
|
|
5424
5432
|
protected readonly open: _angular_core.WritableSignal<boolean>;
|
|
5425
5433
|
protected readonly activeIndex: _angular_core.WritableSignal<number>;
|
|
5434
|
+
protected readonly viewportMargin = 8;
|
|
5426
5435
|
protected readonly positions: ConnectedPosition[];
|
|
5427
5436
|
protected readonly i18n: KptI18n;
|
|
5428
5437
|
protected readonly filtered: _angular_core.Signal<readonly string[]>;
|
|
@@ -5547,6 +5556,7 @@ declare class KptMenubar<T = unknown> {
|
|
|
5547
5556
|
private readonly baseId;
|
|
5548
5557
|
/** Którą pozycję pod-menu skupić po otwarciu - strzałka w górę otwiera "od końca". */
|
|
5549
5558
|
private focusEdge;
|
|
5559
|
+
protected readonly viewportMargin = 8;
|
|
5550
5560
|
protected readonly positions: ConnectedPosition[];
|
|
5551
5561
|
/**
|
|
5552
5562
|
* Pozycja z `url` (bez pod-menu, niewyłączona) renderuje się jako `<a href>` - nawigację robi
|
|
@@ -5613,6 +5623,7 @@ declare class KptMegamenu<T = unknown> {
|
|
|
5613
5623
|
protected readonly panelId: string;
|
|
5614
5624
|
/** Który odnośnik skupić po otwarciu - strzałka w górę otwiera "od końca". */
|
|
5615
5625
|
private focusEdge;
|
|
5626
|
+
protected readonly viewportMargin = 8;
|
|
5616
5627
|
protected readonly positions: ConnectedPosition[];
|
|
5617
5628
|
/**
|
|
5618
5629
|
* Pozycja z `url` (bez kolumn, niewyłączona) renderuje się jako `<a href>` - nawigację robi
|