@konce-pt/angular 0.7.12 → 0.8.1
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 +79 -0
- package/README.md +4 -4
- package/charts/src/lib/llms.txt +2 -1
- package/fesm2022/konce-pt-angular-charts.mjs +7 -498
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-icons.mjs +7 -5136
- package/fesm2022/konce-pt-angular-icons.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-map.mjs +14 -1298
- package/fesm2022/konce-pt-angular-map.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-roadmap.mjs +8 -1269
- package/fesm2022/konce-pt-angular-roadmap.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs +179 -1455
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/map/src/lib/llms.txt +2 -1
- package/package.json +9 -2
- package/roadmap/src/lib/llms.txt +1 -0
- package/src/lib/datepicker/llms.txt +4 -0
- package/src/lib/i18n/llms.txt +8 -2
- package/src/lib/icon-button/llms.txt +1 -0
- package/src/lib/rating/llms.txt +4 -0
- package/types/konce-pt-angular-charts.d.ts +10 -199
- package/types/konce-pt-angular-charts.d.ts.map +1 -1
- package/types/konce-pt-angular-icons.d.ts +2 -4
- package/types/konce-pt-angular-icons.d.ts.map +1 -1
- package/types/konce-pt-angular-map.d.ts +4 -609
- package/types/konce-pt-angular-map.d.ts.map +1 -1
- package/types/konce-pt-angular-roadmap.d.ts +6 -541
- package/types/konce-pt-angular-roadmap.d.ts.map +1 -1
- package/types/konce-pt-angular.d.ts +57 -529
- package/types/konce-pt-angular.d.ts.map +1 -1
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Signal, InjectionToken, EnvironmentProviders, TemplateRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as _angular_forms_signals from '@angular/forms/signals';
|
|
4
4
|
import { FormValueControl, WithOptionalFieldTree, ValidationError, FormCheckboxControl } from '@angular/forms/signals';
|
|
5
5
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
6
|
+
import { KptLocale, KptMessages, DeepPartial, KptI18nConfig } from '@konce-pt/i18n';
|
|
7
|
+
export { DeepPartial, KPT_MESSAGES_EN, KPT_MESSAGES_PL, KptI18nConfig, KptLocale, KptMessages } from '@konce-pt/i18n';
|
|
8
|
+
import { KptIconName } from '@konce-pt/icons';
|
|
9
|
+
export { KptIconName, renderKptIconSvg } from '@konce-pt/icons';
|
|
10
|
+
import { KptDateSelectionMode, KptCalendarView, KptDayCell, KptGridCell, KptClockMark, KptDateRangeValue, KptDateRangeMode, KptMonthPanel, KptRangeDayCell } from '@konce-pt/datetime';
|
|
11
|
+
export { KptDateRangeValue } from '@konce-pt/datetime';
|
|
12
|
+
import { KptColumnFilter, KptColumnSummary } from '@konce-pt/table';
|
|
13
|
+
export { KptColumnFilter, KptColumnFilterType, KptColumnSummary, KptSummaryFn } from '@konce-pt/table';
|
|
6
14
|
import * as _konce_pt_angular from '@konce-pt/angular';
|
|
7
15
|
|
|
8
16
|
type KptButtonVariant = 'filled' | 'tonal' | 'outline' | 'text' | 'danger';
|
|
@@ -49,9 +57,16 @@ declare class KptIconButton {
|
|
|
49
57
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
50
58
|
/** Etykieta dostępności (wymagana — przycisk nie ma tekstu). */
|
|
51
59
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Stan wciśnięcia dla przycisku przełącznika (gwiazdka „w ulubionych", pauza, filtr).
|
|
62
|
+
* Musi zjechać na wewnętrzny `<button>`: `[attr.aria-pressed]` postawione na
|
|
63
|
+
* `<kpt-icon-button>` ląduje na hoście, który nie ma roli przycisku — czytnik nie ma
|
|
64
|
+
* wtedy czego ogłosić. `null` (domyślnie) nie wypisuje atrybutu w ogóle.
|
|
65
|
+
*/
|
|
66
|
+
readonly ariaPressed: _angular_core.InputSignal<boolean | null>;
|
|
52
67
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
53
68
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptIconButton, never>;
|
|
54
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptIconButton, "kpt-icon-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
69
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptIconButton, "kpt-icon-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "ariaPressed": { "alias": "ariaPressed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
55
70
|
}
|
|
56
71
|
|
|
57
72
|
/** Opcja wyboru dla kontrolek typu select / radio-group. */
|
|
@@ -100,384 +115,6 @@ declare class KptFab {
|
|
|
100
115
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptFab, "kpt-fab", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
101
116
|
}
|
|
102
117
|
|
|
103
|
-
/** Kod języka. Otwarty string — EN/PL mają podpowiedzi, ale dozwolony dowolny. */
|
|
104
|
-
type KptLocale = 'en' | 'pl' | (string & {});
|
|
105
|
-
/** Pełny słownik etykiet UI używanych przez komponenty biblioteki. */
|
|
106
|
-
interface KptMessages {
|
|
107
|
-
/** Etykiety współdzielone przez wiele komponentów (przyciski ikonowe itp.). */
|
|
108
|
-
common: {
|
|
109
|
-
close: string;
|
|
110
|
-
remove: string;
|
|
111
|
-
previous: string;
|
|
112
|
-
next: string;
|
|
113
|
-
clear: string;
|
|
114
|
-
done: string;
|
|
115
|
-
all: string;
|
|
116
|
-
};
|
|
117
|
-
paginator: {
|
|
118
|
-
rowsPerPage: string;
|
|
119
|
-
/** Interpolacja: {start}, {end}, {total}. */
|
|
120
|
-
range: string;
|
|
121
|
-
prevPage: string;
|
|
122
|
-
nextPage: string;
|
|
123
|
-
};
|
|
124
|
-
select: {
|
|
125
|
-
search: string;
|
|
126
|
-
noResults: string;
|
|
127
|
-
removeChip: string;
|
|
128
|
-
};
|
|
129
|
-
listbox: {
|
|
130
|
-
search: string;
|
|
131
|
-
empty: string;
|
|
132
|
-
};
|
|
133
|
-
dataView: {
|
|
134
|
-
list: string;
|
|
135
|
-
grid: string;
|
|
136
|
-
empty: string;
|
|
137
|
-
/** Interpolacja: {count}. */
|
|
138
|
-
count: string;
|
|
139
|
-
};
|
|
140
|
-
roadmap: {
|
|
141
|
-
empty: string;
|
|
142
|
-
/** Prefiks numeru tygodnia na osi, np. „W" w „W35". */
|
|
143
|
-
week: string;
|
|
144
|
-
today: string;
|
|
145
|
-
milestone: string;
|
|
146
|
-
expandGroup: string;
|
|
147
|
-
collapseGroup: string;
|
|
148
|
-
};
|
|
149
|
-
map: {
|
|
150
|
-
/** Pozycja menu po kliknięciu mapy prawym przyciskiem. */
|
|
151
|
-
addLocation: string;
|
|
152
|
-
chooseCategory: string;
|
|
153
|
-
myLocation: string;
|
|
154
|
-
locateMe: string;
|
|
155
|
-
locationDenied: string;
|
|
156
|
-
locationUnavailable: string;
|
|
157
|
-
zoomIn: string;
|
|
158
|
-
zoomOut: string;
|
|
159
|
-
legend: string;
|
|
160
|
-
/** Interpolacja: {category}. */
|
|
161
|
-
showCategory: string;
|
|
162
|
-
/** Interpolacja: {category}. */
|
|
163
|
-
hideCategory: string;
|
|
164
|
-
/** Etykieta grupy znaczników dla czytnika ekranu. Interpolacja: {count}. */
|
|
165
|
-
cluster: string;
|
|
166
|
-
/** Nagłówek listy pokazywanej, gdy grupy nie da się rozbić zoomem. */
|
|
167
|
-
clusterItems: string;
|
|
168
|
-
/** Interpolacja: {label}. */
|
|
169
|
-
fieldRequired: string;
|
|
170
|
-
/** Notka w formularzu, gdy trwa geokodowanie wsteczne. */
|
|
171
|
-
lookingUpAddress: string;
|
|
172
|
-
/** Notka, gdy geokoder nie ustalił adresu dla klikniętego punktu. */
|
|
173
|
-
addressNotFound: string;
|
|
174
|
-
latitude: string;
|
|
175
|
-
longitude: string;
|
|
176
|
-
empty: string;
|
|
177
|
-
save: string;
|
|
178
|
-
cancel: string;
|
|
179
|
-
/** Karta miejsca (`kpt-map-poi-card`). */
|
|
180
|
-
poi: {
|
|
181
|
-
/** Interpolacja: {distance}. */
|
|
182
|
-
distanceAway: string;
|
|
183
|
-
openNow: string;
|
|
184
|
-
closedNow: string;
|
|
185
|
-
/** Interpolacja: {time}. */
|
|
186
|
-
opensAt: string;
|
|
187
|
-
/** Interpolacja: {time}. */
|
|
188
|
-
closesAt: string;
|
|
189
|
-
alwaysOpen: string;
|
|
190
|
-
openingHours: string;
|
|
191
|
-
closedDay: string;
|
|
192
|
-
call: string;
|
|
193
|
-
sendEmail: string;
|
|
194
|
-
openWebsite: string;
|
|
195
|
-
coordinates: string;
|
|
196
|
-
copy: string;
|
|
197
|
-
copied: string;
|
|
198
|
-
share: string;
|
|
199
|
-
addFavourite: string;
|
|
200
|
-
removeFavourite: string;
|
|
201
|
-
noPhoto: string;
|
|
202
|
-
};
|
|
203
|
-
/** Wyszukiwarka adresów (`kpt-map-search`). */
|
|
204
|
-
search: {
|
|
205
|
-
/** Podpowiedź w pustym polu. */
|
|
206
|
-
placeholder: string;
|
|
207
|
-
/** Nazwa dostępna pola — nie ma przy nim widocznej etykiety. */
|
|
208
|
-
label: string;
|
|
209
|
-
/** Etykieta listy podpowiedzi dla czytnika ekranu. */
|
|
210
|
-
results: string;
|
|
211
|
-
clear: string;
|
|
212
|
-
noResults: string;
|
|
213
|
-
/** Fraza za krótka. Interpolacja: {count}. */
|
|
214
|
-
minLength: string;
|
|
215
|
-
searching: string;
|
|
216
|
-
/** Liczba znalezionych podpowiedzi dla czytnika. Interpolacja: {count}. */
|
|
217
|
-
found: string;
|
|
218
|
-
};
|
|
219
|
-
/** Pola formularza „dodaj lokalizację" poza wspólnymi komunikatami. */
|
|
220
|
-
field: {
|
|
221
|
-
invalidEmail: string;
|
|
222
|
-
invalidUrl: string;
|
|
223
|
-
/** Interpolacja: {max}. */
|
|
224
|
-
imageTooLarge: string;
|
|
225
|
-
pickImage: string;
|
|
226
|
-
orPasteUrl: string;
|
|
227
|
-
removeImage: string;
|
|
228
|
-
imagePreview: string;
|
|
229
|
-
hoursClosed: string;
|
|
230
|
-
hoursFrom: string;
|
|
231
|
-
hoursTo: string;
|
|
232
|
-
hoursSameAllWeek: string;
|
|
233
|
-
hoursAddRange: string;
|
|
234
|
-
hoursRemoveRange: string;
|
|
235
|
-
/** Interpolacja: {day}. */
|
|
236
|
-
hoursIncomplete: string;
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
dataTable: {
|
|
240
|
-
search: string;
|
|
241
|
-
exportCsv: string;
|
|
242
|
-
loading: string;
|
|
243
|
-
empty: string;
|
|
244
|
-
selectAll: string;
|
|
245
|
-
selectRow: string;
|
|
246
|
-
expandRow: string;
|
|
247
|
-
/** Interpolacja: {column}. */
|
|
248
|
-
filter: string;
|
|
249
|
-
/** Interpolacja: {column}. */
|
|
250
|
-
filterMin: string;
|
|
251
|
-
/** Interpolacja: {column}. */
|
|
252
|
-
filterMax: string;
|
|
253
|
-
all: string;
|
|
254
|
-
dateRange: string;
|
|
255
|
-
min: string;
|
|
256
|
-
max: string;
|
|
257
|
-
/** Interpolacja: {column}. Aria-label edytowalnej komórki. */
|
|
258
|
-
editCell: string;
|
|
259
|
-
/** Domyślna etykieta wiersza podsumowania (input `summaryLabel` ma priorytet). */
|
|
260
|
-
total: string;
|
|
261
|
-
};
|
|
262
|
-
confirm: {
|
|
263
|
-
header: string;
|
|
264
|
-
accept: string;
|
|
265
|
-
reject: string;
|
|
266
|
-
};
|
|
267
|
-
fileUpload: {
|
|
268
|
-
/** Może zawierać `<strong>…</strong>`. */
|
|
269
|
-
hint: string;
|
|
270
|
-
remove: string;
|
|
271
|
-
};
|
|
272
|
-
chipsInput: {
|
|
273
|
-
placeholder: string;
|
|
274
|
-
};
|
|
275
|
-
dateRange: {
|
|
276
|
-
placeholder: string;
|
|
277
|
-
from: string;
|
|
278
|
-
to: string;
|
|
279
|
-
fromTime: string;
|
|
280
|
-
toTime: string;
|
|
281
|
-
};
|
|
282
|
-
datepicker: {
|
|
283
|
-
prevMonth: string;
|
|
284
|
-
nextMonth: string;
|
|
285
|
-
prevYear: string;
|
|
286
|
-
nextYear: string;
|
|
287
|
-
prevYears: string;
|
|
288
|
-
nextYears: string;
|
|
289
|
-
prevDecades: string;
|
|
290
|
-
nextDecades: string;
|
|
291
|
-
chooseMonth: string;
|
|
292
|
-
chooseYear: string;
|
|
293
|
-
chooseDecade: string;
|
|
294
|
-
calendar: string;
|
|
295
|
-
month: string;
|
|
296
|
-
time: string;
|
|
297
|
-
};
|
|
298
|
-
pickList: {
|
|
299
|
-
available: string;
|
|
300
|
-
selected: string;
|
|
301
|
-
moveAllRight: string;
|
|
302
|
-
moveRight: string;
|
|
303
|
-
moveLeft: string;
|
|
304
|
-
moveAllLeft: string;
|
|
305
|
-
};
|
|
306
|
-
orderList: {
|
|
307
|
-
up: string;
|
|
308
|
-
down: string;
|
|
309
|
-
};
|
|
310
|
-
inputNumber: {
|
|
311
|
-
decrement: string;
|
|
312
|
-
increment: string;
|
|
313
|
-
};
|
|
314
|
-
password: {
|
|
315
|
-
show: string;
|
|
316
|
-
hide: string;
|
|
317
|
-
/** Etykiety miernika siły (indeksy 0–4). */
|
|
318
|
-
strength: [string, string, string, string, string];
|
|
319
|
-
};
|
|
320
|
-
spinner: {
|
|
321
|
-
label: string;
|
|
322
|
-
};
|
|
323
|
-
speedDial: {
|
|
324
|
-
actions: string;
|
|
325
|
-
};
|
|
326
|
-
scrollTop: {
|
|
327
|
-
label: string;
|
|
328
|
-
};
|
|
329
|
-
splitButton: {
|
|
330
|
-
more: string;
|
|
331
|
-
};
|
|
332
|
-
panel: {
|
|
333
|
-
toggle: string;
|
|
334
|
-
};
|
|
335
|
-
appShell: {
|
|
336
|
-
/** Etykieta przycisku otwierającego i zamykającego panel boczny. */
|
|
337
|
-
toggleNavigation: string;
|
|
338
|
-
/** Etykieta dostępności panelu bocznego. */
|
|
339
|
-
navigation: string;
|
|
340
|
-
};
|
|
341
|
-
breadcrumb: {
|
|
342
|
-
label: string;
|
|
343
|
-
};
|
|
344
|
-
galleria: {
|
|
345
|
-
/** Interpolacja: {index}. */
|
|
346
|
-
image: string;
|
|
347
|
-
};
|
|
348
|
-
carousel: {
|
|
349
|
-
/** Interpolacja: {index}. */
|
|
350
|
-
slide: string;
|
|
351
|
-
};
|
|
352
|
-
richText: {
|
|
353
|
-
copy: string;
|
|
354
|
-
paste: string;
|
|
355
|
-
pasteText: string;
|
|
356
|
-
heading: string;
|
|
357
|
-
bold: string;
|
|
358
|
-
italic: string;
|
|
359
|
-
underline: string;
|
|
360
|
-
strike: string;
|
|
361
|
-
ul: string;
|
|
362
|
-
ol: string;
|
|
363
|
-
indent: string;
|
|
364
|
-
outdent: string;
|
|
365
|
-
foreColor: string;
|
|
366
|
-
backColor: string;
|
|
367
|
-
alignLeft: string;
|
|
368
|
-
alignCenter: string;
|
|
369
|
-
alignRight: string;
|
|
370
|
-
alignJustify: string;
|
|
371
|
-
link: string;
|
|
372
|
-
table: string;
|
|
373
|
-
clear: string;
|
|
374
|
-
html: string;
|
|
375
|
-
/** Styl bloku „Normalny" (select). */
|
|
376
|
-
styleNormal: string;
|
|
377
|
-
/** Interpolacja: {level}. */
|
|
378
|
-
styleHeading: string;
|
|
379
|
-
linkPrompt: string;
|
|
380
|
-
htmlSource: string;
|
|
381
|
-
/** Etykieta „Własny…" przy pickerze koloru. */
|
|
382
|
-
paletteCustom: string;
|
|
383
|
-
/** Menu kontekstowe tabeli. */
|
|
384
|
-
menu: {
|
|
385
|
-
column: string;
|
|
386
|
-
row: string;
|
|
387
|
-
cell: string;
|
|
388
|
-
insertLeft: string;
|
|
389
|
-
insertRight: string;
|
|
390
|
-
headerColumn: string;
|
|
391
|
-
deleteColumn: string;
|
|
392
|
-
insertAbove: string;
|
|
393
|
-
insertBelow: string;
|
|
394
|
-
headerRow: string;
|
|
395
|
-
deleteRow: string;
|
|
396
|
-
cellBackground: string;
|
|
397
|
-
alignLeft: string;
|
|
398
|
-
alignCenter: string;
|
|
399
|
-
alignRight: string;
|
|
400
|
-
mergeCells: string;
|
|
401
|
-
splitCell: string;
|
|
402
|
-
border: string;
|
|
403
|
-
deleteTable: string;
|
|
404
|
-
};
|
|
405
|
-
/** Popover obramowania. */
|
|
406
|
-
border: {
|
|
407
|
-
table: string;
|
|
408
|
-
cell: string;
|
|
409
|
-
none: string;
|
|
410
|
-
thin: string;
|
|
411
|
-
medium: string;
|
|
412
|
-
thick: string;
|
|
413
|
-
customColor: string;
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
/** Ekran uwierzytelniania (kpt-auth). */
|
|
417
|
-
auth: {
|
|
418
|
-
signInTitle: string;
|
|
419
|
-
signInSubtitle: string;
|
|
420
|
-
signUpTitle: string;
|
|
421
|
-
signUpSubtitle: string;
|
|
422
|
-
forgotTitle: string;
|
|
423
|
-
forgotSubtitle: string;
|
|
424
|
-
name: string;
|
|
425
|
-
email: string;
|
|
426
|
-
emailPlaceholder: string;
|
|
427
|
-
password: string;
|
|
428
|
-
/** Interpolacja: {min} — minimalna długość hasła. */
|
|
429
|
-
passwordHint: string;
|
|
430
|
-
confirmPassword: string;
|
|
431
|
-
remember: string;
|
|
432
|
-
terms: string;
|
|
433
|
-
forgotLink: string;
|
|
434
|
-
backToSignIn: string;
|
|
435
|
-
signInSubmit: string;
|
|
436
|
-
signUpSubmit: string;
|
|
437
|
-
resetSubmit: string;
|
|
438
|
-
orContinueWith: string;
|
|
439
|
-
/** Interpolacja: {provider} — nazwa dostawcy (etykieta przycisku). */
|
|
440
|
-
continueWith: string;
|
|
441
|
-
noAccount: string;
|
|
442
|
-
haveAccount: string;
|
|
443
|
-
signInSwitch: string;
|
|
444
|
-
signUpSwitch: string;
|
|
445
|
-
errorRequired: string;
|
|
446
|
-
errorEmail: string;
|
|
447
|
-
/** Interpolacja: {min}. */
|
|
448
|
-
errorMinLength: string;
|
|
449
|
-
errorMismatch: string;
|
|
450
|
-
errorInvalid: string;
|
|
451
|
-
/** Treść panelu promocyjnego — zachęca do trybu przeciwnego niż bieżący. */
|
|
452
|
-
promo: {
|
|
453
|
-
signInTitle: string;
|
|
454
|
-
signInText: string;
|
|
455
|
-
signUpTitle: string;
|
|
456
|
-
signUpText: string;
|
|
457
|
-
};
|
|
458
|
-
};
|
|
459
|
-
}
|
|
460
|
-
declare const KPT_MESSAGES_EN: KptMessages;
|
|
461
|
-
declare const KPT_MESSAGES_PL: KptMessages;
|
|
462
|
-
|
|
463
|
-
/** Głęboko-opcjonalna wersja typu — dla nadpisań/częściowych słowników. */
|
|
464
|
-
type DeepPartial<T> = {
|
|
465
|
-
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
|
|
466
|
-
};
|
|
467
|
-
/** Konfiguracja i18n przekazywana do `provideKptI18n`. */
|
|
468
|
-
interface KptI18nConfig {
|
|
469
|
-
/** Język początkowy (domyślnie 'en'). */
|
|
470
|
-
locale?: KptLocale;
|
|
471
|
-
/**
|
|
472
|
-
* Słowniki do zarejestrowania lub nadpisania, kluczowane kodem języka.
|
|
473
|
-
* Może dodać nowy język (`{ de: {...} }`) lub nadpisać istniejący
|
|
474
|
-
* (`{ en: { paginator: { rowsPerPage: 'Rows:' } } }`). Deep-merge z bazą EN/PL.
|
|
475
|
-
*/
|
|
476
|
-
messages?: Record<string, DeepPartial<KptMessages>>;
|
|
477
|
-
}
|
|
478
|
-
/** Token konfiguracji i18n. Konsumowany przez `KptI18n`. */
|
|
479
|
-
declare const KPT_I18N_CONFIG: InjectionToken<KptI18nConfig>;
|
|
480
|
-
|
|
481
118
|
/**
|
|
482
119
|
* Serwis tłumaczeń Koncept UI. Trzyma rejestr słowników per język, bieżący locale
|
|
483
120
|
* (sygnał) i funkcję `t()` z interpolacją. Skonfiguruj przez `provideKptI18n(...)`.
|
|
@@ -485,6 +122,9 @@ declare const KPT_I18N_CONFIG: InjectionToken<KptI18nConfig>;
|
|
|
485
122
|
* Domyślnie EN. Języki bazowe: EN, PL. Dowolny inny język dodaje się jednym
|
|
486
123
|
* słownikiem (`registerMessages` lub `provideKptI18n({ messages: { de } })`);
|
|
487
124
|
* brakujące klucze spadają na EN.
|
|
125
|
+
*
|
|
126
|
+
* Rdzeń (`deepMerge`, `translate`) żyje w `@konce-pt/i18n` — ten sam, którego
|
|
127
|
+
* używa port React, więc oba frameworki tłumaczą identycznie.
|
|
488
128
|
*/
|
|
489
129
|
declare class KptI18n {
|
|
490
130
|
/** Rejestr słowników: język → pełny `KptMessages`. */
|
|
@@ -507,7 +147,6 @@ declare class KptI18n {
|
|
|
507
147
|
* interpolacją `{name}`. Brakujący klucz spada na EN, a w ostateczności zwraca sam klucz.
|
|
508
148
|
*/
|
|
509
149
|
t(key: string, params?: Record<string, string | number>): string;
|
|
510
|
-
private lookup;
|
|
511
150
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptI18n, never>;
|
|
512
151
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<KptI18n>;
|
|
513
152
|
}
|
|
@@ -656,16 +295,6 @@ declare class KptIconRegistry {
|
|
|
656
295
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptIconRegistry, never>;
|
|
657
296
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<KptIconRegistry>;
|
|
658
297
|
}
|
|
659
|
-
/**
|
|
660
|
-
* Składa pełny znacznik `<svg>` z wewnętrznego SVG z rejestru.
|
|
661
|
-
*
|
|
662
|
-
* Wydzielone z `kpt-icon`, bo tego samego stringa potrzebują znaczniki mapy —
|
|
663
|
-
* ich HTML powstaje poza Angularem, w DOM zarządzanym przez silnik mapy.
|
|
664
|
-
* Pusty `inner` daje pusty string, żeby wołający nie musiał tego sprawdzać.
|
|
665
|
-
*/
|
|
666
|
-
declare function renderKptIconSvg(inner: string | undefined, cssClass?: string): string;
|
|
667
|
-
|
|
668
|
-
type KptIconName = 'menu' | 'x' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'check' | 'search' | 'grip-vertical' | 'info' | 'alert-triangle' | 'circle-check' | 'circle-x' | 'calendar' | 'copy' | 'link' | 'code' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'list' | 'list-numbers' | 'indent-increase' | 'indent-decrease' | 'clear-formatting' | 'star' | 'plus' | 'upload' | 'dots-vertical' | 'photo' | 'trash' | 'eye' | 'eye-off' | 'minus' | 'arrow-up' | 'arrow-down' | 'zoom-in' | 'info-circle' | 'phone' | 'map-pin' | 'world' | 'clock' | 'align-left' | 'align-center' | 'align-right' | 'align-justified' | 'palette' | 'highlight' | 'clipboard' | 'clipboard-text' | 'table' | 'pencil' | 'mail' | 'share' | 'external-link' | 'crosshair' | 'adjustments-horizontal';
|
|
669
298
|
|
|
670
299
|
/** Nazwa breakpointa z tokenów `--kpt-breakpoint-*` (mobile-first). */
|
|
671
300
|
type KptBreakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
@@ -706,6 +335,9 @@ declare class KptBreakpointObserver {
|
|
|
706
335
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<KptBreakpointObserver>;
|
|
707
336
|
}
|
|
708
337
|
|
|
338
|
+
/** Token konfiguracji i18n. Konsumowany przez `KptI18n`. */
|
|
339
|
+
declare const KPT_I18N_CONFIG: InjectionToken<KptI18nConfig>;
|
|
340
|
+
|
|
709
341
|
/**
|
|
710
342
|
* Konfiguruje i18n Koncept UI. Ustawia język początkowy i rejestruje/nadpisuje
|
|
711
343
|
* słowniki. Języki bazowe (EN, PL) są dostępne bez konfiguracji.
|
|
@@ -1093,28 +725,12 @@ declare class KptSelect<T = unknown> implements FormValueControl<unknown>, KptFo
|
|
|
1093
725
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptSelect<any>, "kpt-select", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touch": "touch"; "open": "openChange"; }, never, never, true, never>;
|
|
1094
726
|
}
|
|
1095
727
|
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
disabled: boolean;
|
|
1103
|
-
}
|
|
1104
|
-
/** Komórka siatki miesięcy/lat/dekad — niesie cel nawigacji (rok + ewentualny miesiąc). */
|
|
1105
|
-
interface GridCell {
|
|
1106
|
-
label: string;
|
|
1107
|
-
y: number;
|
|
1108
|
-
m: number;
|
|
1109
|
-
selected: boolean;
|
|
1110
|
-
/** Zawiera dzisiejszą datę — obrys jak „dziś" w siatce dni. */
|
|
1111
|
-
current: boolean;
|
|
1112
|
-
disabled: boolean;
|
|
1113
|
-
}
|
|
1114
|
-
/** Granulacja wyboru. */
|
|
1115
|
-
type KptDatepickerMode = 'date' | 'monthYear' | 'year' | 'month' | 'datetime' | 'time';
|
|
1116
|
-
/** Poziom panelu: dni → miesiące → lata → dekady. */
|
|
1117
|
-
type KptDatepickerView = 'day' | 'month' | 'year' | 'decade';
|
|
728
|
+
/**
|
|
729
|
+
* Granulacja wyboru i poziom panelu — nazwy zostają w publicznym API biblioteki, a definicje
|
|
730
|
+
* mieszkają w `@konce-pt/datetime`, wspólnym rdzeniu obu portów.
|
|
731
|
+
*/
|
|
732
|
+
type KptDatepickerMode = KptDateSelectionMode;
|
|
733
|
+
type KptDatepickerView = KptCalendarView;
|
|
1118
734
|
/**
|
|
1119
735
|
* Wybór daty/godziny z własnym kalendarzem (CDK Overlay), Signal Forms.
|
|
1120
736
|
* Granulacja przez `selectionMode`: data, miesiąc+rok, rok, miesiąc, data+godzina, sama godzina.
|
|
@@ -1144,13 +760,14 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1144
760
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
1145
761
|
readonly displayFormat: _angular_core.InputSignal<"pl" | "iso">;
|
|
1146
762
|
/** Granulacja wyboru. */
|
|
1147
|
-
readonly selectionMode: _angular_core.InputSignal<
|
|
763
|
+
readonly selectionMode: _angular_core.InputSignal<KptDateSelectionMode>;
|
|
1148
764
|
/**
|
|
1149
765
|
* Poziom, od którego otwiera się panel. `null` = poziom zatwierdzania danego trybu
|
|
1150
|
-
* (dni dla 'date').
|
|
1151
|
-
*
|
|
766
|
+
* (dni dla 'date'). Przycięcie do zakresu trybu robi `resolveStartView` z `@konce-pt/datetime`:
|
|
767
|
+
* `startView="day"` w trybie 'year' jest podnoszony do 'year', a tryb 'month' zostaje na swoim
|
|
768
|
+
* poziomie, bo nie ma po czym nawigować.
|
|
1152
769
|
*/
|
|
1153
|
-
readonly startView: _angular_core.InputSignal<
|
|
770
|
+
readonly startView: _angular_core.InputSignal<KptCalendarView | null>;
|
|
1154
771
|
/** Prezentacja miesiąca w trybie 'month': słownie ('long') lub liczbą ('number'). */
|
|
1155
772
|
readonly monthDisplay: _angular_core.InputSignal<"number" | "long">;
|
|
1156
773
|
/** Format godziny: 24 lub 12 (z AM/PM). */
|
|
@@ -1171,12 +788,9 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1171
788
|
private readonly today;
|
|
1172
789
|
private readonly view;
|
|
1173
790
|
/** Aktualny poziom stosu widoków panelu. */
|
|
1174
|
-
protected readonly panelView: _angular_core.WritableSignal<
|
|
791
|
+
protected readonly panelView: _angular_core.WritableSignal<KptCalendarView>;
|
|
1175
792
|
/** Poziom, na którym klik w komórkę zatwierdza wartość zamiast schodzić niżej. */
|
|
1176
|
-
protected readonly commitLevel: _angular_core.Signal<
|
|
1177
|
-
/** Tryb 'month' nie ma roku ani dekady — wartością jest samo 'MM'. */
|
|
1178
|
-
private readonly topLevel;
|
|
1179
|
-
private effectiveStartView;
|
|
793
|
+
protected readonly commitLevel: _angular_core.Signal<KptCalendarView>;
|
|
1180
794
|
protected readonly timeStr: _angular_core.WritableSignal<string>;
|
|
1181
795
|
protected readonly dtView: _angular_core.WritableSignal<"calendar" | "clock">;
|
|
1182
796
|
private readonly pendingDate;
|
|
@@ -1187,20 +801,15 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1187
801
|
constructor();
|
|
1188
802
|
protected readonly viewYear: _angular_core.Signal<number>;
|
|
1189
803
|
protected readonly monthName: _angular_core.Signal<string>;
|
|
1190
|
-
/** Początek dekady widocznej w siatce lat (1979 → 1970). */
|
|
1191
|
-
private readonly decadeStart;
|
|
1192
|
-
/** Początek strony dekad: 12 dekad, czyli 120 lat (1979 → 1920, strona 1920–2039). */
|
|
1193
|
-
private readonly centuryStart;
|
|
1194
804
|
protected readonly yearRangeLabel: _angular_core.Signal<string>;
|
|
1195
805
|
protected readonly decadeRangeLabel: _angular_core.Signal<string>;
|
|
1196
806
|
/** Tryb 'month' nie ma po czym nawigować — siatka miesięcy jest kompletna. */
|
|
1197
807
|
protected readonly hasNav: _angular_core.Signal<boolean>;
|
|
1198
808
|
protected readonly navPrevLabel: _angular_core.Signal<string>;
|
|
1199
809
|
protected readonly navNextLabel: _angular_core.Signal<string>;
|
|
1200
|
-
/** Strzałka
|
|
810
|
+
/** Strzałka gaśnie, gdy cała sąsiednia strona wypada poza zakres (logika w `@konce-pt/datetime`). */
|
|
1201
811
|
protected readonly canPageBack: _angular_core.Signal<boolean>;
|
|
1202
812
|
protected readonly canPageForward: _angular_core.Signal<boolean>;
|
|
1203
|
-
private formatTime;
|
|
1204
813
|
/** Etykieta czasu na pasku trybu datetime (uwzględnia AM/PM). */
|
|
1205
814
|
protected readonly timeBarLabel: _angular_core.Signal<string>;
|
|
1206
815
|
/**
|
|
@@ -1215,36 +824,30 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1215
824
|
private displayDateTime;
|
|
1216
825
|
private displayDate;
|
|
1217
826
|
private readonly selectedDateIso;
|
|
1218
|
-
protected readonly weeks: _angular_core.Signal<
|
|
827
|
+
protected readonly weeks: _angular_core.Signal<KptDayCell[][]>;
|
|
1219
828
|
/** Rok/miesiąc bieżącej wartości — zaznaczenie w siatkach wyższych poziomów. */
|
|
1220
829
|
private readonly selectedYM;
|
|
1221
|
-
protected readonly monthCells: _angular_core.Signal<
|
|
1222
|
-
protected readonly yearCells: _angular_core.Signal<
|
|
1223
|
-
protected readonly decadeCells: _angular_core.Signal<
|
|
830
|
+
protected readonly monthCells: _angular_core.Signal<KptGridCell[]>;
|
|
831
|
+
protected readonly yearCells: _angular_core.Signal<KptGridCell[]>;
|
|
832
|
+
protected readonly decadeCells: _angular_core.Signal<KptGridCell[]>;
|
|
1224
833
|
/** Komórki bieżącego poziomu — siatka miesięcy/lat/dekad ma jeden wspólny markup. */
|
|
1225
|
-
protected readonly levelCells: _angular_core.Signal<
|
|
1226
|
-
private parseDate;
|
|
1227
|
-
private parseTime;
|
|
1228
|
-
private parseDateTime;
|
|
1229
|
-
private isYearDisabled;
|
|
1230
|
-
private isMonthYearDisabled;
|
|
1231
|
-
private initialView;
|
|
834
|
+
protected readonly levelCells: _angular_core.Signal<KptGridCell[]>;
|
|
1232
835
|
private syncTimeFromValue;
|
|
1233
836
|
protected toggleOpen(): void;
|
|
1234
837
|
protected close(): void;
|
|
1235
|
-
protected selectDay(cell:
|
|
838
|
+
protected selectDay(cell: KptDayCell): void;
|
|
1236
839
|
/**
|
|
1237
840
|
* Klik w komórkę siatki: na poziomie zatwierdzania ustawia wartość i zamyka panel,
|
|
1238
841
|
* wyżej — przestawia widok i schodzi poziom niżej.
|
|
1239
842
|
*/
|
|
1240
|
-
protected selectCell(cell:
|
|
843
|
+
protected selectCell(cell: KptGridCell): void;
|
|
1241
844
|
private monthValue;
|
|
1242
845
|
/** Klik w tytuł — wejście poziom wyżej w stosie widoków. */
|
|
1243
846
|
protected goTo(level: KptDatepickerView): void;
|
|
1244
847
|
protected openClock(): void;
|
|
1245
848
|
protected backToCalendar(): void;
|
|
1246
849
|
protected commit(): void;
|
|
1247
|
-
/** Strzałki ‹ › — krok zależny od poziomu
|
|
850
|
+
/** Strzałki ‹ › — krok zależny od poziomu (miesiąc, rok, dekada, strona dekad). */
|
|
1248
851
|
private page;
|
|
1249
852
|
protected pagePrev(): void;
|
|
1250
853
|
protected pageNext(): void;
|
|
@@ -1253,14 +856,6 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1253
856
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptDatepicker, "kpt-datepicker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "startView": { "alias": "startView"; "required": false; "isSignal": true; }; "monthDisplay": { "alias": "monthDisplay"; "required": false; "isSignal": true; }; "hourFormat": { "alias": "hourFormat"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touch": "touch"; "open": "openChange"; }, never, never, true, never>;
|
|
1254
857
|
}
|
|
1255
858
|
|
|
1256
|
-
interface ClockMark {
|
|
1257
|
-
label: string;
|
|
1258
|
-
hour24: number;
|
|
1259
|
-
x: number;
|
|
1260
|
-
y: number;
|
|
1261
|
-
inner: boolean;
|
|
1262
|
-
selected: boolean;
|
|
1263
|
-
}
|
|
1264
859
|
/**
|
|
1265
860
|
* Tarcza zegara (wybór godziny) — dwa etapy: godziny → minuty, klik lub przeciąganie.
|
|
1266
861
|
* Format 12/24h (`hourFormat`); w 24h dodatkowy wewnętrzny pierścień 13–00, w 12h AM/PM.
|
|
@@ -1277,30 +872,21 @@ declare class KptClock {
|
|
|
1277
872
|
protected readonly minute: _angular_core.WritableSignal<number>;
|
|
1278
873
|
protected readonly clockPhase: _angular_core.WritableSignal<"hours" | "minutes">;
|
|
1279
874
|
constructor();
|
|
1280
|
-
private parse;
|
|
1281
875
|
private emit;
|
|
1282
876
|
protected readonly ampm: _angular_core.Signal<"AM" | "PM">;
|
|
1283
877
|
protected readonly hour12: _angular_core.Signal<number>;
|
|
1284
878
|
protected readonly hourLabel: _angular_core.Signal<string>;
|
|
1285
879
|
protected readonly minuteLabel: _angular_core.Signal<string>;
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
protected readonly
|
|
1289
|
-
private marks12h;
|
|
1290
|
-
private marks24hOuter;
|
|
1291
|
-
private marks24hInner;
|
|
1292
|
-
protected readonly minuteMarks: _angular_core.Signal<ClockMark[]>;
|
|
880
|
+
/** Znaczniki tarczy — jeden pierścień w 12h, dwa w 24h (patrz `@konce-pt/datetime`). */
|
|
881
|
+
protected readonly hourMarks: _angular_core.Signal<KptClockMark[]>;
|
|
882
|
+
protected readonly minuteMarks: _angular_core.Signal<KptClockMark[]>;
|
|
1293
883
|
protected readonly handAngle: _angular_core.Signal<number>;
|
|
1294
884
|
protected readonly handInner: _angular_core.Signal<boolean>;
|
|
1295
885
|
protected setPhase(phase: 'hours' | 'minutes'): void;
|
|
1296
886
|
protected setAmpm(target: 'AM' | 'PM'): void;
|
|
1297
|
-
protected pickHour(mark:
|
|
1298
|
-
protected pickMinute(mark:
|
|
887
|
+
protected pickHour(mark: KptClockMark): void;
|
|
888
|
+
protected pickMinute(mark: KptClockMark): void;
|
|
1299
889
|
protected onDialPointer(event: PointerEvent, face: HTMLElement): void;
|
|
1300
|
-
/** Godzina z kąta; w 24h o pierścieniu (a więc o 12–23 vs 0–11) decyduje promień kliknięcia. */
|
|
1301
|
-
private setHourFromAngle;
|
|
1302
|
-
/** Minuta z kąta, dociągnięta do `minuteStep`. */
|
|
1303
|
-
private setMinuteFromAngle;
|
|
1304
890
|
protected onDialUp(): void;
|
|
1305
891
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptClock, never>;
|
|
1306
892
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptClock, "kpt-clock", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "hourFormat": { "alias": "hourFormat"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
@@ -1585,6 +1171,7 @@ declare class KptRating implements FormValueControl<number> {
|
|
|
1585
1171
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1586
1172
|
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1587
1173
|
readonly touch: _angular_core.OutputEmitterRef<void>;
|
|
1174
|
+
protected readonly i18n: KptI18n;
|
|
1588
1175
|
protected readonly hover: _angular_core.WritableSignal<number>;
|
|
1589
1176
|
protected readonly stars: _angular_core.Signal<number[]>;
|
|
1590
1177
|
protected pick(star: number): void;
|
|
@@ -1636,33 +1223,6 @@ declare class KptColorPicker implements FormValueControl<string> {
|
|
|
1636
1223
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptColorPicker, "kpt-color-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touch": "touch"; }, never, never, true, never>;
|
|
1637
1224
|
}
|
|
1638
1225
|
|
|
1639
|
-
interface KptDateRangeValue {
|
|
1640
|
-
start: string;
|
|
1641
|
-
end: string;
|
|
1642
|
-
}
|
|
1643
|
-
/** Granulacja zakresu: same daty, daty z godziną, same godziny. */
|
|
1644
|
-
type KptDateRangeMode = 'date' | 'datetime' | 'time';
|
|
1645
|
-
interface DayCell {
|
|
1646
|
-
day: number;
|
|
1647
|
-
iso: string;
|
|
1648
|
-
inMonth: boolean;
|
|
1649
|
-
today: boolean;
|
|
1650
|
-
isStart: boolean;
|
|
1651
|
-
isEnd: boolean;
|
|
1652
|
-
inRange: boolean;
|
|
1653
|
-
/** Pasmo zakresu wychodzi z tej komórki w prawo / dochodzi z lewej — do zaokrągleń kapsuły. */
|
|
1654
|
-
rangeStart: boolean;
|
|
1655
|
-
rangeEnd: boolean;
|
|
1656
|
-
/** Pusty slot siatki: dni sąsiednich miesięcy przy wielu panelach (patrz `panels`). */
|
|
1657
|
-
blank: boolean;
|
|
1658
|
-
disabled: boolean;
|
|
1659
|
-
}
|
|
1660
|
-
/** Jeden miesiąc panelu kalendarza. */
|
|
1661
|
-
interface MonthPanel {
|
|
1662
|
-
key: string;
|
|
1663
|
-
label: string;
|
|
1664
|
-
weeks: DayCell[][];
|
|
1665
|
-
}
|
|
1666
1226
|
/**
|
|
1667
1227
|
* Wybór zakresu dat z kalendarzem (CDK Overlay), Signal Forms.
|
|
1668
1228
|
* `mode`: 'date' (domyślnie), 'datetime' (data+godzina, tarcza zegara), 'time' (sama godzina).
|
|
@@ -1708,8 +1268,6 @@ declare class KptDateRange implements FormValueControl<KptDateRangeValue> {
|
|
|
1708
1268
|
protected readonly positions: ConnectedPosition[];
|
|
1709
1269
|
protected readonly panelCount: _angular_core.Signal<number>;
|
|
1710
1270
|
protected readonly multi: _angular_core.Signal<boolean>;
|
|
1711
|
-
private datePart;
|
|
1712
|
-
private timePart;
|
|
1713
1271
|
private fmtDate;
|
|
1714
1272
|
private fmtTime;
|
|
1715
1273
|
protected readonly display: _angular_core.Signal<string>;
|
|
@@ -1718,11 +1276,10 @@ declare class KptDateRange implements FormValueControl<KptDateRangeValue> {
|
|
|
1718
1276
|
* inaczej ta sama data byłaby klikalna dwa razy (jako „wyszarzona" w jednym panelu i właściwa
|
|
1719
1277
|
* w drugim) i pasmo zakresu malowałoby się w obu miejscach.
|
|
1720
1278
|
*/
|
|
1721
|
-
protected readonly panels: _angular_core.Signal<
|
|
1722
|
-
private buildWeeks;
|
|
1279
|
+
protected readonly panels: _angular_core.Signal<KptMonthPanel[]>;
|
|
1723
1280
|
protected toggleOpen(): void;
|
|
1724
1281
|
protected close(): void;
|
|
1725
|
-
protected selectDay(cell:
|
|
1282
|
+
protected selectDay(cell: KptRangeDayCell): void;
|
|
1726
1283
|
protected commit(): void;
|
|
1727
1284
|
protected prevMonth(): void;
|
|
1728
1285
|
protected nextMonth(): void;
|
|
@@ -2665,36 +2222,6 @@ declare class KptPaginator {
|
|
|
2665
2222
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptPaginator, "kpt-paginator", never, { "length": { "alias": "length"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; }, { "pageSize": "pageSizeChange"; "pageIndex": "pageIndexChange"; }, never, never, true, never>;
|
|
2666
2223
|
}
|
|
2667
2224
|
|
|
2668
|
-
/** Rodzaj kontrolki filtra w nagłówku kolumny. */
|
|
2669
|
-
type KptColumnFilterType = 'text' | 'number' | 'select' | 'dateRange' | 'numberRange' | 'slider';
|
|
2670
|
-
interface KptColumnFilter {
|
|
2671
|
-
type: KptColumnFilterType;
|
|
2672
|
-
/** Opcje dla `type: 'select'`. */
|
|
2673
|
-
options?: KptOption<unknown>[];
|
|
2674
|
-
/** Wielokrotny wybór dla `type: 'select'`. */
|
|
2675
|
-
multiple?: boolean;
|
|
2676
|
-
/** Placeholder kontrolki. */
|
|
2677
|
-
placeholder?: string;
|
|
2678
|
-
/** Dolna granica dla `type: 'slider'` (domyślnie 0). */
|
|
2679
|
-
min?: number;
|
|
2680
|
-
/** Górna granica dla `type: 'slider'` (domyślnie 100). */
|
|
2681
|
-
max?: number;
|
|
2682
|
-
/** Krok dla `type: 'slider'` (domyślnie 1). */
|
|
2683
|
-
step?: number;
|
|
2684
|
-
}
|
|
2685
|
-
|
|
2686
|
-
/** Wbudowana agregacja kolumny w wierszu podsumowania. */
|
|
2687
|
-
type KptSummaryFn = 'sum' | 'avg' | 'min' | 'max' | 'count';
|
|
2688
|
-
interface KptColumnSummary {
|
|
2689
|
-
/**
|
|
2690
|
-
* Agregacja wbudowana albo własna funkcja liczona na całym zbiorze wierszy
|
|
2691
|
-
* (po filtrach, ze wszystkich stron).
|
|
2692
|
-
*/
|
|
2693
|
-
fn: KptSummaryFn | ((rows: readonly Record<string, unknown>[]) => unknown);
|
|
2694
|
-
/** Formatowanie wyniku (np. waluta). Bez niego wartość renderowana jest surowo. */
|
|
2695
|
-
format?: (value: unknown) => string;
|
|
2696
|
-
}
|
|
2697
|
-
|
|
2698
2225
|
/** Rodzaj kontrolki edycji inline komórki. */
|
|
2699
2226
|
type KptColumnEditType = 'text' | 'number' | 'date' | 'select' | 'multiselect';
|
|
2700
2227
|
interface KptColumnEdit {
|
|
@@ -2911,7 +2438,7 @@ declare class KptDataTable<T = Record<string, unknown>> {
|
|
|
2911
2438
|
protected setRangeFilter(field: string, bound: 'min' | 'max', event: Event): void;
|
|
2912
2439
|
/** Bieżąca para `[lo, hi]` filtra suwakowego dla kolumny (domyślnie pełen zakres). */
|
|
2913
2440
|
protected sliderVal(col: KptColumn): [number, number];
|
|
2914
|
-
/** Semantyka dopasowania siedzi w
|
|
2441
|
+
/** Semantyka dopasowania siedzi w `@konce-pt/table` — tu zostaje tylko spięcie ze stanem. */
|
|
2915
2442
|
private matchesColumnFilters;
|
|
2916
2443
|
private readonly filtered;
|
|
2917
2444
|
private readonly sorted;
|
|
@@ -3048,6 +2575,7 @@ declare class KptTree<T = unknown> {
|
|
|
3048
2575
|
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3049
2576
|
readonly selected: _angular_core.ModelSignal<KptTreeNode<T> | null>;
|
|
3050
2577
|
readonly nodeClick: _angular_core.OutputEmitterRef<KptTreeNode<T>>;
|
|
2578
|
+
protected readonly i18n: KptI18n;
|
|
3051
2579
|
private readonly version;
|
|
3052
2580
|
protected has(node: KptTreeNode<T>): boolean;
|
|
3053
2581
|
protected isOpen(node: KptTreeNode<T>): boolean;
|
|
@@ -3557,6 +3085,6 @@ declare class KptSpeedDial<T = unknown> {
|
|
|
3557
3085
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptSpeedDial<any>, "kpt-speed-dial", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
|
|
3558
3086
|
}
|
|
3559
3087
|
|
|
3560
|
-
export { KPT_BREAKPOINTS, KPT_FORM_FIELD_CONTROL, KPT_I18N_CONFIG,
|
|
3561
|
-
export type {
|
|
3088
|
+
export { KPT_BREAKPOINTS, KPT_FORM_FIELD_CONTROL, KPT_I18N_CONFIG, KptAccordion, KptAccordionPanel, KptAlert, KptAppShell, KptAuth, KptAuthProviderDef, KptAutocomplete, KptAvatar, KptAvatarGroup, KptBadge, KptBottomSheet, KptBreadcrumb, KptBreakpointObserver, KptButton, KptButtonGroup, KptCard, KptCarousel, KptCellDef, KptCellEditDef, KptCheckbox, KptChip, KptChipsInput, KptClock, KptColorPicker, KptConfirmContainer, KptConfirmService, KptContextMenu, KptDataTable, KptDataView, KptDateRange, KptDatepicker, KptDialog, KptDivider, KptDrawer, KptEmpty, KptFab, KptFieldset, KptFileUpload, KptFormField, KptGalleria, KptI18n, KptIcon, KptIconButton, KptIconRegistry, KptImage, KptInput, KptInputMask, KptInputNumber, KptInputOtp, KptKnob, KptListbox, KptMegamenu, KptMenu, KptMenubar, KptMeterGroup, KptOrderList, KptPaginator, KptPanel, KptPassword, KptPickList, KptPopover, KptProgress, KptRadioGroup, KptRating, KptRichText, KptRowDetailDef, KptScrollTop, KptSelect, KptShellNavToggle, KptSidenav, KptSkeleton, KptSlider, KptSpeedDial, KptSpinner, KptSplitButton, KptSplitter, KptStep, KptStepper, KptSwitch, KptSwitchGroup, KptTab, KptTabs, KptTextarea, KptTimeline, KptToastContainer, KptToastService, KptToolbar, KptTooltip, KptTree, provideKptI18n };
|
|
3089
|
+
export type { KptAlertVariant, KptAuthLayout, KptAuthMode, KptAuthProvider, KptAuthProviderLayout, KptAuthResetValue, KptAuthSignInValue, KptAuthSignUpValue, KptAvatarItem, KptAvatarShape, KptAvatarSize, KptBadgeSize, KptBadgeVariant, KptBreadcrumbItem, KptBreakpoint, KptButtonSize, KptButtonVariant, KptCardVariant, KptCellEditEvent, KptChipVariant, KptColumn, KptColumnEdit, KptColumnEditType, KptConfirmOptions, KptConfirmRequest, KptDatepickerMode, KptDatepickerView, KptDividerOrientation, KptDrawerPosition, KptFormFieldControl, KptGalleriaItem, KptInputType, KptMenuItem, KptMeterItem, KptOption, KptProgressVariant, KptRichTool, KptRichToolbar, KptSidenavMode, KptSkeletonVariant, KptSliderValue, KptSpeedDialDirection, KptSplitterOrientation, KptTableLazyState, KptTimelineItem, KptToast, KptToastOptions, KptTooltipPosition, KptTreeNode };
|
|
3562
3090
|
//# sourceMappingURL=konce-pt-angular.d.ts.map
|