@konce-pt/angular 0.7.11 → 0.8.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.
Files changed (103) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/charts/src/lib/llms.txt +31 -30
  3. package/fesm2022/konce-pt-angular-charts.mjs +7 -498
  4. package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
  5. package/fesm2022/konce-pt-angular-icons.mjs +7 -5136
  6. package/fesm2022/konce-pt-angular-icons.mjs.map +1 -1
  7. package/fesm2022/konce-pt-angular-map.mjs +14 -1298
  8. package/fesm2022/konce-pt-angular-map.mjs.map +1 -1
  9. package/fesm2022/konce-pt-angular-roadmap.mjs +8 -1269
  10. package/fesm2022/konce-pt-angular-roadmap.mjs.map +1 -1
  11. package/fesm2022/konce-pt-angular.mjs +179 -1455
  12. package/fesm2022/konce-pt-angular.mjs.map +1 -1
  13. package/grid/src/lib/llms.txt +48 -48
  14. package/map/src/lib/llms.txt +447 -446
  15. package/package.json +9 -2
  16. package/roadmap/src/lib/llms.txt +75 -74
  17. package/src/lib/accordion/llms.txt +9 -9
  18. package/src/lib/alert/llms.txt +10 -10
  19. package/src/lib/app-shell/llms.txt +59 -59
  20. package/src/lib/auth/llms.txt +58 -58
  21. package/src/lib/autocomplete/llms.txt +8 -8
  22. package/src/lib/avatar/llms.txt +9 -9
  23. package/src/lib/avatar-group/llms.txt +8 -8
  24. package/src/lib/badge/llms.txt +9 -9
  25. package/src/lib/bottom-sheet/llms.txt +14 -14
  26. package/src/lib/breadcrumb/llms.txt +7 -7
  27. package/src/lib/breakpoint/llms.txt +21 -21
  28. package/src/lib/button/llms.txt +34 -34
  29. package/src/lib/button-group/llms.txt +5 -5
  30. package/src/lib/card/llms.txt +27 -27
  31. package/src/lib/carousel/llms.txt +11 -11
  32. package/src/lib/checkbox/llms.txt +7 -7
  33. package/src/lib/chip/llms.txt +6 -6
  34. package/src/lib/chips-input/llms.txt +9 -9
  35. package/src/lib/color-picker/llms.txt +7 -7
  36. package/src/lib/confirm/llms.txt +11 -11
  37. package/src/lib/context-menu/llms.txt +10 -10
  38. package/src/lib/data-table/llms.txt +170 -170
  39. package/src/lib/data-view/llms.txt +8 -8
  40. package/src/lib/date-range/llms.txt +25 -25
  41. package/src/lib/datepicker/llms.txt +52 -48
  42. package/src/lib/dialog/llms.txt +62 -62
  43. package/src/lib/divider/llms.txt +9 -9
  44. package/src/lib/drawer/llms.txt +18 -18
  45. package/src/lib/empty/llms.txt +9 -9
  46. package/src/lib/fab/llms.txt +12 -12
  47. package/src/lib/fieldset/llms.txt +9 -9
  48. package/src/lib/file-upload/llms.txt +10 -10
  49. package/src/lib/form-field/llms.txt +45 -45
  50. package/src/lib/galleria/llms.txt +7 -7
  51. package/src/lib/i18n/llms.txt +28 -22
  52. package/src/lib/icon/llms.txt +20 -20
  53. package/src/lib/icon-button/llms.txt +9 -8
  54. package/src/lib/image/llms.txt +9 -9
  55. package/src/lib/input/llms.txt +27 -27
  56. package/src/lib/input-mask/llms.txt +10 -10
  57. package/src/lib/input-number/llms.txt +34 -34
  58. package/src/lib/input-otp/llms.txt +11 -11
  59. package/src/lib/knob/llms.txt +14 -14
  60. package/src/lib/listbox/llms.txt +8 -8
  61. package/src/lib/megamenu/llms.txt +13 -13
  62. package/src/lib/menu/llms.txt +26 -26
  63. package/src/lib/menubar/llms.txt +10 -10
  64. package/src/lib/meter-group/llms.txt +8 -8
  65. package/src/lib/order-list/llms.txt +8 -8
  66. package/src/lib/paginator/llms.txt +12 -12
  67. package/src/lib/panel/llms.txt +12 -12
  68. package/src/lib/password/llms.txt +12 -12
  69. package/src/lib/pick-list/llms.txt +8 -8
  70. package/src/lib/popover/llms.txt +8 -8
  71. package/src/lib/progress/llms.txt +6 -6
  72. package/src/lib/radio-group/llms.txt +5 -5
  73. package/src/lib/rating/llms.txt +10 -6
  74. package/src/lib/rich-text/llms.txt +50 -50
  75. package/src/lib/scroll-top/llms.txt +7 -7
  76. package/src/lib/select/llms.txt +26 -26
  77. package/src/lib/sidenav/llms.txt +24 -24
  78. package/src/lib/skeleton/llms.txt +6 -6
  79. package/src/lib/slider/llms.txt +17 -17
  80. package/src/lib/speed-dial/llms.txt +7 -7
  81. package/src/lib/spinner/llms.txt +5 -5
  82. package/src/lib/split-button/llms.txt +15 -15
  83. package/src/lib/splitter/llms.txt +11 -11
  84. package/src/lib/stepper/llms.txt +10 -10
  85. package/src/lib/switch/llms.txt +10 -10
  86. package/src/lib/switch-group/llms.txt +16 -16
  87. package/src/lib/tabs/llms.txt +10 -10
  88. package/src/lib/textarea/llms.txt +5 -5
  89. package/src/lib/timeline/llms.txt +10 -10
  90. package/src/lib/toast/llms.txt +10 -10
  91. package/src/lib/toolbar/llms.txt +31 -31
  92. package/src/lib/tooltip/llms.txt +21 -21
  93. package/src/lib/tree/llms.txt +6 -6
  94. package/types/konce-pt-angular-charts.d.ts +10 -199
  95. package/types/konce-pt-angular-charts.d.ts.map +1 -1
  96. package/types/konce-pt-angular-icons.d.ts +2 -4
  97. package/types/konce-pt-angular-icons.d.ts.map +1 -1
  98. package/types/konce-pt-angular-map.d.ts +4 -609
  99. package/types/konce-pt-angular-map.d.ts.map +1 -1
  100. package/types/konce-pt-angular-roadmap.d.ts +6 -541
  101. package/types/konce-pt-angular-roadmap.d.ts.map +1 -1
  102. package/types/konce-pt-angular.d.ts +57 -529
  103. package/types/konce-pt-angular.d.ts.map +1 -1
