@konce-pt/angular 0.11.1 → 0.12.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 +261 -0
- package/charts/src/lib/llms.txt +8 -0
- package/chat/src/lib/llms.txt +9 -0
- package/fesm2022/konce-pt-angular-charts.mjs +141 -60
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-chat.mjs +70 -18
- package/fesm2022/konce-pt-angular-chat.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-icons.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-map.mjs +62 -23
- package/fesm2022/konce-pt-angular-map.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-roadmap.mjs +103 -17
- package/fesm2022/konce-pt-angular-roadmap.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs +3613 -2119
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/map/src/lib/llms.txt +1 -0
- package/package.json +11 -11
- package/roadmap/src/lib/llms.txt +11 -1
- package/src/lib/alert/llms.txt +1 -0
- package/src/lib/app-shell/llms.txt +3 -2
- package/src/lib/auth/llms.txt +6 -2
- package/src/lib/autocomplete/llms.txt +3 -0
- package/src/lib/bottom-sheet/llms.txt +3 -0
- package/src/lib/breadcrumb/llms.txt +8 -0
- package/src/lib/button-group/llms.txt +33 -29
- package/src/lib/checkbox/llms.txt +3 -0
- package/src/lib/chips-input/llms.txt +3 -0
- package/src/lib/color-picker/llms.txt +3 -0
- package/src/lib/confirm/llms.txt +6 -0
- package/src/lib/context-menu/llms.txt +3 -0
- package/src/lib/data-table/llms.txt +22 -10
- package/src/lib/date-range/llms.txt +20 -1
- package/src/lib/datepicker/llms.txt +21 -4
- package/src/lib/dialog/llms.txt +3 -0
- package/src/lib/divider/llms.txt +1 -0
- package/src/lib/drawer/llms.txt +3 -0
- package/src/lib/file-upload/llms.txt +3 -0
- package/src/lib/i18n/llms.txt +7 -0
- package/src/lib/icon/llms.txt +1 -1
- package/src/lib/input-mask/llms.txt +3 -0
- package/src/lib/input-number/llms.txt +5 -2
- package/src/lib/input-otp/llms.txt +11 -0
- package/src/lib/knob/llms.txt +4 -2
- package/src/lib/listbox/llms.txt +3 -0
- package/src/lib/megamenu/llms.txt +11 -0
- package/src/lib/menubar/llms.txt +11 -0
- package/src/lib/order-list/llms.txt +3 -0
- package/src/lib/password/llms.txt +5 -1
- package/src/lib/peek/llms.txt +1 -1
- package/src/lib/pick-list/llms.txt +3 -0
- package/src/lib/popover/llms.txt +3 -0
- package/src/lib/radio-group/llms.txt +3 -0
- package/src/lib/rich-text/llms.txt +13 -0
- package/src/lib/select/llms.txt +3 -0
- package/src/lib/slider/llms.txt +3 -0
- package/src/lib/stepper/llms.txt +3 -0
- package/src/lib/switch/llms.txt +3 -0
- package/src/lib/switch-group/llms.txt +3 -0
- package/src/lib/tabs/llms.txt +3 -0
- package/src/lib/toast/llms.txt +3 -0
- package/src/lib/tooltip/llms.txt +55 -44
- package/src/lib/tree/llms.txt +1 -0
- package/types/konce-pt-angular-charts.d.ts +11 -0
- package/types/konce-pt-angular-charts.d.ts.map +1 -1
- package/types/konce-pt-angular-chat.d.ts +16 -1
- package/types/konce-pt-angular-chat.d.ts.map +1 -1
- package/types/konce-pt-angular-map.d.ts +14 -2
- package/types/konce-pt-angular-map.d.ts.map +1 -1
- package/types/konce-pt-angular-roadmap.d.ts +26 -1
- package/types/konce-pt-angular-roadmap.d.ts.map +1 -1
- package/types/konce-pt-angular.d.ts +518 -153
- package/types/konce-pt-angular.d.ts.map +1 -1
|
@@ -13,7 +13,11 @@ Import: `import { KptPassword } from '@konce-pt/angular';`
|
|
|
13
13
|
- `disabled`/`invalid`/`touched`: boolean; `touch`: output
|
|
14
14
|
|
|
15
15
|
## Password strength
|
|
16
|
-
A 0–4 score
|
|
16
|
+
A 0–4 score. The score follows length first, not composition rules (NIST SP 800-63B advises against them): an
|
|
17
|
+
approximate entropy over the character classes actually used, cut for repeats (`aaaa`), sequences
|
|
18
|
+
(`abcd`, `1234`, `qwerty`) and the "Word + digits + symbol" shape. `Password1!` is weak, thirty
|
|
19
|
+
lowercase letters are strong, and `ą`/`ż` are letters, not special characters. There is no
|
|
20
|
+
dictionary — it is a hint, not a security control. Colors: danger→warning→info→success.
|
|
17
21
|
|
|
18
22
|
## Example
|
|
19
23
|
<kpt-password [formField]="f.password" feedback />
|
package/src/lib/peek/llms.txt
CHANGED
|
@@ -34,7 +34,7 @@ travel from the trigger to the card, so entering the card cancels the close. Foc
|
|
|
34
34
|
delay (a keyboard does not sweep across elements by accident). A click, Enter or a tap **pins** the
|
|
35
35
|
card: it stays after the pointer leaves and focus moves inside it. That is the only route to the
|
|
36
36
|
card's content where there is no hover at all, so interactive content stays reachable on touch and
|
|
37
|
-
from the keyboard. Escape closes it and hands focus back to the trigger; so does a click outside.
|
|
37
|
+
from the keyboard. Escape closes it and hands focus back to the trigger; so does a click outside. Escape on the trigger itself closes a card opened by hover or focus without moving focus (WCAG 1.4.13); with the card closed the key passes through to an enclosing dialog.
|
|
38
38
|
|
|
39
39
|
## Accessibility
|
|
40
40
|
The trigger keeps its own role (a link stays a link) and carries `aria-expanded` plus
|
|
@@ -41,3 +41,6 @@ Each list is named after its header (`aria-label`). The four move buttons are la
|
|
|
41
41
|
dictionary, so "move all right" is distinguishable from "move right" without seeing the double
|
|
42
42
|
chevron. Native HTML5 drag and drop has no keyboard equivalent — `Enter` and the buttons cover
|
|
43
43
|
everything it does, and `dragdrop` adds to them, it never replaces them.
|
|
44
|
+
|
|
45
|
+
## Announcements and buttons
|
|
46
|
+
A transfer between the lists is announced in a polite live region: `pickList.moved` with `{count}` and `{list}` (the target header). The move buttons carry `aria-disabled` when there is nothing to move (no selection, empty list) — they stay focusable, so focus does not drop to `<body>` when the selection clears after a move.
|
package/src/lib/popover/llms.txt
CHANGED
|
@@ -26,3 +26,6 @@ a modal.
|
|
|
26
26
|
|
|
27
27
|
## Tokens
|
|
28
28
|
`--kpt-color-surface-raised`, `--kpt-elevation-3`.
|
|
29
|
+
|
|
30
|
+
## Name and Escape
|
|
31
|
+
Give the panel `ariaLabel` — it is a `role="dialog"`. Escape closes only the top-most panel and does not reach an enclosing `<dialog>`, so a popover inside a dialog closes alone.
|
|
@@ -54,6 +54,11 @@ they are inert, so they open no new door.
|
|
|
54
54
|
- The toolbar is a named `role="toolbar"` ("Formatting", `richText.toolbar`) with one Tab stop:
|
|
55
55
|
`←`/`→` (mirrored in RTL) and `Home`/`End` move between tools, skipping disabled ones; the stop
|
|
56
56
|
remembers the last tool, so Tab from the toolbar goes straight to the editor.
|
|
57
|
+
- Tool panels open in the overlay container at the end of `<body>`, so focus moves into them:
|
|
58
|
+
the paragraph style list is a `listbox` (`↑`/`↓`, `Home`/`End`, `Enter`/`Space` picks, `Escape`/`Tab` close);
|
|
59
|
+
the table grid is one stop (arrows change the size 1–8, the size is announced, `Enter` inserts);
|
|
60
|
+
the colour palette starts on the first swatch (`←`/`→` between swatches, `Tab` cycles inside the
|
|
61
|
+
panel). `Escape` closes any of them and returns focus to the tool.
|
|
57
62
|
- Tab / Shift+Tab inside a list item = indent / one level up (the same as `indent`/`outdent`).
|
|
58
63
|
- Tab / Shift+Tab inside a table cell = the next / previous cell (with its content selected).
|
|
59
64
|
A list inside a cell takes precedence — only once it can no longer be indented does Tab move to another cell.
|
|
@@ -77,6 +82,11 @@ Pasting (both native and through the buttons) is sanitized (a tag/style allowlis
|
|
|
77
82
|
Sanitization covers **every** write into the editor's DOM, not just paste — including a `value` set from
|
|
78
83
|
outside (`[(value)]`/`formField` from the application, the HTML source mode). Treat an incoming `value` as
|
|
79
84
|
potentially untrusted (a database, another user, a CMS); on the way out of the component it is sanitized.
|
|
85
|
+
Links keep only relative addresses and `http(s):`, `mailto:`, `tel:` — the same allowlist as the link tool, so
|
|
86
|
+
`data:`, `vbscript:` or `blob:` from a paste are dropped. `class` keeps only the editor's own classes
|
|
87
|
+
(`kpt-rt-*`, `kpt-mention`), a link with `target` always gets `rel="noopener noreferrer"`, and when the
|
|
88
|
+
sanitizer removed something, the cleaned HTML is written back to `value` — the model never holds the
|
|
89
|
+
unsafe original (a pure formatting difference does not touch it, so a clean value does not dirty a form).
|
|
80
90
|
The "paste"/"paste without formatting" clipboard tools use the async Clipboard API (which needs browser permission).
|
|
81
91
|
An exception to execCommand: list indentation is done with our own DOM code — `execCommand('indent')` produces
|
|
82
92
|
invalid `ul > ul` in Chrome (or a `blockquote` with a margin, which the sanitizer would strip anyway).
|
|
@@ -95,3 +105,6 @@ with a role is not named by `label[for]`, so inside `kpt-form-field` it gets `ar
|
|
|
95
105
|
pointing at the wrapper's label (unless `ariaLabel` is set), and the hint or error is added to
|
|
96
106
|
`aria-describedby`. No `controlId` needed. New: `id`, `ariaLabel` and `required` (→ `aria-required`)
|
|
97
107
|
on the `role="textbox"` area.
|
|
108
|
+
|
|
109
|
+
## Read-only and required
|
|
110
|
+
`readonly` keeps the content selectable and copyable but not editable (`aria-readonly`); the toolbar is disabled.
|
package/src/lib/select/llms.txt
CHANGED
|
@@ -56,3 +56,6 @@ gets the same name as the trigger.
|
|
|
56
56
|
|
|
57
57
|
## Tokens
|
|
58
58
|
`--kpt-form-field-{bg,text,border,border-hover,border-focus,border-error,radius}`.
|
|
59
|
+
|
|
60
|
+
## Read-only and required
|
|
61
|
+
`readonly` shows the choice, but the panel does not open and the chips have no remove button (`aria-readonly`). The filter ignores case and diacritics ("lodz" finds "Łódź"), as in `listbox`. "No results" sits next to the list, not inside it (a listbox may contain only options).
|
package/src/lib/slider/llms.txt
CHANGED
|
@@ -36,3 +36,6 @@ Minimum". `id` goes to the single input or the lower thumb.
|
|
|
36
36
|
|
|
37
37
|
## Tokens
|
|
38
38
|
The track is filled with `--kpt-color-primary`, the background is `--kpt-color-surface-variant`.
|
|
39
|
+
|
|
40
|
+
## Read-only and required
|
|
41
|
+
`readonly` keeps the thumb focusable but undoes every move (`aria-readonly`). The range thumbs can no longer cross: the clamped value is written back to the native input, so the thumb stops at the other one. `slider` does not accept `aria-required` — the field asterisk and the validator carry it.
|
package/src/lib/stepper/llms.txt
CHANGED
|
@@ -27,3 +27,6 @@ announces how many there are. Each marker is named from the dictionary — `step
|
|
|
27
27
|
number or a check; the visible label is `aria-hidden` so it is not read twice. The active marker
|
|
28
28
|
carries `aria-current="step"`. After `next()` focus stays where it was — move it into the new step
|
|
29
29
|
yourself when the step is long.
|
|
30
|
+
|
|
31
|
+
## Inactive content is destroyed
|
|
32
|
+
Switching renders the new panel from scratch (that is what the enter animation starts from), so local state inside the previous one — an unsent file upload, expanded sections, scroll position — is lost. Keep such state in your own model, outside the panel.
|
package/src/lib/switch/llms.txt
CHANGED
|
@@ -26,3 +26,6 @@ error is added to `aria-describedby`, so `controlId` is not needed. Without a wr
|
|
|
26
26
|
|
|
27
27
|
## Tokens
|
|
28
28
|
`--kpt-color-primary`, `--kpt-color-border-strong`, `--kpt-color-surface`, `--kpt-elevation-1`.
|
|
29
|
+
|
|
30
|
+
## Read-only and required
|
|
31
|
+
`readonly` keeps the switch focusable but blocks toggling (`aria-readonly`); `required` sets `aria-required`.
|
|
@@ -33,3 +33,6 @@ another off — for a single choice prefer `kpt-radio-group`.
|
|
|
33
33
|
with a role is not named by `label[for]`, so inside `kpt-form-field` it gets `aria-labelledby`
|
|
34
34
|
pointing at the wrapper's label (unless `ariaLabel` is set), and the hint or error is added to
|
|
35
35
|
`aria-describedby`. No `controlId` needed. New: `id` and `ariaLabel` on the `group`.
|
|
36
|
+
|
|
37
|
+
## Read-only and required
|
|
38
|
+
`readonly` is passed to every switch. With `allowDeselect=false` turning the active switch off puts it back on — before, the switch looked off while the group value said it was on.
|
package/src/lib/tabs/llms.txt
CHANGED
|
@@ -26,3 +26,6 @@ wrapping at the ends, `Home`/`End` jump to the first/last one, and disabled tabs
|
|
|
26
26
|
Moving activates the tab straight away; the next `Tab` goes to the panel (`tabindex="0"`).
|
|
27
27
|
Each tab has an `id`, the active one points at the panel with `aria-controls`, and the panel is
|
|
28
28
|
named by the active tab (`aria-labelledby`).
|
|
29
|
+
|
|
30
|
+
## Inactive content is destroyed
|
|
31
|
+
Switching renders the new panel from scratch (that is what the enter animation starts from), so local state inside the previous one — an unsent file upload, expanded sections, scroll position — is lost. Keep such state in your own model, outside the panel.
|
package/src/lib/toast/llms.txt
CHANGED
|
@@ -38,3 +38,6 @@ text twice is announced twice, and a dismissed toast never re-announces an older
|
|
|
38
38
|
are toasts the stack is `role="region"` named `toast.region` (“Notifications”). Pointer or focus on
|
|
39
39
|
the stack pauses every timer (WCAG 2.2.1); the timers resume with the time that was left. The close
|
|
40
40
|
button is labelled from `common.close`.
|
|
41
|
+
|
|
42
|
+
## Toasts with an action
|
|
43
|
+
A toast with `action` does not close by itself (`duration` defaults to 0): a keyboard or screen-reader user cannot reach the "Undo" button at the end of the page within four seconds (WCAG 2.2.1). An explicit `duration` still wins.
|
package/src/lib/tooltip/llms.txt
CHANGED
|
@@ -1,45 +1,56 @@
|
|
|
1
|
-
# KptTooltip (kptTooltip)
|
|
2
|
-
|
|
3
|
-
A directive for a tooltip shown on hover/focus. Lightweight — the element is appended to
|
|
4
|
-
`body` and positioned relative to the host (works in zoneless mode).
|
|
5
|
-
Import: `import { KptTooltip } from '@konce-pt/angular';`
|
|
6
|
-
|
|
7
|
-
## Selector (attribute)
|
|
8
|
-
`[kptTooltip]`
|
|
9
|
-
|
|
10
|
-
## Inputs
|
|
11
|
-
- `kptTooltip`: string (the content, required) — empty content disables the tooltip
|
|
12
|
-
- `kptTooltipPosition`: 'top'|'bottom'|'left'|'right' (default 'top')
|
|
13
|
-
- `kptTooltipOnlyWhenTruncated`: boolean (default false) — shows the tooltip only when
|
|
14
|
-
the content does not fit the element (it is cut off with an ellipsis)
|
|
15
|
-
|
|
16
|
-
##
|
|
17
|
-
|
|
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
|
-
|
|
1
|
+
# KptTooltip (kptTooltip)
|
|
2
|
+
|
|
3
|
+
A directive for a tooltip shown on hover/focus. Lightweight — the element is appended to
|
|
4
|
+
`body` and positioned relative to the host (works in zoneless mode).
|
|
5
|
+
Import: `import { KptTooltip } from '@konce-pt/angular';`
|
|
6
|
+
|
|
7
|
+
## Selector (attribute)
|
|
8
|
+
`[kptTooltip]`
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- `kptTooltip`: string (the content, required) — empty content disables the tooltip
|
|
12
|
+
- `kptTooltipPosition`: 'top'|'bottom'|'left'|'right' (default 'top') — the preferred side; see below
|
|
13
|
+
- `kptTooltipOnlyWhenTruncated`: boolean (default false) — shows the tooltip only when
|
|
14
|
+
the content does not fit the element (it is cut off with an ellipsis)
|
|
15
|
+
|
|
16
|
+
## Side
|
|
17
|
+
The bubble goes on the first side that works, in this order: the preferred one, the opposite one,
|
|
18
|
+
then the two others. A side works when the bubble fits in the viewport **and** the host's edge on
|
|
19
|
+
that side is not covered — checked with `elementFromPoint` just inside the edge, so a button tucked
|
|
20
|
+
under a sticky header gets its bubble below, not floating over the header. When no side works, the
|
|
21
|
+
preferred one stays. The bubble is then clamped to the viewport (4 px margin), and `data-side` on
|
|
22
|
+
it names the side that won. The check runs again on scroll and resize.
|
|
23
|
+
|
|
24
|
+
## A tooltip only for truncated text
|
|
25
|
+
With `kptTooltipOnlyWhenTruncated` the tooltip does not repeat text that is visible anyway.
|
|
26
|
+
Overflow is measured on the host **and on its direct children** — `text-overflow:
|
|
27
|
+
ellipsis` usually sits on an inner element, and such an element shrinks to the available width
|
|
28
|
+
without stretching its parent, so measuring the host alone would detect nothing. When the text is deeper
|
|
29
|
+
than one level, put the directive on its direct parent.
|
|
30
|
+
|
|
31
|
+
The check happens at hover (or focus) time, not at render — so the result is always
|
|
32
|
+
current after a change in width, zoom or layout, with no `ResizeObserver`.
|
|
33
|
+
|
|
34
|
+
<span class="ellipsis" [kptTooltip]="name" kptTooltipOnlyWhenTruncated>{{ name }}</span>
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
<kpt-button kptTooltip="Save changes" kptTooltipPosition="bottom">Save</kpt-button>
|
|
38
|
+
<span kptTooltip="More information">?</span>
|
|
39
|
+
|
|
40
|
+
## Accessibility
|
|
41
|
+
- The bubble appears on hover and on keyboard focus. Focus is tracked with `focusin`/`focusout`,
|
|
42
|
+
so it also works when the focus lands on an inner element (`kpt-button`, `kpt-icon-button`).
|
|
43
|
+
- The text reaches screen readers through a persistent, hidden description linked with
|
|
44
|
+
`aria-describedby` to the element that actually takes focus (the bubble itself only exists while
|
|
45
|
+
shown). It is skipped when it would repeat the element's name (an icon button whose label equals
|
|
46
|
+
the tooltip) and with `onlyWhenTruncated`, where the text is already in the DOM; the visible
|
|
47
|
+
bubble is then `aria-hidden`.
|
|
48
|
+
- `Escape` closes the bubble, and the pointer can move onto it without it disappearing (a 120 ms
|
|
49
|
+
grace period) — WCAG 1.4.13.
|
|
50
|
+
- It does NOT replace an accessible name — an icon-only button still needs its own label.
|
|
51
|
+
|
|
52
|
+
## Tokens
|
|
45
53
|
Background `--kpt-color-on-surface`, text `--kpt-color-surface` (contrast in both themes), `--kpt-elevation-2`.
|
|
54
|
+
|
|
55
|
+
## Styling and the top layer
|
|
56
|
+
The bubble is styled by `.kpt-tooltip` from `@konce-pt/styles`, in the `kpt.components` layer — override it from your own CSS without `!important`; only `position: fixed` and the coordinates stay inline. Inside an open `<dialog>` or popover the bubble is attached to that element, because a modal dialog lives in the top layer and anything outside it is hidden behind it regardless of `z-index`. A hover shows the bubble after 300 ms (sliding across a toolbar does not light every icon); focus shows it at once. Changing the text while the bubble is visible updates it.
|
package/src/lib/tree/llms.txt
CHANGED
|
@@ -33,6 +33,7 @@ selectable trees `aria-selected`, disabled rows `aria-disabled`. The chevron is
|
|
|
33
33
|
(`aria-hidden`): a button inside a `treeitem` would be a nested control and a second Tab stop per
|
|
34
34
|
row, and the keyboard expands with the arrows anyway. The focus ring is drawn on the row, not on the
|
|
35
35
|
`<li>`, which would outline the whole subtree.
|
|
36
|
+
`ariaLabel` names the `role="tree"` element (e.g. "Project files") — without it a screen reader announces a bare "tree".
|
|
36
37
|
|
|
37
38
|
## Tokens
|
|
38
39
|
Row hover `--kpt-color-surface-variant`; the selected row `--kpt-color-primary`.
|
|
@@ -2,6 +2,7 @@ import * as _konce_pt_chart from '@konce-pt/chart';
|
|
|
2
2
|
import { KptChartConfig, KptAnimationOptions, KptAlign } 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
|
+
import { KptI18n } from '@konce-pt/angular';
|
|
5
6
|
|
|
6
7
|
interface KptChartLegendItem {
|
|
7
8
|
key: string;
|
|
@@ -117,6 +118,16 @@ declare class KptChart {
|
|
|
117
118
|
readonly width: _angular_core.InputSignal<number>;
|
|
118
119
|
/** Wysokość viewBoxa (jednostki SVG). */
|
|
119
120
|
readonly height: _angular_core.InputSignal<number>;
|
|
121
|
+
protected readonly i18n: KptI18n;
|
|
122
|
+
/** Id opisu (`config.description`) dla `aria-describedby` wykresu. */
|
|
123
|
+
protected readonly descId: string;
|
|
124
|
+
/**
|
|
125
|
+
* Alternatywa tekstowa (WCAG 1.1.1): SVG `role="img"` dostaje nazwę (`ariaLabel` → tytuł → i18n),
|
|
126
|
+
* 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ą.
|
|
128
|
+
*/
|
|
129
|
+
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
130
|
+
protected readonly dataTable: _angular_core.Signal<_konce_pt_chart.KptChartDataTable>;
|
|
120
131
|
protected readonly hidden: _angular_core.WritableSignal<ReadonlySet<string>>;
|
|
121
132
|
protected readonly highlighted: _angular_core.WritableSignal<string | null>;
|
|
122
133
|
protected readonly tooltip: _angular_core.WritableSignal<KptChartTooltipState | null>;
|
|
@@ -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":"
|
|
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;;UCNgB,kBAAkB;;;;AAIlC;UAEgB,oBAAoB;;;;;;UAM7B,kBAAkB;AACzB;;ACiBD,UAAU,SAAS;;;;AAIjB;AACD;AACD,UAAU,QAAQ;;;;;AAKjB;AACD,UAAU,SAAS;;;;;AAKlB;AACD,UAAU,YAAY;;;;;AAKpB;YACQ,SAAS;AAClB;AACD,UAAU,MAAM;AACd;;;;;;YACQ,YAAY;UACd,QAAQ;iBACD,SAAS;eACX,SAAS;;AAErB;AACD,UAAU,KAAK;AACb;AACA;;;;;;;;;;AAAyI;UACnI,QAAQ;iBACD,SAAS;eACX,SAAS;AACrB;AACD,UAAU,OAAO;;;;;;;;AAQhB;AACD,UAAU,aAAa;;;;;YAKb,SAAS;AAClB;AACD,UAAU,OAAO;;eAEJ,QAAQ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>;
|
|
81
81
|
private lastCount;
|
|
82
82
|
private wasAtTop;
|
|
83
|
+
/** Id pierwszej wiadomości — jej zmiana przy wzroście listy to dociągnięta historia. */
|
|
84
|
+
private firstId;
|
|
85
|
+
/** Wysokość treści z poprzedniego renderu — do kotwiczenia przewinięcia. */
|
|
86
|
+
private prevScrollHeight;
|
|
87
|
+
/** Zaplanowany pomiar pigułki dnia — najwyżej jeden na klatkę przy przewijaniu. */
|
|
88
|
+
private dayFrame;
|
|
89
|
+
/**
|
|
90
|
+
* Po doklejeniu historii na górze widok zostaje przy tej samej wiadomości. Przeglądarki
|
|
91
|
+
* z `overflow-anchor` robią to same; Safari go nie ma i bez tego lista skacze.
|
|
92
|
+
*/
|
|
93
|
+
private keepAnchor;
|
|
83
94
|
protected readonly rows: _angular_core.Signal<KptChatRow<T>[]>;
|
|
84
95
|
protected readonly viewRows: _angular_core.Signal<KptChatViewRow<T>[]>;
|
|
85
96
|
protected readonly pending: _angular_core.Signal<number>;
|
|
@@ -259,8 +270,12 @@ declare class KptChatComposer {
|
|
|
259
270
|
/** Wiadomość, na którą odpowiadamy. Po wysłaniu czyści się razem z treścią. */
|
|
260
271
|
readonly replyTo: _angular_core.ModelSignal<KptChatReplyRef | null>;
|
|
261
272
|
readonly send: _angular_core.OutputEmitterRef<KptChatComposerSubmit>;
|
|
262
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* Sygnał „piszę” dla drugiej strony: przy pierwszym znaku, a w trakcie pisania najwyżej raz na
|
|
275
|
+
* `KPT_CHAT_TYPING_THROTTLE_MS` (3 s) — nie przy każdym znaku.
|
|
276
|
+
*/
|
|
263
277
|
readonly typing: _angular_core.OutputEmitterRef<void>;
|
|
278
|
+
private lastTyping;
|
|
264
279
|
protected readonly i18n: KptI18n;
|
|
265
280
|
protected readonly files: _angular_core.WritableSignal<readonly File[]>;
|
|
266
281
|
protected readonly canSend: _angular_core.Signal<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"konce-pt-angular-chat.d.ts","sources":["../../chat/src/lib/chat.component.ts","../../chat/src/lib/chat-message.component.ts","../../chat/src/lib/chat-typing.component.ts","../../chat/src/lib/chat-composer.component.ts","../../chat/src/lib/chat-dock.component.ts"],"mappings":";;;;;;AAiCA;AACM,UAAW,iBAAiB;AAChC,aAASA,gBAAmB;;AAE7B;AAED;AACA,KAAK,kBAAkB;;;UAAsC,IAAI;WAAS,gBAAgB;;;AAC1F,KAAK,cAAc,MAAM,kBAAkB,GAAG,OAAO,CAAC,UAAU;;AAAqB;AAYrF;;;;;;;;;;;;;;;;AAgBG;AACH,cASa,OAAO;;uBAED,aAAA,CAAA,WAAA,UAAAA,gBAAA;;0BAEG,aAAA,CAAA,WAAA;;yBAED,aAAA,CAAA,WAAA;;yBAEA,aAAA,CAAA,WAAA;;sBAEH,aAAA,CAAA,wBAAA;;qBAED,aAAA,CAAA,WAAA,UAAA,aAAA;;yBAEI,aAAA,CAAA,wBAAA;;sBAEH,aAAA,CAAA,wBAAA;;8BAEQ,aAAA,CAAA,WAAA,UAAA,qBAAA;;yBAEL,aAAA,CAAA,WAAA;oBAEL,aAAA,CAAA,gBAAA,CAAAA,gBAAA;oBACA,aAAA,CAAA,gBAAA,CAAAA,gBAAA;;oBAEA,aAAA,CAAA,gBAAA,CAAA,iBAAA;qBACC,aAAA,CAAA,gBAAA,CAAA,eAAA;;uBAEE,aAAA,CAAA,gBAAA;AAEjB,6BAAuB,OAAA;AACvB,mCAA6B,aAAA,CAAA,MAAA,CAAA,WAAA;AAE7B;AACA;AACA;;AAGA,+BAAyB,aAAA,CAAA,cAAA;;AAEzB,iCAA2B,aAAA,CAAA,cAAA;;AAE3B,iCAA2B,aAAA,CAAA,cAAA;;AAE3B,mCAA6B,aAAA,CAAA,cAAA;;;
|
|
1
|
+
{"version":3,"file":"konce-pt-angular-chat.d.ts","sources":["../../chat/src/lib/chat.component.ts","../../chat/src/lib/chat-message.component.ts","../../chat/src/lib/chat-typing.component.ts","../../ch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BAAmB;+BAQ3C,mBAAmB;AAY9C,6BAAyB,gBAAgB;AAOzC,+BAA2B,IAAI;AAI/B;;;;AAIG;AACH;oDA/EW,eAAe;sDAAf,eAAe;AAuF3B;;KCpHW,mBAAmB;AAE/B;;;;;;;;;;;;;;;AAeG;AACH,cAYa,WAAW;mBACT,aAAA,CAAA,WAAA;uBACI,aAAA,CAAA,WAAA,CAAA,mBAAA;;qBAEF,aAAA,CAAA,WAAA;qBACA,aAAA,CAAA,WAAA;;mBAEF,aAAA,CAAA,WAAA;;oBAEC,aAAA,CAAA,WAAA;AACd;;;;AAIG;qBACY,aAAA,CAAA,WAAA;AAEf,6BAAuB,OAAA;AAEvB;AACA;AAEA,qCAA+B,aAAA,CAAA,MAAA;;;AAe/B;AAQA;;;AAGG;AACH;oDAjDW,WAAW;sDAAX,WAAW;AA4DvB;;;;","names":["KptChatMessageModel"]}
|
|
@@ -288,7 +288,7 @@ declare class KptMap<T = unknown> {
|
|
|
288
288
|
readonly cluster: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
289
289
|
readonly clusterOptions: _angular_core.InputSignal<Partial<Omit<KptClusterOptions, "zoom">>>;
|
|
290
290
|
/** `dominant` barwi grupę kolorem najliczniejszej kategorii. */
|
|
291
|
-
readonly clusterColorBy: _angular_core.InputSignal<"
|
|
291
|
+
readonly clusterColorBy: _angular_core.InputSignal<"none" | "dominant">;
|
|
292
292
|
/** Renderuje legendę pod mapą. Wyłącz, jeśli chcesz ją umieścić gdzie indziej. */
|
|
293
293
|
readonly legend: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
294
294
|
/** Identyfikatory ukrytych kategorii (dwukierunkowe) — legenda je przełącza. */
|
|
@@ -376,6 +376,11 @@ declare class KptMap<T = unknown> {
|
|
|
376
376
|
}>;
|
|
377
377
|
readonly userPositionChange: _angular_core.OutputEmitterRef<KptMapUserPosition | null>;
|
|
378
378
|
readonly userLocationError: _angular_core.OutputEmitterRef<KptMapGeolocationError>;
|
|
379
|
+
/**
|
|
380
|
+
* Silnika nie udało się uruchomić — brak fabryki, brak paczki `leaflet`, odrzucony klucz Google.
|
|
381
|
+
* Bez słuchacza błąd ląduje w konsoli; ze słuchaczem aplikacja może pokazać własny komunikat.
|
|
382
|
+
*/
|
|
383
|
+
readonly engineError: _angular_core.OutputEmitterRef<unknown>;
|
|
379
384
|
protected readonly i18n: KptI18n;
|
|
380
385
|
private readonly icons;
|
|
381
386
|
/** Opcjonalny, bo silnik może przyjść wejściem `[engine]` zamiast z DI. */
|
|
@@ -392,6 +397,10 @@ declare class KptMap<T = unknown> {
|
|
|
392
397
|
private readonly popupTemplates;
|
|
393
398
|
protected readonly createFormTemplate: _angular_core.Signal<KptMapCreateFormTemplate | undefined>;
|
|
394
399
|
private mapEngine;
|
|
400
|
+
/** Komponent zniszczony — `initEngine()` po `await` nie może już podpinać zdarzeń ani obserwatorów. */
|
|
401
|
+
private destroyed;
|
|
402
|
+
/** Trwający montaż silnika; zniszczenie czeka na jego koniec (patrz konstruktor). */
|
|
403
|
+
private engineInit;
|
|
395
404
|
protected readonly engineKind: _angular_core.WritableSignal<string | null>;
|
|
396
405
|
protected readonly ready: _angular_core.WritableSignal<boolean>;
|
|
397
406
|
/** Zoom trzymamy w sygnale, bo od niego zależy wynik grupowania. */
|
|
@@ -455,6 +464,7 @@ declare class KptMap<T = unknown> {
|
|
|
455
464
|
protected readonly createFormApi: _angular_core.Signal<KptMapCreateFormApi | null>;
|
|
456
465
|
constructor();
|
|
457
466
|
private restrictBounds;
|
|
467
|
+
private reportEngineError;
|
|
458
468
|
private initEngine;
|
|
459
469
|
/** Bez tego Leaflet zostawia szare pola po każdej zmianie układu strony. */
|
|
460
470
|
private observeResize;
|
|
@@ -497,7 +507,7 @@ declare class KptMap<T = unknown> {
|
|
|
497
507
|
protected readonly dataBounds: _angular_core.Signal<KptMapBounds | null>;
|
|
498
508
|
protected fitToData(): void;
|
|
499
509
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptMap<any>, never>;
|
|
500
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptMap<any>, "kpt-map", never, { "locations": { "alias": "locations"; "required": true; "isSignal": true; }; "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "country": { "alias": "country"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "restrictToCountry": { "alias": "restrictToCountry"; "required": false; "isSignal": true; }; "bounds": { "alias": "bounds"; "required": false; "isSignal": true; }; "cluster": { "alias": "cluster"; "required": false; "isSignal": true; }; "clusterOptions": { "alias": "clusterOptions"; "required": false; "isSignal": true; }; "clusterColorBy": { "alias": "clusterColorBy"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "hiddenCategories": { "alias": "hiddenCategories"; "required": false; "isSignal": true; }; "legendCounts": { "alias": "legendCounts"; "required": false; "isSignal": true; }; "showUserLocation": { "alias": "showUserLocation"; "required": false; "isSignal": true; }; "followUser": { "alias": "followUser"; "required": false; "isSignal": true; }; "allowCreate": { "alias": "allowCreate"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "searchOptions": { "alias": "searchOptions"; "required": false; "isSignal": true; }; "searchZoom": { "alias": "searchZoom"; "required": false; "isSignal": true; }; "searchMarker": { "alias": "searchMarker"; "required": false; "isSignal": true; }; "popupLayout": { "alias": "popupLayout"; "required": false; "isSignal": true; }; "distanceFrom": { "alias": "distanceFrom"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "tileUrl": { "alias": "tileUrl"; "required": false; "isSignal": true; }; "attribution": { "alias": "attribution"; "required": false; "isSignal": true; }; "engine": { "alias": "engine"; "required": false; "isSignal": true; }; "geocoder": { "alias": "geocoder"; "required": false; "isSignal": true; }; }, { "hiddenCategories": "hiddenCategoriesChange"; "locationClick": "locationClick"; "clusterClick": "clusterClick"; "locationCreate": "locationCreate"; "searchSelect": "searchSelect"; "viewChange": "viewChange"; "userPositionChange": "userPositionChange"; "userLocationError": "userLocationError"; }, ["popupTemplates", "createFormTemplate"], never, true, never>;
|
|
510
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptMap<any>, "kpt-map", never, { "locations": { "alias": "locations"; "required": true; "isSignal": true; }; "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "country": { "alias": "country"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "restrictToCountry": { "alias": "restrictToCountry"; "required": false; "isSignal": true; }; "bounds": { "alias": "bounds"; "required": false; "isSignal": true; }; "cluster": { "alias": "cluster"; "required": false; "isSignal": true; }; "clusterOptions": { "alias": "clusterOptions"; "required": false; "isSignal": true; }; "clusterColorBy": { "alias": "clusterColorBy"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "hiddenCategories": { "alias": "hiddenCategories"; "required": false; "isSignal": true; }; "legendCounts": { "alias": "legendCounts"; "required": false; "isSignal": true; }; "showUserLocation": { "alias": "showUserLocation"; "required": false; "isSignal": true; }; "followUser": { "alias": "followUser"; "required": false; "isSignal": true; }; "allowCreate": { "alias": "allowCreate"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "searchOptions": { "alias": "searchOptions"; "required": false; "isSignal": true; }; "searchZoom": { "alias": "searchZoom"; "required": false; "isSignal": true; }; "searchMarker": { "alias": "searchMarker"; "required": false; "isSignal": true; }; "popupLayout": { "alias": "popupLayout"; "required": false; "isSignal": true; }; "distanceFrom": { "alias": "distanceFrom"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "tileUrl": { "alias": "tileUrl"; "required": false; "isSignal": true; }; "attribution": { "alias": "attribution"; "required": false; "isSignal": true; }; "engine": { "alias": "engine"; "required": false; "isSignal": true; }; "geocoder": { "alias": "geocoder"; "required": false; "isSignal": true; }; }, { "hiddenCategories": "hiddenCategoriesChange"; "locationClick": "locationClick"; "clusterClick": "clusterClick"; "locationCreate": "locationCreate"; "searchSelect": "searchSelect"; "viewChange": "viewChange"; "userPositionChange": "userPositionChange"; "userLocationError": "userLocationError"; "engineError": "engineError"; }, ["popupTemplates", "createFormTemplate"], never, true, never>;
|
|
501
511
|
}
|
|
502
512
|
|
|
503
513
|
interface LegendEntry {
|
|
@@ -608,6 +618,8 @@ declare class KptMapSearch {
|
|
|
608
618
|
protected readonly hasPanel: _angular_core.Signal<boolean>;
|
|
609
619
|
/** Cokolwiek leci do geokodera — lista albo pojedyncze miejsce. Jeden stan dla szablonu. */
|
|
610
620
|
protected readonly busy: _angular_core.Signal<boolean>;
|
|
621
|
+
/** Panel pokazuje listę (a nie notę) — tylko wtedy `aria-controls` ma na co wskazać. */
|
|
622
|
+
protected readonly listShown: _angular_core.Signal<boolean>;
|
|
611
623
|
protected readonly canSearch: _angular_core.Signal<boolean>;
|
|
612
624
|
/** Nie udało się ustalić miejsca wybranej podpowiedzi — komunikat zamiast cichej ciszy. */
|
|
613
625
|
private readonly unresolved;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"konce-pt-angular-map.d.ts","sources":["../../map/src/lib/map-templates.directive.ts","../../map/src/lib/geocoder.port.ts","../../map/src/lib/map.component.ts","../../map/src/lib/map-legend.component.ts","../../map/src/lib/map-search.component.ts","../../map/src/lib/map-create-dialog.component.ts","../../map/src/lib/map-poi-card.component.ts","../../map/src/lib/map-hours-field.component.ts","../../map/src/lib/map-image-field.component.ts","../../map/src/lib/map.providers.ts","../../map/src/lib/geolocation.port.ts"],"mappings":";;;;;;;;;AAGA;AACM,UAAW,kBAAkB;AACjC,eAAW,cAAc;;AAEzB;AACA,cAAU,cAAc;AACxB;;;AAGG;AACH;;AAED;AAED;;;;;;;;;;;;;;;;;;;;AAoBG;AACH,
|
|
1
|
+
{"version":3,"file":"konce-pt-angular-map.d.ts","sources":["../../map/src/lib/map-templates.directive.ts","../../map/src/lib/geocoder.port.ts","../../map/src/lib/map.component.ts","../../map/src/lib/map-legend.component.ts","../../map/src/lib/map-search.component.ts","../../map/src/lib/map-create-dialog.component.ts","../../map/src/lib/map-poi-card.component.ts","../../map/src/lib/map-hours-field.component.ts","../../map/src/lib/map-image-field.component.ts","../../map/src/lib/map.providers.ts","../../map/src/lib/geolocation.port.ts"],"mappings":";;;;;;;;;AAGA;AACM,UAAW,kBAAkB;AACjC,eAAW,cAAc;;AAEzB;AACA,cAAU,cAAc;AACxB;;;AAGG;AACH;;AAED;AAED;;;;;;;;;;;;;;;;;;;;AAoBG;AACH,cAIa,mBAAmB;;uBAEb,aAAA,CAAA,WAAA;AAEjB;;;AAGG;sBACa,aAAA,CAAA,WAAA,UAAA,cAAA;0BAMI,WAAA,CAAA,kBAAA;;2CAIZ,mBAAmB,6BAEhB,kBAAkB;oDApBlB,mBAAmB;sDAAnB,mBAAmB;AAuB/B;AAED;UACiB,uBAAuB;eAC3B,mBAAmB;QAC1B,SAAS;AACb,cAAU,cAAc;AACzB;UAEgB,mBAAmB;QAC9B,SAAS;AACb,cAAU,cAAc;;;;AAIxB,oBAAgB,MAAM;AACvB;AAED;;;;;;;;AAQG;AACH,cACa,wBAAwB;0BACf,WAAA,CAAA,uBAAA;AAEpB,wCACQ,wBAAwB,0BAErB,uBAAuB;oDANvB,wBAAwB;sDAAxB,wBAAwB;AASpC;;ACjGD;;;;;;AAMG;UACc,mBAAmB;;;aAGzB,WAAW;;;AAGpB;;;AAGG;cACO,YAAY;;AAEtB;AACD;UAEgB,kBAAkB;;AAEjC,gBAAY,SAAS;;iBAA0C,WAAW;AAAE,QAAG,UAAU,CAAC,aAAa;AAEvG;;;;;;;;AAQG;AACH,qCAAiC,mBAAmB,GAAG,UAAU,UAAU,gBAAgB;AAE3F;;;;;;;;;AASG;yBAEW,gBAAgB;;iBACY,WAAW;AAAE,QACpD,UAAU,CAAC,kBAAkB;AACjC;A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IhC,aAAS,UAAU,CAAC,kBAAkB;AAGvC;AAED;;;;;AAKG;AACH,iBAAgB,4BAA4B,KAAK,SAAS,sBAAkB,QAAQ;;;;","names":[]}
|
|
@@ -21,6 +21,8 @@ interface BarVm<TMeta = unknown> {
|
|
|
21
21
|
isMilestone: boolean;
|
|
22
22
|
clippedStart: boolean;
|
|
23
23
|
clippedEnd: boolean;
|
|
24
|
+
/** Nazwa dostępna: etykieta, zakres dat i postęp — tooltip nie jest dostępny dla czytnika. */
|
|
25
|
+
ariaLabel: string;
|
|
24
26
|
}
|
|
25
27
|
/** Pasek zbiorczy grupy. */
|
|
26
28
|
interface SummaryVm {
|
|
@@ -38,6 +40,8 @@ interface SummaryVm {
|
|
|
38
40
|
*/
|
|
39
41
|
declare class KptRoadmap<TItem = unknown, TGroup = unknown> {
|
|
40
42
|
protected readonly i18n: KptI18n;
|
|
43
|
+
private readonly host;
|
|
44
|
+
private readonly injector;
|
|
41
45
|
/** Pełna konfiguracja: dane, zoom, zakres i opcje. */
|
|
42
46
|
readonly config: _angular_core.InputSignal<KptRoadmapConfig<TItem, TGroup>>;
|
|
43
47
|
/** Stała wysokość obszaru przewijania (np. '420px'). Włącza przyklejony nagłówek. */
|
|
@@ -78,6 +82,19 @@ declare class KptRoadmap<TItem = unknown, TGroup = unknown> {
|
|
|
78
82
|
protected readonly visibleRows: _angular_core.Signal<readonly KptRoadmapRow<TItem, TGroup>[]>;
|
|
79
83
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
80
84
|
private readonly barHeight;
|
|
85
|
+
private readonly locale;
|
|
86
|
+
/**
|
|
87
|
+
* Paski widoczne na osi, wiersz po wierszu — mapa dla nawigacji strzałkami. Liczona ze wszystkich
|
|
88
|
+
* wierszy, nie z okna wirtualizacji: strzałka w dół z ostatniego wyrenderowanego wiersza ma dokąd iść.
|
|
89
|
+
*/
|
|
90
|
+
private readonly navGrid;
|
|
91
|
+
/** Pasek, na którym ostatnio był fokus. */
|
|
92
|
+
private readonly activeId;
|
|
93
|
+
/**
|
|
94
|
+
* Jedyny przystanek Tab w siatce pasków (roving tabindex) — ostatnio aktywny pasek, a gdy zniknął
|
|
95
|
+
* (zwinięta grupa, inne dane), pierwszy. Bez tego roadmapa ze stu zadaniami to sto przystanków Tab.
|
|
96
|
+
*/
|
|
97
|
+
protected readonly tabStopId: _angular_core.Signal<string | null>;
|
|
81
98
|
constructor();
|
|
82
99
|
protected onScroll(event: Event): void;
|
|
83
100
|
/** Wysokość paska wraz z odstępem — wspólna dla widoku i geometrii zależności. */
|
|
@@ -96,8 +113,16 @@ declare class KptRoadmap<TItem = unknown, TGroup = unknown> {
|
|
|
96
113
|
protected readonly links: _angular_core.Signal<readonly KptLinkGeom[]>;
|
|
97
114
|
protected toggleGroup(group: KptRoadmapGroup<TGroup>): void;
|
|
98
115
|
protected onItemClick(item: KptRoadmapPlacedItem<TItem>): void;
|
|
99
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Klawiatura na pasku: Enter/Spacja działają jak kliknięcie, strzałki przenoszą fokus po siatce
|
|
118
|
+
* (w poziomie po wierszu, w pionie między wierszami), Home/End na skraj wiersza, z Ctrl — roadmapy.
|
|
119
|
+
*/
|
|
100
120
|
protected onItemKeydown(event: KeyboardEvent, item: KptRoadmapPlacedItem<TItem>): void;
|
|
121
|
+
protected onItemFocus(item: KptRoadmapPlacedItem<TItem>): void;
|
|
122
|
+
/** Przy wirtualizacji przewija tak, żeby wiersz z paskiem wszedł do okna i się wyrenderował. */
|
|
123
|
+
private revealRow;
|
|
124
|
+
/** Nazwa dostępna paska: „Etykieta, 3–14 mar 2026, ukończono 40%". */
|
|
125
|
+
private itemAriaLabel;
|
|
101
126
|
/**
|
|
102
127
|
* Treść dymka dla kolumny etykiet. Pusta tam, gdzie dymek nie miałby czego
|
|
103
128
|
* uzupełnić — dyrektywa pomija wtedy podpowiedź.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"konce-pt-angular-roadmap.d.ts","sources":["../../roadmap/src/lib/roadmap.component.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"konce-pt-angular-roadmap.d.ts","sources":["../../roadmap/src/lib/roadmap.component.ts"],"mappings":";;;;;;AAwDA;AACA,UAAU,KAAK;AACb,UAAM,oBAAoB;;;;;;;;;;;AAW1B;;;;;;AAMD;AAED;AACA,UAAU,SAAS;;;;;AAKlB;AAED;;;;;;AAMG;AACH,cAea,UAAU;AACrB,6BAAuB,OAAA;AACvB;AACA;;qBAGe,aAAA,CAAA,WAAA,CAAA,gBAAA;;2BAEM,aAAA,CAAA,WAAA;;yBAEF,aAAA,CAAA,WAAA;;0BAEC,aAAA,CAAA,WAAA;;wBAEF,aAAA,CAAA,wBAAA;;sBAEF,aAAA,CAAA,wBAAA;;8BAGQ,aAAA,CAAA,WAAA;AAExB;;;;AAIG;AACH;;AAMA;wBAEkB,aAAA,CAAA,gBAAA,CAAA,cAAA;;0BAEE,aAAA,CAAA,gBAAA,CAAA,YAAA;AAEpB;AACA;AAEA,kCAA4B,aAAA,CAAA,cAAA;AAC5B,uCAAiC,aAAA,CAAA,cAAA;;AAEjC,kCAA4B,aAAA,CAAA,cAAA;AAE5B,6BAAuB,aAAA,CAAA,MAAA,CAAA,cAAA;AACvB,kCAA4B,aAAA,CAAA,MAAA;AAE5B,8BAAwB,aAAA,CAAA,MAAA,CAAA,YAAA;AAExB,iCAA2B,aAAA,CAAA,MAAA,CAAA,gBAAA;AAU3B,+BAAyB,aAAA,CAAA,MAAA,CAAA,iBAAA,CAAA,gBAAA;;AAMzB,oCAA8B,aAAA,CAAA,MAAA,UAAA,aAAA;AAQ9B,gCAA0B,aAAA,CAAA,MAAA;AAE1B;AAEA;AAEA;;;AAGG;AACH;;AAaA;AAEA;;;AAGG;AACH,kCAA4B,aAAA,CAAA,MAAA;;AA4C5B,8BAA0B,KAAK;;AAM/B;;AAKA;;AAMA,wBAAoB,aAAa,kBAAkB,KAAK;;AA+BxD,2BAAuB,aAAa,kB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