@ucme-ui/angular 0.1.0 → 0.3.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 (42) hide show
  1. package/README.md +47 -6
  2. package/fesm2022/ucme-ui-angular.mjs +5573 -2077
  3. package/fesm2022/ucme-ui-angular.mjs.map +1 -1
  4. package/package.json +12 -9
  5. package/styles/_controls.scss +2 -54
  6. package/types/ucme-ui-angular.d.ts +1567 -0
  7. package/index.d.ts +0 -5
  8. package/lib/alert/alert.component.d.ts +0 -18
  9. package/lib/avatar/avatar.component.d.ts +0 -15
  10. package/lib/badge/badge.component.d.ts +0 -12
  11. package/lib/breadcrumb/breadcrumb.component.d.ts +0 -12
  12. package/lib/button/button-group.component.d.ts +0 -17
  13. package/lib/button/button.component.d.ts +0 -39
  14. package/lib/calendar/calendar.component.d.ts +0 -105
  15. package/lib/calendar/date-picker.component.d.ts +0 -87
  16. package/lib/calendar/date-utils.d.ts +0 -27
  17. package/lib/card/card.component.d.ts +0 -30
  18. package/lib/checkbox/checkbox.component.d.ts +0 -36
  19. package/lib/core/media.d.ts +0 -6
  20. package/lib/core/theme.service.d.ts +0 -21
  21. package/lib/core/unique-id.d.ts +0 -2
  22. package/lib/dialog/dialog.component.d.ts +0 -39
  23. package/lib/form-field/form-field.component.d.ts +0 -38
  24. package/lib/form-field/form-field.tokens.d.ts +0 -31
  25. package/lib/form-field/input.directive.d.ts +0 -28
  26. package/lib/icon/icon.component.d.ts +0 -16
  27. package/lib/icon/icons.d.ts +0 -11
  28. package/lib/imports.d.ts +0 -15
  29. package/lib/layout/nav.types.d.ts +0 -15
  30. package/lib/layout/shell.component.d.ts +0 -51
  31. package/lib/layout/sidebar-nav.component.d.ts +0 -19
  32. package/lib/layout/theme-toggle.component.d.ts +0 -9
  33. package/lib/menu/menu.component.d.ts +0 -38
  34. package/lib/paginator/paginator.component.d.ts +0 -21
  35. package/lib/spinner/spinner.component.d.ts +0 -9
  36. package/lib/switch/switch.component.d.ts +0 -24
  37. package/lib/table/table.component.d.ts +0 -57
  38. package/lib/table/table.types.d.ts +0 -18
  39. package/lib/tabs/tabs.component.d.ts +0 -33
  40. package/lib/toast/toast.service.d.ts +0 -32
  41. package/lib/toast/toaster.component.d.ts +0 -11
  42. package/public-api.d.ts +0 -34