@@ -1,24 +1,24 @@
1
1
  # KptCarousel (kpt-carousel)
2
2
 
3
- Karuzela slajdów (generyczna). Import: `import { KptCarousel } from '@konce-pt/angular';`
4
- Dane przez `items`, szablon slajdu przez projekcję `<ng-template let-item>`.
3
+ A slide carousel (generic). Import: `import { KptCarousel } from '@konce-pt/angular';`
4
+ Data through `items`, the slide template through projection: `<ng-template let-item>`.
5
5
 
6
- ## Wejścia / model
7
- - `items`: T[] — dane slajdów
8
- - `activeIndex`: model<number> (domyślnie 0) — dwukierunkowy indeks aktywnego slajdu
6
+ ## Inputs / model
7
+ - `items`: T[] — the slide data
8
+ - `activeIndex`: model<number> (default 0) — the two-way index of the active slide
9
9
 
10
- ## Projekcja
11
- - `<ng-template let-item let-i="index">` — szablon pojedynczego slajdu; kontekst: `$implicit` = item, `index`.
10
+ ## Content projection
11
+ - `<ng-template let-item let-i="index">` — the template for a single slide; context: `$implicit` = the item, `index`.
12
12
 
13
- ## Metody
13
+ ## Methods
14
14
  - `next()`, `prev()`, `goTo(index)`
15
15
 
16
- ## Przykład
16
+ ## Example
17
17
  <kpt-carousel [items]="photos">
18
18
  <ng-template let-photo>
19
19
  <img [src]="photo" style="width:100%" />
20
20
  </ng-template>
21
21
  </kpt-carousel>
22
22
 
23
- ## Tokeny
24
- Nawigacja/kropki `--kpt-color-primary`; tło strzałek `--kpt-color-surface-raised`.
23
+ ## Tokens
24
+ Navigation and dots `--kpt-color-primary`; the arrow background `--kpt-color-surface-raised`.
@@ -1,15 +1,15 @@
1
1
  # KptCheckbox (kpt-checkbox)
2
2
 
3
- Pole wyboru na Signal Forms (`FormCheckboxControl`, model `checked`).
3
+ A checkbox on Signal Forms (`FormCheckboxControl`, the `checked` model).
4
4
  Import: `import { KptCheckbox } from '@konce-pt/angular';`
5
5
 
6
- ## Użycie
7
- <kpt-checkbox [formField]="f.terms" label="Akceptuję regulamin" />
6
+ ## Usage
7
+ <kpt-checkbox [formField]="f.terms" label="I accept the terms" />
8
8
 
9
- ## Wejścia
10
- - `checked`: model<boolean> (kontrakt FormCheckboxControl)
9
+ ## Inputs
10
+ - `checked`: model<boolean> (the FormCheckboxControl contract)
11
11
  - `label`: string
12
- - `disabled` / `invalid` / `touched`: boolean (wiąże FormField); output `touch` (blur)
12
+ - `disabled` / `invalid` / `touched`: boolean (bound by FormField); the `touch` output (blur)
13
13
 
14
- ## Tokeny
14
+ ## Tokens
15
15
  `--kpt-color-primary`, `--kpt-color-on-primary`, `--kpt-form-field-border`, `--kpt-form-field-border-error`.
@@ -1,14 +1,14 @@
1
1
  # KptChip (kpt-chip)
2
2
 
3
- Chip / tag — etykieta, opcjonalnie usuwalna. Import: `import { KptChip } from '@konce-pt/angular';`
3
+ A chip / tag — a label, optionally removable. Import: `import { KptChip } from '@konce-pt/angular';`
4
4
 
5
- ## Wejścia / wyjścia
5
+ ## Inputs / outputs
6
6
  - `variant`: 'neutral'|'primary'|'success'|'danger'|'warning'|'info'
7
- - `removable`: boolean (przycisk ×); `disabled`: boolean; `removed`: output<void>
7
+ - `removable`: boolean (a × button); `disabled`: boolean; `removed`: output<void>
8
8
 
9
- ## Przykłady
9
+ ## Examples
10
10
  <kpt-chip>Angular</kpt-chip>
11
11
  <kpt-chip variant="success" removable (removed)="onRemove()">UI</kpt-chip>
12
12
 
13
- ## Tokeny
14
- Tło color-mix na wariancie, `--kpt-color-muted` (neutral).
13
+ ## Tokens
14
+ A color-mix background over the variant, `--kpt-color-muted` (neutral).
@@ -1,18 +1,18 @@
1
1
  # KptChipsInput (kpt-chips-input)
2
2
 
3
- Pole tagów — dodawanie Enter/przecinkiem, usuwanie Backspace/×. Signal Forms.
4
- Wartość = string[]. Renderuje elementy przez `kpt-chip`.
3
+ A tag field — add with Enter or a comma, remove with Backspace or the × button. Signal Forms.
4
+ The value is a string[]. Items are rendered through `kpt-chip`.
5
5
  Import: `import { KptChipsInput } from '@konce-pt/angular';`
6
6
 
7
- ## Wejścia / model
8
- - `value`: model<string[]> (lub `formField`)
7
+ ## Inputs / model
8
+ - `value`: model<string[]> (or `formField`)
9
9
  - `placeholder`: string
10
- - `allowDuplicates`: boolean (domyślnie false)
10
+ - `allowDuplicates`: boolean (default false)
11
11
  - `disabled`/`invalid`/`touched`: boolean; `touch`: output
12
12
 
13
- ## Przykład
14
- <kpt-chips-input [formField]="f.tags" placeholder="Dodaj tag…" />
13
+ ## Example
14
+ <kpt-chips-input [formField]="f.tags" placeholder="Add a tag…" />
15
15
  <kpt-chips-input [(value)]="tags" />
16
16
 
17
- ## Tokeny
18
- Pole `--kpt-form-field-*`; tagi dziedziczą z `kpt-chip`.
17
+ ## Tokens
18
+ The field uses `--kpt-form-field-*`; the tags inherit from `kpt-chip`.
@@ -1,18 +1,18 @@
1
1
  # KptColorPicker (kpt-color-picker)
2
2
 
3
- Wybór koloru (swatch + hex + presety) na Signal Forms. Wartość = hex, np. '#3b82f6'.
3
+ Color selection (swatch + hex + presets) on Signal Forms. The value is a hex string, e.g. '#3b82f6'.
4
4
  Import: `import { KptColorPicker } from '@konce-pt/angular';`
5
5
 
6
- ## Wejścia / model
7
- - `value`: model<string> (lub `formField`) — kolor hex
8
- - `presets`: string[] — paleta szybkiego wyboru (domyślnie 8 kolorów)
6
+ ## Inputs / model
7
+ - `value`: model<string> (or `formField`) — the hex color
8
+ - `presets`: string[] — the quick-pick palette (8 colors by default)
9
9
  - `disabled`/`invalid`/`touched`: boolean; `touch`: output
10
10
 
11
- ## Przykład
11
+ ## Example
12
12
  <kpt-color-picker [formField]="f.brand" />
13
13
  <kpt-color-picker [(value)]="color" [presets]="['#ef4444','#3b82f6']" />
14
14
 
15
15
  color = signal('#3b82f6');
16
16
 