@@ -0,0 +1,1567 @@
1
+ import * as i0 from "@angular/core";
2
+ import { DoCheck, ElementRef, InjectionToken, Provider, Signal, TemplateRef } from "@angular/core";
3
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
4
+ /** Sayfa içinde benzersiz bir DOM id'si üretir (label/aria bağlantıları için). */
5
+ export declare function huUniqueId(prefix?: string): string;
6
+ /**
7
+ * Bir media query'yi signal olarak döndürür. Injection context içinde çağrılmalıdır.
8
+ * @example readonly isMobile = huMediaQuery('(max-width: 1023.98px)');
9
+ */
10
+ export declare function huMediaQuery(query: string): Signal<boolean>;
11
+ export type HuThemeMode = 'light' | 'dark' | 'system';
12
+ export type HuResolvedTheme = 'light' | 'dark';
13
+ /**
14
+ * Açık / koyu / sistem temasını yönetir. Seçim localStorage'da saklanır ve
15
+ * `<html data-theme="...">` özniteliği üzerinden token'lara yansır.
16
+ */
17
+ export declare class HuThemeService {
18
+ private readonly doc;
19
+ private readonly win;
20
+ private readonly media;
21
+ private readonly systemDark;
22
+ readonly mode: import("@angular/core").WritableSignal<HuThemeMode>;
23
+ readonly resolved: import("@angular/core").Signal<HuResolvedTheme>;
24
+ constructor();
25
+ setMode(mode: HuThemeMode): void;
26
+ toggle(): void;
27
+ private readStoredMode;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuThemeService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
30
+ }
31
+ /** İkon adı → SVG path verisi (24x24 viewBox, stroke tabanlı). */
32
+ export type HuIconSet = Record<string, string>;
33
+ export declare const HU_ICON_SETS: InjectionToken<HuIconSet[]>;
34
+ /**
35
+ * Uygulamaya özel ikon ekler.
36
+ * @example providers: [provideHuIcons({ rocket: 'M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2' })]
37
+ */
38
+ export declare function provideHuIcons(icons: HuIconSet): Provider;
39
+ /** Yerleşik ikon seti (Lucide stilinde, 2px stroke). */
40
+ export declare const HU_BUILTIN_ICONS: HuIconSet;
41
+ /**
42
+ * SVG ikon.
43
+ * @example <hu-icon name="users" /> <hu-icon name="bell" [size]="20" label="Bildirimler" />
44
+ */
45
+ export declare class HuIcon {
46
+ private readonly customSets;
47
+ readonly name: import("@angular/core").InputSignal<string>;
48
+ readonly size: import("@angular/core").InputSignal<number>;
49
+ readonly strokeWidth: import("@angular/core").InputSignal<number>;
50
+ /** Ekran okuyucular için etiket. Verilmezse ikon dekoratif kabul edilir. */
51
+ readonly label: import("@angular/core").InputSignal<string | undefined>;
52
+ protected readonly path: import("@angular/core").Signal<string>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuIcon, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuIcon, "hu-icon", never, {
55
+ "name": {
56
+ "alias": "name";
57
+ "required": true;
58
+ "isSignal": true;
59
+ };
60
+ "size": {
61
+ "alias": "size";
62
+ "required": false;
63
+ "isSignal": true;
64
+ };
65
+ "strokeWidth": {
66
+ "alias": "strokeWidth";
67
+ "required": false;
68
+ "isSignal": true;
69
+ };
70
+ "label": {
71
+ "alias": "label";
72
+ "required": false;
73
+ "isSignal": true;
74
+ };
75
+ }, {}, never, never, true, never>;
76
+ }
77
+ /** Görünüm. */
78
+ export type HuButtonVariant = 'solid' | 'soft' | 'outline' | 'ghost' | 'link';
79
+ /** Renk. */
80
+ export type HuButtonColor = 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info';
81
+ export type HuButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
82
+ /**
83
+ * Buton. Native `<button>` ve `<a>` elementlerine uygulanır; böylece form
84
+ * davranışı, routerLink ve erişilebilirlik tarayıcıdan hazır gelir.
85
+ *
86
+ * Görünüm (`variant`) ve renk (`color`) birbirinden bağımsızdır:
87
+ * 5 görünüm × 6 renk.
88
+ *
89
+ * @example
90
+ * <button hu-button>Kaydet</button>
91
+ * <button hu-button variant="soft" color="success">Onayla</button>
92
+ * <button hu-button variant="outline" color="danger" size="sm"><hu-icon name="trash" /> Sil</button>
93
+ * <button hu-button variant="ghost" iconOnly aria-label="Düzenle"><hu-icon name="edit" /></button>
94
+ * <a hu-button variant="link" routerLink="/users">Tüm kullanıcılar</a>
95
+ */
96
+ export declare class HuButton {
97
+ protected readonly isButton: boolean;
98
+ readonly variant: import("@angular/core").InputSignal<HuButtonVariant>;
99
+ /** Verilmezse: solid/soft/link → primary, outline/ghost → neutral. */
100
+ readonly color: import("@angular/core").InputSignal<HuButtonColor | undefined>;
101
+ readonly size: import("@angular/core").InputSignal<HuButtonSize>;
102
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
103
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
104
+ /** Butonu kapsayıcı genişliğine yayar. */
105
+ readonly block: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
106
+ /** Kare, yalnızca ikon içeren buton. `aria-label` vermeyi unutmayın. */
107
+ readonly iconOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
108
+ /** Tam yuvarlak köşeler. */
109
+ readonly pill: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
110
+ protected readonly resolvedColor: import("@angular/core").Signal<HuButtonColor>;
111
+ protected readonly isDisabled: import("@angular/core").Signal<boolean>;
112
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuButton, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuButton, "button[hu-button], a[hu-button]", never, {
114
+ "variant": {
115
+ "alias": "variant";
116
+ "required": false;
117
+ "isSignal": true;
118
+ };
119
+ "color": {
120
+ "alias": "color";
121
+ "required": false;
122
+ "isSignal": true;
123
+ };
124
+ "size": {
125
+ "alias": "size";
126
+ "required": false;
127
+ "isSignal": true;
128
+ };
129
+ "disabled": {
130
+ "alias": "disabled";
131
+ "required": false;
132
+ "isSignal": true;
133
+ };
134
+ "loading": {
135
+ "alias": "loading";
136
+ "required": false;
137
+ "isSignal": true;
138
+ };
139
+ "block": {
140
+ "alias": "block";
141
+ "required": false;
142
+ "isSignal": true;
143
+ };
144
+ "iconOnly": {
145
+ "alias": "iconOnly";
146
+ "required": false;
147
+ "isSignal": true;
148
+ };
149
+ "pill": {
150
+ "alias": "pill";
151
+ "required": false;
152
+ "isSignal": true;
153
+ };
154
+ }, {}, never, ["*"], true, never>;
155
+ }
156
+ /**
157
+ * Butonları birleşik bir grup olarak gösterir (araç çubuğu, görünüm seçici, sayfalama).
158
+ * Aç/kapa davranışı için butonlara `[attr.aria-pressed]` verin.
159
+ *
160
+ * @example
161
+ * <hu-button-group aria-label="Görünüm">
162
+ * <button hu-button variant="outline" [attr.aria-pressed]="view() === 'list'" (click)="view.set('list')">Liste</button>
163
+ * <button hu-button variant="outline" [attr.aria-pressed]="view() === 'grid'" (click)="view.set('grid')">Kart</button>
164
+ * </hu-button-group>
165
+ */
166
+ export declare class HuButtonGroup {
167
+ readonly vertical: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
168
+ readonly pill: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
169
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuButtonGroup, never>;
170
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuButtonGroup, "hu-button-group", never, {
171
+ "vertical": {
172
+ "alias": "vertical";
173
+ "required": false;
174
+ "isSignal": true;
175
+ };
176
+ "pill": {
177
+ "alias": "pill";
178
+ "required": false;
179
+ "isSignal": true;
180
+ };
181
+ }, {}, never, ["*"], true, never>;
182
+ }
183
+ /** hu-form-field'ın, içindeki kontrole sunduğu arayüz. */
184
+ export interface HuFormFieldParent {
185
+ readonly describedBy: Signal<string | null>;
186
+ readonly showError: Signal<boolean>;
187
+ }
188
+ export declare const HU_FORM_FIELD: InjectionToken<HuFormFieldParent>;
189
+ /**
190
+ * hu-form-field içine yerleştirilebilen her kontrolün uyguladığı sözleşme
191
+ * (huInput, hu-date-picker, ...). Kendi kontrolünüzü yazarken
192
+ * `providers: [{ provide: HuFormFieldControl, useExisting: MyControl }]` verin.
193
+ */
194
+ export declare abstract class HuFormFieldControl {
195
+ /** Label'ın `for` özniteliği bu id'ye bağlanır. */
196
+ abstract readonly id: Signal<string>;
197
+ /** Bir Angular form kontrolüne bağlı mı? */
198
+ abstract readonly hasControl: boolean;
199
+ /** Kontrol geçersiz ve kullanıcı etkileşime girmiş. */
200
+ abstract readonly controlErrorVisible: Signal<boolean>;
201
+ abstract readonly errors: Signal<ValidationErrors | null>;
202
+ }
203
+ /** Validator hata anahtarı → kullanıcıya gösterilecek mesaj. */
204
+ export type HuErrorMessages = Record<string, string | ((error: any) => string)>;
205
+ export declare const HU_DEFAULT_ERROR_MESSAGES: HuErrorMessages;
206
+ export declare const HU_ERROR_MESSAGES: InjectionToken<HuErrorMessages>;
207
+ /**
208
+ * Varsayılan validasyon mesajlarını genişletir / değiştirir.
209
+ * @example provideHuErrorMessages({ tckn: 'Geçerli bir T.C. kimlik numarası giriniz.' })
210
+ */
211
+ export declare function provideHuErrorMessages(messages: HuErrorMessages): Provider;
212
+ export type HuInputSize = 'sm' | 'md' | 'lg';
213
+ /**
214
+ * Native input / textarea / select elementlerine HU görünümünü ve
215
+ * hu-form-field entegrasyonunu (label, hata, aria) ekler.
216
+ *
217
+ * @example <input huInput formControlName="email" placeholder="ornek@example.com" />
218
+ */
219
+ export declare class HuInput implements HuFormFieldControl, DoCheck {
220
+ private readonly ngControl;
221
+ protected readonly field: import("@ucme-ui/angular").HuFormFieldParent | null;
222
+ readonly id: import("@angular/core").InputSignal<string>;
223
+ readonly size: import("@angular/core").InputSignal<HuInputSize>;
224
+ /** Form kontrolü olmadan hatalı görünümü zorlar. */
225
+ readonly invalid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
226
+ /** Bir Angular form kontrolüne bağlı mı? */
227
+ readonly hasControl: boolean;
228
+ /** Kontrol geçersiz ve kullanıcı etkileşime girmiş. */
229
+ readonly controlErrorVisible: import("@angular/core").WritableSignal<boolean>;
230
+ readonly errors: import("@angular/core").WritableSignal<ValidationErrors | null>;
231
+ protected readonly isInvalid: import("@angular/core").Signal<boolean>;
232
+ ngDoCheck(): void;
233
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuInput, never>;
234
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuInput, "input[huInput], textarea[huInput], select[huInput]", ["huInput"], {
235
+ "id": {
236
+ "alias": "id";
237
+ "required": false;
238
+ "isSignal": true;
239
+ };
240
+ "size": {
241
+ "alias": "size";
242
+ "required": false;
243
+ "isSignal": true;
244
+ };
245
+ "invalid": {
246
+ "alias": "invalid";
247
+ "required": false;
248
+ "isSignal": true;
249
+ };
250
+ }, {}, never, never, true, never>;
251
+ }
252
+ /** Kontrolün soluna yerleşen içerik (ikon, para birimi vb.). */
253
+ export declare class HuPrefix {
254
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuPrefix, never>;
255
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuPrefix, "[huPrefix]", never, {}, {}, never, never, true, never>;
256
+ }
257
+ /** Kontrolün sağına yerleşen içerik. */
258
+ export declare class HuSuffix {
259
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuSuffix, never>;
260
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuSuffix, "[huSuffix]", never, {}, {}, never, never, true, never>;
261
+ }
262
+ /**
263
+ * Label, yardım metni ve validasyon hatasını bir kontrol etrafında toplar.
264
+ * Reactive form hataları otomatik olarak Türkçe mesaja çevrilir.
265
+ *
266
+ * @example
267
+ * <hu-form-field label="E-posta" hint="Kurumsal adresinizi kullanın" required>
268
+ * <hu-icon huPrefix name="mail" />
269
+ * <input huInput type="email" formControlName="email" />
270
+ * </hu-form-field>
271
+ */
272
+ export declare class HuFormField implements HuFormFieldParent {
273
+ private readonly messages;
274
+ readonly label: import("@angular/core").InputSignal<string | undefined>;
275
+ readonly hint: import("@angular/core").InputSignal<string | undefined>;
276
+ /** Sabit hata mesajı. Verilmezse validator hatasından üretilir. */
277
+ readonly error: import("@angular/core").InputSignal<string | null | undefined>;
278
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
279
+ protected readonly control: import("@angular/core").Signal<HuFormFieldControl | undefined>;
280
+ protected readonly hintId: string;
281
+ protected readonly errorId: string;
282
+ protected readonly errorText: import("@angular/core").Signal<string | null>;
283
+ readonly showError: import("@angular/core").Signal<boolean>;
284
+ readonly describedBy: import("@angular/core").Signal<string | null>;
285
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuFormField, never>;
286
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuFormField, "hu-form-field", never, {
287
+ "label": {
288
+ "alias": "label";
289
+ "required": false;
290
+ "isSignal": true;
291
+ };
292
+ "hint": {
293
+ "alias": "hint";
294
+ "required": false;
295
+ "isSignal": true;
296
+ };
297
+ "error": {
298
+ "alias": "error";
299
+ "required": false;
300
+ "isSignal": true;
301
+ };
302
+ "required": {
303
+ "alias": "required";
304
+ "required": false;
305
+ "isSignal": true;
306
+ };
307
+ }, {}, ["control"], ["[huPrefix]", "*", "[huSuffix]"], true, never>;
308
+ }
309
+ /**
310
+ * Onay kutusu. Reactive/template-driven formlarla ya da `[(checked)]` ile çalışır.
311
+ *
312
+ * `indeterminate` (kısmen seçili) yalnızca görsel bir durumdur ve tıklanınca
313
+ * tarayıcı standardı gereği kalkar; değeri alt seçimlerden hesaplayıp siz verin:
314
+ *
315
+ * @example
316
+ * <hu-checkbox formControlName="kvkk">KVKK metnini okudum</hu-checkbox>
317
+ *
318
+ * <!-- "Tümünü seç" -->
319
+ * <hu-checkbox [checked]="allSelected()" [indeterminate]="someSelected()" (checkedChange)="selectAll($event)">
320
+ * Tümünü seç
321
+ * </hu-checkbox>
322
+ */
323
+ export declare class HuCheckbox implements ControlValueAccessor {
324
+ readonly checked: import("@angular/core").ModelSignal<boolean>;
325
+ readonly indeterminate: import("@angular/core").ModelSignal<boolean>;
326
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
327
+ readonly name: import("@angular/core").InputSignal<string | undefined>;
328
+ readonly inputId: import("@angular/core").InputSignal<string>;
329
+ /** Görünür etiket yoksa ekran okuyucu etiketi. */
330
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
331
+ private readonly formDisabled;
332
+ protected readonly isDisabled: import("@angular/core").Signal<boolean>;
333
+ private onChange;
334
+ protected onTouched: () => void;
335
+ protected onInputChange(event: Event): void;
336
+ writeValue(value: unknown): void;
337
+ registerOnChange(fn: (value: boolean) => void): void;
338
+ registerOnTouched(fn: () => void): void;
339
+ setDisabledState(disabled: boolean): void;
340
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuCheckbox, never>;
341
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuCheckbox, "hu-checkbox", never, {
342
+ "checked": {
343
+ "alias": "checked";
344
+ "required": false;
345
+ "isSignal": true;
346
+ };
347
+ "indeterminate": {
348
+ "alias": "indeterminate";
349
+ "required": false;
350
+ "isSignal": true;
351
+ };
352
+ "disabled": {
353
+ "alias": "disabled";
354
+ "required": false;
355
+ "isSignal": true;
356
+ };
357
+ "name": {
358
+ "alias": "name";
359
+ "required": false;
360
+ "isSignal": true;
361
+ };
362
+ "inputId": {
363
+ "alias": "inputId";
364
+ "required": false;
365
+ "isSignal": true;
366
+ };
367
+ "ariaLabel": {
368
+ "alias": "aria-label";
369
+ "required": false;
370
+ "isSignal": true;
371
+ };
372
+ }, {
373
+ "checked": "checkedChange";
374
+ "indeterminate": "indeterminateChange";
375
+ }, never, ["*"], true, never>;
376
+ }
377
+ /**
378
+ * Açık/kapalı anahtarı (ayarlar için). Formlarla ya da `[(checked)]` ile çalışır.
379
+ * @example <hu-switch formControlName="emailNotifications">E-posta bildirimleri</hu-switch>
380
+ */
381
+ export declare class HuSwitch implements ControlValueAccessor {
382
+ readonly checked: import("@angular/core").ModelSignal<boolean>;
383
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
384
+ readonly inputId: import("@angular/core").InputSignal<string>;
385
+ /** Görünür etiket yoksa ekran okuyucu etiketi. */
386
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
387
+ private readonly formDisabled;
388
+ protected readonly isDisabled: import("@angular/core").Signal<boolean>;
389
+ private onChange;
390
+ protected onTouched: () => void;
391
+ protected onInputChange(event: Event): void;
392
+ writeValue(value: unknown): void;
393
+ registerOnChange(fn: (value: boolean) => void): void;
394
+ registerOnTouched(fn: () => void): void;
395
+ setDisabledState(disabled: boolean): void;
396
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuSwitch, never>;
397
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuSwitch, "hu-switch", never, {
398
+ "checked": {
399
+ "alias": "checked";
400
+ "required": false;
401
+ "isSignal": true;
402
+ };
403
+ "disabled": {
404
+ "alias": "disabled";
405
+ "required": false;
406
+ "isSignal": true;
407
+ };
408
+ "inputId": {
409
+ "alias": "inputId";
410
+ "required": false;
411
+ "isSignal": true;
412
+ };
413
+ "ariaLabel": {
414
+ "alias": "aria-label";
415
+ "required": false;
416
+ "isSignal": true;
417
+ };
418
+ }, {
419
+ "checked": "checkedChange";
420
+ }, never, ["*"], true, never>;
421
+ }
422
+ export interface HuDateRange {
423
+ start: Date | null;
424
+ end: Date | null;
425
+ }
426
+ export declare function startOfDay(date: Date): Date;
427
+ export declare function addDays(date: Date, days: number): Date;
428
+ /** Ay ekler; hedef ayda o gün yoksa ayın son gününe sabitler (31 Ocak + 1 ay = 28/29 Şubat). */
429
+ export declare function addMonths(date: Date, months: number): Date;
430
+ export declare function daysInMonth(year: number, month: number): number;
431
+ export declare function isSameDay(a: Date | null | undefined, b: Date | null | undefined): boolean;
432
+ export declare function isSameMonth(a: Date, b: Date): boolean;
433
+ /** Gün bazında karşılaştırma: a < b → negatif. */
434
+ export declare function compareDays(a: Date, b: Date): number;
435
+ /** Haftanın başlangıcı (varsayılan Pazartesi). */
436
+ export declare function startOfWeek(date: Date, firstDayOfWeek?: number): Date;
437
+ export declare function clampDate(date: Date, min?: Date | null, max?: Date | null): Date;
438
+ export declare function isValidDate(value: unknown): value is Date;
439
+ /** `gg.aa.yyyy` biçiminde yazar. */
440
+ export declare function formatDate(date: Date | null | undefined): string;
441
+ /**
442
+ * Kullanıcı girdisini ayrıştırır. Kabul edilenler: `5.10.2026`, `05/10/2026`,
443
+ * `05-10-2026`, `05102026`. Geçersiz tarihte (31.02.2026 gibi) `null` döner.
444
+ */
445
+ export declare function parseDate(text: string): Date | null;
446
+ export declare function formatRange(range: HuDateRange | null | undefined): string;
447
+ /** `gg.aa.yyyy – gg.aa.yyyy` ayrıştırır. Başarısızsa `null`. */
448
+ export declare function parseRange(text: string): HuDateRange | null;
449
+ export type HuCalendarMode = 'single' | 'range';
450
+ export type HuCalendarView = 'days' | 'months' | 'years';
451
+ export type HuMarkerVariant = 'primary' | 'info' | 'success' | 'warning' | 'danger';
452
+ /** Takvimde bir güne işaret (nokta) koyar; örn. sınav, tatil, son başvuru. */
453
+ export interface HuCalendarMarker {
454
+ date: Date;
455
+ label?: string;
456
+ variant?: HuMarkerVariant;
457
+ }
458
+ interface DayCell {
459
+ date: Date;
460
+ key: string;
461
+ day: number;
462
+ inMonth: boolean;
463
+ today: boolean;
464
+ selected: boolean;
465
+ rangeStart: boolean;
466
+ rangeEnd: boolean;
467
+ inRange: boolean;
468
+ disabled: boolean;
469
+ markers: HuCalendarMarker[];
470
+ label: string;
471
+ }
472
+ interface PickerCell {
473
+ value: number;
474
+ label: string;
475
+ current: boolean;
476
+ selected: boolean;
477
+ disabled: boolean;
478
+ }
479
+ /**
480
+ * Satır içi takvim. Tek gün veya tarih aralığı seçer; ay/yıl görünümü ve
481
+ * tam klavye desteği vardır (oklar, Home/End, PageUp/PageDown, Enter).
482
+ *
483
+ * @example
484
+ * <hu-calendar [(value)]="date" [min]="today" [markers]="events" />
485
+ * <hu-calendar mode="range" [(range)]="period" />
486
+ */
487
+ export declare class HuCalendar {
488
+ private readonly host;
489
+ private readonly injector;
490
+ readonly mode: import("@angular/core").InputSignal<HuCalendarMode>;
491
+ /** Seçili gün (`mode="single"`). */
492
+ readonly value: import("@angular/core").ModelSignal<Date | null>;
493
+ /** Seçili aralık (`mode="range"`). */
494
+ readonly range: import("@angular/core").ModelSignal<HuDateRange | null>;
495
+ readonly min: import("@angular/core").InputSignal<Date | null>;
496
+ readonly max: import("@angular/core").InputSignal<Date | null>;
497
+ /** `false` döndüren günler seçilemez (örn. hafta sonları). */
498
+ readonly dateFilter: import("@angular/core").InputSignal<((date: Date) => boolean) | null>;
499
+ readonly markers: import("@angular/core").InputSignal<HuCalendarMarker[]>;
500
+ /** Hiç seçim yokken açılacak ay. */
501
+ readonly startAt: import("@angular/core").InputSignal<Date | null>;
502
+ readonly locale: import("@angular/core").InputSignal<string>;
503
+ readonly firstDayOfWeek: import("@angular/core").InputSignal<number>;
504
+ /** Kullanıcı bir gün seçtiğinde. */
505
+ readonly dateSelected: import("@angular/core").OutputEmitterRef<Date>;
506
+ /** Görüntülenen ay değiştiğinde (ayın ilk günü). */
507
+ readonly monthChange: import("@angular/core").OutputEmitterRef<Date>;
508
+ protected readonly today: Date;
509
+ protected readonly gridId: string;
510
+ protected readonly view: import("@angular/core").WritableSignal<HuCalendarView>;
511
+ protected readonly activeDate: import("@angular/core").WritableSignal<Date>;
512
+ protected readonly hoverDate: import("@angular/core").WritableSignal<Date | null>;
513
+ /** Roving tabindex: yalnızca aktif gün Tab ile odaklanabilir. */
514
+ protected readonly activeKey: import("@angular/core").Signal<string>;
515
+ private readonly fmt;
516
+ protected readonly weekdays: import("@angular/core").Signal<{
517
+ short: string;
518
+ long: string;
519
+ }[]>;
520
+ protected readonly headerLabel: import("@angular/core").Signal<string>;
521
+ private readonly markerMap;
522
+ protected readonly weeks: import("@angular/core").Signal<DayCell[][]>;
523
+ /** Aralık seçiminde bitiş henüz seçilmemişken fareyle önizleme. */
524
+ private readonly previewEnd;
525
+ protected readonly months: import("@angular/core").Signal<PickerCell[]>;
526
+ private readonly yearPageStart;
527
+ protected readonly years: import("@angular/core").Signal<PickerCell[]>;
528
+ private readonly selectedAnchor;
529
+ protected readonly prevDisabled: import("@angular/core").Signal<boolean>;
530
+ protected readonly nextDisabled: import("@angular/core").Signal<boolean>;
531
+ constructor();
532
+ select(date: Date): void;
533
+ /** Klavye odağını takvime taşır (tarih seçici açıldığında kullanılır). */
534
+ focusActiveCell(): void;
535
+ /** Görünüm değişince tıklanan buton DOM'dan kalkar; odağı yeni görünüme taşı. */
536
+ private focusAfterRender;
537
+ private focusPicker;
538
+ protected previous(): void;
539
+ protected next(): void;
540
+ private navigate;
541
+ protected toggleView(): void;
542
+ protected pickMonth(month: number): void;
543
+ protected pickYear(year: number): void;
544
+ protected onGridKeydown(event: KeyboardEvent): void;
545
+ private setActive;
546
+ private isSelectable;
547
+ private isRangeAllowed;
548
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuCalendar, never>;
549
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuCalendar, "hu-calendar", never, {
550
+ "mode": {
551
+ "alias": "mode";
552
+ "required": false;
553
+ "isSignal": true;
554
+ };
555
+ "value": {
556
+ "alias": "value";
557
+ "required": false;
558
+ "isSignal": true;
559
+ };
560
+ "range": {
561
+ "alias": "range";
562
+ "required": false;
563
+ "isSignal": true;
564
+ };
565
+ "min": {
566
+ "alias": "min";
567
+ "required": false;
568
+ "isSignal": true;
569
+ };
570
+ "max": {
571
+ "alias": "max";
572
+ "required": false;
573
+ "isSignal": true;
574
+ };
575
+ "dateFilter": {
576
+ "alias": "dateFilter";
577
+ "required": false;
578
+ "isSignal": true;
579
+ };
580
+ "markers": {
581
+ "alias": "markers";
582
+ "required": false;
583
+ "isSignal": true;
584
+ };
585
+ "startAt": {
586
+ "alias": "startAt";
587
+ "required": false;
588
+ "isSignal": true;
589
+ };
590
+ "locale": {
591
+ "alias": "locale";
592
+ "required": false;
593
+ "isSignal": true;
594
+ };
595
+ "firstDayOfWeek": {
596
+ "alias": "firstDayOfWeek";
597
+ "required": false;
598
+ "isSignal": true;
599
+ };
600
+ }, {
601
+ "value": "valueChange";
602
+ "range": "rangeChange";
603
+ "dateSelected": "dateSelected";
604
+ "monthChange": "monthChange";
605
+ }, never, never, true, never>;
606
+ }
607
+ export type HuDatePickerValue = Date | HuDateRange | null;
608
+ /**
609
+ * Tarih seçici form kontrolü. Tarih elle (`gg.aa.yyyy`) yazılabilir veya
610
+ * takvimden seçilebilir. `mode="range"` ile değer `{ start, end }` olur.
611
+ * Validasyon hataları: `huDateParse`, `huDateMin`, `huDateMax`, `huDateUnavailable`.
612
+ *
613
+ * @example
614
+ * <hu-form-field label="Başlangıç tarihi">
615
+ * <hu-date-picker formControlName="startDate" [min]="today" />
616
+ * </hu-form-field>
617
+ * <hu-date-picker mode="range" [(value)]="period" placeholder="Tarih aralığı" />
618
+ */
619
+ export declare class HuDatePicker implements ControlValueAccessor, Validator, HuFormFieldControl, DoCheck {
620
+ private readonly injector;
621
+ private readonly host;
622
+ private readonly win;
623
+ protected readonly field: import("@ucme-ui/angular").HuFormFieldParent | null;
624
+ readonly mode: import("@angular/core").InputSignal<HuCalendarMode>;
625
+ readonly value: import("@angular/core").ModelSignal<HuDatePickerValue>;
626
+ readonly min: import("@angular/core").InputSignal<Date | null>;
627
+ readonly max: import("@angular/core").InputSignal<Date | null>;
628
+ readonly dateFilter: import("@angular/core").InputSignal<((date: Date) => boolean) | null>;
629
+ readonly markers: import("@angular/core").InputSignal<HuCalendarMarker[]>;
630
+ readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
631
+ readonly size: import("@angular/core").InputSignal<HuInputSize>;
632
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
633
+ readonly id: import("@angular/core").InputSignal<string>;
634
+ protected readonly open: import("@angular/core").WritableSignal<boolean>;
635
+ protected readonly text: import("@angular/core").WritableSignal<string>;
636
+ protected readonly panelId: string;
637
+ private readonly parseError;
638
+ private readonly formDisabled;
639
+ protected readonly isDisabled: import("@angular/core").Signal<boolean>;
640
+ private ngControl;
641
+ get hasControl(): boolean;
642
+ readonly controlErrorVisible: import("@angular/core").WritableSignal<boolean>;
643
+ readonly errors: import("@angular/core").WritableSignal<ValidationErrors | null>;
644
+ protected readonly isInvalid: import("@angular/core").Signal<boolean>;
645
+ protected readonly placeholderText: import("@angular/core").Signal<string>;
646
+ protected readonly singleValue: import("@angular/core").Signal<Date | null>;
647
+ protected readonly rangeValue: import("@angular/core").Signal<HuDateRange | null>;
648
+ /** Takvimde aralık seçilirken geçici değer (bitiş seçilene kadar forma yazılmaz). */
649
+ protected readonly draftRange: import("@angular/core").WritableSignal<HuDateRange | null>;
650
+ private readonly input;
651
+ private readonly panel;
652
+ private readonly calendar;
653
+ protected readonly supportsPopover: boolean;
654
+ /** Son fare basışı bileşenin içinde mi? (DOM'dan kalkan butonlar focusout'u yanıltmasın) */
655
+ private pointerInside;
656
+ private onChange;
657
+ private onTouched;
658
+ private onValidatorChange;
659
+ constructor();
660
+ ngDoCheck(): void;
661
+ toggle(): void;
662
+ openPanel(): void;
663
+ close(restoreFocus?: boolean): void;
664
+ private positionPanel;
665
+ protected onCalendarDate(date: Date): void;
666
+ protected onCalendarRange(range: HuDateRange | null): void;
667
+ protected selectToday(): void;
668
+ protected clear(): void;
669
+ protected onInput(event: Event): void;
670
+ protected onInputKeydown(event: KeyboardEvent): void;
671
+ protected onPanelKeydown(event: KeyboardEvent): void;
672
+ private commitText;
673
+ private commit;
674
+ protected onFocusOut(event: FocusEvent): void;
675
+ protected onDocumentPointer(event: MouseEvent): void;
676
+ writeValue(value: unknown): void;
677
+ registerOnChange(fn: (value: HuDatePickerValue) => void): void;
678
+ registerOnTouched(fn: () => void): void;
679
+ setDisabledState(disabled: boolean): void;
680
+ validate(_control: AbstractControl): ValidationErrors | null;
681
+ registerOnValidatorChange(fn: () => void): void;
682
+ private format;
683
+ private resolveControl;
684
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuDatePicker, never>;
685
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuDatePicker, "hu-date-picker", never, {
686
+ "mode": {
687
+ "alias": "mode";
688
+ "required": false;
689
+ "isSignal": true;
690
+ };
691
+ "value": {
692
+ "alias": "value";
693
+ "required": false;
694
+ "isSignal": true;
695
+ };
696
+ "min": {
697
+ "alias": "min";
698
+ "required": false;
699
+ "isSignal": true;
700
+ };
701
+ "max": {
702
+ "alias": "max";
703
+ "required": false;
704
+ "isSignal": true;
705
+ };
706
+ "dateFilter": {
707
+ "alias": "dateFilter";
708
+ "required": false;
709
+ "isSignal": true;
710
+ };
711
+ "markers": {
712
+ "alias": "markers";
713
+ "required": false;
714
+ "isSignal": true;
715
+ };
716
+ "placeholder": {
717
+ "alias": "placeholder";
718
+ "required": false;
719
+ "isSignal": true;
720
+ };
721
+ "size": {
722
+ "alias": "size";
723
+ "required": false;
724
+ "isSignal": true;
725
+ };
726
+ "disabled": {
727
+ "alias": "disabled";
728
+ "required": false;
729
+ "isSignal": true;
730
+ };
731
+ "id": {
732
+ "alias": "id";
733
+ "required": false;
734
+ "isSignal": true;
735
+ };
736
+ }, {
737
+ "value": "valueChange";
738
+ }, never, never, true, never>;
739
+ }
740
+ export type HuSpinnerSize = 'sm' | 'md' | 'lg';
741
+ /** @example <hu-spinner /> <hu-spinner size="lg" label="Veriler yükleniyor" /> */
742
+ export declare class HuSpinner {
743
+ readonly size: import("@angular/core").InputSignal<HuSpinnerSize>;
744
+ readonly label: import("@angular/core").InputSignal<string>;
745
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuSpinner, never>;
746
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuSpinner, "hu-spinner", never, {
747
+ "size": {
748
+ "alias": "size";
749
+ "required": false;
750
+ "isSignal": true;
751
+ };
752
+ "label": {
753
+ "alias": "label";
754
+ "required": false;
755
+ "isSignal": true;
756
+ };
757
+ }, {}, never, never, true, never>;
758
+ }
759
+ export type HuStatusVariant = 'info' | 'success' | 'warning' | 'danger';
760
+ export declare const HU_STATUS_ICONS: Record<HuStatusVariant, string>;
761
+ /**
762
+ * Sayfa içi bilgi / uyarı mesajı.
763
+ * @example <hu-alert variant="warning" title="Dikkat">Dönem kayıtları 5 gün içinde kapanacak.</hu-alert>
764
+ */
765
+ export declare class HuAlert {
766
+ readonly variant: import("@angular/core").InputSignal<HuStatusVariant>;
767
+ readonly title: import("@angular/core").InputSignal<string | undefined>;
768
+ readonly dismissible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
769
+ readonly dismissed: import("@angular/core").WritableSignal<boolean>;
770
+ readonly closed: import("@angular/core").OutputEmitterRef<void>;
771
+ protected readonly icon: import("@angular/core").Signal<string>;
772
+ dismiss(): void;
773
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuAlert, never>;
774
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuAlert, "hu-alert", never, {
775
+ "variant": {
776
+ "alias": "variant";
777
+ "required": false;
778
+ "isSignal": true;
779
+ };
780
+ "title": {
781
+ "alias": "title";
782
+ "required": false;
783
+ "isSignal": true;
784
+ };
785
+ "dismissible": {
786
+ "alias": "dismissible";
787
+ "required": false;
788
+ "isSignal": true;
789
+ };
790
+ }, {
791
+ "closed": "closed";
792
+ }, never, ["*"], true, never>;
793
+ }
794
+ export type HuBadgeVariant = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
795
+ /**
796
+ * Durum etiketi.
797
+ * @example <hu-badge variant="success" dot>Aktif</hu-badge>
798
+ */
799
+ export declare class HuBadge {
800
+ readonly variant: import("@angular/core").InputSignal<HuBadgeVariant>;
801
+ readonly dot: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
802
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuBadge, never>;
803
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuBadge, "hu-badge", never, {
804
+ "variant": {
805
+ "alias": "variant";
806
+ "required": false;
807
+ "isSignal": true;
808
+ };
809
+ "dot": {
810
+ "alias": "dot";
811
+ "required": false;
812
+ "isSignal": true;
813
+ };
814
+ }, {}, never, ["*"], true, never>;
815
+ }
816
+ export type HuAvatarSize = 'sm' | 'md' | 'lg';
817
+ /**
818
+ * Kullanıcı avatarı. Görsel yoksa veya yüklenemezse baş harfleri gösterir.
819
+ * @example <hu-avatar name="Ayşe Yılmaz" /> <hu-avatar name="Ali Can" [src]="user.photo" size="lg" />
820
+ */
821
+ export declare class HuAvatar {
822
+ readonly name: import("@angular/core").InputSignal<string>;
823
+ readonly src: import("@angular/core").InputSignal<string | null | undefined>;
824
+ readonly size: import("@angular/core").InputSignal<HuAvatarSize>;
825
+ protected readonly failed: import("@angular/core").WritableSignal<boolean>;
826
+ protected readonly initials: import("@angular/core").Signal<string>;
827
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuAvatar, never>;
828
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuAvatar, "hu-avatar", never, {
829
+ "name": {
830
+ "alias": "name";
831
+ "required": false;
832
+ "isSignal": true;
833
+ };
834
+ "src": {
835
+ "alias": "src";
836
+ "required": false;
837
+ "isSignal": true;
838
+ };
839
+ "size": {
840
+ "alias": "size";
841
+ "required": false;
842
+ "isSignal": true;
843
+ };
844
+ }, {}, never, never, true, never>;
845
+ }
846
+ export interface HuToastOptions {
847
+ message: string;
848
+ title?: string;
849
+ variant?: HuStatusVariant;
850
+ /** Milisaniye. 0 verilirse kullanıcı kapatana kadar kalır. */
851
+ duration?: number;
852
+ }
853
+ export interface HuToast extends Required<Omit<HuToastOptions, 'title'>> {
854
+ id: number;
855
+ title?: string;
856
+ }
857
+ /**
858
+ * Geçici bildirimler. Uygulamada bir kez `<hu-toaster />` yerleştirilmelidir.
859
+ * @example inject(HuToastService).success('Kayıt güncellendi.');
860
+ */
861
+ export declare class HuToastService {
862
+ private nextId;
863
+ private readonly timers;
864
+ private readonly _toasts;
865
+ readonly toasts: import("@angular/core").Signal<HuToast[]>;
866
+ show(options: HuToastOptions): number;
867
+ info(message: string, title?: string): number;
868
+ success(message: string, title?: string): number;
869
+ warning(message: string, title?: string): number;
870
+ error(message: string, title?: string): number;
871
+ dismiss(id: number): void;
872
+ clear(): void;
873
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuToastService, never>;
874
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
875
+ }
876
+ export type HuToasterPosition = 'top-right' | 'top-center' | 'bottom-right' | 'bottom-center';
877
+ /** Toast'ların gösterildiği alan. Kök componentte bir kez kullanın: `<hu-toaster />` */
878
+ export declare class HuToaster {
879
+ protected readonly service: HuToastService;
880
+ protected readonly icons: Record<import("@ucme-ui/angular").HuStatusVariant, string>;
881
+ readonly position: import("@angular/core").InputSignal<HuToasterPosition>;
882
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuToaster, never>;
883
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuToaster, "hu-toaster", never, {
884
+ "position": {
885
+ "alias": "position";
886
+ "required": false;
887
+ "isSignal": true;
888
+ };
889
+ }, {}, never, never, true, never>;
890
+ }
891
+ export type HuDialogSize = 'sm' | 'md' | 'lg' | 'xl';
892
+ /** Dialog alt kısmındaki aksiyon alanı. */
893
+ export declare class HuDialogFooter {
894
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuDialogFooter, never>;
895
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuDialogFooter, "[huDialogFooter]", never, {}, {}, never, never, true, never>;
896
+ }
897
+ /**
898
+ * Modal pencere. Native `<dialog>` elementini kullanır; odak hapsi, Esc ile
899
+ * kapanma ve üst katman (top layer) tarayıcıdan gelir.
900
+ *
901
+ * @example
902
+ * <hu-dialog [(open)]="editOpen" title="Kullanıcıyı düzenle">
903
+ * ...form...
904
+ * <div huDialogFooter>
905
+ * <button hu-button variant="outline" (click)="editOpen.set(false)">Vazgeç</button>
906
+ * <button hu-button (click)="save()">Kaydet</button>
907
+ * </div>
908
+ * </hu-dialog>
909
+ */
910
+ export declare class HuDialog {
911
+ readonly open: import("@angular/core").ModelSignal<boolean>;
912
+ readonly title: import("@angular/core").InputSignal<string>;
913
+ readonly description: import("@angular/core").InputSignal<string | undefined>;
914
+ readonly size: import("@angular/core").InputSignal<HuDialogSize>;
915
+ readonly closeOnBackdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
916
+ readonly closeOnEsc: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
917
+ readonly closed: import("@angular/core").OutputEmitterRef<void>;
918
+ protected readonly titleId: string;
919
+ protected pointerDownOnBackdrop: boolean;
920
+ private readonly dialogRef;
921
+ constructor();
922
+ close(): void;
923
+ protected onNativeClose(): void;
924
+ protected onCancel(event: Event): void;
925
+ protected onClick(event: MouseEvent): void;
926
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuDialog, never>;
927
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuDialog, "hu-dialog", never, {
928
+ "open": {
929
+ "alias": "open";
930
+ "required": false;
931
+ "isSignal": true;
932
+ };
933
+ "title": {
934
+ "alias": "title";
935
+ "required": false;
936
+ "isSignal": true;
937
+ };
938
+ "description": {
939
+ "alias": "description";
940
+ "required": false;
941
+ "isSignal": true;
942
+ };
943
+ "size": {
944
+ "alias": "size";
945
+ "required": false;
946
+ "isSignal": true;
947
+ };
948
+ "closeOnBackdrop": {
949
+ "alias": "closeOnBackdrop";
950
+ "required": false;
951
+ "isSignal": true;
952
+ };
953
+ "closeOnEsc": {
954
+ "alias": "closeOnEsc";
955
+ "required": false;
956
+ "isSignal": true;
957
+ };
958
+ }, {
959
+ "open": "openChange";
960
+ "closed": "closed";
961
+ }, never, ["*", "[huDialogFooter]"], true, never>;
962
+ }
963
+ /** Kart başlığının sağındaki aksiyonlar. */
964
+ export declare class HuCardActions {
965
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuCardActions, never>;
966
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuCardActions, "[huCardActions]", never, {}, {}, never, never, true, never>;
967
+ }
968
+ /** Kart alt bilgisi. */
969
+ export declare class HuCardFooter {
970
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuCardFooter, never>;
971
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuCardFooter, "[huCardFooter]", never, {}, {}, never, never, true, never>;
972
+ }
973
+ export type HuCardPadding = 'none' | 'sm' | 'md';
974
+ /**
975
+ * İçerik kartı.
976
+ * @example
977
+ * <hu-card title="Son başvurular" subtitle="Son 7 gün">
978
+ * <button huCardActions hu-button variant="ghost" size="sm">Tümü</button>
979
+ * ...
980
+ * <div huCardFooter>...</div>
981
+ * </hu-card>
982
+ */
983
+ export declare class HuCard {
984
+ readonly title: import("@angular/core").InputSignal<string | undefined>;
985
+ readonly subtitle: import("@angular/core").InputSignal<string | undefined>;
986
+ readonly padding: import("@angular/core").InputSignal<HuCardPadding>;
987
+ private readonly actions;
988
+ protected readonly hasHeader: import("@angular/core").Signal<boolean>;
989
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuCard, never>;
990
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuCard, "hu-card", never, {
991
+ "title": {
992
+ "alias": "title";
993
+ "required": false;
994
+ "isSignal": true;
995
+ };
996
+ "subtitle": {
997
+ "alias": "subtitle";
998
+ "required": false;
999
+ "isSignal": true;
1000
+ };
1001
+ "padding": {
1002
+ "alias": "padding";
1003
+ "required": false;
1004
+ "isSignal": true;
1005
+ };
1006
+ }, {}, ["actions"], ["[huCardActions]", "*", "[huCardFooter]"], true, never>;
1007
+ }
1008
+ export type HuSortDirection = 'asc' | 'desc' | '';
1009
+ export interface HuSort {
1010
+ key: string;
1011
+ direction: HuSortDirection;
1012
+ }
1013
+ export interface HuColumn<T = any> {
1014
+ /** Satır nesnesindeki alan adı veya `huCell` şablonunun anahtarı. */
1015
+ key: string;
1016
+ header: string;
1017
+ sortable?: boolean;
1018
+ align?: 'start' | 'center' | 'end';
1019
+ /** Örn. '120px' veya '20%'. */
1020
+ width?: string;
1021
+ /** Hücre değeri / sıralama değeri için özel erişimci. */
1022
+ value?: (row: T) => unknown;
1023
+ /** Dar ekranlarda gizlenir. */
1024
+ hideOnMobile?: boolean;
1025
+ }
1026
+ export interface HuCellContext<T = any> {
1027
+ $implicit: T;
1028
+ index: number;
1029
+ }
1030
+ /**
1031
+ * Bir sütun için özel hücre şablonu. `huCellOf` ile tabloya verilen veriyi
1032
+ * bağlarsanız `let-row` değişkeni tip güvenli olur.
1033
+ * @example <ng-template huCell="status" [huCellOf]="users()" let-row><hu-badge>{{ row.status }}</hu-badge></ng-template>
1034
+ */
1035
+ export declare class HuCellDef<T = any> {
1036
+ readonly key: import("@angular/core").InputSignal<string>;
1037
+ /** Yalnızca tip çıkarımı içindir; çalışma zamanında kullanılmaz. */
1038
+ readonly of: import("@angular/core").InputSignal<readonly T[] | undefined>;
1039
+ readonly template: TemplateRef<HuCellContext<T>>;
1040
+ static ngTemplateContextGuard<T>(_dir: HuCellDef<T>, ctx: unknown): ctx is HuCellContext<T>;
1041
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuCellDef<any>, never>;
1042
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuCellDef<any>, "ng-template[huCell]", never, {
1043
+ "key": {
1044
+ "alias": "huCell";
1045
+ "required": true;
1046
+ "isSignal": true;
1047
+ };
1048
+ "of": {
1049
+ "alias": "huCellOf";
1050
+ "required": false;
1051
+ "isSignal": true;
1052
+ };
1053
+ }, {}, never, never, true, never>;
1054
+ }
1055
+ /**
1056
+ * Veri tablosu: sıralama, özel hücre şablonları, yükleniyor ve boş durumları.
1057
+ * Sayfalama için `hu-paginator` ile birlikte kullanın.
1058
+ *
1059
+ * @example
1060
+ * <hu-table [data]="users()" [columns]="columns" [(sort)]="sort">
1061
+ * <ng-template huCell="status" let-user>
1062
+ * <hu-badge [variant]="user.active ? 'success' : 'neutral'">{{ user.active ? 'Aktif' : 'Pasif' }}</hu-badge>
1063
+ * </ng-template>
1064
+ * </hu-table>
1065
+ */
1066
+ export declare class HuTable<T = any> {
1067
+ readonly data: import("@angular/core").InputSignal<readonly T[]>;
1068
+ readonly columns: import("@angular/core").InputSignal<HuColumn<T>[]>;
1069
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1070
+ readonly emptyText: import("@angular/core").InputSignal<string>;
1071
+ /** `client`: tablo kendisi sıralar. `server`: yalnızca `sort` değişir, veriyi siz getirirsiniz. */
1072
+ readonly sortMode: import("@angular/core").InputSignal<"client" | "server">;
1073
+ readonly sort: import("@angular/core").ModelSignal<HuSort>;
1074
+ readonly trackBy: import("@angular/core").InputSignal<(row: T) => unknown>;
1075
+ readonly striped: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1076
+ readonly dense: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1077
+ readonly stickyHeader: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1078
+ readonly clickableRows: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1079
+ readonly rowClick: import("@angular/core").OutputEmitterRef<T>;
1080
+ private readonly cellDefs;
1081
+ protected readonly templates: import("@angular/core").Signal<Map<string, TemplateRef<HuCellContext<any>>>>;
1082
+ protected readonly rows: import("@angular/core").Signal<readonly T[]>;
1083
+ protected cellValue(row: T, column: HuColumn<T>): unknown;
1084
+ protected toggleSort(column: HuColumn<T>): void;
1085
+ protected sortIcon(column: HuColumn<T>): string;
1086
+ protected ariaSort(column: HuColumn<T>): string | null;
1087
+ protected onRowClick(row: T): void;
1088
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuTable<any>, never>;
1089
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuTable<any>, "hu-table", never, {
1090
+ "data": {
1091
+ "alias": "data";
1092
+ "required": false;
1093
+ "isSignal": true;
1094
+ };
1095
+ "columns": {
1096
+ "alias": "columns";
1097
+ "required": true;
1098
+ "isSignal": true;
1099
+ };
1100
+ "loading": {
1101
+ "alias": "loading";
1102
+ "required": false;
1103
+ "isSignal": true;
1104
+ };
1105
+ "emptyText": {
1106
+ "alias": "emptyText";
1107
+ "required": false;
1108
+ "isSignal": true;
1109
+ };
1110
+ "sortMode": {
1111
+ "alias": "sortMode";
1112
+ "required": false;
1113
+ "isSignal": true;
1114
+ };
1115
+ "sort": {
1116
+ "alias": "sort";
1117
+ "required": false;
1118
+ "isSignal": true;
1119
+ };
1120
+ "trackBy": {
1121
+ "alias": "trackBy";
1122
+ "required": false;
1123
+ "isSignal": true;
1124
+ };
1125
+ "striped": {
1126
+ "alias": "striped";
1127
+ "required": false;
1128
+ "isSignal": true;
1129
+ };
1130
+ "dense": {
1131
+ "alias": "dense";
1132
+ "required": false;
1133
+ "isSignal": true;
1134
+ };
1135
+ "stickyHeader": {
1136
+ "alias": "stickyHeader";
1137
+ "required": false;
1138
+ "isSignal": true;
1139
+ };
1140
+ "clickableRows": {
1141
+ "alias": "clickableRows";
1142
+ "required": false;
1143
+ "isSignal": true;
1144
+ };
1145
+ }, {
1146
+ "sort": "sortChange";
1147
+ "rowClick": "rowClick";
1148
+ }, ["cellDefs"], ["[huTableEmpty]"], true, never>;
1149
+ }
1150
+ type PageItem = number | 'gap-start' | 'gap-end';
1151
+ /**
1152
+ * Sayfalama.
1153
+ * @example <hu-paginator [length]="total()" [(pageIndex)]="page" [(pageSize)]="size" />
1154
+ */
1155
+ export declare class HuPaginator {
1156
+ readonly length: import("@angular/core").InputSignal<number>;
1157
+ readonly pageIndex: import("@angular/core").ModelSignal<number>;
1158
+ readonly pageSize: import("@angular/core").ModelSignal<number>;
1159
+ readonly pageSizeOptions: import("@angular/core").InputSignal<number[]>;
1160
+ protected readonly pageCount: import("@angular/core").Signal<number>;
1161
+ protected readonly rangeLabel: import("@angular/core").Signal<string>;
1162
+ /** Mevcut sayfanın etrafında en fazla 7 öğe (ilk, son, komşular ve boşluklar). */
1163
+ protected readonly pages: import("@angular/core").Signal<PageItem[]>;
1164
+ protected goTo(index: number): void;
1165
+ protected changePageSize(event: Event): void;
1166
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuPaginator, never>;
1167
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuPaginator, "hu-paginator", never, {
1168
+ "length": {
1169
+ "alias": "length";
1170
+ "required": true;
1171
+ "isSignal": true;
1172
+ };
1173
+ "pageIndex": {
1174
+ "alias": "pageIndex";
1175
+ "required": false;
1176
+ "isSignal": true;
1177
+ };
1178
+ "pageSize": {
1179
+ "alias": "pageSize";
1180
+ "required": false;
1181
+ "isSignal": true;
1182
+ };
1183
+ "pageSizeOptions": {
1184
+ "alias": "pageSizeOptions";
1185
+ "required": false;
1186
+ "isSignal": true;
1187
+ };
1188
+ }, {
1189
+ "pageIndex": "pageIndexChange";
1190
+ "pageSize": "pageSizeChange";
1191
+ }, never, never, true, never>;
1192
+ }
1193
+ /** Tek bir sekme. İçeriği yalnızca aktifken render edilir. */
1194
+ export declare class HuTab {
1195
+ readonly label: import("@angular/core").InputSignal<string>;
1196
+ readonly icon: import("@angular/core").InputSignal<string | undefined>;
1197
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1198
+ readonly content: import("@angular/core").Signal<TemplateRef<any>>;
1199
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuTab, never>;
1200
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuTab, "hu-tab", never, {
1201
+ "label": {
1202
+ "alias": "label";
1203
+ "required": true;
1204
+ "isSignal": true;
1205
+ };
1206
+ "icon": {
1207
+ "alias": "icon";
1208
+ "required": false;
1209
+ "isSignal": true;
1210
+ };
1211
+ "disabled": {
1212
+ "alias": "disabled";
1213
+ "required": false;
1214
+ "isSignal": true;
1215
+ };
1216
+ }, {}, never, ["*"], true, never>;
1217
+ }
1218
+ export type HuTabsVariant = 'line' | 'pills';
1219
+ /**
1220
+ * Sekmeler. Ok tuşları, Home/End ile klavye gezintisi destekler.
1221
+ * @example
1222
+ * <hu-tabs [(selectedIndex)]="tab">
1223
+ * <hu-tab label="Profil" icon="user">...</hu-tab>
1224
+ * <hu-tab label="Güvenlik" icon="lock">...</hu-tab>
1225
+ * </hu-tabs>
1226
+ */
1227
+ export declare class HuTabs {
1228
+ private readonly host;
1229
+ readonly selectedIndex: import("@angular/core").ModelSignal<number>;
1230
+ readonly variant: import("@angular/core").InputSignal<HuTabsVariant>;
1231
+ protected readonly tabs: import("@angular/core").Signal<readonly HuTab[]>;
1232
+ protected readonly baseId: string;
1233
+ protected readonly activeIndex: import("@angular/core").Signal<number>;
1234
+ protected readonly activeTab: import("@angular/core").Signal<HuTab>;
1235
+ select(index: number): void;
1236
+ protected onKeydown(event: KeyboardEvent): void;
1237
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuTabs, never>;
1238
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuTabs, "hu-tabs", never, {
1239
+ "selectedIndex": {
1240
+ "alias": "selectedIndex";
1241
+ "required": false;
1242
+ "isSignal": true;
1243
+ };
1244
+ "variant": {
1245
+ "alias": "variant";
1246
+ "required": false;
1247
+ "isSignal": true;
1248
+ };
1249
+ }, {
1250
+ "selectedIndex": "selectedIndexChange";
1251
+ }, ["tabs"], never, true, never>;
1252
+ }
1253
+ export interface HuBreadcrumbItem {
1254
+ label: string;
1255
+ link?: string | unknown[];
1256
+ icon?: string;
1257
+ }
1258
+ /** @example <hu-breadcrumb [items]="[{ label: 'Ana Sayfa', link: '/' }, { label: 'Kullanıcılar' }]" /> */
1259
+ export declare class HuBreadcrumb {
1260
+ readonly items: import("@angular/core").InputSignal<HuBreadcrumbItem[]>;
1261
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuBreadcrumb, never>;
1262
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuBreadcrumb, "hu-breadcrumb", never, {
1263
+ "items": {
1264
+ "alias": "items";
1265
+ "required": false;
1266
+ "isSignal": true;
1267
+ };
1268
+ }, {}, never, never, true, never>;
1269
+ }
1270
+ /** Seçilebilir bir menü öğesi. */
1271
+ export interface HuDropdownOption<T = string> {
1272
+ label: string;
1273
+ /** `(selected)` ile döner. Verilmezse `label` kullanılır. */
1274
+ value?: T;
1275
+ icon?: string;
1276
+ /** Etiketin altında küçük ikinci satır (örn. "5 dk önce"). */
1277
+ description?: string;
1278
+ disabled?: boolean;
1279
+ /** Kırmızı, yıkıcı işlem (Sil, Çıkış yap). */
1280
+ danger?: boolean;
1281
+ /** Verilirse öğe bir router linki olur. */
1282
+ link?: string | readonly unknown[];
1283
+ }
1284
+ /** Öğeler arasına ince çizgi. */
1285
+ export interface HuDropdownDivider {
1286
+ divider: true;
1287
+ }
1288
+ /** Bir grup öğenin üstünde küçük başlık. */
1289
+ export interface HuDropdownHeader {
1290
+ header: string;
1291
+ }
1292
+ export type HuDropdownEntry<T = string> = HuDropdownOption<T> | HuDropdownDivider | HuDropdownHeader;
1293
+ export declare function isDropdownDivider(entry: HuDropdownEntry<unknown>): entry is HuDropdownDivider;
1294
+ export declare function isDropdownHeader(entry: HuDropdownEntry<unknown>): entry is HuDropdownHeader;
1295
+ export type HuDropdownAlign = 'start' | 'end';
1296
+ /**
1297
+ * Hazır tetikleyici yerine kendi elementinizi kullanmak için (avatar, ikon vb.).
1298
+ * @example <button huDropdownTrigger class="avatar-btn"><hu-avatar name="…" /></button>
1299
+ */
1300
+ export declare class HuDropdownTrigger {
1301
+ protected readonly dropdown: HuDropdown<any>;
1302
+ readonly element: ElementRef<HTMLElement>;
1303
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuDropdownTrigger, never>;
1304
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuDropdownTrigger, "[huDropdownTrigger]", never, {}, {}, never, never, true, never>;
1305
+ }
1306
+ /** Panelin en üstüne serbest içerik (başlık, rozet vb.). */
1307
+ export declare class HuDropdownHeaderSlot {
1308
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuDropdownHeaderSlot, never>;
1309
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuDropdownHeaderSlot, "[huDropdownHeader]", never, {}, {}, never, never, true, never>;
1310
+ }
1311
+ /**
1312
+ * Açılır menü. Öğeleri `options` ile verin; seçim `(selected)` ile döner.
1313
+ *
1314
+ * @example
1315
+ * <hu-dropdown label="İşlemler" [options]="actions" (selected)="run($event.value)" />
1316
+ *
1317
+ * actions: HuDropdownEntry[] = [
1318
+ * { label: 'Düzenle', value: 'edit', icon: 'edit' },
1319
+ * { divider: true },
1320
+ * { label: 'Sil', value: 'delete', icon: 'trash', danger: true },
1321
+ * ];
1322
+ *
1323
+ * <!-- Yalnızca ikon -->
1324
+ * <hu-dropdown icon="more-vertical" variant="ghost" ariaLabel="Satır işlemleri" [options]="actions" />
1325
+ */
1326
+ export declare class HuDropdown<T = string> {
1327
+ private readonly host;
1328
+ private readonly injector;
1329
+ readonly options: import("@angular/core").InputSignal<readonly HuDropdownEntry<T>[]>;
1330
+ /** Tetikleyici butonun metni. */
1331
+ readonly label: import("@angular/core").InputSignal<string | undefined>;
1332
+ /** Tetikleyici butonun ikonu. Yalnızca ikon verilirse kare buton olur. */
1333
+ readonly icon: import("@angular/core").InputSignal<string | undefined>;
1334
+ readonly variant: import("@angular/core").InputSignal<HuButtonVariant>;
1335
+ readonly color: import("@angular/core").InputSignal<HuButtonColor | undefined>;
1336
+ readonly size: import("@angular/core").InputSignal<HuButtonSize>;
1337
+ /** Etiketin yanında aşağı ok gösterilsin mi? */
1338
+ readonly caret: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1339
+ /** Yalnızca ikonlu tetikleyicide ekran okuyucu etiketi (zorunlu gibi düşünün). */
1340
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
1341
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1342
+ readonly align: import("@angular/core").InputSignal<HuDropdownAlign>;
1343
+ /** Açık mı? `[(open)]` ile iki yönlü bağlanabilir. */
1344
+ readonly open: import("@angular/core").ModelSignal<boolean>;
1345
+ /** Bir öğe seçildiğinde. */
1346
+ readonly selected: import("@angular/core").OutputEmitterRef<HuDropdownOption<T>>;
1347
+ readonly panelId: string;
1348
+ protected readonly customTrigger: import("@angular/core").Signal<HuDropdownTrigger | undefined>;
1349
+ protected readonly isDivider: typeof isDropdownDivider;
1350
+ protected readonly isHeader: typeof isDropdownHeader;
1351
+ private typeahead;
1352
+ private typeaheadTimer?;
1353
+ toggle(): void;
1354
+ show(): void;
1355
+ close(restoreFocus?: boolean): void;
1356
+ protected choose(option: HuDropdownOption<T>): void;
1357
+ protected onDocumentClick(event: MouseEvent): void;
1358
+ protected onTriggerKeydown(event: KeyboardEvent): void;
1359
+ protected onPanelKeydown(event: KeyboardEvent): void;
1360
+ /** Harfe basınca o harfle başlayan öğeye git (ör. "S" → "Sil"). */
1361
+ private findByTypeahead;
1362
+ private items;
1363
+ private triggerElement;
1364
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuDropdown<any>, never>;
1365
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuDropdown<any>, "hu-dropdown", never, {
1366
+ "options": {
1367
+ "alias": "options";
1368
+ "required": false;
1369
+ "isSignal": true;
1370
+ };
1371
+ "label": {
1372
+ "alias": "label";
1373
+ "required": false;
1374
+ "isSignal": true;
1375
+ };
1376
+ "icon": {
1377
+ "alias": "icon";
1378
+ "required": false;
1379
+ "isSignal": true;
1380
+ };
1381
+ "variant": {
1382
+ "alias": "variant";
1383
+ "required": false;
1384
+ "isSignal": true;
1385
+ };
1386
+ "color": {
1387
+ "alias": "color";
1388
+ "required": false;
1389
+ "isSignal": true;
1390
+ };
1391
+ "size": {
1392
+ "alias": "size";
1393
+ "required": false;
1394
+ "isSignal": true;
1395
+ };
1396
+ "caret": {
1397
+ "alias": "caret";
1398
+ "required": false;
1399
+ "isSignal": true;
1400
+ };
1401
+ "ariaLabel": {
1402
+ "alias": "ariaLabel";
1403
+ "required": false;
1404
+ "isSignal": true;
1405
+ };
1406
+ "disabled": {
1407
+ "alias": "disabled";
1408
+ "required": false;
1409
+ "isSignal": true;
1410
+ };
1411
+ "align": {
1412
+ "alias": "align";
1413
+ "required": false;
1414
+ "isSignal": true;
1415
+ };
1416
+ "open": {
1417
+ "alias": "open";
1418
+ "required": false;
1419
+ "isSignal": true;
1420
+ };
1421
+ }, {
1422
+ "open": "openChange";
1423
+ "selected": "selected";
1424
+ }, ["customTrigger"], ["[huDropdownTrigger]", "[huDropdownHeader]"], true, never>;
1425
+ }
1426
+ export interface HuNavItem {
1427
+ label: string;
1428
+ icon?: string;
1429
+ /** Router linki. Alt öğesi olan öğelerde verilmez. */
1430
+ link?: string;
1431
+ /** Link yalnızca birebir eşleştiğinde aktif sayılsın. */
1432
+ exact?: boolean;
1433
+ badge?: string | number;
1434
+ children?: HuNavItem[];
1435
+ }
1436
+ export interface HuNavGroup {
1437
+ /** Grup başlığı (örn. "Yönetim"). */
1438
+ title?: string;
1439
+ items: HuNavItem[];
1440
+ }
1441
+ /** Yan menü navigasyonu. Genellikle `hu-shell` içinde otomatik kullanılır. */
1442
+ export declare class HuSidebarNav {
1443
+ private readonly router;
1444
+ readonly groups: import("@angular/core").InputSignal<HuNavGroup[]>;
1445
+ readonly collapsed: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1446
+ /** Bir linke tıklandı (mobilde menüyü kapatmak için). */
1447
+ readonly navigate: import("@angular/core").OutputEmitterRef<void>;
1448
+ /** Daraltılmış moddayken alt menülü öğeye tıklandı. */
1449
+ readonly expandRequest: import("@angular/core").OutputEmitterRef<void>;
1450
+ private readonly url;
1451
+ protected readonly openItems: import("@angular/core").WritableSignal<ReadonlySet<HuNavItem>>;
1452
+ constructor();
1453
+ protected isParentActive(item: HuNavItem, url?: string): boolean;
1454
+ protected toggle(item: HuNavItem): void;
1455
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuSidebarNav, never>;
1456
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuSidebarNav, "hu-sidebar-nav", never, {
1457
+ "groups": {
1458
+ "alias": "groups";
1459
+ "required": false;
1460
+ "isSignal": true;
1461
+ };
1462
+ "collapsed": {
1463
+ "alias": "collapsed";
1464
+ "required": false;
1465
+ "isSignal": true;
1466
+ };
1467
+ }, {
1468
+ "navigate": "navigate";
1469
+ "expandRequest": "expandRequest";
1470
+ }, never, never, true, never>;
1471
+ }
1472
+ /** Topbar'ın sol tarafı (breadcrumb, arama vb.). */
1473
+ export declare class HuTopbarStart {
1474
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuTopbarStart, never>;
1475
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuTopbarStart, "[huTopbarStart]", never, {}, {}, never, never, true, never>;
1476
+ }
1477
+ /** Topbar'ın sağ tarafı (tema, bildirim, kullanıcı menüsü). */
1478
+ export declare class HuTopbarEnd {
1479
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuTopbarEnd, never>;
1480
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuTopbarEnd, "[huTopbarEnd]", never, {}, {}, never, never, true, never>;
1481
+ }
1482
+ /** Sidebar'ın alt kısmı. */
1483
+ export declare class HuSidebarFooter {
1484
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuSidebarFooter, never>;
1485
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuSidebarFooter, "[huSidebarFooter]", never, {}, {}, never, never, true, never>;
1486
+ }
1487
+ /** Marka alanında varsayılan logonun yerine geçer. */
1488
+ export declare class HuShellLogo {
1489
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuShellLogo, never>;
1490
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HuShellLogo, "[huShellLogo]", never, {}, {}, never, never, true, never>;
1491
+ }
1492
+ /**
1493
+ * Admin uygulama iskeleti: daraltılabilir sidebar, mobilde çekmece menü, topbar.
1494
+ *
1495
+ * @example
1496
+ * <hu-shell [nav]="nav" brand="Yönetim Paneli" brandSubtitle="Kurum adı">
1497
+ * <hu-breadcrumb huTopbarStart [items]="crumbs()" />
1498
+ * <div huTopbarEnd><hu-theme-toggle /></div>
1499
+ * <router-outlet />
1500
+ * </hu-shell>
1501
+ */
1502
+ export declare class HuShell {
1503
+ private readonly storage;
1504
+ readonly nav: import("@angular/core").InputSignal<HuNavGroup[]>;
1505
+ readonly brand: import("@angular/core").InputSignal<string>;
1506
+ readonly brandSubtitle: import("@angular/core").InputSignal<string | undefined>;
1507
+ readonly brandLink: import("@angular/core").InputSignal<string>;
1508
+ /** Sidebar rengi. `dark`, açık temada da koyu sidebar kullanır. */
1509
+ readonly sidebarTheme: import("@angular/core").InputSignal<"dark" | "default">;
1510
+ /** Masaüstünde sidebar daraltılmış mı? Tercih localStorage'da saklanır. */
1511
+ readonly collapsed: import("@angular/core").ModelSignal<boolean>;
1512
+ protected readonly isMobile: import("@angular/core").Signal<boolean>;
1513
+ protected readonly mobileOpen: import("@angular/core").WritableSignal<boolean>;
1514
+ protected readonly isCollapsed: import("@angular/core").Signal<boolean>;
1515
+ constructor();
1516
+ toggleSidebar(): void;
1517
+ private readCollapsed;
1518
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuShell, never>;
1519
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuShell, "hu-shell", never, {
1520
+ "nav": {
1521
+ "alias": "nav";
1522
+ "required": false;
1523
+ "isSignal": true;
1524
+ };
1525
+ "brand": {
1526
+ "alias": "brand";
1527
+ "required": false;
1528
+ "isSignal": true;
1529
+ };
1530
+ "brandSubtitle": {
1531
+ "alias": "brandSubtitle";
1532
+ "required": false;
1533
+ "isSignal": true;
1534
+ };
1535
+ "brandLink": {
1536
+ "alias": "brandLink";
1537
+ "required": false;
1538
+ "isSignal": true;
1539
+ };
1540
+ "sidebarTheme": {
1541
+ "alias": "sidebarTheme";
1542
+ "required": false;
1543
+ "isSignal": true;
1544
+ };
1545
+ "collapsed": {
1546
+ "alias": "collapsed";
1547
+ "required": false;
1548
+ "isSignal": true;
1549
+ };
1550
+ }, {
1551
+ "collapsed": "collapsedChange";
1552
+ }, never, ["[huShellLogo]", "[huSidebarFooter]", "[huTopbarStart]", "[huTopbarEnd]", "*"], true, never>;
1553
+ }
1554
+ /** Açık / koyu tema arasında geçiş yapan buton. */
1555
+ export declare class HuThemeToggle {
1556
+ protected readonly theme: HuThemeService;
1557
+ protected readonly label: import("@angular/core").Signal<"Açık temaya geç" | "Koyu temaya geç">;
1558
+ static ɵfac: i0.ɵɵFactoryDeclaration<HuThemeToggle, never>;
1559
+ static ɵcmp: i0.ɵɵComponentDeclaration<HuThemeToggle, "hu-theme-toggle", never, {}, {}, never, never, true, never>;
1560
+ }
1561
+ export declare const HU_FORM_FIELD_IMPORTS: readonly [typeof HuFormField, typeof HuInput, typeof HuPrefix, typeof HuSuffix];
1562
+ export declare const HU_CARD_IMPORTS: readonly [typeof HuCard, typeof HuCardActions, typeof HuCardFooter];
1563
+ export declare const HU_DIALOG_IMPORTS: readonly [typeof HuDialog, typeof HuDialogFooter];
1564
+ export declare const HU_DROPDOWN_IMPORTS: readonly [typeof HuDropdown, typeof HuDropdownTrigger, typeof HuDropdownHeaderSlot];
1565
+ export declare const HU_TABLE_IMPORTS: readonly [typeof HuTable, typeof HuCellDef];
1566
+ export declare const HU_TABS_IMPORTS: readonly [typeof HuTabs, typeof HuTab];
1567
+ export declare const HU_SHELL_IMPORTS: readonly [typeof HuShell, typeof HuTopbarStart, typeof HuTopbarEnd, typeof HuSidebarFooter, typeof HuShellLogo];