17
- ## Tokeny
18
- Obramowanie `--kpt-form-field-border`; aktywny preset `--kpt-color-primary`.
17
+ ## Tokens
18
+ The border `--kpt-form-field-border`; the active preset `--kpt-color-primary`.
@@ -1,25 +1,25 @@
1
1
  # KptConfirm (KptConfirmService + kpt-confirm-container)
2
2
 
3
- Serwis potwierdzeń oparty na `kpt-dialog`. Wzór jak `KptToastService`.
3
+ A confirmation service built on `kpt-dialog`. Same pattern as `KptToastService`.
4
4
  Import: `import { KptConfirmService, KptConfirmContainer } from '@konce-pt/angular';`
5
5
 
6
- ## Użycie
7
- 1. Umieść `<kpt-confirm-container />` raz w aplikacji (obok `<kpt-toast-container />`).
8
- 2. Wstrzyknij `KptConfirmService` i wywołaj `confirm(options)` → Promise<boolean>.
6
+ ## Usage
7
+ 1. Place `<kpt-confirm-container />` once in the application (next to `<kpt-toast-container />`).
8
+ 2. Inject `KptConfirmService` and call `confirm(options)` → Promise<boolean>.
9
9
 
10
10
  ## KptConfirmOptions
11
- - `message`: string (wymagane); `header?`: string
11
+ - `message`: string (required); `header?`: string
12
12
  - `acceptLabel?`/`rejectLabel?`: string; `variant?`: 'filled' | 'danger'; `icon?`: string
13
13
 
14
14
  ## i18n
15
- Domyślne etykiety (nagłówek, Potwierdź, Anuluj) z i18n (namespace `confirm`); pola opcji mają priorytet.
16
- Domyślnie EN; konfiguracja przez `provideKptI18n` — patrz `i18n/llms.txt`.
15
+ The default labels (the header, Confirm, Cancel) come from i18n (the `confirm` namespace); the option fields take priority.
16
+ English by default; configured through `provideKptI18n` — see `i18n/llms.txt`.
17
17
 
18
- ## Przykład
18
+ ## Example
19
19
  const ok = await this.confirm.confirm({
20
- message: 'Usunąć rekord?', variant: 'danger', acceptLabel: 'Usuń', icon: 'alert-triangle',
20
+ message: 'Delete this record?', variant: 'danger', acceptLabel: 'Delete', icon: 'alert-triangle',
21
21
  });
22
22
  if (ok) { /* ... */ }
23
23
 
24
- ## Tokeny
25
- Dziedziczy z `kpt-dialog`; ikona wg wariantu (`--kpt-color-danger` / `--kpt-color-primary`).
24
+ ## Tokens
25
+ Inherited from `kpt-dialog`; the icon follows the variant (`--kpt-color-danger` / `--kpt-color-primary`).
@@ -1,19 +1,19 @@
1
1
  # KptContextMenu (kpt-context-menu)
2
2
 
3
- Menu kontekstowe (prawy przycisk myszy) na obszarze projekcji. Panel pozycjonowany do kursora.
3
+ A context menu (right mouse button) over the projected area. The panel is positioned at the cursor.
4
4
  Import: `import { KptContextMenu } from '@konce-pt/angular';`
5
5
 
6
- ## Wejścia / wyjścia
6
+ ## Inputs / outputs
7
7
  - `items`: KptMenuItem<T>[] — { label, icon?, danger?, disabled?, separator? }
8
- Honoruje też `header` (nieklikalny wiersz z `avatar`/`label`/`description`), `description`
9
- (druga linia) i `badge` + `badgeVariant` (odznaka po prawej) — pełny opis w menu/llms.txt.
10
- - `selected`: KptMenuItem<T> — wybór pozycji
11
- - Obszar reagujący na PPM przez projekcję `<ng-content>`.
8
+ It also honors `header` (a non-clickable row with `avatar`/`label`/`description`), `description`
9
+ (a second line) and `badge` + `badgeVariant` (a badge on the right) — described in full in menu/llms.txt.
10
+ - `selected`: KptMenuItem<T> — the picked entry
11
+ - The area that reacts to the right mouse button comes through `<ng-content>`.
12
12
 
13
- ## Przykład
13
+ ## Example
14
14
  <kpt-context-menu [items]="items" (selected)="onSelect($event)">
15
- <div class="obszar">Kliknij prawym przyciskiem</div>
15
+ <div class="area">Right-click here</div>
16
16
  </kpt-context-menu>
17
17
 
18
- ## Tokeny
19
- Panel `--kpt-color-surface-raised`, `--kpt-elevation-3`.
18
+ ## Tokens
19
+ The panel `--kpt-color-surface-raised`, `--kpt-elevation-3`.