@ucme-ui/angular 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +808 -0
- package/README.md +5 -1
- package/fesm2022/ucme-ui-angular.mjs +1307 -12
- package/fesm2022/ucme-ui-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ucme-ui-angular.d.ts +283 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ucme-ui-angular.mjs","names":[],"sources":["../../../projects/hu-ui/src/lib/core/unique-id.ts","../../../projects/hu-ui/src/lib/core/media.ts","../../../projects/hu-ui/src/lib/core/theme.service.ts","../../../projects/hu-ui/src/lib/icon/icons.ts","../../../projects/hu-ui/src/lib/icon/icon.component.ts","../../../projects/hu-ui/src/lib/spinner/spinner.component.ts","../../../projects/hu-ui/src/lib/button/button.component.ts","../../../projects/hu-ui/src/lib/button/button-group.component.ts","../../../projects/hu-ui/src/lib/form-field/form-field.tokens.ts","../../../projects/hu-ui/src/lib/form-field/input.directive.ts","../../../projects/hu-ui/src/lib/form-field/form-field.component.ts","../../../projects/hu-ui/src/lib/checkbox/checkbox.component.ts","../../../projects/hu-ui/src/lib/switch/switch.component.ts","../../../projects/hu-ui/src/lib/calendar/date-utils.ts","../../../projects/hu-ui/src/lib/calendar/calendar.component.ts","../../../projects/hu-ui/src/lib/calendar/calendar.component.html","../../../projects/hu-ui/src/lib/calendar/date-picker.component.ts","../../../projects/hu-ui/src/lib/calendar/date-picker.component.html","../../../projects/hu-ui/src/lib/alert/alert.component.ts","../../../projects/hu-ui/src/lib/badge/badge.component.ts","../../../projects/hu-ui/src/lib/avatar/avatar.component.ts","../../../projects/hu-ui/src/lib/toast/toast.service.ts","../../../projects/hu-ui/src/lib/toast/toaster.component.ts","../../../projects/hu-ui/src/lib/dialog/dialog.component.ts","../../../projects/hu-ui/src/lib/card/card.component.ts","../../../projects/hu-ui/src/lib/table/table.component.ts","../../../projects/hu-ui/src/lib/table/table.component.html","../../../projects/hu-ui/src/lib/paginator/paginator.component.ts","../../../projects/hu-ui/src/lib/tabs/tabs.component.ts","../../../projects/hu-ui/src/lib/breadcrumb/breadcrumb.component.ts","../../../projects/hu-ui/src/lib/dropdown/dropdown.types.ts","../../../projects/hu-ui/src/lib/dropdown/dropdown.component.ts","../../../projects/hu-ui/src/lib/dropdown/dropdown.component.html","../../../projects/hu-ui/src/lib/layout/sidebar-nav.component.ts","../../../projects/hu-ui/src/lib/layout/sidebar-nav.component.html","../../../projects/hu-ui/src/lib/layout/shell.component.ts","../../../projects/hu-ui/src/lib/layout/shell.component.html","../../../projects/hu-ui/src/lib/layout/theme-toggle.component.ts","../../../projects/hu-ui/src/lib/imports.ts"],"sourcesContent":["let nextId = 0;\n\n/** Sayfa içinde benzersiz bir DOM id'si üretir (label/aria bağlantıları için). */\nexport function huUniqueId(prefix = 'hu'): string {\n return `${prefix}-${nextId++}`;\n}\n","import { DOCUMENT, DestroyRef, Signal, inject, signal } from '@angular/core';\n\n/**\n * Bir media query'yi signal olarak döndürür. Injection context içinde çağrılmalıdır.\n * @example readonly isMobile = huMediaQuery('(max-width: 1023.98px)');\n */\nexport function huMediaQuery(query: string): Signal<boolean> {\n const win = inject(DOCUMENT).defaultView;\n const mql = win?.matchMedia?.(query);\n const matches = signal(mql?.matches ?? false);\n\n if (mql) {\n const listener = (e: MediaQueryListEvent) => matches.set(e.matches);\n mql.addEventListener('change', listener);\n inject(DestroyRef).onDestroy(() => mql.removeEventListener('change', listener));\n }\n return matches.asReadonly();\n}\n","import { DOCUMENT, Injectable, computed, effect, inject, signal } from '@angular/core';\n\nexport type HuThemeMode = 'light' | 'dark' | 'system';\nexport type HuResolvedTheme = 'light' | 'dark';\n\nconst STORAGE_KEY = 'hu-theme';\n\n/**\n * Açık / koyu / sistem temasını yönetir. Seçim localStorage'da saklanır ve\n * `<html data-theme=\"...\">` özniteliği üzerinden token'lara yansır.\n */\n@Injectable({ providedIn: 'root' })\nexport class HuThemeService {\n private readonly doc = inject(DOCUMENT);\n private readonly win = this.doc.defaultView;\n private readonly media = this.win?.matchMedia?.('(prefers-color-scheme: dark)');\n private readonly systemDark = signal(this.media?.matches ?? false);\n\n readonly mode = signal<HuThemeMode>(this.readStoredMode());\n readonly resolved = computed<HuResolvedTheme>(() => {\n const mode = this.mode();\n if (mode === 'system') return this.systemDark() ? 'dark' : 'light';\n return mode;\n });\n\n constructor() {\n this.media?.addEventListener('change', (e) => this.systemDark.set(e.matches));\n\n effect(() => {\n this.doc.documentElement.setAttribute('data-theme', this.resolved());\n try {\n this.win?.localStorage.setItem(STORAGE_KEY, this.mode());\n } catch {\n // Depolama kapalı olabilir (gizli pencere vb.)\n }\n });\n }\n\n setMode(mode: HuThemeMode): void {\n this.mode.set(mode);\n }\n\n toggle(): void {\n this.mode.set(this.resolved() === 'dark' ? 'light' : 'dark');\n }\n\n private readStoredMode(): HuThemeMode {\n try {\n const value = this.win?.localStorage.getItem(STORAGE_KEY);\n if (value === 'light' || value === 'dark' || value === 'system') return value;\n } catch {\n // yok say\n }\n return 'system';\n }\n}\n","import { InjectionToken, Provider } from '@angular/core';\n\n/** İkon adı → SVG path verisi (24x24 viewBox, stroke tabanlı). */\nexport type HuIconSet = Record<string, string>;\n\nexport const HU_ICON_SETS = new InjectionToken<HuIconSet[]>('HU_ICON_SETS');\n\n/**\n * Uygulamaya özel ikon ekler.\n * @example providers: [provideHuIcons({ rocket: 'M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2' })]\n */\nexport function provideHuIcons(icons: HuIconSet): Provider {\n return { provide: HU_ICON_SETS, useValue: icons, multi: true };\n}\n\n/** Yerleşik ikon seti (Lucide stilinde, 2px stroke). */\nexport const HU_BUILTIN_ICONS: HuIconSet = {\n menu: 'M4 6h16M4 12h16M4 18h16',\n x: 'M18 6 6 18M6 6l12 12',\n check: 'M20 6 9 17l-5-5',\n minus: 'M5 12h14',\n plus: 'M12 5v14M5 12h14',\n 'chevron-down': 'm6 9 6 6 6-6',\n 'chevron-up': 'm18 15-6-6-6 6',\n 'chevron-left': 'm15 18-6-6 6-6',\n 'chevron-right': 'm9 18 6-6-6-6',\n 'chevrons-left': 'm11 17-5-5 5-5M18 17l-5-5 5-5',\n 'chevrons-right': 'm6 17 5-5-5-5M13 17l5-5-5-5',\n 'chevrons-up-down': 'm7 15 5 5 5-5M7 9l5-5 5 5',\n 'arrow-up': 'm5 12 7-7 7 7M12 19V5',\n 'arrow-down': 'M12 5v14M19 12l-7 7-7-7',\n home: 'M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z',\n user: 'M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8z',\n users:\n 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75',\n settings: 'M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6',\n bell: 'M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.94 1.94 0 0 0 3.4 0',\n search: 'M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM21 21l-4.3-4.3',\n sun: 'M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41',\n moon: 'M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z',\n monitor: 'M4 3h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM8 21h8M12 17v4',\n 'log-out': 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9',\n info: 'M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 16v-4M12 8h.01',\n 'check-circle': 'M22 11.08V12a10 10 0 1 1-5.93-9.14M22 4 12 14.01l-3-3',\n 'alert-triangle': 'm21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3zM12 9v4M12 17h.01',\n 'alert-circle': 'M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 8v4M12 16h.01',\n edit: 'M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5z',\n trash: 'M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2',\n 'file-text': 'M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zM14 2v6h6M16 13H8M16 17H8M10 9H8',\n 'bar-chart': 'M12 20V10M18 20V4M6 20v-4',\n calendar: 'M8 2v4M16 2v4M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zM3 10h18',\n folder:\n 'M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z',\n grid: 'M3 3h7v7H3zM14 3h7v7h-7zM14 14h7v7h-7zM3 14h7v7H3z',\n layers: 'm12 2 10 5-10 5L2 7zM2 17l10 5 10-5M2 12l10 5 10-5',\n 'more-vertical':\n 'M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM12 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM12 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2z',\n mail: 'M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zM22 6l-10 7L2 6',\n lock: 'M5 11h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zM7 11V7a5 5 0 0 1 10 0v4',\n eye: 'M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z',\n 'book-open': 'M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2zM22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z',\n 'trending-up': 'm22 7-8.5 8.5-5-5L2 17M16 7h6v6',\n 'trending-down': 'm22 17-8.5-8.5-5 5L2 7M16 17h6v-6',\n download: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3',\n filter: 'M22 3H2l8 9.46V19l4 2v-8.54z',\n 'graduation-cap': 'M22 10 12 5 2 10l10 5zM6 12v5c3 3 9 3 12 0v-5',\n building: 'M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18zM6 12H4a2 2 0 0 0-2 2v8h4M18 9h2a2 2 0 0 1 2 2v11h-4M10 6h4M10 10h4M10 14h4M10 18h4',\n clock: 'M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 6v6l4 2',\n};\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, inject, input, isDevMode } from '@angular/core';\nimport { HU_BUILTIN_ICONS, HU_ICON_SETS } from './icons';\n\n/**\n * SVG ikon.\n * @example <hu-icon name=\"users\" /> <hu-icon name=\"bell\" [size]=\"20\" label=\"Bildirimler\" />\n */\n@Component({\n selector: 'hu-icon',\n template: `\n <svg\n [attr.width]=\"size()\"\n [attr.height]=\"size()\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n [attr.stroke-width]=\"strokeWidth()\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path [attr.d]=\"path()\" />\n </svg>\n `,\n styles: `\n .hu-icon {\n display: inline-flex;\n flex-shrink: 0;\n line-height: 0;\n }\n `,\n host: {\n class: 'hu-icon',\n '[attr.role]': 'label() ? \"img\" : null',\n '[attr.aria-label]': 'label() || null',\n '[attr.aria-hidden]': 'label() ? null : \"true\"',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuIcon {\n private readonly customSets = inject(HU_ICON_SETS, { optional: true }) ?? [];\n\n readonly name = input.required<string>();\n readonly size = input<number>(18);\n readonly strokeWidth = input<number>(2);\n /** Ekran okuyucular için etiket. Verilmezse ikon dekoratif kabul edilir. */\n readonly label = input<string>();\n\n protected readonly path = computed(() => {\n const name = this.name();\n for (let i = this.customSets.length - 1; i >= 0; i--) {\n const path = this.customSets[i][name];\n if (path) return path;\n }\n const path = HU_BUILTIN_ICONS[name];\n if (!path && isDevMode()) console.warn(`[hu-icon] \"${name}\" adında ikon bulunamadı.`);\n return path ?? '';\n });\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, input } from '@angular/core';\n\nexport type HuSpinnerSize = 'sm' | 'md' | 'lg';\n\n/** @example <hu-spinner /> <hu-spinner size=\"lg\" label=\"Veriler yükleniyor\" /> */\n@Component({\n selector: 'hu-spinner',\n template: `\n <svg viewBox=\"0 0 24 24\" class=\"hu-spinner__svg\" aria-hidden=\"true\">\n <circle class=\"hu-spinner__track\" cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke-width=\"3\" />\n <circle class=\"hu-spinner__arc\" cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke-width=\"3\" stroke-linecap=\"round\" />\n </svg>\n `,\n styles: `\n .hu-spinner {\n display: inline-flex;\n width: 1.25rem;\n height: 1.25rem;\n color: var(--hu-primary);\n flex-shrink: 0;\n }\n .hu-spinner[data-size='sm'] { width: 1rem; height: 1rem; }\n .hu-spinner[data-size='lg'] { width: 2rem; height: 2rem; }\n .hu-spinner__svg {\n width: 100%;\n height: 100%;\n animation: hu-spin 0.8s linear infinite;\n }\n .hu-spinner__track { stroke: currentColor; opacity: 0.2; }\n .hu-spinner__arc { stroke: currentColor; stroke-dasharray: 20 63; }\n @keyframes hu-spin { to { transform: rotate(360deg); } }\n `,\n host: {\n class: 'hu-spinner',\n role: 'status',\n '[attr.data-size]': 'size()',\n '[attr.aria-label]': 'label()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuSpinner {\n readonly size = input<HuSpinnerSize>('md');\n readonly label = input('Yükleniyor');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n inject,\n input,\n} from '@angular/core';\nimport { HuSpinner } from '../spinner/spinner.component';\n\n/** Görünüm. */\nexport type HuButtonVariant = 'solid' | 'soft' | 'outline' | 'ghost' | 'link';\n/** Renk. */\nexport type HuButtonColor = 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info';\nexport type HuButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n\n/** Renk verilmezse görünüme göre varsayılan: dolgulu butonlar markalı, çerçeveli olanlar nötr. */\nconst DEFAULT_COLOR: Record<HuButtonVariant, HuButtonColor> = {\n solid: 'primary',\n soft: 'primary',\n link: 'primary',\n outline: 'neutral',\n ghost: 'neutral',\n};\n\n/**\n * Buton. Native `<button>` ve `<a>` elementlerine uygulanır; böylece form\n * davranışı, routerLink ve erişilebilirlik tarayıcıdan hazır gelir.\n *\n * Görünüm (`variant`) ve renk (`color`) birbirinden bağımsızdır:\n * 5 görünüm × 6 renk.\n *\n * @example\n * <button hu-button>Kaydet</button>\n * <button hu-button variant=\"soft\" color=\"success\">Onayla</button>\n * <button hu-button variant=\"outline\" color=\"danger\" size=\"sm\"><hu-icon name=\"trash\" /> Sil</button>\n * <button hu-button variant=\"ghost\" iconOnly aria-label=\"Düzenle\"><hu-icon name=\"edit\" /></button>\n * <a hu-button variant=\"link\" routerLink=\"/users\">Tüm kullanıcılar</a>\n */\n@Component({\n selector: 'button[hu-button], a[hu-button]',\n imports: [HuSpinner],\n template: `\n @if (loading()) {\n <hu-spinner class=\"hu-button__spinner\" size=\"sm\" />\n }\n <ng-content />\n `,\n styleUrl: './button.component.scss',\n host: {\n class: 'hu-button',\n '[attr.data-variant]': 'variant()',\n '[attr.data-color]': 'resolvedColor()',\n '[attr.data-size]': 'size()',\n '[class.hu-button--block]': 'block()',\n '[class.hu-button--icon]': 'iconOnly()',\n '[class.hu-button--pill]': 'pill()',\n '[class.hu-button--loading]': 'loading()',\n '[attr.disabled]': 'isButton && isDisabled() ? \"\" : null',\n '[attr.aria-disabled]': '!isButton && isDisabled() ? \"true\" : null',\n '[attr.tabindex]': '!isButton && isDisabled() ? -1 : null',\n '[attr.aria-busy]': 'loading() || null',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuButton {\n protected readonly isButton = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement.tagName === 'BUTTON';\n\n readonly variant = input<HuButtonVariant>('solid');\n /** Verilmezse: solid/soft/link → primary, outline/ghost → neutral. */\n readonly color = input<HuButtonColor>();\n readonly size = input<HuButtonSize>('md');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly loading = input(false, { transform: booleanAttribute });\n /** Butonu kapsayıcı genişliğine yayar. */\n readonly block = input(false, { transform: booleanAttribute });\n /** Kare, yalnızca ikon içeren buton. `aria-label` vermeyi unutmayın. */\n readonly iconOnly = input(false, { transform: booleanAttribute });\n /** Tam yuvarlak köşeler. */\n readonly pill = input(false, { transform: booleanAttribute });\n\n protected readonly resolvedColor = computed(() => this.color() ?? DEFAULT_COLOR[this.variant()]);\n protected readonly isDisabled = computed(() => this.disabled() || this.loading());\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, booleanAttribute, input } from '@angular/core';\n\n/**\n * Butonları birleşik bir grup olarak gösterir (araç çubuğu, görünüm seçici, sayfalama).\n * Aç/kapa davranışı için butonlara `[attr.aria-pressed]` verin.\n *\n * @example\n * <hu-button-group aria-label=\"Görünüm\">\n * <button hu-button variant=\"outline\" [attr.aria-pressed]=\"view() === 'list'\" (click)=\"view.set('list')\">Liste</button>\n * <button hu-button variant=\"outline\" [attr.aria-pressed]=\"view() === 'grid'\" (click)=\"view.set('grid')\">Kart</button>\n * </hu-button-group>\n */\n@Component({\n selector: 'hu-button-group',\n template: `<ng-content />`,\n styles: `\n .hu-button-group {\n display: inline-flex;\n isolation: isolate;\n }\n .hu-button-group--vertical { flex-direction: column; }\n\n /*\n * Bitişik: kenarlar üst üste biner, yalnızca dış köşeler yuvarlak.\n * Öğe doğrudan buton ya da tek butonlu bir sarmalayıcı (örn. hu-dropdown ile\n * bölünmüş buton) olabilir; ilk/son kontrolü sarmalayıcı üzerinden yapılır.\n */\n .hu-button-group > .hu-dropdown { display: inline-flex; }\n .hu-button-group:not(.hu-button-group--vertical) > .hu-button:not(:first-child),\n .hu-button-group:not(.hu-button-group--vertical) > :not(.hu-button):not(:first-child) > .hu-button {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .hu-button-group:not(.hu-button-group--vertical) > .hu-button:not(:last-child),\n .hu-button-group:not(.hu-button-group--vertical) > :not(.hu-button):not(:last-child) > .hu-button {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .hu-button-group--vertical > .hu-button:not(:first-child) {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n .hu-button-group--vertical > .hu-button:not(:last-child) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n /* Dolgulu butonlar arasında ince ayraç */\n .hu-button-group > .hu-button[data-variant='solid']:not(:first-child),\n .hu-button-group > :not(.hu-button):not(:first-child) > .hu-button[data-variant='solid'] {\n margin-left: 0;\n border-left-color: color-mix(in srgb, var(--_on-solid) 25%, transparent);\n }\n /* Hover/odak halkası komşunun altında kalmasın */\n .hu-button-group > .hu-button:hover,\n .hu-button-group > .hu-button:focus-visible,\n .hu-button-group > .hu-button[aria-pressed='true'] {\n z-index: 1;\n }\n .hu-button-group--pill > .hu-button:first-child { border-top-left-radius: var(--hu-radius-full); border-bottom-left-radius: var(--hu-radius-full); }\n .hu-button-group--pill > .hu-button:last-child { border-top-right-radius: var(--hu-radius-full); border-bottom-right-radius: var(--hu-radius-full); }\n `,\n host: {\n class: 'hu-button-group',\n role: 'group',\n '[class.hu-button-group--vertical]': 'vertical()',\n '[class.hu-button-group--pill]': 'pill()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuButtonGroup {\n readonly vertical = input(false, { transform: booleanAttribute });\n readonly pill = input(false, { transform: booleanAttribute });\n}\n","import { InjectionToken, Provider, Signal } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\n/** hu-form-field'ın, içindeki kontrole sunduğu arayüz. */\nexport interface HuFormFieldParent {\n readonly describedBy: Signal<string | null>;\n readonly showError: Signal<boolean>;\n}\n\nexport const HU_FORM_FIELD = new InjectionToken<HuFormFieldParent>('HU_FORM_FIELD');\n\n/**\n * hu-form-field içine yerleştirilebilen her kontrolün uyguladığı sözleşme\n * (huInput, hu-date-picker, ...). Kendi kontrolünüzü yazarken\n * `providers: [{ provide: HuFormFieldControl, useExisting: MyControl }]` verin.\n */\nexport abstract class HuFormFieldControl {\n /** Label'ın `for` özniteliği bu id'ye bağlanır. */\n abstract readonly id: Signal<string>;\n /** Bir Angular form kontrolüne bağlı mı? */\n abstract readonly hasControl: boolean;\n /** Kontrol geçersiz ve kullanıcı etkileşime girmiş. */\n abstract readonly controlErrorVisible: Signal<boolean>;\n abstract readonly errors: Signal<ValidationErrors | null>;\n}\n\n/** Validator hata anahtarı → kullanıcıya gösterilecek mesaj. */\nexport type HuErrorMessages = Record<string, string | ((error: any) => string)>;\n\nexport const HU_DEFAULT_ERROR_MESSAGES: HuErrorMessages = {\n required: 'Bu alan zorunludur.',\n requiredTrue: 'Devam etmek için onaylamanız gerekir.',\n email: 'Geçerli bir e-posta adresi giriniz.',\n minlength: (e: { requiredLength: number }) => `En az ${e.requiredLength} karakter olmalıdır.`,\n maxlength: (e: { requiredLength: number }) => `En fazla ${e.requiredLength} karakter olabilir.`,\n min: (e: { min: number }) => `Değer en az ${e.min} olmalıdır.`,\n max: (e: { max: number }) => `Değer en fazla ${e.max} olabilir.`,\n pattern: 'Geçersiz format.',\n huDateParse: 'Geçerli bir tarih giriniz (gg.aa.yyyy).',\n huDateMin: (e: { min: string }) => `Tarih ${e.min} veya sonrası olmalıdır.`,\n huDateMax: (e: { max: string }) => `Tarih ${e.max} veya öncesi olmalıdır.`,\n huDateUnavailable: 'Bu tarih seçilemez.',\n};\n\nexport const HU_ERROR_MESSAGES = new InjectionToken<HuErrorMessages>('HU_ERROR_MESSAGES', {\n providedIn: 'root',\n factory: () => HU_DEFAULT_ERROR_MESSAGES,\n});\n\n/**\n * Varsayılan validasyon mesajlarını genişletir / değiştirir.\n * @example provideHuErrorMessages({ tckn: 'Geçerli bir T.C. kimlik numarası giriniz.' })\n */\nexport function provideHuErrorMessages(messages: HuErrorMessages): Provider {\n return { provide: HU_ERROR_MESSAGES, useValue: { ...HU_DEFAULT_ERROR_MESSAGES, ...messages } };\n}\n","import { Directive, DoCheck, booleanAttribute, computed, inject, input, signal } from '@angular/core';\nimport { NgControl, ValidationErrors } from '@angular/forms';\nimport { huUniqueId } from '../core/unique-id';\nimport { HU_FORM_FIELD, HuFormFieldControl } from './form-field.tokens';\n\nexport type HuInputSize = 'sm' | 'md' | 'lg';\n\n/**\n * Native input / textarea / select elementlerine HU görünümünü ve\n * hu-form-field entegrasyonunu (label, hata, aria) ekler.\n *\n * @example <input huInput formControlName=\"email\" placeholder=\"ornek@example.com\" />\n */\n@Directive({\n selector: 'input[huInput], textarea[huInput], select[huInput]',\n exportAs: 'huInput',\n providers: [{ provide: HuFormFieldControl, useExisting: HuInput }],\n host: {\n class: 'hu-input',\n '[id]': 'id()',\n '[attr.data-size]': 'size()',\n '[class.hu-input--invalid]': 'isInvalid()',\n '[attr.aria-invalid]': 'isInvalid() || null',\n '[attr.aria-describedby]': 'field?.describedBy() ?? null',\n },\n})\nexport class HuInput implements HuFormFieldControl, DoCheck {\n private readonly ngControl = inject(NgControl, { optional: true, self: true });\n protected readonly field = inject(HU_FORM_FIELD, { optional: true, host: true });\n\n readonly id = input(huUniqueId('hu-input'));\n readonly size = input<HuInputSize>('md');\n /** Form kontrolü olmadan hatalı görünümü zorlar. */\n readonly invalid = input(false, { transform: booleanAttribute });\n\n /** Bir Angular form kontrolüne bağlı mı? */\n readonly hasControl = this.ngControl !== null;\n /** Kontrol geçersiz ve kullanıcı etkileşime girmiş. */\n readonly controlErrorVisible = signal(false);\n readonly errors = signal<ValidationErrors | null>(null);\n\n protected readonly isInvalid = computed(\n () => this.invalid() || this.controlErrorVisible() || (this.field?.showError() ?? false),\n );\n\n // Reactive form durumu signal değildir; her change detection turunda eşitlenir.\n ngDoCheck(): void {\n const c = this.ngControl;\n if (!c) return;\n this.controlErrorVisible.set(!!c.invalid && !!(c.touched || c.dirty));\n this.errors.set(c.errors);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport { HU_ERROR_MESSAGES, HU_FORM_FIELD, HuFormFieldControl, HuFormFieldParent } from './form-field.tokens';\n\n/** Kontrolün soluna yerleşen içerik (ikon, para birimi vb.). */\n@Directive({ selector: '[huPrefix]', host: { class: 'hu-field__prefix' } })\nexport class HuPrefix {}\n\n/** Kontrolün sağına yerleşen içerik. */\n@Directive({ selector: '[huSuffix]', host: { class: 'hu-field__suffix' } })\nexport class HuSuffix {}\n\n/**\n * Label, yardım metni ve validasyon hatasını bir kontrol etrafında toplar.\n * Reactive form hataları otomatik olarak Türkçe mesaja çevrilir.\n *\n * @example\n * <hu-form-field label=\"E-posta\" hint=\"Kurumsal adresinizi kullanın\" required>\n * <hu-icon huPrefix name=\"mail\" />\n * <input huInput type=\"email\" formControlName=\"email\" />\n * </hu-form-field>\n */\n@Component({\n selector: 'hu-form-field',\n imports: [HuIcon],\n providers: [{ provide: HU_FORM_FIELD, useExisting: HuFormField }],\n template: `\n @if (label()) {\n <label class=\"hu-field__label\" [attr.for]=\"control()?.id()\">\n {{ label() }}\n @if (required()) {\n <span class=\"hu-field__required\" aria-hidden=\"true\">*</span>\n }\n </label>\n }\n <div class=\"hu-field__control\">\n <ng-content select=\"[huPrefix]\" />\n <ng-content />\n <ng-content select=\"[huSuffix]\" />\n </div>\n @if (showError()) {\n <p class=\"hu-field__message hu-field__message--error\" [id]=\"errorId\">\n <hu-icon name=\"alert-circle\" [size]=\"14\" />\n {{ errorText() }}\n </p>\n } @else if (hint()) {\n <p class=\"hu-field__message\" [id]=\"hintId\">{{ hint() }}</p>\n }\n `,\n styleUrl: './form-field.component.scss',\n host: { class: 'hu-field' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuFormField implements HuFormFieldParent {\n private readonly messages = inject(HU_ERROR_MESSAGES);\n\n readonly label = input<string>();\n readonly hint = input<string>();\n /** Sabit hata mesajı. Verilmezse validator hatasından üretilir. */\n readonly error = input<string | null>();\n readonly required = input(false, { transform: booleanAttribute });\n\n protected readonly control = contentChild<HuFormFieldControl>(HuFormFieldControl);\n\n protected readonly hintId = huUniqueId('hu-hint');\n protected readonly errorId = huUniqueId('hu-error');\n\n protected readonly errorText = computed(() => {\n const explicit = this.error();\n if (explicit) return explicit;\n const errors = this.control()?.errors();\n if (!errors) return null;\n // Birden çok hata varsa daha açıklayıcı olanı göster: geçersiz metin (örn.\n // 31.02.2026) kontrolü boş bırakıp ayrıca `required` tetikleyebilir.\n const keys = Object.keys(errors);\n const key = keys.find((k) => k !== 'required') ?? keys[0];\n const message = this.messages[key];\n if (typeof message === 'function') return message(errors[key]);\n return message ?? 'Geçersiz değer.';\n });\n\n readonly showError = computed(() => {\n const control = this.control();\n if (control?.hasControl) return control.controlErrorVisible() && !!this.errorText();\n return !!this.error();\n });\n\n readonly describedBy = computed(() => {\n if (this.showError()) return this.errorId;\n return this.hint() ? this.hintId : null;\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n model,\n signal,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\n\n/**\n * Onay kutusu. Reactive/template-driven formlarla ya da `[(checked)]` ile çalışır.\n *\n * `indeterminate` (kısmen seçili) yalnızca görsel bir durumdur ve tıklanınca\n * tarayıcı standardı gereği kalkar; değeri alt seçimlerden hesaplayıp siz verin:\n *\n * @example\n * <hu-checkbox formControlName=\"kvkk\">KVKK metnini okudum</hu-checkbox>\n *\n * <!-- \"Tümünü seç\" -->\n * <hu-checkbox [checked]=\"allSelected()\" [indeterminate]=\"someSelected()\" (checkedChange)=\"selectAll($event)\">\n * Tümünü seç\n * </hu-checkbox>\n */\n@Component({\n selector: 'hu-checkbox',\n imports: [HuIcon],\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => HuCheckbox), multi: true }],\n template: `\n <label class=\"hu-check\" [class.hu-check--disabled]=\"isDisabled()\">\n <input\n type=\"checkbox\"\n class=\"hu-check__input\"\n [id]=\"inputId()\"\n [checked]=\"checked()\"\n [indeterminate]=\"indeterminate()\"\n [disabled]=\"isDisabled()\"\n [attr.name]=\"name() || null\"\n [attr.aria-label]=\"ariaLabel()\"\n (change)=\"onInputChange($event)\"\n (blur)=\"onTouched()\"\n />\n <span class=\"hu-check__box\" aria-hidden=\"true\">\n <hu-icon [name]=\"indeterminate() ? 'minus' : 'check'\" [size]=\"12\" [strokeWidth]=\"3.5\" />\n </span>\n <span class=\"hu-check__label\"><ng-content /></span>\n </label>\n `,\n styleUrl: './checkbox.component.scss',\n host: { class: 'hu-checkbox' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuCheckbox implements ControlValueAccessor {\n readonly checked = model(false);\n readonly indeterminate = model(false);\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly name = input<string>();\n readonly inputId = input(huUniqueId('hu-checkbox'));\n /** Görünür etiket yoksa ekran okuyucu etiketi. */\n readonly ariaLabel = input<string | null>(null, { alias: 'aria-label' });\n\n private readonly formDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled());\n\n private onChange: (value: boolean) => void = () => {};\n protected onTouched: () => void = () => {};\n\n protected onInputChange(event: Event): void {\n const value = (event.target as HTMLInputElement).checked;\n this.indeterminate.set(false);\n this.checked.set(value);\n this.onChange(value);\n }\n\n writeValue(value: unknown): void {\n this.checked.set(!!value);\n }\n registerOnChange(fn: (value: boolean) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n model,\n signal,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { huUniqueId } from '../core/unique-id';\n\n/**\n * Açık/kapalı anahtarı (ayarlar için). Formlarla ya da `[(checked)]` ile çalışır.\n * @example <hu-switch formControlName=\"emailNotifications\">E-posta bildirimleri</hu-switch>\n */\n@Component({\n selector: 'hu-switch',\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => HuSwitch), multi: true }],\n template: `\n <label class=\"hu-switch__root\" [class.hu-switch__root--disabled]=\"isDisabled()\">\n <input\n type=\"checkbox\"\n role=\"switch\"\n class=\"hu-switch__input\"\n [id]=\"inputId()\"\n [checked]=\"checked()\"\n [disabled]=\"isDisabled()\"\n [attr.aria-checked]=\"checked()\"\n [attr.aria-label]=\"ariaLabel()\"\n (change)=\"onInputChange($event)\"\n (blur)=\"onTouched()\"\n />\n <span class=\"hu-switch__track\" aria-hidden=\"true\"><span class=\"hu-switch__thumb\"></span></span>\n <span class=\"hu-switch__label\"><ng-content /></span>\n </label>\n `,\n styles: `\n .hu-switch { display: inline-flex; width: fit-content; max-width: 100%; }\n .hu-switch__root {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: var(--hu-space-3);\n font-size: var(--hu-text-sm);\n cursor: pointer;\n user-select: none;\n }\n .hu-switch__root--disabled { color: var(--hu-text-subtle); cursor: not-allowed; }\n .hu-switch__input { position: absolute; width: 2.25rem; height: 1.25rem; margin: 0; opacity: 0; cursor: inherit; }\n .hu-switch__track {\n position: relative;\n flex-shrink: 0;\n width: 2.25rem;\n height: 1.25rem;\n background: var(--hu-border-strong);\n border-radius: var(--hu-radius-full);\n transition: background-color var(--hu-transition), box-shadow var(--hu-transition);\n }\n .hu-switch__thumb {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 1rem;\n height: 1rem;\n background: #fff;\n border-radius: 50%;\n box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);\n transition: transform var(--hu-transition);\n }\n .hu-switch__input:checked + .hu-switch__track { background: var(--hu-primary); }\n .hu-switch__input:checked + .hu-switch__track .hu-switch__thumb { transform: translateX(1rem); }\n .hu-switch__input:focus-visible + .hu-switch__track { box-shadow: var(--hu-ring); }\n .hu-switch__input:disabled + .hu-switch__track { opacity: 0.5; }\n .hu-switch__label:empty { display: none; }\n `,\n host: { class: 'hu-switch' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuSwitch implements ControlValueAccessor {\n readonly checked = model(false);\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly inputId = input(huUniqueId('hu-switch'));\n /** Görünür etiket yoksa ekran okuyucu etiketi. */\n readonly ariaLabel = input<string | null>(null, { alias: 'aria-label' });\n\n private readonly formDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled());\n\n private onChange: (value: boolean) => void = () => {};\n protected onTouched: () => void = () => {};\n\n protected onInputChange(event: Event): void {\n const value = (event.target as HTMLInputElement).checked;\n this.checked.set(value);\n this.onChange(value);\n }\n\n writeValue(value: unknown): void {\n this.checked.set(!!value);\n }\n registerOnChange(fn: (value: boolean) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n}\n","/*\n * Bağımlılıksız tarih yardımcıları. Tüm fonksiyonlar yerel saatle ve gün\n * hassasiyetinde çalışır (saat bilgisi yok sayılır).\n */\n\nexport interface HuDateRange {\n start: Date | null;\n end: Date | null;\n}\n\nexport function startOfDay(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate());\n}\n\nexport function addDays(date: Date, days: number): Date {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate() + days);\n}\n\n/** Ay ekler; hedef ayda o gün yoksa ayın son gününe sabitler (31 Ocak + 1 ay = 28/29 Şubat). */\nexport function addMonths(date: Date, months: number): Date {\n const target = new Date(date.getFullYear(), date.getMonth() + months, 1);\n const lastDay = daysInMonth(target.getFullYear(), target.getMonth());\n target.setDate(Math.min(date.getDate(), lastDay));\n return target;\n}\n\nexport function daysInMonth(year: number, month: number): number {\n return new Date(year, month + 1, 0).getDate();\n}\n\nexport function isSameDay(a: Date | null | undefined, b: Date | null | undefined): boolean {\n return !!a && !!b && a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();\n}\n\nexport function isSameMonth(a: Date, b: Date): boolean {\n return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth();\n}\n\n/** Gün bazında karşılaştırma: a < b → negatif. */\nexport function compareDays(a: Date, b: Date): number {\n return startOfDay(a).getTime() - startOfDay(b).getTime();\n}\n\n/** Haftanın başlangıcı (varsayılan Pazartesi). */\nexport function startOfWeek(date: Date, firstDayOfWeek = 1): Date {\n const diff = (date.getDay() - firstDayOfWeek + 7) % 7;\n return addDays(date, -diff);\n}\n\nexport function clampDate(date: Date, min?: Date | null, max?: Date | null): Date {\n if (min && compareDays(date, min) < 0) return startOfDay(min);\n if (max && compareDays(date, max) > 0) return startOfDay(max);\n return date;\n}\n\nexport function isValidDate(value: unknown): value is Date {\n return value instanceof Date && !isNaN(value.getTime());\n}\n\n/** `gg.aa.yyyy` biçiminde yazar. */\nexport function formatDate(date: Date | null | undefined): string {\n if (!isValidDate(date)) return '';\n const d = String(date.getDate()).padStart(2, '0');\n const m = String(date.getMonth() + 1).padStart(2, '0');\n return `${d}.${m}.${date.getFullYear()}`;\n}\n\n/**\n * Kullanıcı girdisini ayrıştırır. Kabul edilenler: `5.10.2026`, `05/10/2026`,\n * `05-10-2026`, `05102026`. Geçersiz tarihte (31.02.2026 gibi) `null` döner.\n */\nexport function parseDate(text: string): Date | null {\n const value = text.trim();\n let match = /^(\\d{1,2})[./-](\\d{1,2})[./-](\\d{4})$/.exec(value);\n if (!match) match = /^(\\d{2})(\\d{2})(\\d{4})$/.exec(value);\n if (!match) return null;\n const [day, month, year] = [Number(match[1]), Number(match[2]), Number(match[3])];\n const date = new Date(year, month - 1, day);\n // Taşan tarihleri (32.01 → 01.02) reddet\n if (date.getFullYear() !== year || date.getMonth() !== month - 1 || date.getDate() !== day) return null;\n return date;\n}\n\nconst RANGE_SEPARATOR = /\\s+[–-]\\s+|\\s*[–]\\s*/;\n\nexport function formatRange(range: HuDateRange | null | undefined): string {\n if (!range?.start) return '';\n return range.end ? `${formatDate(range.start)} – ${formatDate(range.end)}` : `${formatDate(range.start)} – `;\n}\n\n/** `gg.aa.yyyy – gg.aa.yyyy` ayrıştırır. Başarısızsa `null`. */\nexport function parseRange(text: string): HuDateRange | null {\n const parts = text.split(RANGE_SEPARATOR).map((p) => p.trim()).filter(Boolean);\n if (parts.length !== 2) return null;\n const start = parseDate(parts[0]);\n const end = parseDate(parts[1]);\n if (!start || !end) return null;\n return compareDays(start, end) <= 0 ? { start, end } : { start: end, end: start };\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n computed,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport {\n HuDateRange,\n addDays,\n addMonths,\n clampDate,\n compareDays,\n daysInMonth,\n isSameDay,\n isSameMonth,\n startOfDay,\n startOfWeek,\n} from './date-utils';\n\nexport type HuCalendarMode = 'single' | 'range';\nexport type HuCalendarView = 'days' | 'months' | 'years';\nexport type HuMarkerVariant = 'primary' | 'info' | 'success' | 'warning' | 'danger';\n\n/** Takvimde bir güne işaret (nokta) koyar; örn. sınav, tatil, son başvuru. */\nexport interface HuCalendarMarker {\n date: Date;\n label?: string;\n variant?: HuMarkerVariant;\n}\n\ninterface DayCell {\n date: Date;\n key: string;\n day: number;\n inMonth: boolean;\n today: boolean;\n selected: boolean;\n rangeStart: boolean;\n rangeEnd: boolean;\n inRange: boolean;\n disabled: boolean;\n markers: HuCalendarMarker[];\n label: string;\n}\n\ninterface PickerCell {\n value: number;\n label: string;\n current: boolean;\n selected: boolean;\n disabled: boolean;\n}\n\nconst dayKey = (d: Date) => `${d.getFullYear()}-${d.getMonth()}-${d.getDate()}`;\nconst YEARS_PER_PAGE = 12;\n\n/**\n * Satır içi takvim. Tek gün veya tarih aralığı seçer; ay/yıl görünümü ve\n * tam klavye desteği vardır (oklar, Home/End, PageUp/PageDown, Enter).\n *\n * @example\n * <hu-calendar [(value)]=\"date\" [min]=\"today\" [markers]=\"events\" />\n * <hu-calendar mode=\"range\" [(range)]=\"period\" />\n */\n@Component({\n selector: 'hu-calendar',\n imports: [HuIcon],\n templateUrl: './calendar.component.html',\n styleUrl: './calendar.component.scss',\n host: { class: 'hu-calendar' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuCalendar {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly injector = inject(Injector);\n\n readonly mode = input<HuCalendarMode>('single');\n /** Seçili gün (`mode=\"single\"`). */\n readonly value = model<Date | null>(null);\n /** Seçili aralık (`mode=\"range\"`). */\n readonly range = model<HuDateRange | null>(null);\n readonly min = input<Date | null>(null);\n readonly max = input<Date | null>(null);\n /** `false` döndüren günler seçilemez (örn. hafta sonları). */\n readonly dateFilter = input<((date: Date) => boolean) | null>(null);\n readonly markers = input<HuCalendarMarker[]>([]);\n /** Hiç seçim yokken açılacak ay. */\n readonly startAt = input<Date | null>(null);\n readonly locale = input('tr-TR');\n readonly firstDayOfWeek = input(1);\n\n /** Kullanıcı bir gün seçtiğinde. */\n readonly dateSelected = output<Date>();\n /** Görüntülenen ay değiştiğinde (ayın ilk günü). */\n readonly monthChange = output<Date>();\n\n protected readonly today = startOfDay(new Date());\n protected readonly gridId = huUniqueId('hu-calendar');\n protected readonly view = signal<HuCalendarView>('days');\n protected readonly activeDate = signal<Date>(this.today);\n protected readonly hoverDate = signal<Date | null>(null);\n /** Roving tabindex: yalnızca aktif gün Tab ile odaklanabilir. */\n protected readonly activeKey = computed(() => dayKey(this.activeDate()));\n\n // --- Biçimlendiriciler ----------------------------------------------------------\n private readonly fmt = computed(() => {\n const locale = this.locale();\n return {\n monthYear: new Intl.DateTimeFormat(locale, { month: 'long', year: 'numeric' }),\n month: new Intl.DateTimeFormat(locale, { month: 'long' }),\n monthShort: new Intl.DateTimeFormat(locale, { month: 'short' }),\n weekdayShort: new Intl.DateTimeFormat(locale, { weekday: 'short' }),\n weekdayLong: new Intl.DateTimeFormat(locale, { weekday: 'long' }),\n full: new Intl.DateTimeFormat(locale, { dateStyle: 'full' }),\n };\n });\n\n protected readonly weekdays = computed(() => {\n const first = startOfWeek(this.today, this.firstDayOfWeek());\n return Array.from({ length: 7 }, (_, i) => {\n const d = addDays(first, i);\n return { short: this.fmt().weekdayShort.format(d), long: this.fmt().weekdayLong.format(d) };\n });\n });\n\n protected readonly headerLabel = computed(() => {\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return this.fmt().monthYear.format(active);\n case 'months':\n return String(active.getFullYear());\n case 'years': {\n const start = this.yearPageStart();\n return `${start} – ${start + YEARS_PER_PAGE - 1}`;\n }\n }\n });\n\n // --- Gün görünümü ----------------------------------------------------------------\n private readonly markerMap = computed(() => {\n const map = new Map<string, HuCalendarMarker[]>();\n for (const m of this.markers()) {\n const key = dayKey(m.date);\n map.set(key, [...(map.get(key) ?? []), m]);\n }\n return map;\n });\n\n protected readonly weeks = computed<DayCell[][]>(() => {\n const active = this.activeDate();\n const first = new Date(active.getFullYear(), active.getMonth(), 1);\n const gridStart = startOfWeek(first, this.firstDayOfWeek());\n const mode = this.mode();\n const value = this.value();\n const range = this.range();\n const preview = this.previewEnd();\n const markers = this.markerMap();\n const fmt = this.fmt().full;\n\n let rangeStart = range?.start ?? null;\n let rangeEnd = range?.end ?? preview;\n if (rangeStart && rangeEnd && compareDays(rangeEnd, rangeStart) < 0) [rangeStart, rangeEnd] = [rangeEnd, rangeStart];\n\n const weeks: DayCell[][] = [];\n for (let w = 0; w < 6; w++) {\n const row: DayCell[] = [];\n for (let i = 0; i < 7; i++) {\n const date = addDays(gridStart, w * 7 + i);\n const key = dayKey(date);\n const isStart = mode === 'range' && isSameDay(date, rangeStart);\n const isEnd = mode === 'range' && isSameDay(date, rangeEnd);\n const dayMarkers = markers.get(key) ?? [];\n row.push({\n date,\n key,\n day: date.getDate(),\n inMonth: isSameMonth(date, active),\n today: isSameDay(date, this.today),\n selected: mode === 'single' ? isSameDay(date, value) : isStart || isEnd,\n rangeStart: isStart && !!rangeEnd && !isSameDay(rangeStart, rangeEnd),\n rangeEnd: isEnd && !!rangeStart && !isSameDay(rangeStart, rangeEnd),\n inRange:\n mode === 'range' &&\n !!rangeStart &&\n !!rangeEnd &&\n compareDays(date, rangeStart) > 0 &&\n compareDays(date, rangeEnd) < 0,\n disabled: !this.isSelectable(date),\n markers: dayMarkers,\n label: fmt.format(date) + (dayMarkers.length ? ` — ${dayMarkers.map((m) => m.label).filter(Boolean).join(', ')}` : ''),\n });\n }\n weeks.push(row);\n }\n return weeks;\n });\n\n /** Aralık seçiminde bitiş henüz seçilmemişken fareyle önizleme. */\n private readonly previewEnd = computed(() => {\n const range = this.range();\n if (this.mode() !== 'range' || !range?.start || range.end) return null;\n return this.hoverDate();\n });\n\n // --- Ay / yıl görünümleri --------------------------------------------------------\n protected readonly months = computed<PickerCell[]>(() => {\n const year = this.activeDate().getFullYear();\n const selected = this.selectedAnchor();\n return Array.from({ length: 12 }, (_, month) => ({\n value: month,\n label: this.fmt().monthShort.format(new Date(year, month, 1)),\n current: year === this.today.getFullYear() && month === this.today.getMonth(),\n selected: !!selected && selected.getFullYear() === year && selected.getMonth() === month,\n disabled: !this.isRangeAllowed(new Date(year, month, 1), new Date(year, month, daysInMonth(year, month))),\n }));\n });\n\n private readonly yearPageStart = computed(() => {\n const year = this.activeDate().getFullYear();\n return year - (((year % YEARS_PER_PAGE) + YEARS_PER_PAGE) % YEARS_PER_PAGE);\n });\n\n protected readonly years = computed<PickerCell[]>(() => {\n const start = this.yearPageStart();\n const selected = this.selectedAnchor();\n return Array.from({ length: YEARS_PER_PAGE }, (_, i) => {\n const year = start + i;\n return {\n value: year,\n label: String(year),\n current: year === this.today.getFullYear(),\n selected: selected?.getFullYear() === year,\n disabled: !this.isRangeAllowed(new Date(year, 0, 1), new Date(year, 11, 31)),\n };\n });\n });\n\n private readonly selectedAnchor = computed(() => (this.mode() === 'single' ? this.value() : this.range()?.start) ?? null);\n\n protected readonly prevDisabled = computed(() => {\n const min = this.min();\n if (!min) return false;\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return compareDays(new Date(active.getFullYear(), active.getMonth(), 0), min) < 0;\n case 'months':\n return active.getFullYear() - 1 < min.getFullYear();\n case 'years':\n return this.yearPageStart() - 1 < min.getFullYear();\n }\n });\n\n protected readonly nextDisabled = computed(() => {\n const max = this.max();\n if (!max) return false;\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return compareDays(new Date(active.getFullYear(), active.getMonth() + 1, 1), max) > 0;\n case 'months':\n return active.getFullYear() + 1 > max.getFullYear();\n case 'years':\n return this.yearPageStart() + YEARS_PER_PAGE > max.getFullYear();\n }\n });\n\n constructor() {\n // Seçim dışarıdan değiştiğinde (örn. input'a tarih yazıldığında) o aya git.\n effect(() => {\n const anchor = this.selectedAnchor() ?? this.startAt();\n if (!anchor) return;\n untracked(() => {\n if (!isSameMonth(anchor, this.activeDate())) this.setActive(startOfDay(anchor));\n });\n });\n }\n\n // --- Etkileşim ------------------------------------------------------------------\n select(date: Date): void {\n if (!this.isSelectable(date)) return;\n this.setActive(date);\n\n if (this.mode() === 'single') {\n this.value.set(date);\n } else {\n const range = this.range();\n if (!range?.start || range.end || compareDays(date, range.start) < 0) {\n this.range.set({ start: date, end: null });\n } else {\n this.range.set({ start: range.start, end: date });\n }\n }\n this.dateSelected.emit(date);\n }\n\n /** Klavye odağını takvime taşır (tarih seçici açıldığında kullanılır). */\n focusActiveCell(): void {\n this.focusAfterRender('.hu-calendar__cell[tabindex=\"0\"]');\n }\n\n /** Görünüm değişince tıklanan buton DOM'dan kalkar; odağı yeni görünüme taşı. */\n private focusAfterRender(...selectors: string[]): void {\n afterNextRender(\n () => {\n for (const selector of selectors) {\n const el = this.host.nativeElement.querySelector<HTMLElement>(selector);\n if (el) return el.focus();\n }\n },\n { injector: this.injector },\n );\n }\n\n private focusPicker(): void {\n this.focusAfterRender('.hu-calendar__pick[aria-selected=\"true\"]', '.hu-calendar__pick--current', '.hu-calendar__pick:not(:disabled)');\n }\n\n protected previous(): void {\n this.navigate(-1);\n }\n\n protected next(): void {\n this.navigate(1);\n }\n\n private navigate(direction: 1 | -1): void {\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return this.setActive(addMonths(active, direction), false);\n case 'months':\n return this.setActive(addMonths(active, direction * 12), false);\n case 'years':\n return this.setActive(addMonths(active, direction * 12 * YEARS_PER_PAGE), false);\n }\n }\n\n protected toggleView(): void {\n this.view.update((v) => (v === 'days' ? 'months' : v === 'months' ? 'years' : 'days'));\n }\n\n protected pickMonth(month: number): void {\n const active = this.activeDate();\n const day = Math.min(active.getDate(), daysInMonth(active.getFullYear(), month));\n this.setActive(new Date(active.getFullYear(), month, day));\n this.view.set('days');\n this.focusActiveCell();\n }\n\n protected pickYear(year: number): void {\n const active = this.activeDate();\n const day = Math.min(active.getDate(), daysInMonth(year, active.getMonth()));\n this.setActive(new Date(year, active.getMonth(), day));\n this.view.set('months');\n this.focusPicker();\n }\n\n protected onGridKeydown(event: KeyboardEvent): void {\n const active = this.activeDate();\n const first = this.firstDayOfWeek();\n let next: Date | null = null;\n\n switch (event.key) {\n case 'ArrowLeft':\n next = addDays(active, -1);\n break;\n case 'ArrowRight':\n next = addDays(active, 1);\n break;\n case 'ArrowUp':\n next = addDays(active, -7);\n break;\n case 'ArrowDown':\n next = addDays(active, 7);\n break;\n case 'Home':\n next = startOfWeek(active, first);\n break;\n case 'End':\n next = addDays(startOfWeek(active, first), 6);\n break;\n case 'PageUp':\n next = addMonths(active, event.shiftKey ? -12 : -1);\n break;\n case 'PageDown':\n next = addMonths(active, event.shiftKey ? 12 : 1);\n break;\n case 'Enter':\n case ' ':\n event.preventDefault();\n this.select(active);\n return;\n default:\n return;\n }\n event.preventDefault();\n this.setActive(next);\n this.focusActiveCell();\n }\n\n private setActive(date: Date, clamp = true): void {\n const next = clamp ? clampDate(date, this.min(), this.max()) : date;\n const previous = this.activeDate();\n this.activeDate.set(next);\n if (!isSameMonth(previous, next)) this.monthChange.emit(new Date(next.getFullYear(), next.getMonth(), 1));\n }\n\n private isSelectable(date: Date): boolean {\n const min = this.min();\n const max = this.max();\n if (min && compareDays(date, min) < 0) return false;\n if (max && compareDays(date, max) > 0) return false;\n return this.dateFilter()?.(date) ?? true;\n }\n\n private isRangeAllowed(from: Date, to: Date): boolean {\n const min = this.min();\n const max = this.max();\n return !(min && compareDays(to, min) < 0) && !(max && compareDays(from, max) > 0);\n }\n}\n","<div class=\"hu-calendar__header\">\n <button type=\"button\" class=\"hu-calendar__nav\" aria-label=\"Önceki\" [disabled]=\"prevDisabled()\" (click)=\"previous()\">\n <hu-icon name=\"chevron-left\" [size]=\"16\" />\n </button>\n <button\n type=\"button\"\n class=\"hu-calendar__title\"\n [attr.aria-label]=\"view() === 'days' ? headerLabel() + ', ay ve yıl seç' : view() === 'months' ? headerLabel() + ', yıl seç' : 'Gün görünümüne dön'\"\n aria-live=\"polite\"\n (click)=\"toggleView()\"\n >\n {{ headerLabel() }}\n <hu-icon name=\"chevron-down\" [size]=\"14\" [class.hu-calendar__title-icon--open]=\"view() !== 'days'\" />\n </button>\n <button type=\"button\" class=\"hu-calendar__nav\" aria-label=\"Sonraki\" [disabled]=\"nextDisabled()\" (click)=\"next()\">\n <hu-icon name=\"chevron-right\" [size]=\"16\" />\n </button>\n</div>\n\n@switch (view()) {\n @case ('days') {\n <table class=\"hu-calendar__grid\" role=\"grid\" [attr.aria-label]=\"headerLabel()\" (keydown)=\"onGridKeydown($event)\">\n <thead>\n <tr>\n @for (wd of weekdays(); track $index) {\n <th scope=\"col\" [attr.abbr]=\"wd.long\">{{ wd.short }}</th>\n }\n </tr>\n </thead>\n <tbody (mouseleave)=\"hoverDate.set(null)\">\n @for (week of weeks(); track $index) {\n <tr>\n @for (cell of week; track cell.key) {\n <td\n role=\"gridcell\"\n [attr.aria-selected]=\"cell.selected\"\n [class.hu-calendar__day--in-range]=\"cell.inRange\"\n [class.hu-calendar__day--range-start]=\"cell.rangeStart\"\n [class.hu-calendar__day--range-end]=\"cell.rangeEnd\"\n >\n <button\n type=\"button\"\n class=\"hu-calendar__cell\"\n [class.hu-calendar__cell--outside]=\"!cell.inMonth\"\n [class.hu-calendar__cell--today]=\"cell.today\"\n [class.hu-calendar__cell--selected]=\"cell.selected\"\n [attr.tabindex]=\"cell.key === activeKey() ? 0 : -1\"\n [attr.aria-label]=\"cell.label\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n [attr.title]=\"cell.markers.length ? cell.label : null\"\n [disabled]=\"cell.disabled\"\n (click)=\"select(cell.date)\"\n (mouseenter)=\"hoverDate.set(cell.date)\"\n >\n {{ cell.day }}\n @if (cell.markers.length) {\n <span class=\"hu-calendar__markers\" aria-hidden=\"true\">\n @for (m of cell.markers.slice(0, 3); track $index) {\n <span class=\"hu-calendar__marker\" [attr.data-variant]=\"m.variant ?? 'primary'\"></span>\n }\n </span>\n }\n </button>\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n }\n @case ('months') {\n <div class=\"hu-calendar__picker\" role=\"listbox\" aria-label=\"Ay seç\">\n @for (m of months(); track m.value) {\n <button\n type=\"button\"\n role=\"option\"\n class=\"hu-calendar__pick\"\n [class.hu-calendar__pick--current]=\"m.current\"\n [attr.aria-selected]=\"m.selected\"\n [disabled]=\"m.disabled\"\n (click)=\"pickMonth(m.value)\"\n >\n {{ m.label }}\n </button>\n }\n </div>\n }\n @case ('years') {\n <div class=\"hu-calendar__picker\" role=\"listbox\" aria-label=\"Yıl seç\">\n @for (y of years(); track y.value) {\n <button\n type=\"button\"\n role=\"option\"\n class=\"hu-calendar__pick\"\n [class.hu-calendar__pick--current]=\"y.current\"\n [attr.aria-selected]=\"y.selected\"\n [disabled]=\"y.disabled\"\n (click)=\"pickYear(y.value)\"\n >\n {{ y.label }}\n </button>\n }\n </div>\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DOCUMENT,\n DestroyRef,\n DoCheck,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n model,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n NgControl,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport { HU_FORM_FIELD, HuFormFieldControl } from '../form-field/form-field.tokens';\nimport { HuInputSize } from '../form-field/input.directive';\nimport { HuCalendar, HuCalendarMarker, HuCalendarMode } from './calendar.component';\nimport {\n HuDateRange,\n compareDays,\n formatDate,\n formatRange,\n isValidDate,\n parseDate,\n parseRange,\n startOfDay,\n} from './date-utils';\n\nexport type HuDatePickerValue = Date | HuDateRange | null;\n\n/**\n * Tarih seçici form kontrolü. Tarih elle (`gg.aa.yyyy`) yazılabilir veya\n * takvimden seçilebilir. `mode=\"range\"` ile değer `{ start, end }` olur.\n * Validasyon hataları: `huDateParse`, `huDateMin`, `huDateMax`, `huDateUnavailable`.\n *\n * @example\n * <hu-form-field label=\"Başlangıç tarihi\">\n * <hu-date-picker formControlName=\"startDate\" [min]=\"today\" />\n * </hu-form-field>\n * <hu-date-picker mode=\"range\" [(value)]=\"period\" placeholder=\"Tarih aralığı\" />\n */\n@Component({\n selector: 'hu-date-picker',\n imports: [HuButton, HuCalendar, HuIcon],\n templateUrl: './date-picker.component.html',\n styleUrl: './date-picker.component.scss',\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => HuDatePicker), multi: true },\n { provide: NG_VALIDATORS, useExisting: forwardRef(() => HuDatePicker), multi: true },\n { provide: HuFormFieldControl, useExisting: forwardRef(() => HuDatePicker) },\n ],\n host: {\n class: 'hu-date-picker',\n '[class.hu-date-picker--open]': 'open()',\n '(focusout)': 'onFocusOut($event)',\n '(document:mousedown)': 'onDocumentPointer($event)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuDatePicker implements ControlValueAccessor, Validator, HuFormFieldControl, DoCheck {\n private readonly injector = inject(Injector);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly win = inject(DOCUMENT).defaultView;\n protected readonly field = inject(HU_FORM_FIELD, { optional: true, host: true });\n\n readonly mode = input<HuCalendarMode>('single');\n readonly value = model<HuDatePickerValue>(null);\n readonly min = input<Date | null>(null);\n readonly max = input<Date | null>(null);\n readonly dateFilter = input<((date: Date) => boolean) | null>(null);\n readonly markers = input<HuCalendarMarker[]>([]);\n readonly placeholder = input<string>();\n readonly size = input<HuInputSize>('md');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly id = input(huUniqueId('hu-date-picker'));\n\n protected readonly open = signal(false);\n protected readonly text = signal('');\n protected readonly panelId = huUniqueId('hu-date-picker-panel');\n private readonly parseError = signal(false);\n private readonly formDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled());\n\n // --- HuFormFieldControl -----------------------------------------------------------\n // NgControl, NG_VALUE_ACCESSOR döngüsüne girmemek için geç çözülür.\n private ngControl: NgControl | null | undefined;\n get hasControl(): boolean {\n return !!this.resolveControl();\n }\n readonly controlErrorVisible = signal(false);\n readonly errors = signal<ValidationErrors | null>(null);\n protected readonly isInvalid = computed(() => this.controlErrorVisible() || (this.field?.showError() ?? false));\n\n protected readonly placeholderText = computed(\n () => this.placeholder() ?? (this.mode() === 'range' ? 'gg.aa.yyyy – gg.aa.yyyy' : 'gg.aa.yyyy'),\n );\n protected readonly singleValue = computed(() => {\n const v = this.value();\n return v instanceof Date ? v : null;\n });\n protected readonly rangeValue = computed(() => {\n const v = this.value();\n return v && !(v instanceof Date) ? v : null;\n });\n /** Takvimde aralık seçilirken geçici değer (bitiş seçilene kadar forma yazılmaz). */\n protected readonly draftRange = signal<HuDateRange | null>(null);\n\n private readonly input = viewChild.required<ElementRef<HTMLInputElement>>('input');\n private readonly panel = viewChild.required<ElementRef<HTMLElement>>('panel');\n private readonly calendar = viewChild(HuCalendar);\n protected readonly supportsPopover = typeof HTMLElement !== 'undefined' && 'showPopover' in HTMLElement.prototype;\n /** Son fare basışı bileşenin içinde mi? (DOM'dan kalkan butonlar focusout'u yanıltmasın) */\n private pointerInside = false;\n\n private onChange: (value: HuDatePickerValue) => void = () => {};\n private onTouched: () => void = () => {};\n private onValidatorChange: () => void = () => {};\n\n constructor() {\n // Değer dışarıdan (model) değişirse metni güncelle.\n effect(() => {\n const value = this.value();\n untracked(() => this.text.set(this.format(value)));\n });\n // Sınırlar değişince validasyonu yeniden çalıştır.\n effect(() => {\n this.min();\n this.max();\n this.dateFilter();\n untracked(() => this.onValidatorChange());\n });\n\n const reposition = () => this.open() && this.positionPanel();\n this.win?.addEventListener('resize', reposition);\n this.win?.addEventListener('scroll', reposition, true);\n inject(DestroyRef).onDestroy(() => {\n this.win?.removeEventListener('resize', reposition);\n this.win?.removeEventListener('scroll', reposition, true);\n });\n }\n\n ngDoCheck(): void {\n const c = this.resolveControl();\n if (!c) return;\n this.controlErrorVisible.set(!!c.invalid && !!(c.touched || c.dirty));\n this.errors.set(c.errors);\n }\n\n // --- Açma / kapama ----------------------------------------------------------------\n toggle(): void {\n if (this.open()) this.close(true);\n else this.openPanel();\n }\n\n openPanel(): void {\n if (this.isDisabled() || this.open()) return;\n this.commitText();\n this.draftRange.set(this.rangeValue());\n this.open.set(true);\n // Takvim render edildikten sonra göster, ölç ve odakla.\n afterNextRender(\n () => {\n if (!this.open()) return;\n if (this.supportsPopover) this.panel().nativeElement.showPopover();\n this.positionPanel();\n this.calendar()?.focusActiveCell();\n },\n { injector: this.injector },\n );\n }\n\n close(restoreFocus = false): void {\n if (!this.open()) return;\n this.open.set(false);\n this.draftRange.set(null);\n if (this.supportsPopover && this.panel().nativeElement.matches(':popover-open')) {\n this.panel().nativeElement.hidePopover();\n }\n if (restoreFocus) this.input().nativeElement.focus();\n }\n\n private positionPanel(): void {\n const panel = this.panel().nativeElement;\n if (!this.supportsPopover || !this.win) return;\n const anchor = this.host.nativeElement.getBoundingClientRect();\n const { offsetWidth: width, offsetHeight: height } = panel;\n const gap = 6;\n const spaceBelow = this.win.innerHeight - anchor.bottom;\n const top = spaceBelow < height + gap && anchor.top > height + gap ? anchor.top - height - gap : anchor.bottom + gap;\n const left = Math.max(8, Math.min(anchor.left, this.win.innerWidth - width - 8));\n panel.style.top = `${top}px`;\n panel.style.left = `${left}px`;\n }\n\n // --- Takvimden seçim ------------------------------------------------------------\n protected onCalendarDate(date: Date): void {\n if (this.mode() !== 'single') return;\n this.commit(date);\n this.close(true);\n }\n\n protected onCalendarRange(range: HuDateRange | null): void {\n this.draftRange.set(range);\n if (range?.start && range.end) {\n this.commit(range);\n this.close(true);\n }\n }\n\n protected selectToday(): void {\n const today = startOfDay(new Date());\n if (this.mode() === 'single') {\n this.commit(today);\n this.close(true);\n } else {\n this.onCalendarRange({ start: today, end: null });\n }\n }\n\n protected clear(): void {\n this.commit(null);\n this.close(true);\n }\n\n // --- Metin girişi ---------------------------------------------------------------\n protected onInput(event: Event): void {\n this.text.set((event.target as HTMLInputElement).value);\n }\n\n protected onInputKeydown(event: KeyboardEvent): void {\n if (event.key === 'Enter') {\n event.preventDefault();\n this.commitText();\n } else if (event.key === 'ArrowDown' && (event.altKey || !this.open())) {\n event.preventDefault();\n this.openPanel();\n } else if (event.key === 'Escape' && this.open()) {\n event.preventDefault();\n this.close(true);\n }\n }\n\n protected onPanelKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape') {\n event.preventDefault();\n event.stopPropagation();\n this.close(true);\n }\n }\n\n private commitText(): void {\n const text = this.text().trim();\n const current = this.value();\n if (text === this.format(current)) return;\n\n if (!text) {\n this.commit(null);\n return;\n }\n const parsed = this.mode() === 'range' ? parseRange(text) : parseDate(text);\n if (parsed) {\n this.commit(parsed);\n } else {\n // Metni koru ki kullanıcı düzeltebilsin; forma null + parse hatası yaz.\n this.parseError.set(true);\n this.value.set(null);\n this.text.set(text);\n this.onChange(null);\n }\n }\n\n private commit(value: HuDatePickerValue): void {\n this.parseError.set(false);\n this.value.set(value);\n this.text.set(this.format(value));\n this.onChange(value);\n }\n\n // --- Odak / dış tıklama -----------------------------------------------------------\n protected onFocusOut(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (next && this.host.nativeElement.contains(next)) return;\n // Panel içinde tıklanan buton yeniden render ile kalktıysa odak \"hiçbir yere\" gider; kapatma.\n if (!next && this.pointerInside && this.open()) return;\n this.commitText();\n this.close();\n this.onTouched();\n }\n\n protected onDocumentPointer(event: MouseEvent): void {\n this.pointerInside = this.host.nativeElement.contains(event.target as Node);\n if (this.open() && !this.pointerInside) this.close();\n }\n\n // --- ControlValueAccessor / Validator ---------------------------------------------\n writeValue(value: unknown): void {\n this.parseError.set(false);\n if (value == null || value === '') this.value.set(null);\n else if (isValidDate(value)) this.value.set(startOfDay(value));\n else if (typeof value === 'object' && 'start' in value) this.value.set(value as HuDateRange);\n else this.value.set(null);\n this.text.set(this.format(this.value()));\n }\n\n registerOnChange(fn: (value: HuDatePickerValue) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n if (disabled) this.close();\n }\n\n validate(_control: AbstractControl): ValidationErrors | null {\n if (this.parseError()) return { huDateParse: true };\n const value = this.value();\n const dates = value instanceof Date ? [value] : [value?.start, value?.end].filter((d): d is Date => !!d);\n const min = this.min();\n const max = this.max();\n for (const d of dates) {\n if (min && compareDays(d, min) < 0) return { huDateMin: { min: formatDate(min), actual: d } };\n if (max && compareDays(d, max) > 0) return { huDateMax: { max: formatDate(max), actual: d } };\n if (this.dateFilter() && !this.dateFilter()!(d)) return { huDateUnavailable: true };\n }\n return null;\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onValidatorChange = fn;\n }\n\n private format(value: HuDatePickerValue): string {\n if (value instanceof Date) return formatDate(value);\n return value ? formatRange(value) : '';\n }\n\n private resolveControl(): NgControl | null {\n if (this.ngControl === undefined) {\n this.ngControl = this.injector.get(NgControl, null, { self: true, optional: true });\n }\n return this.ngControl;\n }\n}\n","<div class=\"hu-date-picker__control\">\n <input\n #input\n type=\"text\"\n class=\"hu-input hu-date-picker__input\"\n inputmode=\"numeric\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [id]=\"id()\"\n [attr.data-size]=\"size()\"\n [class.hu-input--invalid]=\"isInvalid()\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.aria-describedby]=\"field?.describedBy() ?? null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"panelId\"\n [attr.placeholder]=\"placeholderText()\"\n [value]=\"text()\"\n [disabled]=\"isDisabled()\"\n (input)=\"onInput($event)\"\n (keydown)=\"onInputKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hu-date-picker__toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"open() ? 'Takvimi kapat' : 'Takvimi aç'\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <hu-icon name=\"calendar\" [size]=\"16\" />\n </button>\n</div>\n\n<div\n #panel\n popover=\"manual\"\n class=\"hu-date-picker__panel\"\n role=\"dialog\"\n aria-label=\"Tarih seç\"\n [id]=\"panelId\"\n [class.hu-date-picker__panel--inline]=\"!supportsPopover\"\n [attr.hidden]=\"!supportsPopover && !open() ? '' : null\"\n (keydown)=\"onPanelKeydown($event)\"\n>\n @if (open()) {\n <hu-calendar\n [mode]=\"mode()\"\n [value]=\"singleValue()\"\n [range]=\"draftRange()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [dateFilter]=\"dateFilter()\"\n [markers]=\"markers()\"\n (dateSelected)=\"onCalendarDate($event)\"\n (rangeChange)=\"onCalendarRange($event)\"\n />\n <div class=\"hu-date-picker__footer\">\n @if (mode() === 'range') {\n <span class=\"hu-date-picker__hint\">\n {{ draftRange()?.start && !draftRange()?.end ? 'Bitiş tarihini seçin' : 'Başlangıç tarihini seçin' }}\n </span>\n } @else {\n <button hu-button variant=\"ghost\" size=\"sm\" type=\"button\" (click)=\"selectToday()\">Bugün</button>\n }\n <button hu-button variant=\"ghost\" size=\"sm\" type=\"button\" (click)=\"clear()\">Temizle</button>\n </div>\n }\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\n\nexport type HuStatusVariant = 'info' | 'success' | 'warning' | 'danger';\n\nexport const HU_STATUS_ICONS: Record<HuStatusVariant, string> = {\n info: 'info',\n success: 'check-circle',\n warning: 'alert-triangle',\n danger: 'alert-circle',\n};\n\n/**\n * Sayfa içi bilgi / uyarı mesajı.\n * @example <hu-alert variant=\"warning\" title=\"Dikkat\">Dönem kayıtları 5 gün içinde kapanacak.</hu-alert>\n */\n@Component({\n selector: 'hu-alert',\n imports: [HuIcon],\n template: `\n <hu-icon class=\"hu-alert__icon\" [name]=\"icon()\" [size]=\"18\" />\n <div class=\"hu-alert__content\">\n @if (title()) {\n <p class=\"hu-alert__title\">{{ title() }}</p>\n }\n <div class=\"hu-alert__body\"><ng-content /></div>\n </div>\n @if (dismissible()) {\n <button type=\"button\" class=\"hu-alert__close\" aria-label=\"Kapat\" (click)=\"dismiss()\">\n <hu-icon name=\"x\" [size]=\"16\" />\n </button>\n }\n `,\n styles: `\n .hu-alert {\n display: flex;\n align-items: flex-start;\n gap: var(--hu-space-3);\n padding: var(--hu-space-3) var(--hu-space-4);\n font-size: var(--hu-text-sm);\n color: var(--_fg);\n background: var(--_bg);\n border: 1px solid color-mix(in srgb, var(--_accent) 25%, transparent);\n border-radius: var(--hu-radius-lg);\n }\n .hu-alert[hidden] { display: none; }\n .hu-alert[data-variant='info'] { --_bg: var(--hu-info-soft); --_fg: var(--hu-info-fg); --_accent: var(--hu-info); }\n .hu-alert[data-variant='success'] { --_bg: var(--hu-success-soft); --_fg: var(--hu-success-fg); --_accent: var(--hu-success); }\n .hu-alert[data-variant='warning'] { --_bg: var(--hu-warning-soft); --_fg: var(--hu-warning-fg); --_accent: var(--hu-warning); }\n .hu-alert[data-variant='danger'] { --_bg: var(--hu-danger-soft); --_fg: var(--hu-danger-fg); --_accent: var(--hu-danger); }\n .hu-alert__icon { margin-top: 1px; color: var(--_accent); }\n .hu-alert__content { flex: 1; min-width: 0; }\n .hu-alert__title { margin-bottom: 2px; font-weight: 600; }\n .hu-alert__close {\n display: inline-flex;\n margin: -2px -6px 0 0;\n padding: 4px;\n color: inherit;\n background: none;\n border: 0;\n border-radius: var(--hu-radius-sm);\n opacity: 0.7;\n cursor: pointer;\n }\n .hu-alert__close:hover { opacity: 1; background: color-mix(in srgb, var(--_accent) 12%, transparent); }\n `,\n host: {\n class: 'hu-alert',\n '[attr.data-variant]': 'variant()',\n '[attr.role]': 'variant() === \"danger\" || variant() === \"warning\" ? \"alert\" : \"status\"',\n '[attr.hidden]': 'dismissed() ? \"\" : null',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuAlert {\n readonly variant = input<HuStatusVariant>('info');\n readonly title = input<string>();\n readonly dismissible = input(false, { transform: booleanAttribute });\n readonly dismissed = signal(false);\n readonly closed = output<void>();\n\n protected readonly icon = computed(() => HU_STATUS_ICONS[this.variant()]);\n\n dismiss(): void {\n this.dismissed.set(true);\n this.closed.emit();\n }\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, booleanAttribute, input } from '@angular/core';\n\nexport type HuBadgeVariant = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'danger';\n\n/**\n * Durum etiketi.\n * @example <hu-badge variant=\"success\" dot>Aktif</hu-badge>\n */\n@Component({\n selector: 'hu-badge',\n template: `\n @if (dot()) {\n <span class=\"hu-badge__dot\" aria-hidden=\"true\"></span>\n }\n <ng-content />\n `,\n styles: `\n .hu-badge {\n --_bg: var(--hu-surface-3);\n --_fg: var(--hu-text-muted);\n --_dot: var(--hu-text-subtle);\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n height: 1.375rem;\n padding: 0 0.5rem;\n font-size: var(--hu-text-xs);\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n color: var(--_fg);\n background: var(--_bg);\n border-radius: var(--hu-radius-full);\n }\n .hu-badge[data-variant='primary'] { --_bg: var(--hu-primary-soft); --_fg: var(--hu-primary-soft-fg); --_dot: var(--hu-primary); }\n .hu-badge[data-variant='info'] { --_bg: var(--hu-info-soft); --_fg: var(--hu-info-fg); --_dot: var(--hu-info); }\n .hu-badge[data-variant='success'] { --_bg: var(--hu-success-soft); --_fg: var(--hu-success-fg); --_dot: var(--hu-success); }\n .hu-badge[data-variant='warning'] { --_bg: var(--hu-warning-soft); --_fg: var(--hu-warning-fg); --_dot: var(--hu-warning); }\n .hu-badge[data-variant='danger'] { --_bg: var(--hu-danger-soft); --_fg: var(--hu-danger-fg); --_dot: var(--hu-danger); }\n .hu-badge__dot { width: 6px; height: 6px; background: var(--_dot); border-radius: 50%; }\n `,\n host: { class: 'hu-badge', '[attr.data-variant]': 'variant()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuBadge {\n readonly variant = input<HuBadgeVariant>('neutral');\n readonly dot = input(false, { transform: booleanAttribute });\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input, signal } from '@angular/core';\n\nexport type HuAvatarSize = 'sm' | 'md' | 'lg';\n\n/**\n * Kullanıcı avatarı. Görsel yoksa veya yüklenemezse baş harfleri gösterir.\n * @example <hu-avatar name=\"Ayşe Yılmaz\" /> <hu-avatar name=\"Ali Can\" [src]=\"user.photo\" size=\"lg\" />\n */\n@Component({\n selector: 'hu-avatar',\n template: `\n @if (src() && !failed()) {\n <img class=\"hu-avatar__img\" [src]=\"src()\" [alt]=\"name()\" (error)=\"failed.set(true)\" />\n } @else {\n <span aria-hidden=\"true\">{{ initials() }}</span>\n }\n `,\n styles: `\n .hu-avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 2rem;\n height: 2rem;\n overflow: hidden;\n font-size: 0.75rem;\n font-weight: 600;\n color: var(--hu-primary-soft-fg);\n background: var(--hu-primary-soft);\n border-radius: 50%;\n user-select: none;\n }\n .hu-avatar[data-size='sm'] { width: 1.5rem; height: 1.5rem; font-size: 0.625rem; }\n .hu-avatar[data-size='lg'] { width: 2.75rem; height: 2.75rem; font-size: 0.9375rem; }\n .hu-avatar__img { width: 100%; height: 100%; object-fit: cover; }\n `,\n host: {\n class: 'hu-avatar',\n role: 'img',\n '[attr.aria-label]': 'name()',\n '[attr.data-size]': 'size()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuAvatar {\n readonly name = input('');\n readonly src = input<string | null>();\n readonly size = input<HuAvatarSize>('md');\n\n protected readonly failed = signal(false);\n protected readonly initials = computed(() => {\n const parts = this.name().trim().split(/\\s+/).filter(Boolean);\n if (!parts.length) return '?';\n const first = parts[0][0];\n const last = parts.length > 1 ? parts[parts.length - 1][0] : '';\n return (first + last).toLocaleUpperCase('tr-TR');\n });\n}\n","import { Injectable, signal } from '@angular/core';\nimport { HuStatusVariant } from '../alert/alert.component';\n\nexport interface HuToastOptions {\n message: string;\n title?: string;\n variant?: HuStatusVariant;\n /** Milisaniye. 0 verilirse kullanıcı kapatana kadar kalır. */\n duration?: number;\n}\n\nexport interface HuToast extends Required<Omit<HuToastOptions, 'title'>> {\n id: number;\n title?: string;\n}\n\n/**\n * Geçici bildirimler. Uygulamada bir kez `<hu-toaster />` yerleştirilmelidir.\n * @example inject(HuToastService).success('Kayıt güncellendi.');\n */\n@Injectable({ providedIn: 'root' })\nexport class HuToastService {\n private nextId = 1;\n private readonly timers = new Map<number, ReturnType<typeof setTimeout>>();\n private readonly _toasts = signal<HuToast[]>([]);\n readonly toasts = this._toasts.asReadonly();\n\n show(options: HuToastOptions): number {\n const toast: HuToast = { id: this.nextId++, variant: 'info', duration: 5000, ...options };\n this._toasts.update((list) => [...list, toast].slice(-5));\n if (toast.duration > 0) {\n this.timers.set(toast.id, setTimeout(() => this.dismiss(toast.id), toast.duration));\n }\n return toast.id;\n }\n\n info(message: string, title?: string): number {\n return this.show({ message, title, variant: 'info' });\n }\n success(message: string, title?: string): number {\n return this.show({ message, title, variant: 'success' });\n }\n warning(message: string, title?: string): number {\n return this.show({ message, title, variant: 'warning' });\n }\n error(message: string, title?: string): number {\n return this.show({ message, title, variant: 'danger', duration: 8000 });\n }\n\n dismiss(id: number): void {\n clearTimeout(this.timers.get(id));\n this.timers.delete(id);\n this._toasts.update((list) => list.filter((t) => t.id !== id));\n }\n\n clear(): void {\n this.timers.forEach((t) => clearTimeout(t));\n this.timers.clear();\n this._toasts.set([]);\n }\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, inject, input } from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { HU_STATUS_ICONS } from '../alert/alert.component';\nimport { HuToastService } from './toast.service';\n\nexport type HuToasterPosition = 'top-right' | 'top-center' | 'bottom-right' | 'bottom-center';\n\n/** Toast'ların gösterildiği alan. Kök componentte bir kez kullanın: `<hu-toaster />` */\n@Component({\n selector: 'hu-toaster',\n imports: [HuIcon],\n template: `\n @for (toast of service.toasts(); track toast.id) {\n <div class=\"hu-toast\" [attr.data-variant]=\"toast.variant\" [attr.role]=\"toast.variant === 'danger' ? 'alert' : 'status'\">\n <hu-icon class=\"hu-toast__icon\" [name]=\"icons[toast.variant]\" [size]=\"18\" />\n <div class=\"hu-toast__content\">\n @if (toast.title) {\n <p class=\"hu-toast__title\">{{ toast.title }}</p>\n }\n <p class=\"hu-toast__message\">{{ toast.message }}</p>\n </div>\n <button type=\"button\" class=\"hu-toast__close\" aria-label=\"Bildirimi kapat\" (click)=\"service.dismiss(toast.id)\">\n <hu-icon name=\"x\" [size]=\"16\" />\n </button>\n </div>\n }\n `,\n styles: `\n .hu-toaster {\n position: fixed;\n z-index: 1100;\n display: flex;\n flex-direction: column;\n gap: var(--hu-space-2);\n width: min(380px, calc(100vw - 2rem));\n pointer-events: none;\n }\n .hu-toaster[data-position^='top'] { top: var(--hu-space-4); }\n .hu-toaster[data-position^='bottom'] { bottom: var(--hu-space-4); flex-direction: column-reverse; }\n .hu-toaster[data-position$='right'] { right: var(--hu-space-4); }\n .hu-toaster[data-position$='center'] { left: 50%; transform: translateX(-50%); }\n .hu-toast {\n display: flex;\n align-items: flex-start;\n gap: var(--hu-space-3);\n padding: var(--hu-space-3) var(--hu-space-4);\n background: var(--hu-surface);\n border: 1px solid var(--hu-border);\n border-left: 3px solid var(--_accent);\n border-radius: var(--hu-radius-lg);\n box-shadow: var(--hu-shadow-lg);\n pointer-events: auto;\n animation: hu-toast-in 200ms cubic-bezier(0.2, 0.9, 0.3, 1.2);\n }\n .hu-toast[data-variant='info'] { --_accent: var(--hu-info); }\n .hu-toast[data-variant='success'] { --_accent: var(--hu-success); }\n .hu-toast[data-variant='warning'] { --_accent: var(--hu-warning); }\n .hu-toast[data-variant='danger'] { --_accent: var(--hu-danger); }\n .hu-toast__icon { margin-top: 1px; color: var(--_accent); }\n .hu-toast__content { flex: 1; min-width: 0; }\n .hu-toast__title { font-weight: 600; }\n .hu-toast__message { color: var(--hu-text-muted); }\n .hu-toast__close {\n display: inline-flex;\n margin: -2px -6px 0 0;\n padding: 4px;\n color: var(--hu-text-subtle);\n background: none;\n border: 0;\n border-radius: var(--hu-radius-sm);\n cursor: pointer;\n }\n .hu-toast__close:hover { color: var(--hu-text); background: var(--hu-surface-3); }\n @keyframes hu-toast-in {\n from { opacity: 0; transform: translateY(-8px) scale(0.98); }\n }\n `,\n host: {\n class: 'hu-toaster',\n '[attr.data-position]': 'position()',\n 'aria-live': 'polite',\n role: 'region',\n 'aria-label': 'Bildirimler',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuToaster {\n protected readonly service = inject(HuToastService);\n protected readonly icons = HU_STATUS_ICONS;\n readonly position = input<HuToasterPosition>('top-right');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n effect,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\n\nexport type HuDialogSize = 'sm' | 'md' | 'lg' | 'xl';\n\n/** Dialog alt kısmındaki aksiyon alanı. */\n@Directive({ selector: '[huDialogFooter]', host: { class: 'hu-dialog__footer' } })\nexport class HuDialogFooter {}\n\n/**\n * Modal pencere. Native `<dialog>` elementini kullanır; odak hapsi, Esc ile\n * kapanma ve üst katman (top layer) tarayıcıdan gelir.\n *\n * @example\n * <hu-dialog [(open)]=\"editOpen\" title=\"Kullanıcıyı düzenle\">\n * ...form...\n * <div huDialogFooter>\n * <button hu-button variant=\"outline\" (click)=\"editOpen.set(false)\">Vazgeç</button>\n * <button hu-button (click)=\"save()\">Kaydet</button>\n * </div>\n * </hu-dialog>\n */\n@Component({\n selector: 'hu-dialog',\n imports: [HuIcon],\n template: `\n <dialog\n #dialog\n class=\"hu-dialog\"\n [attr.data-size]=\"size()\"\n [attr.aria-labelledby]=\"titleId\"\n (close)=\"onNativeClose()\"\n (cancel)=\"onCancel($event)\"\n (mousedown)=\"pointerDownOnBackdrop = $event.target === dialog\"\n (click)=\"onClick($event)\"\n >\n <div class=\"hu-dialog__panel\">\n <header class=\"hu-dialog__header\">\n <div>\n <h2 class=\"hu-dialog__title\" [id]=\"titleId\">{{ title() }}</h2>\n @if (description()) {\n <p class=\"hu-dialog__description\">{{ description() }}</p>\n }\n </div>\n <button type=\"button\" class=\"hu-dialog__close\" aria-label=\"Kapat\" (click)=\"close()\">\n <hu-icon name=\"x\" [size]=\"18\" />\n </button>\n </header>\n <div class=\"hu-dialog__body\"><ng-content /></div>\n <ng-content select=\"[huDialogFooter]\" />\n </div>\n </dialog>\n `,\n styleUrl: './dialog.component.scss',\n host: { class: 'hu-dialog-host' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuDialog {\n readonly open = model(false);\n readonly title = input('');\n readonly description = input<string>();\n readonly size = input<HuDialogSize>('md');\n readonly closeOnBackdrop = input(true, { transform: booleanAttribute });\n readonly closeOnEsc = input(true, { transform: booleanAttribute });\n readonly closed = output<void>();\n\n protected readonly titleId = huUniqueId('hu-dialog-title');\n protected pointerDownOnBackdrop = false;\n private readonly dialogRef = viewChild.required<ElementRef<HTMLDialogElement>>('dialog');\n\n constructor() {\n effect(() => {\n const el = this.dialogRef().nativeElement;\n if (this.open() && !el.open) el.showModal();\n else if (!this.open() && el.open) el.close();\n });\n }\n\n close(): void {\n this.open.set(false);\n }\n\n protected onNativeClose(): void {\n if (this.open()) this.open.set(false);\n this.closed.emit();\n }\n\n protected onCancel(event: Event): void {\n if (!this.closeOnEsc()) event.preventDefault();\n }\n\n protected onClick(event: MouseEvent): void {\n // Yalnızca basma ve bırakma ikisi de backdrop üzerindeyse kapat (metin seçerken kapanmasın).\n if (this.closeOnBackdrop() && this.pointerDownOnBackdrop && event.target === this.dialogRef().nativeElement) {\n this.close();\n }\n this.pointerDownOnBackdrop = false;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n computed,\n contentChild,\n input,\n} from '@angular/core';\n\n/** Kart başlığının sağındaki aksiyonlar. */\n@Directive({ selector: '[huCardActions]', host: { class: 'hu-card__actions' } })\nexport class HuCardActions {}\n\n/** Kart alt bilgisi. */\n@Directive({ selector: '[huCardFooter]', host: { class: 'hu-card__footer' } })\nexport class HuCardFooter {}\n\nexport type HuCardPadding = 'none' | 'sm' | 'md';\n\n/**\n * İçerik kartı.\n * @example\n * <hu-card title=\"Son başvurular\" subtitle=\"Son 7 gün\">\n * <button huCardActions hu-button variant=\"ghost\" size=\"sm\">Tümü</button>\n * ...\n * <div huCardFooter>...</div>\n * </hu-card>\n */\n@Component({\n selector: 'hu-card',\n template: `\n <div class=\"hu-card__header\" [hidden]=\"!hasHeader()\">\n <div class=\"hu-card__heading\">\n @if (title()) {\n <h3 class=\"hu-card__title\">{{ title() }}</h3>\n }\n @if (subtitle()) {\n <p class=\"hu-card__subtitle\">{{ subtitle() }}</p>\n }\n </div>\n <ng-content select=\"[huCardActions]\" />\n </div>\n <div class=\"hu-card__body\">\n <ng-content />\n </div>\n <ng-content select=\"[huCardFooter]\" />\n `,\n styles: `\n .hu-card {\n display: flex;\n flex-direction: column;\n min-width: 0;\n background: var(--hu-surface);\n border: 1px solid var(--hu-border);\n border-radius: var(--hu-radius-lg);\n box-shadow: var(--hu-shadow-sm);\n }\n .hu-card__header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--hu-space-3);\n padding: var(--hu-space-4) var(--hu-space-5);\n border-bottom: 1px solid var(--hu-border);\n }\n .hu-card__header[hidden] { display: none; }\n .hu-card__heading { min-width: 0; }\n .hu-card__title { font-size: 0.9375rem; font-weight: 600; }\n .hu-card__subtitle { margin-top: 2px; font-size: var(--hu-text-xs); color: var(--hu-text-muted); }\n .hu-card__actions { display: flex; align-items: center; gap: var(--hu-space-2); flex-shrink: 0; }\n .hu-card__body { flex: 1; padding: var(--hu-space-5); }\n .hu-card[data-padding='sm'] .hu-card__body { padding: var(--hu-space-3); }\n .hu-card[data-padding='none'] .hu-card__body { padding: 0; }\n .hu-card__footer {\n display: flex;\n align-items: center;\n gap: var(--hu-space-2);\n padding: var(--hu-space-3) var(--hu-space-5);\n border-top: 1px solid var(--hu-border);\n }\n `,\n host: { class: 'hu-card', '[attr.data-padding]': 'padding()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuCard {\n readonly title = input<string>();\n readonly subtitle = input<string>();\n readonly padding = input<HuCardPadding>('md');\n\n private readonly actions = contentChild(HuCardActions);\n protected readonly hasHeader = computed(() => !!(this.title() || this.subtitle() || this.actions()));\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChildren,\n inject,\n input,\n model,\n output,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuSpinner } from '../spinner/spinner.component';\nimport { HuColumn, HuSort } from './table.types';\n\nexport interface HuCellContext<T = any> {\n $implicit: T;\n index: number;\n}\n\n/**\n * Bir sütun için özel hücre şablonu. `huCellOf` ile tabloya verilen veriyi\n * bağlarsanız `let-row` değişkeni tip güvenli olur.\n * @example <ng-template huCell=\"status\" [huCellOf]=\"users()\" let-row><hu-badge>{{ row.status }}</hu-badge></ng-template>\n */\n@Directive({ selector: 'ng-template[huCell]' })\nexport class HuCellDef<T = any> {\n readonly key = input.required<string>({ alias: 'huCell' });\n /** Yalnızca tip çıkarımı içindir; çalışma zamanında kullanılmaz. */\n readonly of = input<readonly T[]>(undefined, { alias: 'huCellOf' });\n readonly template = inject<TemplateRef<HuCellContext<T>>>(TemplateRef);\n\n static ngTemplateContextGuard<T>(_dir: HuCellDef<T>, ctx: unknown): ctx is HuCellContext<T> {\n return true;\n }\n}\n\nconst collator = new Intl.Collator('tr-TR', { numeric: true, sensitivity: 'base' });\n\nfunction compareValues(a: unknown, b: unknown): number {\n if (a == null && b == null) return 0;\n if (a == null) return 1;\n if (b == null) return -1;\n if (typeof a === 'number' && typeof b === 'number') return a - b;\n if (a instanceof Date && b instanceof Date) return a.getTime() - b.getTime();\n return collator.compare(String(a), String(b));\n}\n\n/**\n * Veri tablosu: sıralama, özel hücre şablonları, yükleniyor ve boş durumları.\n * Sayfalama için `hu-paginator` ile birlikte kullanın.\n *\n * @example\n * <hu-table [data]=\"users()\" [columns]=\"columns\" [(sort)]=\"sort\">\n * <ng-template huCell=\"status\" let-user>\n * <hu-badge [variant]=\"user.active ? 'success' : 'neutral'\">{{ user.active ? 'Aktif' : 'Pasif' }}</hu-badge>\n * </ng-template>\n * </hu-table>\n */\n@Component({\n selector: 'hu-table',\n imports: [NgTemplateOutlet, HuIcon, HuSpinner],\n templateUrl: './table.component.html',\n styleUrl: './table.component.scss',\n host: {\n class: 'hu-table',\n '[class.hu-table--striped]': 'striped()',\n '[class.hu-table--dense]': 'dense()',\n '[class.hu-table--sticky]': 'stickyHeader()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuTable<T = any> {\n readonly data = input<readonly T[]>([]);\n readonly columns = input.required<HuColumn<T>[]>();\n readonly loading = input(false, { transform: booleanAttribute });\n readonly emptyText = input('Kayıt bulunamadı.');\n /** `client`: tablo kendisi sıralar. `server`: yalnızca `sort` değişir, veriyi siz getirirsiniz. */\n readonly sortMode = input<'client' | 'server'>('client');\n readonly sort = model<HuSort>({ key: '', direction: '' });\n readonly trackBy = input<(row: T) => unknown>((row: T) => row);\n readonly striped = input(false, { transform: booleanAttribute });\n readonly dense = input(false, { transform: booleanAttribute });\n readonly stickyHeader = input(false, { transform: booleanAttribute });\n readonly clickableRows = input(false, { transform: booleanAttribute });\n readonly rowClick = output<T>();\n\n private readonly cellDefs = contentChildren(HuCellDef);\n protected readonly templates = computed(() => new Map(this.cellDefs().map((d) => [d.key(), d.template])));\n\n protected readonly rows = computed(() => {\n const data = this.data();\n const { key, direction } = this.sort();\n if (this.sortMode() === 'server' || !key || !direction) return data;\n const column = this.columns().find((c) => c.key === key);\n if (!column) return data;\n const factor = direction === 'asc' ? 1 : -1;\n return [...data].sort((a, b) => compareValues(this.cellValue(a, column), this.cellValue(b, column)) * factor);\n });\n\n protected cellValue(row: T, column: HuColumn<T>): unknown {\n return column.value ? column.value(row) : (row as Record<string, unknown>)[column.key];\n }\n\n protected toggleSort(column: HuColumn<T>): void {\n const current = this.sort();\n if (current.key !== column.key || !current.direction) {\n this.sort.set({ key: column.key, direction: 'asc' });\n } else if (current.direction === 'asc') {\n this.sort.set({ key: column.key, direction: 'desc' });\n } else {\n this.sort.set({ key: '', direction: '' });\n }\n }\n\n protected sortIcon(column: HuColumn<T>): string {\n const { key, direction } = this.sort();\n if (key !== column.key || !direction) return 'chevrons-up-down';\n return direction === 'asc' ? 'arrow-up' : 'arrow-down';\n }\n\n protected ariaSort(column: HuColumn<T>): string | null {\n if (!column.sortable) return null;\n const { key, direction } = this.sort();\n if (key !== column.key || !direction) return 'none';\n return direction === 'asc' ? 'ascending' : 'descending';\n }\n\n protected onRowClick(row: T): void {\n if (this.clickableRows()) this.rowClick.emit(row);\n }\n}\n","<div class=\"hu-table__scroll\" [attr.aria-busy]=\"loading() || null\">\n <table class=\"hu-table__table\">\n <thead>\n <tr>\n @for (col of columns(); track col.key) {\n <th\n scope=\"col\"\n [style.width]=\"col.width\"\n [attr.data-align]=\"col.align\"\n [attr.aria-sort]=\"ariaSort(col)\"\n [class.hu-table__cell--hide-mobile]=\"col.hideOnMobile\"\n >\n @if (col.sortable) {\n <button type=\"button\" class=\"hu-table__sort\" [class.hu-table__sort--active]=\"sort().key === col.key && sort().direction\" (click)=\"toggleSort(col)\">\n {{ col.header }}\n <hu-icon [name]=\"sortIcon(col)\" [size]=\"14\" />\n </button>\n } @else {\n {{ col.header }}\n }\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @if (loading() && !rows().length) {\n <tr>\n <td class=\"hu-table__state\" [attr.colspan]=\"columns().length\">\n <hu-spinner />\n </td>\n </tr>\n } @else {\n @for (row of rows(); track trackBy()(row); let i = $index) {\n <tr [class.hu-table__row--clickable]=\"clickableRows()\" (click)=\"onRowClick(row)\">\n @for (col of columns(); track col.key) {\n <td [attr.data-align]=\"col.align\" [class.hu-table__cell--hide-mobile]=\"col.hideOnMobile\">\n @if (templates().get(col.key); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: row, index: i }\" />\n } @else {\n {{ cellValue(row, col) }}\n }\n </td>\n }\n </tr>\n } @empty {\n <tr>\n <td class=\"hu-table__state\" [attr.colspan]=\"columns().length\">\n <ng-content select=\"[huTableEmpty]\">{{ emptyText() }}</ng-content>\n </td>\n </tr>\n }\n }\n </tbody>\n </table>\n @if (loading() && rows().length) {\n <div class=\"hu-table__overlay\"><hu-spinner size=\"lg\" /></div>\n }\n</div>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input, model } from '@angular/core';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuInput } from '../form-field/input.directive';\n\ntype PageItem = number | 'gap-start' | 'gap-end';\n\n/**\n * Sayfalama.\n * @example <hu-paginator [length]=\"total()\" [(pageIndex)]=\"page\" [(pageSize)]=\"size\" />\n */\n@Component({\n selector: 'hu-paginator',\n imports: [HuButton, HuIcon, HuInput],\n template: `\n <div class=\"hu-paginator__info\">\n @if (pageSizeOptions().length > 1) {\n <label class=\"hu-paginator__size\">\n <span>Sayfa başına</span>\n <select huInput size=\"sm\" [value]=\"pageSize()\" (change)=\"changePageSize($event)\">\n @for (option of pageSizeOptions(); track option) {\n <option [value]=\"option\" [selected]=\"option === pageSize()\">{{ option }}</option>\n }\n </select>\n </label>\n }\n <span class=\"hu-paginator__range\">{{ rangeLabel() }}</span>\n </div>\n\n <nav class=\"hu-paginator__pages\" aria-label=\"Sayfalama\">\n <button hu-button variant=\"ghost\" size=\"sm\" iconOnly aria-label=\"Önceki sayfa\" [disabled]=\"pageIndex() === 0\" (click)=\"goTo(pageIndex() - 1)\">\n <hu-icon name=\"chevron-left\" [size]=\"16\" />\n </button>\n @for (item of pages(); track item) {\n @if (item === 'gap-start' || item === 'gap-end') {\n <span class=\"hu-paginator__gap\" aria-hidden=\"true\">…</span>\n } @else {\n <button\n type=\"button\"\n class=\"hu-paginator__page\"\n [class.hu-paginator__page--active]=\"item === pageIndex()\"\n [attr.aria-current]=\"item === pageIndex() ? 'page' : null\"\n [attr.aria-label]=\"'Sayfa ' + (item + 1)\"\n (click)=\"goTo(item)\"\n >\n {{ item + 1 }}\n </button>\n }\n }\n <button hu-button variant=\"ghost\" size=\"sm\" iconOnly aria-label=\"Sonraki sayfa\" [disabled]=\"pageIndex() >= pageCount() - 1\" (click)=\"goTo(pageIndex() + 1)\">\n <hu-icon name=\"chevron-right\" [size]=\"16\" />\n </button>\n </nav>\n `,\n styles: `\n .hu-paginator {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: var(--hu-space-3);\n padding: var(--hu-space-3) var(--hu-space-4);\n font-size: var(--hu-text-sm);\n color: var(--hu-text-muted);\n }\n .hu-paginator__info { display: flex; align-items: center; gap: var(--hu-space-4); }\n .hu-paginator__size { display: inline-flex; align-items: center; gap: var(--hu-space-2); white-space: nowrap; }\n .hu-paginator__size .hu-input { width: auto; }\n .hu-paginator__pages { display: flex; align-items: center; gap: 2px; }\n .hu-paginator__page {\n min-width: var(--hu-control-sm);\n height: var(--hu-control-sm);\n padding: 0 var(--hu-space-2);\n font: inherit;\n font-variant-numeric: tabular-nums;\n color: var(--hu-text-muted);\n background: none;\n border: 1px solid transparent;\n border-radius: var(--hu-radius-md);\n cursor: pointer;\n }\n .hu-paginator__page:hover { color: var(--hu-text); background: var(--hu-surface-3); }\n .hu-paginator__page--active,\n .hu-paginator__page--active:hover {\n font-weight: 600;\n color: var(--hu-primary-soft-fg);\n background: var(--hu-primary-soft);\n }\n .hu-paginator__gap { padding: 0 var(--hu-space-1); }\n @media (max-width: 639.98px) {\n .hu-paginator__size { display: none; }\n }\n `,\n host: { class: 'hu-paginator' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuPaginator {\n readonly length = input.required<number>();\n readonly pageIndex = model(0);\n readonly pageSize = model(10);\n readonly pageSizeOptions = input<number[]>([10, 25, 50]);\n\n protected readonly pageCount = computed(() => Math.max(1, Math.ceil(this.length() / this.pageSize())));\n\n protected readonly rangeLabel = computed(() => {\n const total = this.length();\n if (!total) return '0 kayıt';\n const start = this.pageIndex() * this.pageSize() + 1;\n const end = Math.min(total, start + this.pageSize() - 1);\n return `${start}–${end} / ${total} kayıt`;\n });\n\n /** Mevcut sayfanın etrafında en fazla 7 öğe (ilk, son, komşular ve boşluklar). */\n protected readonly pages = computed<PageItem[]>(() => {\n const count = this.pageCount();\n const current = Math.min(this.pageIndex(), count - 1);\n if (count <= 7) return Array.from({ length: count }, (_, i) => i);\n\n const start = Math.max(1, Math.min(current - 1, count - 5));\n const end = Math.min(count - 2, Math.max(current + 1, 4));\n const items: PageItem[] = [0];\n if (start > 1) items.push('gap-start');\n for (let i = start; i <= end; i++) items.push(i);\n if (end < count - 2) items.push('gap-end');\n items.push(count - 1);\n return items;\n });\n\n protected goTo(index: number): void {\n const clamped = Math.max(0, Math.min(index, this.pageCount() - 1));\n if (clamped !== this.pageIndex()) this.pageIndex.set(clamped);\n }\n\n protected changePageSize(event: Event): void {\n this.pageSize.set(Number((event.target as HTMLSelectElement).value));\n this.pageIndex.set(0);\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChildren,\n inject,\n input,\n model,\n viewChild,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\n\n/** Tek bir sekme. İçeriği yalnızca aktifken render edilir. */\n@Component({\n selector: 'hu-tab',\n template: `<ng-template><ng-content /></ng-template>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuTab {\n readonly label = input.required<string>();\n readonly icon = input<string>();\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly content = viewChild.required(TemplateRef);\n}\n\nexport type HuTabsVariant = 'line' | 'pills';\n\n/**\n * Sekmeler. Ok tuşları, Home/End ile klavye gezintisi destekler.\n * @example\n * <hu-tabs [(selectedIndex)]=\"tab\">\n * <hu-tab label=\"Profil\" icon=\"user\">...</hu-tab>\n * <hu-tab label=\"Güvenlik\" icon=\"lock\">...</hu-tab>\n * </hu-tabs>\n */\n@Component({\n selector: 'hu-tabs',\n imports: [NgTemplateOutlet, HuIcon],\n template: `\n <div class=\"hu-tabs__list\" role=\"tablist\" (keydown)=\"onKeydown($event)\">\n @for (tab of tabs(); track tab; let i = $index) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"hu-tabs__tab\"\n [id]=\"baseId + '-tab-' + i\"\n [attr.aria-selected]=\"i === activeIndex()\"\n [attr.aria-controls]=\"baseId + '-panel-' + i\"\n [tabIndex]=\"i === activeIndex() ? 0 : -1\"\n [disabled]=\"tab.disabled()\"\n (click)=\"select(i)\"\n >\n @if (tab.icon()) {\n <hu-icon [name]=\"tab.icon()!\" [size]=\"16\" />\n }\n {{ tab.label() }}\n </button>\n }\n </div>\n @if (activeTab(); as tab) {\n <div\n class=\"hu-tabs__panel\"\n role=\"tabpanel\"\n tabindex=\"0\"\n [id]=\"baseId + '-panel-' + activeIndex()\"\n [attr.aria-labelledby]=\"baseId + '-tab-' + activeIndex()\"\n >\n <ng-container [ngTemplateOutlet]=\"tab.content()\" />\n </div>\n }\n `,\n styles: `\n .hu-tabs { display: block; }\n .hu-tabs__list {\n display: flex;\n gap: var(--hu-space-1);\n overflow-x: auto;\n scrollbar-width: none;\n }\n .hu-tabs[data-variant='line'] .hu-tabs__list { gap: var(--hu-space-5); border-bottom: 1px solid var(--hu-border); }\n .hu-tabs__tab {\n display: inline-flex;\n align-items: center;\n gap: var(--hu-space-2);\n flex-shrink: 0;\n font: inherit;\n font-weight: 500;\n color: var(--hu-text-muted);\n white-space: nowrap;\n background: none;\n border: 0;\n cursor: pointer;\n transition: color var(--hu-transition), background-color var(--hu-transition), border-color var(--hu-transition);\n }\n .hu-tabs__tab:hover:not(:disabled) { color: var(--hu-text); }\n .hu-tabs__tab:disabled { opacity: 0.45; cursor: not-allowed; }\n .hu-tabs__tab:focus-visible { outline: none; box-shadow: var(--hu-ring); border-radius: var(--hu-radius-sm); }\n .hu-tabs[data-variant='line'] .hu-tabs__tab {\n margin-bottom: -1px;\n padding: var(--hu-space-3) 0;\n border-bottom: 2px solid transparent;\n }\n .hu-tabs[data-variant='line'] .hu-tabs__tab[aria-selected='true'] {\n color: var(--hu-primary);\n border-bottom-color: var(--hu-primary);\n }\n .hu-tabs[data-variant='pills'] .hu-tabs__list {\n display: inline-flex;\n padding: 3px;\n background: var(--hu-surface-3);\n border-radius: var(--hu-radius-md);\n }\n .hu-tabs[data-variant='pills'] .hu-tabs__tab {\n height: 2rem;\n padding: 0 var(--hu-space-3);\n border-radius: var(--hu-radius-sm);\n }\n .hu-tabs[data-variant='pills'] .hu-tabs__tab[aria-selected='true'] {\n color: var(--hu-text);\n background: var(--hu-surface);\n box-shadow: var(--hu-shadow-sm);\n }\n .hu-tabs__panel { padding-top: var(--hu-space-5); }\n .hu-tabs__panel:focus-visible { outline: none; }\n `,\n host: { class: 'hu-tabs', '[attr.data-variant]': 'variant()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuTabs {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly selectedIndex = model(0);\n readonly variant = input<HuTabsVariant>('line');\n\n protected readonly tabs = contentChildren(HuTab);\n protected readonly baseId = huUniqueId('hu-tabs');\n protected readonly activeIndex = computed(() => Math.min(this.selectedIndex(), this.tabs().length - 1));\n protected readonly activeTab = computed(() => this.tabs()[this.activeIndex()]);\n\n select(index: number): void {\n if (!this.tabs()[index]?.disabled()) this.selectedIndex.set(index);\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n const tabs = this.tabs();\n const enabled = tabs.map((t, i) => (t.disabled() ? -1 : i)).filter((i) => i >= 0);\n const pos = enabled.indexOf(this.activeIndex());\n let next: number | undefined;\n\n switch (event.key) {\n case 'ArrowRight':\n next = enabled[(pos + 1) % enabled.length];\n break;\n case 'ArrowLeft':\n next = enabled[(pos - 1 + enabled.length) % enabled.length];\n break;\n case 'Home':\n next = enabled[0];\n break;\n case 'End':\n next = enabled[enabled.length - 1];\n break;\n default:\n return;\n }\n event.preventDefault();\n if (next === undefined) return;\n this.select(next);\n this.host.nativeElement.querySelectorAll<HTMLElement>('.hu-tabs__tab')[next]?.focus();\n }\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, input } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { HuIcon } from '../icon/icon.component';\n\nexport interface HuBreadcrumbItem {\n label: string;\n link?: string | unknown[];\n icon?: string;\n}\n\n/** @example <hu-breadcrumb [items]=\"[{ label: 'Ana Sayfa', link: '/' }, { label: 'Kullanıcılar' }]\" /> */\n@Component({\n selector: 'hu-breadcrumb',\n imports: [RouterLink, HuIcon],\n template: `\n <nav aria-label=\"Konum\">\n <ol class=\"hu-breadcrumb__list\">\n @for (item of items(); track $index; let last = $last) {\n <li class=\"hu-breadcrumb__item\">\n @if (item.link && !last) {\n <a class=\"hu-breadcrumb__link\" [routerLink]=\"item.link\">\n @if (item.icon) {\n <hu-icon [name]=\"item.icon\" [size]=\"14\" />\n }\n {{ item.label }}\n </a>\n <hu-icon class=\"hu-breadcrumb__sep\" name=\"chevron-right\" [size]=\"14\" />\n } @else {\n <span class=\"hu-breadcrumb__current\" [attr.aria-current]=\"last ? 'page' : null\">{{ item.label }}</span>\n @if (!last) {\n <hu-icon class=\"hu-breadcrumb__sep\" name=\"chevron-right\" [size]=\"14\" />\n }\n }\n </li>\n }\n </ol>\n </nav>\n `,\n styles: `\n .hu-breadcrumb { display: block; min-width: 0; }\n .hu-breadcrumb__list {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--hu-space-1);\n margin: 0;\n padding: 0;\n font-size: var(--hu-text-sm);\n list-style: none;\n }\n .hu-breadcrumb__item { display: inline-flex; align-items: center; gap: var(--hu-space-1); min-width: 0; }\n .hu-breadcrumb__link {\n display: inline-flex;\n align-items: center;\n gap: var(--hu-space-1);\n color: var(--hu-text-muted);\n text-decoration: none;\n border-radius: var(--hu-radius-sm);\n }\n .hu-breadcrumb__link:hover { color: var(--hu-text); }\n .hu-breadcrumb__current { font-weight: 500; color: var(--hu-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n .hu-breadcrumb__sep { color: var(--hu-text-subtle); }\n `,\n host: { class: 'hu-breadcrumb' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuBreadcrumb {\n readonly items = input<HuBreadcrumbItem[]>([]);\n}\n","/** Seçilebilir bir menü öğesi. */\nexport interface HuDropdownOption<T = string> {\n label: string;\n /** `(selected)` ile döner. Verilmezse `label` kullanılır. */\n value?: T;\n icon?: string;\n /** Etiketin altında küçük ikinci satır (örn. \"5 dk önce\"). */\n description?: string;\n disabled?: boolean;\n /** Kırmızı, yıkıcı işlem (Sil, Çıkış yap). */\n danger?: boolean;\n /** Verilirse öğe bir router linki olur. */\n link?: string | readonly unknown[];\n}\n\n/** Öğeler arasına ince çizgi. */\nexport interface HuDropdownDivider {\n divider: true;\n}\n\n/** Bir grup öğenin üstünde küçük başlık. */\nexport interface HuDropdownHeader {\n header: string;\n}\n\nexport type HuDropdownEntry<T = string> = HuDropdownOption<T> | HuDropdownDivider | HuDropdownHeader;\n\nexport function isDropdownDivider(entry: HuDropdownEntry<unknown>): entry is HuDropdownDivider {\n return 'divider' in entry;\n}\n\nexport function isDropdownHeader(entry: HuDropdownEntry<unknown>): entry is HuDropdownHeader {\n return 'header' in entry;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n contentChild,\n inject,\n input,\n model,\n output,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { RouterLink } from '@angular/router';\nimport { HuButton, HuButtonColor, HuButtonSize, HuButtonVariant } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport { HuDropdownEntry, HuDropdownOption, isDropdownDivider, isDropdownHeader } from './dropdown.types';\n\nexport type HuDropdownAlign = 'start' | 'end';\n\n/**\n * Hazır tetikleyici yerine kendi elementinizi kullanmak için (avatar, ikon vb.).\n * @example <button huDropdownTrigger class=\"avatar-btn\"><hu-avatar name=\"…\" /></button>\n */\n@Directive({\n selector: '[huDropdownTrigger]',\n host: {\n 'aria-haspopup': 'menu',\n '[attr.aria-expanded]': 'dropdown.open()',\n '[attr.aria-controls]': 'dropdown.panelId',\n '(click)': 'dropdown.toggle()',\n },\n})\nexport class HuDropdownTrigger {\n protected readonly dropdown = inject(HuDropdown);\n readonly element = inject<ElementRef<HTMLElement>>(ElementRef);\n}\n\n/** Panelin en üstüne serbest içerik (başlık, rozet vb.). */\n@Directive({ selector: '[huDropdownHeader]', host: { class: 'hu-dropdown__header' } })\nexport class HuDropdownHeaderSlot {}\n\n/**\n * Açılır menü. Öğeleri `options` ile verin; seçim `(selected)` ile döner.\n *\n * @example\n * <hu-dropdown label=\"İşlemler\" [options]=\"actions\" (selected)=\"run($event.value)\" />\n *\n * actions: HuDropdownEntry[] = [\n * { label: 'Düzenle', value: 'edit', icon: 'edit' },\n * { divider: true },\n * { label: 'Sil', value: 'delete', icon: 'trash', danger: true },\n * ];\n *\n * <!-- Yalnızca ikon -->\n * <hu-dropdown icon=\"more-vertical\" variant=\"ghost\" ariaLabel=\"Satır işlemleri\" [options]=\"actions\" />\n */\n@Component({\n selector: 'hu-dropdown',\n imports: [NgTemplateOutlet, RouterLink, HuButton, HuIcon],\n templateUrl: './dropdown.component.html',\n styleUrl: './dropdown.component.scss',\n host: {\n class: 'hu-dropdown',\n '[class.hu-dropdown--open]': 'open()',\n '(document:click)': 'onDocumentClick($event)',\n '(document:keydown.escape)': 'close(true)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuDropdown<T = string> {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly injector = inject(Injector);\n\n // --- İçerik -----------------------------------------------------------------------\n readonly options = input<readonly HuDropdownEntry<T>[]>([]);\n\n // --- Hazır tetikleyici ------------------------------------------------------------\n /** Tetikleyici butonun metni. */\n readonly label = input<string>();\n /** Tetikleyici butonun ikonu. Yalnızca ikon verilirse kare buton olur. */\n readonly icon = input<string>();\n readonly variant = input<HuButtonVariant>('outline');\n readonly color = input<HuButtonColor>();\n readonly size = input<HuButtonSize>('md');\n /** Etiketin yanında aşağı ok gösterilsin mi? */\n readonly caret = input(true, { transform: booleanAttribute });\n /** Yalnızca ikonlu tetikleyicide ekran okuyucu etiketi (zorunlu gibi düşünün). */\n readonly ariaLabel = input<string>();\n readonly disabled = input(false, { transform: booleanAttribute });\n\n // --- Davranış ---------------------------------------------------------------------\n readonly align = input<HuDropdownAlign>('start');\n /** Açık mı? `[(open)]` ile iki yönlü bağlanabilir. */\n readonly open = model(false);\n\n /** Bir öğe seçildiğinde. */\n readonly selected = output<HuDropdownOption<T>>();\n\n readonly panelId = huUniqueId('hu-dropdown');\n protected readonly customTrigger = contentChild(HuDropdownTrigger);\n protected readonly isDivider = isDropdownDivider;\n protected readonly isHeader = isDropdownHeader;\n\n private typeahead = '';\n private typeaheadTimer?: ReturnType<typeof setTimeout>;\n\n toggle(): void {\n if (this.open()) this.close();\n else this.show();\n }\n\n show(): void {\n if (this.disabled()) return;\n this.open.set(true);\n afterNextRender(() => this.items()[0]?.focus(), { injector: this.injector });\n }\n\n close(restoreFocus = false): void {\n if (!this.open()) return;\n this.open.set(false);\n if (restoreFocus) this.triggerElement()?.focus();\n }\n\n protected choose(option: HuDropdownOption<T>): void {\n if (option.disabled) return;\n this.selected.emit({ ...option, value: (option.value ?? option.label) as T });\n this.close(true);\n }\n\n protected onDocumentClick(event: MouseEvent): void {\n if (!this.host.nativeElement.contains(event.target as Node)) this.close();\n }\n\n protected onTriggerKeydown(event: KeyboardEvent): void {\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n event.preventDefault();\n this.show();\n }\n }\n\n protected onPanelKeydown(event: KeyboardEvent): void {\n const items = this.items();\n if (!items.length) return;\n const current = items.indexOf(this.host.nativeElement.ownerDocument.activeElement as HTMLElement);\n let next = -1;\n\n if (event.key === 'ArrowDown') next = (current + 1) % items.length;\n else if (event.key === 'ArrowUp') next = (current - 1 + items.length) % items.length;\n else if (event.key === 'Home') next = 0;\n else if (event.key === 'End') next = items.length - 1;\n else if (event.key === 'Tab') this.close();\n else if (event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) {\n next = this.findByTypeahead(items, event.key, current);\n }\n\n if (next >= 0) {\n event.preventDefault();\n items[next]?.focus();\n }\n }\n\n /** Harfe basınca o harfle başlayan öğeye git (ör. \"S\" → \"Sil\"). */\n private findByTypeahead(items: HTMLElement[], key: string, current: number): number {\n clearTimeout(this.typeaheadTimer);\n this.typeahead += key.toLocaleLowerCase('tr-TR');\n this.typeaheadTimer = setTimeout(() => (this.typeahead = ''), 500);\n for (let i = 1; i <= items.length; i++) {\n const index = (current + i) % items.length;\n const text = items[index].textContent?.trim().toLocaleLowerCase('tr-TR') ?? '';\n if (text.startsWith(this.typeahead)) return index;\n }\n return -1;\n }\n\n private items(): HTMLElement[] {\n return Array.from(\n this.host.nativeElement.querySelectorAll<HTMLElement>('.hu-dropdown__panel .hu-dropdown-item:not(:disabled)'),\n );\n }\n\n private triggerElement(): HTMLElement | null {\n return (\n this.customTrigger()?.element.nativeElement ??\n this.host.nativeElement.querySelector<HTMLElement>('.hu-dropdown__trigger')\n );\n }\n}\n","@if (!customTrigger()) {\n <button\n hu-button\n type=\"button\"\n class=\"hu-dropdown__trigger\"\n aria-haspopup=\"menu\"\n [variant]=\"variant()\"\n [color]=\"color()\"\n [size]=\"size()\"\n [iconOnly]=\"!!icon() && !label()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"panelId\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n >\n @if (icon()) {\n <hu-icon [name]=\"icon()!\" [size]=\"16\" />\n }\n @if (label()) {\n {{ label() }}\n @if (caret()) {\n <hu-icon class=\"hu-dropdown__caret\" name=\"chevron-down\" [size]=\"16\" />\n }\n }\n </button>\n}\n<ng-content select=\"[huDropdownTrigger]\" />\n\n<div\n class=\"hu-dropdown__panel\"\n role=\"menu\"\n [id]=\"panelId\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.data-align]=\"align()\"\n [hidden]=\"!open()\"\n (keydown)=\"onPanelKeydown($event)\"\n>\n <ng-content select=\"[huDropdownHeader]\" />\n\n @for (entry of options(); track $index) {\n @if (isDivider(entry)) {\n <div class=\"hu-dropdown-divider\" role=\"separator\"></div>\n } @else if (isHeader(entry)) {\n <div class=\"hu-dropdown-label\" role=\"presentation\">{{ entry.header }}</div>\n } @else if (entry.link && !entry.disabled) {\n <a\n class=\"hu-dropdown-item\"\n role=\"menuitem\"\n tabindex=\"-1\"\n [class.hu-dropdown-item--danger]=\"entry.danger\"\n [routerLink]=\"entry.link\"\n (click)=\"choose(entry)\"\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: entry }\" />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"hu-dropdown-item\"\n role=\"menuitem\"\n tabindex=\"-1\"\n [class.hu-dropdown-item--danger]=\"entry.danger\"\n [disabled]=\"entry.disabled\"\n (click)=\"choose(entry)\"\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: entry }\" />\n </button>\n }\n }\n</div>\n\n<ng-template #itemContent let-entry>\n @if (entry.icon) {\n <hu-icon class=\"hu-dropdown-item__icon\" [name]=\"entry.icon\" [size]=\"16\" />\n }\n <span class=\"hu-dropdown-item__text\">\n <span class=\"hu-dropdown-item__label\">{{ entry.label }}</span>\n @if (entry.description) {\n <span class=\"hu-dropdown-item__description\">{{ entry.description }}</span>\n }\n </span>\n</ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n effect,\n inject,\n input,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { NavigationEnd, Router, RouterLink, RouterLinkActive } from '@angular/router';\nimport { filter, map } from 'rxjs';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuNavGroup, HuNavItem } from './nav.types';\n\n/** Yan menü navigasyonu. Genellikle `hu-shell` içinde otomatik kullanılır. */\n@Component({\n selector: 'hu-sidebar-nav',\n imports: [RouterLink, RouterLinkActive, HuIcon],\n templateUrl: './sidebar-nav.component.html',\n host: { class: 'hu-nav', '[class.hu-nav--collapsed]': 'collapsed()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuSidebarNav {\n private readonly router = inject(Router);\n\n readonly groups = input<HuNavGroup[]>([]);\n readonly collapsed = input(false, { transform: booleanAttribute });\n /** Bir linke tıklandı (mobilde menüyü kapatmak için). */\n readonly navigate = output<void>();\n /** Daraltılmış moddayken alt menülü öğeye tıklandı. */\n readonly expandRequest = output<void>();\n\n private readonly url = toSignal(\n this.router.events.pipe(\n filter((e): e is NavigationEnd => e instanceof NavigationEnd),\n map((e) => e.urlAfterRedirects),\n ),\n { initialValue: this.router.url },\n );\n protected readonly openItems = signal<ReadonlySet<HuNavItem>>(new Set());\n\n constructor() {\n // Aktif alt sayfanın grubu otomatik açılsın.\n effect(() => {\n const url = this.url();\n const parents = this.groups()\n .flatMap((g) => g.items)\n .filter((item) => this.isParentActive(item, url));\n if (parents.length) {\n untracked(() => this.openItems.update((set) => new Set([...set, ...parents])));\n }\n });\n }\n\n protected isParentActive(item: HuNavItem, url = this.url()): boolean {\n const path = url.split(/[?#]/)[0];\n return !!item.children?.some((c) => c.link && (path === c.link || path.startsWith(c.link + '/')));\n }\n\n protected toggle(item: HuNavItem): void {\n if (this.collapsed()) {\n this.expandRequest.emit();\n this.openItems.update((set) => new Set([...set, item]));\n return;\n }\n this.openItems.update((set) => {\n const next = new Set(set);\n if (next.has(item)) next.delete(item);\n else next.add(item);\n return next;\n });\n }\n}\n","@for (group of groups(); track $index) {\n <div class=\"hu-nav__group\">\n @if (group.title) {\n <div class=\"hu-nav__title\">{{ group.title }}</div>\n }\n <ul class=\"hu-nav__list\">\n @for (item of group.items; track item.label) {\n <li>\n @if (item.children?.length) {\n @let open = openItems().has(item) && !collapsed();\n <button\n type=\"button\"\n class=\"hu-nav__link\"\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\n [attr.aria-expanded]=\"open\"\n [attr.title]=\"collapsed() ? item.label : null\"\n (click)=\"toggle(item)\"\n >\n @if (item.icon) {\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\n }\n <span class=\"hu-nav__label\">{{ item.label }}</span>\n <hu-icon class=\"hu-nav__chevron\" name=\"chevron-down\" [size]=\"16\" />\n </button>\n @if (open) {\n <ul class=\"hu-nav__sublist\">\n @for (child of item.children; track child.label) {\n <li>\n <a\n class=\"hu-nav__link hu-nav__link--sub\"\n [routerLink]=\"child.link\"\n routerLinkActive=\"hu-nav__link--active\"\n [routerLinkActiveOptions]=\"{ exact: child.exact ?? false }\"\n ariaCurrentWhenActive=\"page\"\n (click)=\"navigate.emit()\"\n >\n <span class=\"hu-nav__label\">{{ child.label }}</span>\n @if (child.badge != null) {\n <span class=\"hu-nav__badge\">{{ child.badge }}</span>\n }\n </a>\n </li>\n }\n </ul>\n }\n } @else {\n <a\n class=\"hu-nav__link\"\n [routerLink]=\"item.link\"\n routerLinkActive=\"hu-nav__link--active\"\n [routerLinkActiveOptions]=\"{ exact: item.exact ?? false }\"\n ariaCurrentWhenActive=\"page\"\n [attr.title]=\"collapsed() ? item.label : null\"\n (click)=\"navigate.emit()\"\n >\n @if (item.icon) {\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\n }\n <span class=\"hu-nav__label\">{{ item.label }}</span>\n @if (item.badge != null) {\n <span class=\"hu-nav__badge\">{{ item.badge }}</span>\n }\n </a>\n }\n </li>\n }\n </ul>\n </div>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DOCUMENT,\n Directive,\n ViewEncapsulation,\n computed,\n effect,\n inject,\n input,\n model,\n signal,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NavigationEnd, Router, RouterLink } from '@angular/router';\nimport { filter } from 'rxjs';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { huMediaQuery } from '../core/media';\nimport { HuSidebarNav } from './sidebar-nav.component';\nimport { HuNavGroup } from './nav.types';\n\n/** Topbar'ın sol tarafı (breadcrumb, arama vb.). */\n@Directive({ selector: '[huTopbarStart]', host: { class: 'hu-shell__topbar-start' } })\nexport class HuTopbarStart {}\n\n/** Topbar'ın sağ tarafı (tema, bildirim, kullanıcı menüsü). */\n@Directive({ selector: '[huTopbarEnd]', host: { class: 'hu-shell__topbar-end' } })\nexport class HuTopbarEnd {}\n\n/** Sidebar'ın alt kısmı. */\n@Directive({ selector: '[huSidebarFooter]', host: { class: 'hu-shell__sidebar-footer' } })\nexport class HuSidebarFooter {}\n\n/** Marka alanında varsayılan logonun yerine geçer. */\n@Directive({ selector: '[huShellLogo]', host: { class: 'hu-shell__logo' } })\nexport class HuShellLogo {}\n\nconst COLLAPSED_KEY = 'hu-shell-collapsed';\n\n/**\n * Admin uygulama iskeleti: daraltılabilir sidebar, mobilde çekmece menü, topbar.\n *\n * @example\n * <hu-shell [nav]=\"nav\" brand=\"Yönetim Paneli\" brandSubtitle=\"Kurum adı\">\n * <hu-breadcrumb huTopbarStart [items]=\"crumbs()\" />\n * <div huTopbarEnd><hu-theme-toggle /></div>\n * <router-outlet />\n * </hu-shell>\n */\n@Component({\n selector: 'hu-shell',\n imports: [RouterLink, HuButton, HuIcon, HuSidebarNav],\n templateUrl: './shell.component.html',\n styleUrl: './shell.component.scss',\n host: {\n class: 'hu-shell',\n '[class.hu-shell--collapsed]': 'isCollapsed()',\n '[class.hu-shell--mobile]': 'isMobile()',\n '[class.hu-shell--drawer-open]': 'isMobile() && mobileOpen()',\n '(document:keydown.escape)': 'mobileOpen.set(false)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuShell {\n private readonly storage = inject(DOCUMENT).defaultView?.localStorage;\n\n readonly nav = input<HuNavGroup[]>([]);\n readonly brand = input('');\n readonly brandSubtitle = input<string>();\n readonly brandLink = input<string>('/');\n /** Sidebar rengi. `dark`, açık temada da koyu sidebar kullanır. */\n readonly sidebarTheme = input<'default' | 'dark'>('default');\n /** Masaüstünde sidebar daraltılmış mı? Tercih localStorage'da saklanır. */\n readonly collapsed = model(this.readCollapsed());\n\n protected readonly isMobile = huMediaQuery('(max-width: 1023.98px)');\n protected readonly mobileOpen = signal(false);\n protected readonly isCollapsed = computed(() => !this.isMobile() && this.collapsed());\n\n constructor() {\n inject(Router)\n .events.pipe(\n filter((e) => e instanceof NavigationEnd),\n takeUntilDestroyed(),\n )\n .subscribe(() => this.mobileOpen.set(false));\n\n effect(() => {\n try {\n this.storage?.setItem(COLLAPSED_KEY, String(this.collapsed()));\n } catch {\n // yok say\n }\n });\n }\n\n toggleSidebar(): void {\n if (this.isMobile()) this.mobileOpen.update((v) => !v);\n else this.collapsed.update((v) => !v);\n }\n\n private readCollapsed(): boolean {\n try {\n return this.storage?.getItem(COLLAPSED_KEY) === 'true';\n } catch {\n return false;\n }\n }\n}\n","<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n<aside\n class=\"hu-shell__sidebar\"\n [class.hu-shell__sidebar--dark]=\"sidebarTheme() === 'dark'\"\n [attr.aria-hidden]=\"isMobile() && !mobileOpen() ? 'true' : null\"\n [attr.inert]=\"isMobile() && !mobileOpen() ? '' : null\"\n>\n <a class=\"hu-shell__brand\" [routerLink]=\"brandLink()\">\n <ng-content select=\"[huShellLogo]\">\n <span class=\"hu-shell__logo hu-shell__logo--default\">\n <hu-icon name=\"graduation-cap\" [size]=\"20\" />\n </span>\n </ng-content>\n <span class=\"hu-shell__brand-text\">\n <span class=\"hu-shell__brand-name\">{{ brand() }}</span>\n @if (brandSubtitle()) {\n <span class=\"hu-shell__brand-subtitle\">{{ brandSubtitle() }}</span>\n }\n </span>\n </a>\n\n <nav class=\"hu-shell__nav\" aria-label=\"Ana menü\">\n <hu-sidebar-nav\n [groups]=\"nav()\"\n [collapsed]=\"isCollapsed()\"\n (navigate)=\"mobileOpen.set(false)\"\n (expandRequest)=\"collapsed.set(false)\"\n />\n </nav>\n\n <ng-content select=\"[huSidebarFooter]\" />\n\n @if (!isMobile()) {\n <button\n type=\"button\"\n class=\"hu-shell__collapse\"\n [attr.aria-label]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n [attr.title]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon [name]=\"isCollapsed() ? 'chevrons-right' : 'chevrons-left'\" [size]=\"16\" />\n <span class=\"hu-nav__label\">Daralt</span>\n </button>\n }\n</aside>\n\n@if (isMobile() && mobileOpen()) {\n <div class=\"hu-shell__backdrop\" aria-hidden=\"true\" (click)=\"mobileOpen.set(false)\"></div>\n}\n\n<div class=\"hu-shell__main\">\n <header class=\"hu-shell__topbar\">\n @if (isMobile()) {\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n aria-label=\"Menüyü aç\"\n [attr.aria-expanded]=\"mobileOpen()\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon name=\"menu\" [size]=\"20\" />\n </button>\n }\n <ng-content select=\"[huTopbarStart]\" />\n <span class=\"hu-shell__spacer\"></span>\n <ng-content select=\"[huTopbarEnd]\" />\n </header>\n\n <main class=\"hu-shell__content\" id=\"hu-main\" tabindex=\"-1\">\n <ng-content />\n </main>\n</div>\n","import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuThemeService } from '../core/theme.service';\n\n/** Açık / koyu tema arasında geçiş yapan buton. */\n@Component({\n selector: 'hu-theme-toggle',\n imports: [HuButton, HuIcon],\n template: `\n <button hu-button variant=\"ghost\" iconOnly [attr.aria-label]=\"label()\" [attr.title]=\"label()\" (click)=\"theme.toggle()\">\n <hu-icon [name]=\"theme.resolved() === 'dark' ? 'sun' : 'moon'\" [size]=\"18\" />\n </button>\n `,\n host: { style: 'display: inline-flex' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuThemeToggle {\n protected readonly theme = inject(HuThemeService);\n protected readonly label = computed(() =>\n this.theme.resolved() === 'dark' ? 'Açık temaya geç' : 'Koyu temaya geç',\n );\n}\n","import { HuCard, HuCardActions, HuCardFooter } from './card/card.component';\nimport { HuDialog, HuDialogFooter } from './dialog/dialog.component';\nimport { HuFormField, HuPrefix, HuSuffix } from './form-field/form-field.component';\nimport { HuInput } from './form-field/input.directive';\nimport { HuShell, HuShellLogo, HuSidebarFooter, HuTopbarEnd, HuTopbarStart } from './layout/shell.component';\nimport { HuDropdown, HuDropdownHeaderSlot, HuDropdownTrigger } from './dropdown/dropdown.component';\nimport { HuCellDef, HuTable } from './table/table.component';\nimport { HuTab, HuTabs } from './tabs/tabs.component';\n\n/*\n * Birlikte kullanılan component/directive grupları. Bir parçayı import etmeyi\n * unutmak Angular'da sessizce başarısız olur (öznitelik yok sayılır); gruplar\n * bunu önler.\n *\n * @example imports: [HU_FORM_FIELD_IMPORTS, HU_TABLE_IMPORTS]\n */\nexport const HU_FORM_FIELD_IMPORTS = [HuFormField, HuInput, HuPrefix, HuSuffix] as const;\nexport const HU_CARD_IMPORTS = [HuCard, HuCardActions, HuCardFooter] as const;\nexport const HU_DIALOG_IMPORTS = [HuDialog, HuDialogFooter] as const;\nexport const HU_DROPDOWN_IMPORTS = [HuDropdown, HuDropdownTrigger, HuDropdownHeaderSlot] as const;\nexport const HU_TABLE_IMPORTS = [HuTable, HuCellDef] as const;\nexport const HU_TABS_IMPORTS = [HuTabs, HuTab] as const;\nexport const HU_SHELL_IMPORTS = [HuShell, HuTopbarStart, HuTopbarEnd, HuSidebarFooter, HuShellLogo] as const;\n"],"mappings":";;;;;;;AAAA,IAAI,SAAS;AAGb,SAAgB,WAAW,SAAS,MAAI;CACtC,OAAO,GAAG,OAAM,GAAI;AACtB;ACCA,SAAgB,aAAa,OAAa;CAExC,MAAM,MADM,OAAO,QAAQ,CAAC,CAAC,aACZ,aAAa,KAAK;CACnC,MAAM,UAAU,OAAO,KAAK,WAAW,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAE7C,IAAI,KAAK;EACP,MAAM,YAAY,MAA2B,QAAQ,IAAI,EAAE,OAAO;EAClE,IAAI,iBAAiB,UAAU,QAAQ;EACvC,OAAO,UAAU,CAAC,CAAC,gBAAgB,IAAI,oBAAoB,UAAU,QAAQ,CAAC;CAChF;CACA,OAAO,QAAQ,WAAU;AAC3B;ACZA,MAAM,cAAc;AAOpB,IAAa,iBAAb,MAAa,eAAc;CACR,MAAM,OAAO,QAAQ;CACrB,MAAM,KAAK,IAAI;CACf,QAAQ,KAAK,KAAK,aAAa,8BAA8B;CAC7D,aAAa,OAAO,KAAK,OAAO,WAAW,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAEzD,OAAO,OAAoB,KAAK,eAAc,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACjD,WAAW,eAA+B;EACjD,MAAM,OAAO,KAAK,KAAI;EACtB,IAAI,SAAS,UAAU,OA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,"file":"ucme-ui-angular.mjs","names":[],"sources":["../../../projects/hu-ui/src/lib/core/unique-id.ts","../../../projects/hu-ui/src/lib/core/media.ts","../../../projects/hu-ui/src/lib/core/theme.service.ts","../../../projects/hu-ui/src/lib/icon/icons.ts","../../../projects/hu-ui/src/lib/icon/icon.component.ts","../../../projects/hu-ui/src/lib/spinner/spinner.component.ts","../../../projects/hu-ui/src/lib/button/button.component.ts","../../../projects/hu-ui/src/lib/button/button-group.component.ts","../../../projects/hu-ui/src/lib/form-field/form-field.tokens.ts","../../../projects/hu-ui/src/lib/form-field/input.directive.ts","../../../projects/hu-ui/src/lib/form-field/form-field.component.ts","../../../projects/hu-ui/src/lib/checkbox/checkbox.component.ts","../../../projects/hu-ui/src/lib/switch/switch.component.ts","../../../projects/hu-ui/src/lib/calendar/date-utils.ts","../../../projects/hu-ui/src/lib/calendar/calendar.component.ts","../../../projects/hu-ui/src/lib/calendar/calendar.component.html","../../../projects/hu-ui/src/lib/calendar/date-picker.component.ts","../../../projects/hu-ui/src/lib/calendar/date-picker.component.html","../../../projects/hu-ui/src/lib/editor/sanitize-html.ts","../../../projects/hu-ui/src/lib/editor/editor.tools.ts","../../../projects/hu-ui/src/lib/editor/editor.component.ts","../../../projects/hu-ui/src/lib/editor/editor.component.html","../../../projects/hu-ui/src/lib/alert/alert.component.ts","../../../projects/hu-ui/src/lib/badge/badge.component.ts","../../../projects/hu-ui/src/lib/avatar/avatar.component.ts","../../../projects/hu-ui/src/lib/toast/toast.service.ts","../../../projects/hu-ui/src/lib/toast/toaster.component.ts","../../../projects/hu-ui/src/lib/dialog/dialog.component.ts","../../../projects/hu-ui/src/lib/card/card.component.ts","../../../projects/hu-ui/src/lib/table/table.component.ts","../../../projects/hu-ui/src/lib/table/table.component.html","../../../projects/hu-ui/src/lib/paginator/paginator.component.ts","../../../projects/hu-ui/src/lib/tabs/tabs.component.ts","../../../projects/hu-ui/src/lib/breadcrumb/breadcrumb.component.ts","../../../projects/hu-ui/src/lib/dropdown/dropdown.types.ts","../../../projects/hu-ui/src/lib/dropdown/dropdown.component.ts","../../../projects/hu-ui/src/lib/dropdown/dropdown.component.html","../../../projects/hu-ui/src/lib/layout/sidebar-nav.component.ts","../../../projects/hu-ui/src/lib/layout/sidebar-nav.component.html","../../../projects/hu-ui/src/lib/layout/shell.component.ts","../../../projects/hu-ui/src/lib/layout/shell.component.html","../../../projects/hu-ui/src/lib/layout/theme-toggle.component.ts","../../../projects/hu-ui/src/lib/imports.ts"],"sourcesContent":["let nextId = 0;\n\n/** Sayfa içinde benzersiz bir DOM id'si üretir (label/aria bağlantıları için). */\nexport function huUniqueId(prefix = 'hu'): string {\n return `${prefix}-${nextId++}`;\n}\n","import { DOCUMENT, DestroyRef, Signal, inject, signal } from '@angular/core';\n\n/**\n * Bir media query'yi signal olarak döndürür. Injection context içinde çağrılmalıdır.\n * @example readonly isMobile = huMediaQuery('(max-width: 1023.98px)');\n */\nexport function huMediaQuery(query: string): Signal<boolean> {\n const win = inject(DOCUMENT).defaultView;\n const mql = win?.matchMedia?.(query);\n const matches = signal(mql?.matches ?? false);\n\n if (mql) {\n const listener = (e: MediaQueryListEvent) => matches.set(e.matches);\n mql.addEventListener('change', listener);\n inject(DestroyRef).onDestroy(() => mql.removeEventListener('change', listener));\n }\n return matches.asReadonly();\n}\n","import { DOCUMENT, Injectable, computed, effect, inject, signal } from '@angular/core';\n\nexport type HuThemeMode = 'light' | 'dark' | 'system';\nexport type HuResolvedTheme = 'light' | 'dark';\n\nconst STORAGE_KEY = 'hu-theme';\n\n/**\n * Açık / koyu / sistem temasını yönetir. Seçim localStorage'da saklanır ve\n * `<html data-theme=\"...\">` özniteliği üzerinden token'lara yansır.\n */\n@Injectable({ providedIn: 'root' })\nexport class HuThemeService {\n private readonly doc = inject(DOCUMENT);\n private readonly win = this.doc.defaultView;\n private readonly media = this.win?.matchMedia?.('(prefers-color-scheme: dark)');\n private readonly systemDark = signal(this.media?.matches ?? false);\n\n readonly mode = signal<HuThemeMode>(this.readStoredMode());\n readonly resolved = computed<HuResolvedTheme>(() => {\n const mode = this.mode();\n if (mode === 'system') return this.systemDark() ? 'dark' : 'light';\n return mode;\n });\n\n constructor() {\n this.media?.addEventListener('change', (e) => this.systemDark.set(e.matches));\n\n effect(() => {\n this.doc.documentElement.setAttribute('data-theme', this.resolved());\n try {\n this.win?.localStorage.setItem(STORAGE_KEY, this.mode());\n } catch {\n // Depolama kapalı olabilir (gizli pencere vb.)\n }\n });\n }\n\n setMode(mode: HuThemeMode): void {\n this.mode.set(mode);\n }\n\n toggle(): void {\n this.mode.set(this.resolved() === 'dark' ? 'light' : 'dark');\n }\n\n private readStoredMode(): HuThemeMode {\n try {\n const value = this.win?.localStorage.getItem(STORAGE_KEY);\n if (value === 'light' || value === 'dark' || value === 'system') return value;\n } catch {\n // yok say\n }\n return 'system';\n }\n}\n","import { InjectionToken, Provider } from '@angular/core';\n\n/** İkon adı → SVG path verisi (24x24 viewBox, stroke tabanlı). */\nexport type HuIconSet = Record<string, string>;\n\nexport const HU_ICON_SETS = new InjectionToken<HuIconSet[]>('HU_ICON_SETS');\n\n/**\n * Uygulamaya özel ikon ekler.\n * @example providers: [provideHuIcons({ rocket: 'M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2' })]\n */\nexport function provideHuIcons(icons: HuIconSet): Provider {\n return { provide: HU_ICON_SETS, useValue: icons, multi: true };\n}\n\n/** Yerleşik ikon seti (Lucide stilinde, 2px stroke). */\nexport const HU_BUILTIN_ICONS: HuIconSet = {\n menu: 'M4 6h16M4 12h16M4 18h16',\n x: 'M18 6 6 18M6 6l12 12',\n check: 'M20 6 9 17l-5-5',\n minus: 'M5 12h14',\n plus: 'M12 5v14M5 12h14',\n 'chevron-down': 'm6 9 6 6 6-6',\n 'chevron-up': 'm18 15-6-6-6 6',\n 'chevron-left': 'm15 18-6-6 6-6',\n 'chevron-right': 'm9 18 6-6-6-6',\n 'chevrons-left': 'm11 17-5-5 5-5M18 17l-5-5 5-5',\n 'chevrons-right': 'm6 17 5-5-5-5M13 17l5-5-5-5',\n 'chevrons-up-down': 'm7 15 5 5 5-5M7 9l5-5 5 5',\n 'arrow-up': 'm5 12 7-7 7 7M12 19V5',\n 'arrow-down': 'M12 5v14M19 12l-7 7-7-7',\n home: 'M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z',\n user: 'M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8z',\n users:\n 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75',\n settings: 'M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6',\n bell: 'M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.94 1.94 0 0 0 3.4 0',\n search: 'M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM21 21l-4.3-4.3',\n sun: 'M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41',\n moon: 'M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z',\n monitor: 'M4 3h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM8 21h8M12 17v4',\n 'log-out': 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9',\n info: 'M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 16v-4M12 8h.01',\n 'check-circle': 'M22 11.08V12a10 10 0 1 1-5.93-9.14M22 4 12 14.01l-3-3',\n 'alert-triangle': 'm21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3zM12 9v4M12 17h.01',\n 'alert-circle': 'M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 8v4M12 16h.01',\n edit: 'M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5z',\n trash: 'M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2',\n 'file-text': 'M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zM14 2v6h6M16 13H8M16 17H8M10 9H8',\n 'bar-chart': 'M12 20V10M18 20V4M6 20v-4',\n calendar: 'M8 2v4M16 2v4M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zM3 10h18',\n folder:\n 'M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z',\n grid: 'M3 3h7v7H3zM14 3h7v7h-7zM14 14h7v7h-7zM3 14h7v7H3z',\n layers: 'm12 2 10 5-10 5L2 7zM2 17l10 5 10-5M2 12l10 5 10-5',\n 'more-vertical':\n 'M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM12 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM12 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2z',\n mail: 'M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zM22 6l-10 7L2 6',\n lock: 'M5 11h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zM7 11V7a5 5 0 0 1 10 0v4',\n eye: 'M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z',\n 'book-open': 'M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2zM22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z',\n 'trending-up': 'm22 7-8.5 8.5-5-5L2 17M16 7h6v6',\n 'trending-down': 'm22 17-8.5-8.5-5 5L2 7M16 17h6v-6',\n download: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3',\n filter: 'M22 3H2l8 9.46V19l4 2v-8.54z',\n 'graduation-cap': 'M22 10 12 5 2 10l10 5zM6 12v5c3 3 9 3 12 0v-5',\n building: 'M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18zM6 12H4a2 2 0 0 0-2 2v8h4M18 9h2a2 2 0 0 1 2 2v11h-4M10 6h4M10 10h4M10 14h4M10 18h4',\n clock: 'M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM12 6v6l4 2',\n\n // Editör\n bold: 'M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8',\n italic: 'M19 4h-9M14 20H5M15 4 9 20',\n underline: 'M6 4v6a6 6 0 0 0 12 0V4M4 20h16',\n strikethrough: 'M16 4H9a3 3 0 0 0-2.83 4M14 12a4 4 0 0 1 0 8H6M4 12h16',\n heading: 'M6 12h12M6 20V4M18 20V4',\n list: 'M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01',\n 'list-ordered': 'M10 6h11M10 12h11M10 18h11M4 6h1v4M4 10h2M6 18H4c0-1 2-2 2-3s-1-1.5-2-1',\n quote: 'M3 21c3 0 7-1 7-8V5c0-1.25-.76-2-2-2H4c-1.25 0-2 .75-2 2v6c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 0-1 1v3c0 1 0 1 1 1zM15 21c3 0 7-1 7-8V5c0-1.25-.76-2-2-2h-4c-1.25 0-2 .75-2 2v6c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z',\n code: 'm16 18 6-6-6-6M8 6l-6 6 6 6',\n link: 'M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71',\n unlink: 'm18.84 12.25 1.72-1.71a5 5 0 0 0-.12-7.07 5 5 0 0 0-6.95 0l-1.72 1.71M5.17 11.75l-1.71 1.71a5 5 0 0 0 .12 7.07 5 5 0 0 0 6.95 0l1.71-1.71M8 2v3M2 8h3M16 22v-3M22 16h-3',\n undo: 'M3 7v6h6M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13',\n redo: 'M21 7v6h-6M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7',\n eraser: 'm7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21M22 21H7M5 11l9 9',\n 'text-color': 'M6 16 12 3l6 13M8.2 11h7.6',\n highlighter: 'm9 11-6 6v3h9l3-3M22 12l-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4',\n image: 'M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM9 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM21 15l-3.09-3.09a2 2 0 0 0-2.82 0L6 21',\n upload: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12',\n};\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, inject, input, isDevMode } from '@angular/core';\nimport { HU_BUILTIN_ICONS, HU_ICON_SETS } from './icons';\n\n/**\n * SVG ikon.\n * @example <hu-icon name=\"users\" /> <hu-icon name=\"bell\" [size]=\"20\" label=\"Bildirimler\" />\n */\n@Component({\n selector: 'hu-icon',\n template: `\n <svg\n [attr.width]=\"size()\"\n [attr.height]=\"size()\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n [attr.stroke-width]=\"strokeWidth()\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path [attr.d]=\"path()\" />\n </svg>\n `,\n styles: `\n .hu-icon {\n display: inline-flex;\n flex-shrink: 0;\n line-height: 0;\n }\n `,\n host: {\n class: 'hu-icon',\n '[attr.role]': 'label() ? \"img\" : null',\n '[attr.aria-label]': 'label() || null',\n '[attr.aria-hidden]': 'label() ? null : \"true\"',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuIcon {\n private readonly customSets = inject(HU_ICON_SETS, { optional: true }) ?? [];\n\n readonly name = input.required<string>();\n readonly size = input<number>(18);\n readonly strokeWidth = input<number>(2);\n /** Ekran okuyucular için etiket. Verilmezse ikon dekoratif kabul edilir. */\n readonly label = input<string>();\n\n protected readonly path = computed(() => {\n const name = this.name();\n for (let i = this.customSets.length - 1; i >= 0; i--) {\n const path = this.customSets[i][name];\n if (path) return path;\n }\n const path = HU_BUILTIN_ICONS[name];\n if (!path && isDevMode()) console.warn(`[hu-icon] \"${name}\" adında ikon bulunamadı.`);\n return path ?? '';\n });\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, input } from '@angular/core';\n\nexport type HuSpinnerSize = 'sm' | 'md' | 'lg';\n\n/** @example <hu-spinner /> <hu-spinner size=\"lg\" label=\"Veriler yükleniyor\" /> */\n@Component({\n selector: 'hu-spinner',\n template: `\n <svg viewBox=\"0 0 24 24\" class=\"hu-spinner__svg\" aria-hidden=\"true\">\n <circle class=\"hu-spinner__track\" cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke-width=\"3\" />\n <circle class=\"hu-spinner__arc\" cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke-width=\"3\" stroke-linecap=\"round\" />\n </svg>\n `,\n styles: `\n .hu-spinner {\n display: inline-flex;\n width: 1.25rem;\n height: 1.25rem;\n color: var(--hu-primary);\n flex-shrink: 0;\n }\n .hu-spinner[data-size='sm'] { width: 1rem; height: 1rem; }\n .hu-spinner[data-size='lg'] { width: 2rem; height: 2rem; }\n .hu-spinner__svg {\n width: 100%;\n height: 100%;\n animation: hu-spin 0.8s linear infinite;\n }\n .hu-spinner__track { stroke: currentColor; opacity: 0.2; }\n .hu-spinner__arc { stroke: currentColor; stroke-dasharray: 20 63; }\n @keyframes hu-spin { to { transform: rotate(360deg); } }\n `,\n host: {\n class: 'hu-spinner',\n role: 'status',\n '[attr.data-size]': 'size()',\n '[attr.aria-label]': 'label()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuSpinner {\n readonly size = input<HuSpinnerSize>('md');\n readonly label = input('Yükleniyor');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n inject,\n input,\n} from '@angular/core';\nimport { HuSpinner } from '../spinner/spinner.component';\n\n/** Görünüm. */\nexport type HuButtonVariant = 'solid' | 'soft' | 'outline' | 'ghost' | 'link';\n/** Renk. */\nexport type HuButtonColor = 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info';\nexport type HuButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n\n/** Renk verilmezse görünüme göre varsayılan: dolgulu butonlar markalı, çerçeveli olanlar nötr. */\nconst DEFAULT_COLOR: Record<HuButtonVariant, HuButtonColor> = {\n solid: 'primary',\n soft: 'primary',\n link: 'primary',\n outline: 'neutral',\n ghost: 'neutral',\n};\n\n/**\n * Buton. Native `<button>` ve `<a>` elementlerine uygulanır; böylece form\n * davranışı, routerLink ve erişilebilirlik tarayıcıdan hazır gelir.\n *\n * Görünüm (`variant`) ve renk (`color`) birbirinden bağımsızdır:\n * 5 görünüm × 6 renk.\n *\n * @example\n * <button hu-button>Kaydet</button>\n * <button hu-button variant=\"soft\" color=\"success\">Onayla</button>\n * <button hu-button variant=\"outline\" color=\"danger\" size=\"sm\"><hu-icon name=\"trash\" /> Sil</button>\n * <button hu-button variant=\"ghost\" iconOnly aria-label=\"Düzenle\"><hu-icon name=\"edit\" /></button>\n * <a hu-button variant=\"link\" routerLink=\"/users\">Tüm kullanıcılar</a>\n */\n@Component({\n selector: 'button[hu-button], a[hu-button]',\n imports: [HuSpinner],\n template: `\n @if (loading()) {\n <hu-spinner class=\"hu-button__spinner\" size=\"sm\" />\n }\n <ng-content />\n `,\n styleUrl: './button.component.scss',\n host: {\n class: 'hu-button',\n '[attr.data-variant]': 'variant()',\n '[attr.data-color]': 'resolvedColor()',\n '[attr.data-size]': 'size()',\n '[class.hu-button--block]': 'block()',\n '[class.hu-button--icon]': 'iconOnly()',\n '[class.hu-button--pill]': 'pill()',\n '[class.hu-button--loading]': 'loading()',\n '[attr.disabled]': 'isButton && isDisabled() ? \"\" : null',\n '[attr.aria-disabled]': '!isButton && isDisabled() ? \"true\" : null',\n '[attr.tabindex]': '!isButton && isDisabled() ? -1 : null',\n '[attr.aria-busy]': 'loading() || null',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuButton {\n protected readonly isButton = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement.tagName === 'BUTTON';\n\n readonly variant = input<HuButtonVariant>('solid');\n /** Verilmezse: solid/soft/link → primary, outline/ghost → neutral. */\n readonly color = input<HuButtonColor>();\n readonly size = input<HuButtonSize>('md');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly loading = input(false, { transform: booleanAttribute });\n /** Butonu kapsayıcı genişliğine yayar. */\n readonly block = input(false, { transform: booleanAttribute });\n /** Kare, yalnızca ikon içeren buton. `aria-label` vermeyi unutmayın. */\n readonly iconOnly = input(false, { transform: booleanAttribute });\n /** Tam yuvarlak köşeler. */\n readonly pill = input(false, { transform: booleanAttribute });\n\n protected readonly resolvedColor = computed(() => this.color() ?? DEFAULT_COLOR[this.variant()]);\n protected readonly isDisabled = computed(() => this.disabled() || this.loading());\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, booleanAttribute, input } from '@angular/core';\n\n/**\n * Butonları birleşik bir grup olarak gösterir (araç çubuğu, görünüm seçici, sayfalama).\n * Aç/kapa davranışı için butonlara `[attr.aria-pressed]` verin.\n *\n * @example\n * <hu-button-group aria-label=\"Görünüm\">\n * <button hu-button variant=\"outline\" [attr.aria-pressed]=\"view() === 'list'\" (click)=\"view.set('list')\">Liste</button>\n * <button hu-button variant=\"outline\" [attr.aria-pressed]=\"view() === 'grid'\" (click)=\"view.set('grid')\">Kart</button>\n * </hu-button-group>\n */\n@Component({\n selector: 'hu-button-group',\n template: `<ng-content />`,\n styles: `\n .hu-button-group {\n display: inline-flex;\n isolation: isolate;\n }\n .hu-button-group--vertical { flex-direction: column; }\n\n /*\n * Bitişik: kenarlar üst üste biner, yalnızca dış köşeler yuvarlak.\n * Öğe doğrudan buton ya da tek butonlu bir sarmalayıcı (örn. hu-dropdown ile\n * bölünmüş buton) olabilir; ilk/son kontrolü sarmalayıcı üzerinden yapılır.\n */\n .hu-button-group > .hu-dropdown { display: inline-flex; }\n .hu-button-group:not(.hu-button-group--vertical) > .hu-button:not(:first-child),\n .hu-button-group:not(.hu-button-group--vertical) > :not(.hu-button):not(:first-child) > .hu-button {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .hu-button-group:not(.hu-button-group--vertical) > .hu-button:not(:last-child),\n .hu-button-group:not(.hu-button-group--vertical) > :not(.hu-button):not(:last-child) > .hu-button {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .hu-button-group--vertical > .hu-button:not(:first-child) {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n .hu-button-group--vertical > .hu-button:not(:last-child) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n /* Dolgulu butonlar arasında ince ayraç */\n .hu-button-group > .hu-button[data-variant='solid']:not(:first-child),\n .hu-button-group > :not(.hu-button):not(:first-child) > .hu-button[data-variant='solid'] {\n margin-left: 0;\n border-left-color: color-mix(in srgb, var(--_on-solid) 25%, transparent);\n }\n /* Hover/odak halkası komşunun altında kalmasın */\n .hu-button-group > .hu-button:hover,\n .hu-button-group > .hu-button:focus-visible,\n .hu-button-group > .hu-button[aria-pressed='true'] {\n z-index: 1;\n }\n .hu-button-group--pill > .hu-button:first-child { border-top-left-radius: var(--hu-radius-full); border-bottom-left-radius: var(--hu-radius-full); }\n .hu-button-group--pill > .hu-button:last-child { border-top-right-radius: var(--hu-radius-full); border-bottom-right-radius: var(--hu-radius-full); }\n `,\n host: {\n class: 'hu-button-group',\n role: 'group',\n '[class.hu-button-group--vertical]': 'vertical()',\n '[class.hu-button-group--pill]': 'pill()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuButtonGroup {\n readonly vertical = input(false, { transform: booleanAttribute });\n readonly pill = input(false, { transform: booleanAttribute });\n}\n","import { InjectionToken, Provider, Signal } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\n/** hu-form-field'ın, içindeki kontrole sunduğu arayüz. */\nexport interface HuFormFieldParent {\n readonly describedBy: Signal<string | null>;\n readonly showError: Signal<boolean>;\n}\n\nexport const HU_FORM_FIELD = new InjectionToken<HuFormFieldParent>('HU_FORM_FIELD');\n\n/**\n * hu-form-field içine yerleştirilebilen her kontrolün uyguladığı sözleşme\n * (huInput, hu-date-picker, ...). Kendi kontrolünüzü yazarken\n * `providers: [{ provide: HuFormFieldControl, useExisting: MyControl }]` verin.\n */\nexport abstract class HuFormFieldControl {\n /** Label'ın `for` özniteliği bu id'ye bağlanır. */\n abstract readonly id: Signal<string>;\n /** Bir Angular form kontrolüne bağlı mı? */\n abstract readonly hasControl: boolean;\n /** Kontrol geçersiz ve kullanıcı etkileşime girmiş. */\n abstract readonly controlErrorVisible: Signal<boolean>;\n abstract readonly errors: Signal<ValidationErrors | null>;\n}\n\n/** Validator hata anahtarı → kullanıcıya gösterilecek mesaj. */\nexport type HuErrorMessages = Record<string, string | ((error: any) => string)>;\n\nexport const HU_DEFAULT_ERROR_MESSAGES: HuErrorMessages = {\n required: 'Bu alan zorunludur.',\n requiredTrue: 'Devam etmek için onaylamanız gerekir.',\n email: 'Geçerli bir e-posta adresi giriniz.',\n minlength: (e: { requiredLength: number }) => `En az ${e.requiredLength} karakter olmalıdır.`,\n maxlength: (e: { requiredLength: number }) => `En fazla ${e.requiredLength} karakter olabilir.`,\n min: (e: { min: number }) => `Değer en az ${e.min} olmalıdır.`,\n max: (e: { max: number }) => `Değer en fazla ${e.max} olabilir.`,\n pattern: 'Geçersiz format.',\n huDateParse: 'Geçerli bir tarih giriniz (gg.aa.yyyy).',\n huDateMin: (e: { min: string }) => `Tarih ${e.min} veya sonrası olmalıdır.`,\n huDateMax: (e: { max: string }) => `Tarih ${e.max} veya öncesi olmalıdır.`,\n huDateUnavailable: 'Bu tarih seçilemez.',\n};\n\nexport const HU_ERROR_MESSAGES = new InjectionToken<HuErrorMessages>('HU_ERROR_MESSAGES', {\n providedIn: 'root',\n factory: () => HU_DEFAULT_ERROR_MESSAGES,\n});\n\n/**\n * Varsayılan validasyon mesajlarını genişletir / değiştirir.\n * @example provideHuErrorMessages({ tckn: 'Geçerli bir T.C. kimlik numarası giriniz.' })\n */\nexport function provideHuErrorMessages(messages: HuErrorMessages): Provider {\n return { provide: HU_ERROR_MESSAGES, useValue: { ...HU_DEFAULT_ERROR_MESSAGES, ...messages } };\n}\n","import { Directive, DoCheck, booleanAttribute, computed, inject, input, signal } from '@angular/core';\nimport { NgControl, ValidationErrors } from '@angular/forms';\nimport { huUniqueId } from '../core/unique-id';\nimport { HU_FORM_FIELD, HuFormFieldControl } from './form-field.tokens';\n\nexport type HuInputSize = 'sm' | 'md' | 'lg';\n\n/**\n * Native input / textarea / select elementlerine HU görünümünü ve\n * hu-form-field entegrasyonunu (label, hata, aria) ekler.\n *\n * @example <input huInput formControlName=\"email\" placeholder=\"ornek@example.com\" />\n */\n@Directive({\n selector: 'input[huInput], textarea[huInput], select[huInput]',\n exportAs: 'huInput',\n providers: [{ provide: HuFormFieldControl, useExisting: HuInput }],\n host: {\n class: 'hu-input',\n '[id]': 'id()',\n '[attr.data-size]': 'size()',\n '[class.hu-input--invalid]': 'isInvalid()',\n '[attr.aria-invalid]': 'isInvalid() || null',\n '[attr.aria-describedby]': 'field?.describedBy() ?? null',\n },\n})\nexport class HuInput implements HuFormFieldControl, DoCheck {\n private readonly ngControl = inject(NgControl, { optional: true, self: true });\n protected readonly field = inject(HU_FORM_FIELD, { optional: true, host: true });\n\n readonly id = input(huUniqueId('hu-input'));\n readonly size = input<HuInputSize>('md');\n /** Form kontrolü olmadan hatalı görünümü zorlar. */\n readonly invalid = input(false, { transform: booleanAttribute });\n\n /** Bir Angular form kontrolüne bağlı mı? */\n readonly hasControl = this.ngControl !== null;\n /** Kontrol geçersiz ve kullanıcı etkileşime girmiş. */\n readonly controlErrorVisible = signal(false);\n readonly errors = signal<ValidationErrors | null>(null);\n\n protected readonly isInvalid = computed(\n () => this.invalid() || this.controlErrorVisible() || (this.field?.showError() ?? false),\n );\n\n // Reactive form durumu signal değildir; her change detection turunda eşitlenir.\n ngDoCheck(): void {\n const c = this.ngControl;\n if (!c) return;\n this.controlErrorVisible.set(!!c.invalid && !!(c.touched || c.dirty));\n this.errors.set(c.errors);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport { HU_ERROR_MESSAGES, HU_FORM_FIELD, HuFormFieldControl, HuFormFieldParent } from './form-field.tokens';\n\n/** Kontrolün soluna yerleşen içerik (ikon, para birimi vb.). */\n@Directive({ selector: '[huPrefix]', host: { class: 'hu-field__prefix' } })\nexport class HuPrefix {}\n\n/** Kontrolün sağına yerleşen içerik. */\n@Directive({ selector: '[huSuffix]', host: { class: 'hu-field__suffix' } })\nexport class HuSuffix {}\n\n/**\n * Label, yardım metni ve validasyon hatasını bir kontrol etrafında toplar.\n * Reactive form hataları otomatik olarak Türkçe mesaja çevrilir.\n *\n * @example\n * <hu-form-field label=\"E-posta\" hint=\"Kurumsal adresinizi kullanın\" required>\n * <hu-icon huPrefix name=\"mail\" />\n * <input huInput type=\"email\" formControlName=\"email\" />\n * </hu-form-field>\n */\n@Component({\n selector: 'hu-form-field',\n imports: [HuIcon],\n providers: [{ provide: HU_FORM_FIELD, useExisting: HuFormField }],\n template: `\n @if (label()) {\n <label class=\"hu-field__label\" [attr.for]=\"control()?.id()\">\n {{ label() }}\n @if (required()) {\n <span class=\"hu-field__required\" aria-hidden=\"true\">*</span>\n }\n </label>\n }\n <div class=\"hu-field__control\">\n <ng-content select=\"[huPrefix]\" />\n <ng-content />\n <ng-content select=\"[huSuffix]\" />\n </div>\n @if (showError()) {\n <p class=\"hu-field__message hu-field__message--error\" [id]=\"errorId\">\n <hu-icon name=\"alert-circle\" [size]=\"14\" />\n {{ errorText() }}\n </p>\n } @else if (hint()) {\n <p class=\"hu-field__message\" [id]=\"hintId\">{{ hint() }}</p>\n }\n `,\n styleUrl: './form-field.component.scss',\n host: { class: 'hu-field' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuFormField implements HuFormFieldParent {\n private readonly messages = inject(HU_ERROR_MESSAGES);\n\n readonly label = input<string>();\n readonly hint = input<string>();\n /** Sabit hata mesajı. Verilmezse validator hatasından üretilir. */\n readonly error = input<string | null>();\n readonly required = input(false, { transform: booleanAttribute });\n\n protected readonly control = contentChild<HuFormFieldControl>(HuFormFieldControl);\n\n protected readonly hintId = huUniqueId('hu-hint');\n protected readonly errorId = huUniqueId('hu-error');\n\n protected readonly errorText = computed(() => {\n const explicit = this.error();\n if (explicit) return explicit;\n const errors = this.control()?.errors();\n if (!errors) return null;\n // Birden çok hata varsa daha açıklayıcı olanı göster: geçersiz metin (örn.\n // 31.02.2026) kontrolü boş bırakıp ayrıca `required` tetikleyebilir.\n const keys = Object.keys(errors);\n const key = keys.find((k) => k !== 'required') ?? keys[0];\n const message = this.messages[key];\n if (typeof message === 'function') return message(errors[key]);\n return message ?? 'Geçersiz değer.';\n });\n\n readonly showError = computed(() => {\n const control = this.control();\n if (control?.hasControl) return control.controlErrorVisible() && !!this.errorText();\n return !!this.error();\n });\n\n readonly describedBy = computed(() => {\n if (this.showError()) return this.errorId;\n return this.hint() ? this.hintId : null;\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n model,\n signal,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\n\n/**\n * Onay kutusu. Reactive/template-driven formlarla ya da `[(checked)]` ile çalışır.\n *\n * `indeterminate` (kısmen seçili) yalnızca görsel bir durumdur ve tıklanınca\n * tarayıcı standardı gereği kalkar; değeri alt seçimlerden hesaplayıp siz verin:\n *\n * @example\n * <hu-checkbox formControlName=\"kvkk\">KVKK metnini okudum</hu-checkbox>\n *\n * <!-- \"Tümünü seç\" -->\n * <hu-checkbox [checked]=\"allSelected()\" [indeterminate]=\"someSelected()\" (checkedChange)=\"selectAll($event)\">\n * Tümünü seç\n * </hu-checkbox>\n */\n@Component({\n selector: 'hu-checkbox',\n imports: [HuIcon],\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => HuCheckbox), multi: true }],\n template: `\n <label class=\"hu-check\" [class.hu-check--disabled]=\"isDisabled()\">\n <input\n type=\"checkbox\"\n class=\"hu-check__input\"\n [id]=\"inputId()\"\n [checked]=\"checked()\"\n [indeterminate]=\"indeterminate()\"\n [disabled]=\"isDisabled()\"\n [attr.name]=\"name() || null\"\n [attr.aria-label]=\"ariaLabel()\"\n (change)=\"onInputChange($event)\"\n (blur)=\"onTouched()\"\n />\n <span class=\"hu-check__box\" aria-hidden=\"true\">\n <hu-icon [name]=\"indeterminate() ? 'minus' : 'check'\" [size]=\"12\" [strokeWidth]=\"3.5\" />\n </span>\n <span class=\"hu-check__label\"><ng-content /></span>\n </label>\n `,\n styleUrl: './checkbox.component.scss',\n host: { class: 'hu-checkbox' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuCheckbox implements ControlValueAccessor {\n readonly checked = model(false);\n readonly indeterminate = model(false);\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly name = input<string>();\n readonly inputId = input(huUniqueId('hu-checkbox'));\n /** Görünür etiket yoksa ekran okuyucu etiketi. */\n readonly ariaLabel = input<string | null>(null, { alias: 'aria-label' });\n\n private readonly formDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled());\n\n private onChange: (value: boolean) => void = () => {};\n protected onTouched: () => void = () => {};\n\n protected onInputChange(event: Event): void {\n const value = (event.target as HTMLInputElement).checked;\n this.indeterminate.set(false);\n this.checked.set(value);\n this.onChange(value);\n }\n\n writeValue(value: unknown): void {\n this.checked.set(!!value);\n }\n registerOnChange(fn: (value: boolean) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n model,\n signal,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { huUniqueId } from '../core/unique-id';\n\n/**\n * Açık/kapalı anahtarı (ayarlar için). Formlarla ya da `[(checked)]` ile çalışır.\n * @example <hu-switch formControlName=\"emailNotifications\">E-posta bildirimleri</hu-switch>\n */\n@Component({\n selector: 'hu-switch',\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => HuSwitch), multi: true }],\n template: `\n <label class=\"hu-switch__root\" [class.hu-switch__root--disabled]=\"isDisabled()\">\n <input\n type=\"checkbox\"\n role=\"switch\"\n class=\"hu-switch__input\"\n [id]=\"inputId()\"\n [checked]=\"checked()\"\n [disabled]=\"isDisabled()\"\n [attr.aria-checked]=\"checked()\"\n [attr.aria-label]=\"ariaLabel()\"\n (change)=\"onInputChange($event)\"\n (blur)=\"onTouched()\"\n />\n <span class=\"hu-switch__track\" aria-hidden=\"true\"><span class=\"hu-switch__thumb\"></span></span>\n <span class=\"hu-switch__label\"><ng-content /></span>\n </label>\n `,\n styles: `\n .hu-switch { display: inline-flex; width: fit-content; max-width: 100%; }\n .hu-switch__root {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: var(--hu-space-3);\n font-size: var(--hu-text-sm);\n cursor: pointer;\n user-select: none;\n }\n .hu-switch__root--disabled { color: var(--hu-text-subtle); cursor: not-allowed; }\n .hu-switch__input { position: absolute; width: 2.25rem; height: 1.25rem; margin: 0; opacity: 0; cursor: inherit; }\n .hu-switch__track {\n position: relative;\n flex-shrink: 0;\n width: 2.25rem;\n height: 1.25rem;\n background: var(--hu-border-strong);\n border-radius: var(--hu-radius-full);\n transition: background-color var(--hu-transition), box-shadow var(--hu-transition);\n }\n .hu-switch__thumb {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 1rem;\n height: 1rem;\n background: #fff;\n border-radius: 50%;\n box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);\n transition: transform var(--hu-transition);\n }\n .hu-switch__input:checked + .hu-switch__track { background: var(--hu-primary); }\n .hu-switch__input:checked + .hu-switch__track .hu-switch__thumb { transform: translateX(1rem); }\n .hu-switch__input:focus-visible + .hu-switch__track { box-shadow: var(--hu-ring); }\n .hu-switch__input:disabled + .hu-switch__track { opacity: 0.5; }\n .hu-switch__label:empty { display: none; }\n `,\n host: { class: 'hu-switch' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuSwitch implements ControlValueAccessor {\n readonly checked = model(false);\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly inputId = input(huUniqueId('hu-switch'));\n /** Görünür etiket yoksa ekran okuyucu etiketi. */\n readonly ariaLabel = input<string | null>(null, { alias: 'aria-label' });\n\n private readonly formDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled());\n\n private onChange: (value: boolean) => void = () => {};\n protected onTouched: () => void = () => {};\n\n protected onInputChange(event: Event): void {\n const value = (event.target as HTMLInputElement).checked;\n this.checked.set(value);\n this.onChange(value);\n }\n\n writeValue(value: unknown): void {\n this.checked.set(!!value);\n }\n registerOnChange(fn: (value: boolean) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n}\n","/*\n * Bağımlılıksız tarih yardımcıları. Tüm fonksiyonlar yerel saatle ve gün\n * hassasiyetinde çalışır (saat bilgisi yok sayılır).\n */\n\nexport interface HuDateRange {\n start: Date | null;\n end: Date | null;\n}\n\nexport function startOfDay(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate());\n}\n\nexport function addDays(date: Date, days: number): Date {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate() + days);\n}\n\n/** Ay ekler; hedef ayda o gün yoksa ayın son gününe sabitler (31 Ocak + 1 ay = 28/29 Şubat). */\nexport function addMonths(date: Date, months: number): Date {\n const target = new Date(date.getFullYear(), date.getMonth() + months, 1);\n const lastDay = daysInMonth(target.getFullYear(), target.getMonth());\n target.setDate(Math.min(date.getDate(), lastDay));\n return target;\n}\n\nexport function daysInMonth(year: number, month: number): number {\n return new Date(year, month + 1, 0).getDate();\n}\n\nexport function isSameDay(a: Date | null | undefined, b: Date | null | undefined): boolean {\n return !!a && !!b && a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();\n}\n\nexport function isSameMonth(a: Date, b: Date): boolean {\n return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth();\n}\n\n/** Gün bazında karşılaştırma: a < b → negatif. */\nexport function compareDays(a: Date, b: Date): number {\n return startOfDay(a).getTime() - startOfDay(b).getTime();\n}\n\n/** Haftanın başlangıcı (varsayılan Pazartesi). */\nexport function startOfWeek(date: Date, firstDayOfWeek = 1): Date {\n const diff = (date.getDay() - firstDayOfWeek + 7) % 7;\n return addDays(date, -diff);\n}\n\nexport function clampDate(date: Date, min?: Date | null, max?: Date | null): Date {\n if (min && compareDays(date, min) < 0) return startOfDay(min);\n if (max && compareDays(date, max) > 0) return startOfDay(max);\n return date;\n}\n\nexport function isValidDate(value: unknown): value is Date {\n return value instanceof Date && !isNaN(value.getTime());\n}\n\n/** `gg.aa.yyyy` biçiminde yazar. */\nexport function formatDate(date: Date | null | undefined): string {\n if (!isValidDate(date)) return '';\n const d = String(date.getDate()).padStart(2, '0');\n const m = String(date.getMonth() + 1).padStart(2, '0');\n return `${d}.${m}.${date.getFullYear()}`;\n}\n\n/**\n * Kullanıcı girdisini ayrıştırır. Kabul edilenler: `5.10.2026`, `05/10/2026`,\n * `05-10-2026`, `05102026`. Geçersiz tarihte (31.02.2026 gibi) `null` döner.\n */\nexport function parseDate(text: string): Date | null {\n const value = text.trim();\n let match = /^(\\d{1,2})[./-](\\d{1,2})[./-](\\d{4})$/.exec(value);\n if (!match) match = /^(\\d{2})(\\d{2})(\\d{4})$/.exec(value);\n if (!match) return null;\n const [day, month, year] = [Number(match[1]), Number(match[2]), Number(match[3])];\n const date = new Date(year, month - 1, day);\n // Taşan tarihleri (32.01 → 01.02) reddet\n if (date.getFullYear() !== year || date.getMonth() !== month - 1 || date.getDate() !== day) return null;\n return date;\n}\n\nconst RANGE_SEPARATOR = /\\s+[–-]\\s+|\\s*[–]\\s*/;\n\nexport function formatRange(range: HuDateRange | null | undefined): string {\n if (!range?.start) return '';\n return range.end ? `${formatDate(range.start)} – ${formatDate(range.end)}` : `${formatDate(range.start)} – `;\n}\n\n/** `gg.aa.yyyy – gg.aa.yyyy` ayrıştırır. Başarısızsa `null`. */\nexport function parseRange(text: string): HuDateRange | null {\n const parts = text.split(RANGE_SEPARATOR).map((p) => p.trim()).filter(Boolean);\n if (parts.length !== 2) return null;\n const start = parseDate(parts[0]);\n const end = parseDate(parts[1]);\n if (!start || !end) return null;\n return compareDays(start, end) <= 0 ? { start, end } : { start: end, end: start };\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n computed,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport {\n HuDateRange,\n addDays,\n addMonths,\n clampDate,\n compareDays,\n daysInMonth,\n isSameDay,\n isSameMonth,\n startOfDay,\n startOfWeek,\n} from './date-utils';\n\nexport type HuCalendarMode = 'single' | 'range';\nexport type HuCalendarView = 'days' | 'months' | 'years';\nexport type HuMarkerVariant = 'primary' | 'info' | 'success' | 'warning' | 'danger';\n\n/** Takvimde bir güne işaret (nokta) koyar; örn. sınav, tatil, son başvuru. */\nexport interface HuCalendarMarker {\n date: Date;\n label?: string;\n variant?: HuMarkerVariant;\n}\n\ninterface DayCell {\n date: Date;\n key: string;\n day: number;\n inMonth: boolean;\n today: boolean;\n selected: boolean;\n rangeStart: boolean;\n rangeEnd: boolean;\n inRange: boolean;\n disabled: boolean;\n markers: HuCalendarMarker[];\n label: string;\n}\n\ninterface PickerCell {\n value: number;\n label: string;\n current: boolean;\n selected: boolean;\n disabled: boolean;\n}\n\nconst dayKey = (d: Date) => `${d.getFullYear()}-${d.getMonth()}-${d.getDate()}`;\nconst YEARS_PER_PAGE = 12;\n\n/**\n * Satır içi takvim. Tek gün veya tarih aralığı seçer; ay/yıl görünümü ve\n * tam klavye desteği vardır (oklar, Home/End, PageUp/PageDown, Enter).\n *\n * @example\n * <hu-calendar [(value)]=\"date\" [min]=\"today\" [markers]=\"events\" />\n * <hu-calendar mode=\"range\" [(range)]=\"period\" />\n */\n@Component({\n selector: 'hu-calendar',\n imports: [HuIcon],\n templateUrl: './calendar.component.html',\n styleUrl: './calendar.component.scss',\n host: { class: 'hu-calendar' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuCalendar {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly injector = inject(Injector);\n\n readonly mode = input<HuCalendarMode>('single');\n /** Seçili gün (`mode=\"single\"`). */\n readonly value = model<Date | null>(null);\n /** Seçili aralık (`mode=\"range\"`). */\n readonly range = model<HuDateRange | null>(null);\n readonly min = input<Date | null>(null);\n readonly max = input<Date | null>(null);\n /** `false` döndüren günler seçilemez (örn. hafta sonları). */\n readonly dateFilter = input<((date: Date) => boolean) | null>(null);\n readonly markers = input<HuCalendarMarker[]>([]);\n /** Hiç seçim yokken açılacak ay. */\n readonly startAt = input<Date | null>(null);\n readonly locale = input('tr-TR');\n readonly firstDayOfWeek = input(1);\n\n /** Kullanıcı bir gün seçtiğinde. */\n readonly dateSelected = output<Date>();\n /** Görüntülenen ay değiştiğinde (ayın ilk günü). */\n readonly monthChange = output<Date>();\n\n protected readonly today = startOfDay(new Date());\n protected readonly gridId = huUniqueId('hu-calendar');\n protected readonly view = signal<HuCalendarView>('days');\n protected readonly activeDate = signal<Date>(this.today);\n protected readonly hoverDate = signal<Date | null>(null);\n /** Roving tabindex: yalnızca aktif gün Tab ile odaklanabilir. */\n protected readonly activeKey = computed(() => dayKey(this.activeDate()));\n\n // --- Biçimlendiriciler ----------------------------------------------------------\n private readonly fmt = computed(() => {\n const locale = this.locale();\n return {\n monthYear: new Intl.DateTimeFormat(locale, { month: 'long', year: 'numeric' }),\n month: new Intl.DateTimeFormat(locale, { month: 'long' }),\n monthShort: new Intl.DateTimeFormat(locale, { month: 'short' }),\n weekdayShort: new Intl.DateTimeFormat(locale, { weekday: 'short' }),\n weekdayLong: new Intl.DateTimeFormat(locale, { weekday: 'long' }),\n full: new Intl.DateTimeFormat(locale, { dateStyle: 'full' }),\n };\n });\n\n protected readonly weekdays = computed(() => {\n const first = startOfWeek(this.today, this.firstDayOfWeek());\n return Array.from({ length: 7 }, (_, i) => {\n const d = addDays(first, i);\n return { short: this.fmt().weekdayShort.format(d), long: this.fmt().weekdayLong.format(d) };\n });\n });\n\n protected readonly headerLabel = computed(() => {\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return this.fmt().monthYear.format(active);\n case 'months':\n return String(active.getFullYear());\n case 'years': {\n const start = this.yearPageStart();\n return `${start} – ${start + YEARS_PER_PAGE - 1}`;\n }\n }\n });\n\n // --- Gün görünümü ----------------------------------------------------------------\n private readonly markerMap = computed(() => {\n const map = new Map<string, HuCalendarMarker[]>();\n for (const m of this.markers()) {\n const key = dayKey(m.date);\n map.set(key, [...(map.get(key) ?? []), m]);\n }\n return map;\n });\n\n protected readonly weeks = computed<DayCell[][]>(() => {\n const active = this.activeDate();\n const first = new Date(active.getFullYear(), active.getMonth(), 1);\n const gridStart = startOfWeek(first, this.firstDayOfWeek());\n const mode = this.mode();\n const value = this.value();\n const range = this.range();\n const preview = this.previewEnd();\n const markers = this.markerMap();\n const fmt = this.fmt().full;\n\n let rangeStart = range?.start ?? null;\n let rangeEnd = range?.end ?? preview;\n if (rangeStart && rangeEnd && compareDays(rangeEnd, rangeStart) < 0) [rangeStart, rangeEnd] = [rangeEnd, rangeStart];\n\n const weeks: DayCell[][] = [];\n for (let w = 0; w < 6; w++) {\n const row: DayCell[] = [];\n for (let i = 0; i < 7; i++) {\n const date = addDays(gridStart, w * 7 + i);\n const key = dayKey(date);\n const isStart = mode === 'range' && isSameDay(date, rangeStart);\n const isEnd = mode === 'range' && isSameDay(date, rangeEnd);\n const dayMarkers = markers.get(key) ?? [];\n row.push({\n date,\n key,\n day: date.getDate(),\n inMonth: isSameMonth(date, active),\n today: isSameDay(date, this.today),\n selected: mode === 'single' ? isSameDay(date, value) : isStart || isEnd,\n rangeStart: isStart && !!rangeEnd && !isSameDay(rangeStart, rangeEnd),\n rangeEnd: isEnd && !!rangeStart && !isSameDay(rangeStart, rangeEnd),\n inRange:\n mode === 'range' &&\n !!rangeStart &&\n !!rangeEnd &&\n compareDays(date, rangeStart) > 0 &&\n compareDays(date, rangeEnd) < 0,\n disabled: !this.isSelectable(date),\n markers: dayMarkers,\n label: fmt.format(date) + (dayMarkers.length ? ` — ${dayMarkers.map((m) => m.label).filter(Boolean).join(', ')}` : ''),\n });\n }\n weeks.push(row);\n }\n return weeks;\n });\n\n /** Aralık seçiminde bitiş henüz seçilmemişken fareyle önizleme. */\n private readonly previewEnd = computed(() => {\n const range = this.range();\n if (this.mode() !== 'range' || !range?.start || range.end) return null;\n return this.hoverDate();\n });\n\n // --- Ay / yıl görünümleri --------------------------------------------------------\n protected readonly months = computed<PickerCell[]>(() => {\n const year = this.activeDate().getFullYear();\n const selected = this.selectedAnchor();\n return Array.from({ length: 12 }, (_, month) => ({\n value: month,\n label: this.fmt().monthShort.format(new Date(year, month, 1)),\n current: year === this.today.getFullYear() && month === this.today.getMonth(),\n selected: !!selected && selected.getFullYear() === year && selected.getMonth() === month,\n disabled: !this.isRangeAllowed(new Date(year, month, 1), new Date(year, month, daysInMonth(year, month))),\n }));\n });\n\n private readonly yearPageStart = computed(() => {\n const year = this.activeDate().getFullYear();\n return year - (((year % YEARS_PER_PAGE) + YEARS_PER_PAGE) % YEARS_PER_PAGE);\n });\n\n protected readonly years = computed<PickerCell[]>(() => {\n const start = this.yearPageStart();\n const selected = this.selectedAnchor();\n return Array.from({ length: YEARS_PER_PAGE }, (_, i) => {\n const year = start + i;\n return {\n value: year,\n label: String(year),\n current: year === this.today.getFullYear(),\n selected: selected?.getFullYear() === year,\n disabled: !this.isRangeAllowed(new Date(year, 0, 1), new Date(year, 11, 31)),\n };\n });\n });\n\n private readonly selectedAnchor = computed(() => (this.mode() === 'single' ? this.value() : this.range()?.start) ?? null);\n\n protected readonly prevDisabled = computed(() => {\n const min = this.min();\n if (!min) return false;\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return compareDays(new Date(active.getFullYear(), active.getMonth(), 0), min) < 0;\n case 'months':\n return active.getFullYear() - 1 < min.getFullYear();\n case 'years':\n return this.yearPageStart() - 1 < min.getFullYear();\n }\n });\n\n protected readonly nextDisabled = computed(() => {\n const max = this.max();\n if (!max) return false;\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return compareDays(new Date(active.getFullYear(), active.getMonth() + 1, 1), max) > 0;\n case 'months':\n return active.getFullYear() + 1 > max.getFullYear();\n case 'years':\n return this.yearPageStart() + YEARS_PER_PAGE > max.getFullYear();\n }\n });\n\n constructor() {\n // Seçim dışarıdan değiştiğinde (örn. input'a tarih yazıldığında) o aya git.\n effect(() => {\n const anchor = this.selectedAnchor() ?? this.startAt();\n if (!anchor) return;\n untracked(() => {\n if (!isSameMonth(anchor, this.activeDate())) this.setActive(startOfDay(anchor));\n });\n });\n }\n\n // --- Etkileşim ------------------------------------------------------------------\n select(date: Date): void {\n if (!this.isSelectable(date)) return;\n this.setActive(date);\n\n if (this.mode() === 'single') {\n this.value.set(date);\n } else {\n const range = this.range();\n if (!range?.start || range.end || compareDays(date, range.start) < 0) {\n this.range.set({ start: date, end: null });\n } else {\n this.range.set({ start: range.start, end: date });\n }\n }\n this.dateSelected.emit(date);\n }\n\n /** Klavye odağını takvime taşır (tarih seçici açıldığında kullanılır). */\n focusActiveCell(): void {\n this.focusAfterRender('.hu-calendar__cell[tabindex=\"0\"]');\n }\n\n /** Görünüm değişince tıklanan buton DOM'dan kalkar; odağı yeni görünüme taşı. */\n private focusAfterRender(...selectors: string[]): void {\n afterNextRender(\n () => {\n for (const selector of selectors) {\n const el = this.host.nativeElement.querySelector<HTMLElement>(selector);\n if (el) return el.focus();\n }\n },\n { injector: this.injector },\n );\n }\n\n private focusPicker(): void {\n this.focusAfterRender('.hu-calendar__pick[aria-selected=\"true\"]', '.hu-calendar__pick--current', '.hu-calendar__pick:not(:disabled)');\n }\n\n protected previous(): void {\n this.navigate(-1);\n }\n\n protected next(): void {\n this.navigate(1);\n }\n\n private navigate(direction: 1 | -1): void {\n const active = this.activeDate();\n switch (this.view()) {\n case 'days':\n return this.setActive(addMonths(active, direction), false);\n case 'months':\n return this.setActive(addMonths(active, direction * 12), false);\n case 'years':\n return this.setActive(addMonths(active, direction * 12 * YEARS_PER_PAGE), false);\n }\n }\n\n protected toggleView(): void {\n this.view.update((v) => (v === 'days' ? 'months' : v === 'months' ? 'years' : 'days'));\n }\n\n protected pickMonth(month: number): void {\n const active = this.activeDate();\n const day = Math.min(active.getDate(), daysInMonth(active.getFullYear(), month));\n this.setActive(new Date(active.getFullYear(), month, day));\n this.view.set('days');\n this.focusActiveCell();\n }\n\n protected pickYear(year: number): void {\n const active = this.activeDate();\n const day = Math.min(active.getDate(), daysInMonth(year, active.getMonth()));\n this.setActive(new Date(year, active.getMonth(), day));\n this.view.set('months');\n this.focusPicker();\n }\n\n protected onGridKeydown(event: KeyboardEvent): void {\n const active = this.activeDate();\n const first = this.firstDayOfWeek();\n let next: Date | null = null;\n\n switch (event.key) {\n case 'ArrowLeft':\n next = addDays(active, -1);\n break;\n case 'ArrowRight':\n next = addDays(active, 1);\n break;\n case 'ArrowUp':\n next = addDays(active, -7);\n break;\n case 'ArrowDown':\n next = addDays(active, 7);\n break;\n case 'Home':\n next = startOfWeek(active, first);\n break;\n case 'End':\n next = addDays(startOfWeek(active, first), 6);\n break;\n case 'PageUp':\n next = addMonths(active, event.shiftKey ? -12 : -1);\n break;\n case 'PageDown':\n next = addMonths(active, event.shiftKey ? 12 : 1);\n break;\n case 'Enter':\n case ' ':\n event.preventDefault();\n this.select(active);\n return;\n default:\n return;\n }\n event.preventDefault();\n this.setActive(next);\n this.focusActiveCell();\n }\n\n private setActive(date: Date, clamp = true): void {\n const next = clamp ? clampDate(date, this.min(), this.max()) : date;\n const previous = this.activeDate();\n this.activeDate.set(next);\n if (!isSameMonth(previous, next)) this.monthChange.emit(new Date(next.getFullYear(), next.getMonth(), 1));\n }\n\n private isSelectable(date: Date): boolean {\n const min = this.min();\n const max = this.max();\n if (min && compareDays(date, min) < 0) return false;\n if (max && compareDays(date, max) > 0) return false;\n return this.dateFilter()?.(date) ?? true;\n }\n\n private isRangeAllowed(from: Date, to: Date): boolean {\n const min = this.min();\n const max = this.max();\n return !(min && compareDays(to, min) < 0) && !(max && compareDays(from, max) > 0);\n }\n}\n","<div class=\"hu-calendar__header\">\n <button type=\"button\" class=\"hu-calendar__nav\" aria-label=\"Önceki\" [disabled]=\"prevDisabled()\" (click)=\"previous()\">\n <hu-icon name=\"chevron-left\" [size]=\"16\" />\n </button>\n <button\n type=\"button\"\n class=\"hu-calendar__title\"\n [attr.aria-label]=\"view() === 'days' ? headerLabel() + ', ay ve yıl seç' : view() === 'months' ? headerLabel() + ', yıl seç' : 'Gün görünümüne dön'\"\n aria-live=\"polite\"\n (click)=\"toggleView()\"\n >\n {{ headerLabel() }}\n <hu-icon name=\"chevron-down\" [size]=\"14\" [class.hu-calendar__title-icon--open]=\"view() !== 'days'\" />\n </button>\n <button type=\"button\" class=\"hu-calendar__nav\" aria-label=\"Sonraki\" [disabled]=\"nextDisabled()\" (click)=\"next()\">\n <hu-icon name=\"chevron-right\" [size]=\"16\" />\n </button>\n</div>\n\n@switch (view()) {\n @case ('days') {\n <table class=\"hu-calendar__grid\" role=\"grid\" [attr.aria-label]=\"headerLabel()\" (keydown)=\"onGridKeydown($event)\">\n <thead>\n <tr>\n @for (wd of weekdays(); track $index) {\n <th scope=\"col\" [attr.abbr]=\"wd.long\">{{ wd.short }}</th>\n }\n </tr>\n </thead>\n <tbody (mouseleave)=\"hoverDate.set(null)\">\n @for (week of weeks(); track $index) {\n <tr>\n @for (cell of week; track cell.key) {\n <td\n role=\"gridcell\"\n [attr.aria-selected]=\"cell.selected\"\n [class.hu-calendar__day--in-range]=\"cell.inRange\"\n [class.hu-calendar__day--range-start]=\"cell.rangeStart\"\n [class.hu-calendar__day--range-end]=\"cell.rangeEnd\"\n >\n <button\n type=\"button\"\n class=\"hu-calendar__cell\"\n [class.hu-calendar__cell--outside]=\"!cell.inMonth\"\n [class.hu-calendar__cell--today]=\"cell.today\"\n [class.hu-calendar__cell--selected]=\"cell.selected\"\n [attr.tabindex]=\"cell.key === activeKey() ? 0 : -1\"\n [attr.aria-label]=\"cell.label\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n [attr.title]=\"cell.markers.length ? cell.label : null\"\n [disabled]=\"cell.disabled\"\n (click)=\"select(cell.date)\"\n (mouseenter)=\"hoverDate.set(cell.date)\"\n >\n {{ cell.day }}\n @if (cell.markers.length) {\n <span class=\"hu-calendar__markers\" aria-hidden=\"true\">\n @for (m of cell.markers.slice(0, 3); track $index) {\n <span class=\"hu-calendar__marker\" [attr.data-variant]=\"m.variant ?? 'primary'\"></span>\n }\n </span>\n }\n </button>\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n }\n @case ('months') {\n <div class=\"hu-calendar__picker\" role=\"listbox\" aria-label=\"Ay seç\">\n @for (m of months(); track m.value) {\n <button\n type=\"button\"\n role=\"option\"\n class=\"hu-calendar__pick\"\n [class.hu-calendar__pick--current]=\"m.current\"\n [attr.aria-selected]=\"m.selected\"\n [disabled]=\"m.disabled\"\n (click)=\"pickMonth(m.value)\"\n >\n {{ m.label }}\n </button>\n }\n </div>\n }\n @case ('years') {\n <div class=\"hu-calendar__picker\" role=\"listbox\" aria-label=\"Yıl seç\">\n @for (y of years(); track y.value) {\n <button\n type=\"button\"\n role=\"option\"\n class=\"hu-calendar__pick\"\n [class.hu-calendar__pick--current]=\"y.current\"\n [attr.aria-selected]=\"y.selected\"\n [disabled]=\"y.disabled\"\n (click)=\"pickYear(y.value)\"\n >\n {{ y.label }}\n </button>\n }\n </div>\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DOCUMENT,\n DestroyRef,\n DoCheck,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n model,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n NgControl,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport { HU_FORM_FIELD, HuFormFieldControl } from '../form-field/form-field.tokens';\nimport { HuInputSize } from '../form-field/input.directive';\nimport { HuCalendar, HuCalendarMarker, HuCalendarMode } from './calendar.component';\nimport {\n HuDateRange,\n compareDays,\n formatDate,\n formatRange,\n isValidDate,\n parseDate,\n parseRange,\n startOfDay,\n} from './date-utils';\n\nexport type HuDatePickerValue = Date | HuDateRange | null;\n\n/**\n * Tarih seçici form kontrolü. Tarih elle (`gg.aa.yyyy`) yazılabilir veya\n * takvimden seçilebilir. `mode=\"range\"` ile değer `{ start, end }` olur.\n * Validasyon hataları: `huDateParse`, `huDateMin`, `huDateMax`, `huDateUnavailable`.\n *\n * @example\n * <hu-form-field label=\"Başlangıç tarihi\">\n * <hu-date-picker formControlName=\"startDate\" [min]=\"today\" />\n * </hu-form-field>\n * <hu-date-picker mode=\"range\" [(value)]=\"period\" placeholder=\"Tarih aralığı\" />\n */\n@Component({\n selector: 'hu-date-picker',\n imports: [HuButton, HuCalendar, HuIcon],\n templateUrl: './date-picker.component.html',\n styleUrl: './date-picker.component.scss',\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => HuDatePicker), multi: true },\n { provide: NG_VALIDATORS, useExisting: forwardRef(() => HuDatePicker), multi: true },\n { provide: HuFormFieldControl, useExisting: forwardRef(() => HuDatePicker) },\n ],\n host: {\n class: 'hu-date-picker',\n '[class.hu-date-picker--open]': 'open()',\n '(focusout)': 'onFocusOut($event)',\n '(document:mousedown)': 'onDocumentPointer($event)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuDatePicker implements ControlValueAccessor, Validator, HuFormFieldControl, DoCheck {\n private readonly injector = inject(Injector);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly win = inject(DOCUMENT).defaultView;\n protected readonly field = inject(HU_FORM_FIELD, { optional: true, host: true });\n\n readonly mode = input<HuCalendarMode>('single');\n readonly value = model<HuDatePickerValue>(null);\n readonly min = input<Date | null>(null);\n readonly max = input<Date | null>(null);\n readonly dateFilter = input<((date: Date) => boolean) | null>(null);\n readonly markers = input<HuCalendarMarker[]>([]);\n readonly placeholder = input<string>();\n readonly size = input<HuInputSize>('md');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly id = input(huUniqueId('hu-date-picker'));\n\n protected readonly open = signal(false);\n protected readonly text = signal('');\n protected readonly panelId = huUniqueId('hu-date-picker-panel');\n private readonly parseError = signal(false);\n private readonly formDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled());\n\n // --- HuFormFieldControl -----------------------------------------------------------\n // NgControl, NG_VALUE_ACCESSOR döngüsüne girmemek için geç çözülür.\n private ngControl: NgControl | null | undefined;\n get hasControl(): boolean {\n return !!this.resolveControl();\n }\n readonly controlErrorVisible = signal(false);\n readonly errors = signal<ValidationErrors | null>(null);\n protected readonly isInvalid = computed(() => this.controlErrorVisible() || (this.field?.showError() ?? false));\n\n protected readonly placeholderText = computed(\n () => this.placeholder() ?? (this.mode() === 'range' ? 'gg.aa.yyyy – gg.aa.yyyy' : 'gg.aa.yyyy'),\n );\n protected readonly singleValue = computed(() => {\n const v = this.value();\n return v instanceof Date ? v : null;\n });\n protected readonly rangeValue = computed(() => {\n const v = this.value();\n return v && !(v instanceof Date) ? v : null;\n });\n /** Takvimde aralık seçilirken geçici değer (bitiş seçilene kadar forma yazılmaz). */\n protected readonly draftRange = signal<HuDateRange | null>(null);\n\n private readonly input = viewChild.required<ElementRef<HTMLInputElement>>('input');\n private readonly panel = viewChild.required<ElementRef<HTMLElement>>('panel');\n private readonly calendar = viewChild(HuCalendar);\n protected readonly supportsPopover = typeof HTMLElement !== 'undefined' && 'showPopover' in HTMLElement.prototype;\n /** Son fare basışı bileşenin içinde mi? (DOM'dan kalkan butonlar focusout'u yanıltmasın) */\n private pointerInside = false;\n\n private onChange: (value: HuDatePickerValue) => void = () => {};\n private onTouched: () => void = () => {};\n private onValidatorChange: () => void = () => {};\n\n constructor() {\n // Değer dışarıdan (model) değişirse metni güncelle.\n effect(() => {\n const value = this.value();\n untracked(() => this.text.set(this.format(value)));\n });\n // Sınırlar değişince validasyonu yeniden çalıştır.\n effect(() => {\n this.min();\n this.max();\n this.dateFilter();\n untracked(() => this.onValidatorChange());\n });\n\n const reposition = () => this.open() && this.positionPanel();\n this.win?.addEventListener('resize', reposition);\n this.win?.addEventListener('scroll', reposition, true);\n inject(DestroyRef).onDestroy(() => {\n this.win?.removeEventListener('resize', reposition);\n this.win?.removeEventListener('scroll', reposition, true);\n });\n }\n\n ngDoCheck(): void {\n const c = this.resolveControl();\n if (!c) return;\n this.controlErrorVisible.set(!!c.invalid && !!(c.touched || c.dirty));\n this.errors.set(c.errors);\n }\n\n // --- Açma / kapama ----------------------------------------------------------------\n toggle(): void {\n if (this.open()) this.close(true);\n else this.openPanel();\n }\n\n openPanel(): void {\n if (this.isDisabled() || this.open()) return;\n this.commitText();\n this.draftRange.set(this.rangeValue());\n this.open.set(true);\n // Takvim render edildikten sonra göster, ölç ve odakla.\n afterNextRender(\n () => {\n if (!this.open()) return;\n if (this.supportsPopover) this.panel().nativeElement.showPopover();\n this.positionPanel();\n this.calendar()?.focusActiveCell();\n },\n { injector: this.injector },\n );\n }\n\n close(restoreFocus = false): void {\n if (!this.open()) return;\n this.open.set(false);\n this.draftRange.set(null);\n if (this.supportsPopover && this.panel().nativeElement.matches(':popover-open')) {\n this.panel().nativeElement.hidePopover();\n }\n if (restoreFocus) this.input().nativeElement.focus();\n }\n\n private positionPanel(): void {\n const panel = this.panel().nativeElement;\n if (!this.supportsPopover || !this.win) return;\n const anchor = this.host.nativeElement.getBoundingClientRect();\n const { offsetWidth: width, offsetHeight: height } = panel;\n const gap = 6;\n const spaceBelow = this.win.innerHeight - anchor.bottom;\n const top = spaceBelow < height + gap && anchor.top > height + gap ? anchor.top - height - gap : anchor.bottom + gap;\n const left = Math.max(8, Math.min(anchor.left, this.win.innerWidth - width - 8));\n panel.style.top = `${top}px`;\n panel.style.left = `${left}px`;\n }\n\n // --- Takvimden seçim ------------------------------------------------------------\n protected onCalendarDate(date: Date): void {\n if (this.mode() !== 'single') return;\n this.commit(date);\n this.close(true);\n }\n\n protected onCalendarRange(range: HuDateRange | null): void {\n this.draftRange.set(range);\n if (range?.start && range.end) {\n this.commit(range);\n this.close(true);\n }\n }\n\n protected selectToday(): void {\n const today = startOfDay(new Date());\n if (this.mode() === 'single') {\n this.commit(today);\n this.close(true);\n } else {\n this.onCalendarRange({ start: today, end: null });\n }\n }\n\n protected clear(): void {\n this.commit(null);\n this.close(true);\n }\n\n // --- Metin girişi ---------------------------------------------------------------\n protected onInput(event: Event): void {\n this.text.set((event.target as HTMLInputElement).value);\n }\n\n protected onInputKeydown(event: KeyboardEvent): void {\n if (event.key === 'Enter') {\n event.preventDefault();\n this.commitText();\n } else if (event.key === 'ArrowDown' && (event.altKey || !this.open())) {\n event.preventDefault();\n this.openPanel();\n } else if (event.key === 'Escape' && this.open()) {\n event.preventDefault();\n this.close(true);\n }\n }\n\n protected onPanelKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape') {\n event.preventDefault();\n event.stopPropagation();\n this.close(true);\n }\n }\n\n private commitText(): void {\n const text = this.text().trim();\n const current = this.value();\n if (text === this.format(current)) return;\n\n if (!text) {\n this.commit(null);\n return;\n }\n const parsed = this.mode() === 'range' ? parseRange(text) : parseDate(text);\n if (parsed) {\n this.commit(parsed);\n } else {\n // Metni koru ki kullanıcı düzeltebilsin; forma null + parse hatası yaz.\n this.parseError.set(true);\n this.value.set(null);\n this.text.set(text);\n this.onChange(null);\n }\n }\n\n private commit(value: HuDatePickerValue): void {\n this.parseError.set(false);\n this.value.set(value);\n this.text.set(this.format(value));\n this.onChange(value);\n }\n\n // --- Odak / dış tıklama -----------------------------------------------------------\n protected onFocusOut(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (next && this.host.nativeElement.contains(next)) return;\n // Panel içinde tıklanan buton yeniden render ile kalktıysa odak \"hiçbir yere\" gider; kapatma.\n if (!next && this.pointerInside && this.open()) return;\n this.commitText();\n this.close();\n this.onTouched();\n }\n\n protected onDocumentPointer(event: MouseEvent): void {\n this.pointerInside = this.host.nativeElement.contains(event.target as Node);\n if (this.open() && !this.pointerInside) this.close();\n }\n\n // --- ControlValueAccessor / Validator ---------------------------------------------\n writeValue(value: unknown): void {\n this.parseError.set(false);\n if (value == null || value === '') this.value.set(null);\n else if (isValidDate(value)) this.value.set(startOfDay(value));\n else if (typeof value === 'object' && 'start' in value) this.value.set(value as HuDateRange);\n else this.value.set(null);\n this.text.set(this.format(this.value()));\n }\n\n registerOnChange(fn: (value: HuDatePickerValue) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n if (disabled) this.close();\n }\n\n validate(_control: AbstractControl): ValidationErrors | null {\n if (this.parseError()) return { huDateParse: true };\n const value = this.value();\n const dates = value instanceof Date ? [value] : [value?.start, value?.end].filter((d): d is Date => !!d);\n const min = this.min();\n const max = this.max();\n for (const d of dates) {\n if (min && compareDays(d, min) < 0) return { huDateMin: { min: formatDate(min), actual: d } };\n if (max && compareDays(d, max) > 0) return { huDateMax: { max: formatDate(max), actual: d } };\n if (this.dateFilter() && !this.dateFilter()!(d)) return { huDateUnavailable: true };\n }\n return null;\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onValidatorChange = fn;\n }\n\n private format(value: HuDatePickerValue): string {\n if (value instanceof Date) return formatDate(value);\n return value ? formatRange(value) : '';\n }\n\n private resolveControl(): NgControl | null {\n if (this.ngControl === undefined) {\n this.ngControl = this.injector.get(NgControl, null, { self: true, optional: true });\n }\n return this.ngControl;\n }\n}\n","<div class=\"hu-date-picker__control\">\n <input\n #input\n type=\"text\"\n class=\"hu-input hu-date-picker__input\"\n inputmode=\"numeric\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [id]=\"id()\"\n [attr.data-size]=\"size()\"\n [class.hu-input--invalid]=\"isInvalid()\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.aria-describedby]=\"field?.describedBy() ?? null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"panelId\"\n [attr.placeholder]=\"placeholderText()\"\n [value]=\"text()\"\n [disabled]=\"isDisabled()\"\n (input)=\"onInput($event)\"\n (keydown)=\"onInputKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hu-date-picker__toggle\"\n tabindex=\"-1\"\n [attr.aria-label]=\"open() ? 'Takvimi kapat' : 'Takvimi aç'\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <hu-icon name=\"calendar\" [size]=\"16\" />\n </button>\n</div>\n\n<div\n #panel\n popover=\"manual\"\n class=\"hu-date-picker__panel\"\n role=\"dialog\"\n aria-label=\"Tarih seç\"\n [id]=\"panelId\"\n [class.hu-date-picker__panel--inline]=\"!supportsPopover\"\n [attr.hidden]=\"!supportsPopover && !open() ? '' : null\"\n (keydown)=\"onPanelKeydown($event)\"\n>\n @if (open()) {\n <hu-calendar\n [mode]=\"mode()\"\n [value]=\"singleValue()\"\n [range]=\"draftRange()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [dateFilter]=\"dateFilter()\"\n [markers]=\"markers()\"\n (dateSelected)=\"onCalendarDate($event)\"\n (rangeChange)=\"onCalendarRange($event)\"\n />\n <div class=\"hu-date-picker__footer\">\n @if (mode() === 'range') {\n <span class=\"hu-date-picker__hint\">\n {{ draftRange()?.start && !draftRange()?.end ? 'Bitiş tarihini seçin' : 'Başlangıç tarihini seçin' }}\n </span>\n } @else {\n <button hu-button variant=\"ghost\" size=\"sm\" type=\"button\" (click)=\"selectToday()\">Bugün</button>\n }\n <button hu-button variant=\"ghost\" size=\"sm\" type=\"button\" (click)=\"clear()\">Temizle</button>\n </div>\n }\n</div>\n","/*\n * Editör için izin listesi tabanlı HTML temizleyici. Yapıştırılan içerik ve\n * dışarıdan gelen değer bundan geçer: yalnızca editörün üretebildiği etiketler\n * kalır. Öznitelikler silinir; yalnızca link adresi, görsel adresi/açıklaması ve\n * span üzerindeki renk (color, background-color) korunur.\n */\n\n/** İzinli etiket → çıktıda kullanılacak etiket. */\nconst TAG_MAP: Record<string, string> = {\n P: 'p',\n DIV: 'p',\n BR: 'br',\n STRONG: 'strong',\n B: 'strong',\n EM: 'em',\n I: 'em',\n U: 'u',\n S: 's',\n STRIKE: 's',\n DEL: 's',\n H1: 'h1',\n H2: 'h2',\n H3: 'h3',\n H4: 'h3',\n H5: 'h3',\n H6: 'h3',\n UL: 'ul',\n OL: 'ol',\n LI: 'li',\n BLOCKQUOTE: 'blockquote',\n PRE: 'pre',\n CODE: 'code',\n A: 'a',\n IMG: 'img',\n SPAN: 'span',\n FONT: 'span',\n MARK: 'span',\n};\n\n/** İçeriğiyle birlikte tamamen atılan etiketler. */\nconst DROP = new Set(['SCRIPT', 'STYLE', 'IFRAME', 'OBJECT', 'EMBED', 'NOSCRIPT', 'TEMPLATE', 'SVG', 'MATH', 'HEAD', 'META', 'LINK', 'TITLE', 'FORM', 'INPUT', 'BUTTON', 'SELECT', 'TEXTAREA', 'VIDEO', 'AUDIO', 'CANVAS']);\n\nconst BLOCKS = new Set(['p', 'ul', 'ol', 'blockquote', 'pre', 'h1', 'h2', 'h3']);\n\nconst SAFE_URL = /^(https?:|mailto:|tel:|\\/|#|\\.{0,2}\\/)/i;\n/** Görseller: http(s), göreli adres veya raster data URL (SVG içine betik gömülebildiği için hariç). */\nconst SAFE_IMAGE = /^(https?:\\/\\/|\\/|\\.{0,2}\\/|data:image\\/(png|jpe?g|gif|webp);base64,[a-z0-9+/=\\s]+$)/i;\n/** Renk değeri: hex, rgb(a) veya isim. `url(`, `expression(` gibi değerler eşleşmez. */\nconst SAFE_COLOR = /^(#[0-9a-f]{3,8}|rgba?\\(\\s*[\\d.\\s,%]+\\)|[a-z]{3,20})$/i;\n\n/** Link adresi güvenli mi? (`javascript:`, `data:` vb. reddedilir) */\nexport function huIsSafeUrl(url: string): boolean {\n const value = url.trim();\n return !!value && SAFE_URL.test(value) && !/^\\s*(javascript|data|vbscript):/i.test(value);\n}\n\n/** Görsel adresi güvenli mi? */\nexport function huIsSafeImageSrc(src: string): boolean {\n return SAFE_IMAGE.test(src.trim());\n}\n\n/**\n * HTML'i editörün izin verdiği alt kümeye indirger.\n * Sunucudan gelen veya kullanıcıların girdiği HTML'i göstermeden önce de kullanabilirsiniz.\n */\nexport function huSanitizeHtml(html: string, doc: Document = document): string {\n if (!html) return '';\n const template = doc.createElement('template');\n template.innerHTML = html;\n const out = doc.createElement('div');\n copyChildren(template.content, out, doc);\n normalizeTopLevel(out, doc);\n return out.innerHTML;\n}\n\n/**\n * Tarayıcı komutları bazen `<p><ul>…</ul></p>` gibi geçersiz yapı üretir; HTML\n * ayrıştırıcısı bunu `<p></p><ul>…</ul><p></p>` + çıplak metne çevirir. Boş\n * paragrafları at, en üst seviyedeki çıplak satır içi içeriği `<p>` içine al.\n */\nfunction normalizeTopLevel(root: Element, doc: Document): void {\n root.querySelectorAll('p').forEach((p) => {\n if (!p.textContent?.trim() && !p.querySelector('br, img')) p.remove();\n });\n\n let run: Element | null = null;\n Array.from(root.childNodes).forEach((node) => {\n const isBlock = node instanceof Element && BLOCKS.has(node.tagName.toLowerCase());\n if (isBlock) {\n run = null;\n return;\n }\n if (!run) {\n // Yalnızca boşluktan oluşan metin düğümü yeni paragraf açmasın\n if (node.nodeType === Node.TEXT_NODE && !node.textContent?.trim()) {\n node.remove();\n return;\n }\n run = doc.createElement('p');\n root.insertBefore(run, node);\n }\n run.appendChild(node);\n });\n}\n\n/** span/font/mark üzerindeki renkleri `style` olarak döndürür (yoksa boş). */\nfunction colorStyle(el: Element): string {\n const style = (el as HTMLElement).style;\n let color = style?.color || (el.tagName === 'FONT' ? (el.getAttribute('color') ?? '') : '');\n let background = style?.backgroundColor || (el.tagName === 'MARK' ? 'rgba(250, 204, 21, 0.4)' : '');\n color = SAFE_COLOR.test(color.trim()) ? color.trim() : '';\n background = SAFE_COLOR.test(background.trim()) ? background.trim() : '';\n return [color && `color: ${color}`, background && `background-color: ${background}`].filter(Boolean).join('; ');\n}\n\nfunction copyChildren(from: Node, to: Node, doc: Document): void {\n from.childNodes.forEach((node) => {\n if (node.nodeType === Node.TEXT_NODE) {\n to.appendChild(doc.createTextNode(node.textContent ?? ''));\n return;\n }\n if (node.nodeType !== Node.ELEMENT_NODE) return; // yorumlar vb.\n\n const el = node as Element;\n if (DROP.has(el.tagName)) return;\n\n const tag = TAG_MAP[el.tagName];\n if (!tag) {\n // Bilinmeyen etiketler: kendisini at, içeriğini koru\n copyChildren(el, to, doc);\n return;\n }\n\n if (tag === 'img') {\n const src = el.getAttribute('src') ?? '';\n if (!huIsSafeImageSrc(src)) return;\n const img = doc.createElement('img');\n img.setAttribute('src', src.trim());\n img.setAttribute('alt', el.getAttribute('alt') ?? '');\n to.appendChild(img);\n return;\n }\n\n if (tag === 'span') {\n // Renk yoksa span anlamsızdır: aç, içeriğini koru\n const style = colorStyle(el);\n if (!style) {\n copyChildren(el, to, doc);\n return;\n }\n const span = doc.createElement('span');\n span.setAttribute('style', style);\n copyChildren(el, span, doc);\n to.appendChild(span);\n return;\n }\n\n const clean = doc.createElement(tag);\n if (tag === 'a') {\n const href = el.getAttribute('href') ?? '';\n if (!huIsSafeUrl(href)) {\n copyChildren(el, to, doc);\n return;\n }\n clean.setAttribute('href', href);\n clean.setAttribute('target', '_blank');\n clean.setAttribute('rel', 'noopener noreferrer');\n }\n copyChildren(el, clean, doc);\n to.appendChild(clean);\n });\n}\n","/** Araç çubuğundaki öğeler. `'|'` bir ayraçtır. */\nexport type HuEditorTool =\n | 'heading'\n | 'bold'\n | 'italic'\n | 'underline'\n | 'strike'\n | 'textColor'\n | 'highlight'\n | 'bulletList'\n | 'orderedList'\n | 'blockquote'\n | 'codeBlock'\n | 'link'\n | 'image'\n | 'clear'\n | 'undo'\n | 'redo'\n | '|';\n\nexport const HU_EDITOR_DEFAULT_TOOLBAR: readonly HuEditorTool[] = [\n 'heading',\n '|',\n 'bold',\n 'italic',\n 'underline',\n 'strike',\n '|',\n 'textColor',\n 'highlight',\n '|',\n 'bulletList',\n 'orderedList',\n 'blockquote',\n 'codeBlock',\n '|',\n 'link',\n 'image',\n 'clear',\n '|',\n 'undo',\n 'redo',\n];\n\n/** Sade araç çubuğu: yorum, not gibi kısa metinler için. */\nexport const HU_EDITOR_MINIMAL_TOOLBAR: readonly HuEditorTool[] = ['bold', 'italic', 'underline', '|', 'bulletList', 'orderedList', '|', 'link'];\n\nexport interface HuEditorButton {\n tool: Exclude<HuEditorTool, 'heading' | '|'>;\n icon: string;\n label: string;\n /** Ekranda gösterilen kısayol (ipucu metninde). */\n shortcut?: string;\n}\n\nexport const HU_EDITOR_BUTTONS: Record<HuEditorButton['tool'], HuEditorButton> = {\n bold: { tool: 'bold', icon: 'bold', label: 'Kalın', shortcut: 'Ctrl+B' },\n italic: { tool: 'italic', icon: 'italic', label: 'İtalik', shortcut: 'Ctrl+I' },\n underline: { tool: 'underline', icon: 'underline', label: 'Altı çizili', shortcut: 'Ctrl+U' },\n strike: { tool: 'strike', icon: 'strikethrough', label: 'Üstü çizili' },\n textColor: { tool: 'textColor', icon: 'text-color', label: 'Yazı rengi' },\n highlight: { tool: 'highlight', icon: 'highlighter', label: 'Vurgu rengi' },\n bulletList: { tool: 'bulletList', icon: 'list', label: 'Madde işaretli liste' },\n orderedList: { tool: 'orderedList', icon: 'list-ordered', label: 'Numaralı liste' },\n blockquote: { tool: 'blockquote', icon: 'quote', label: 'Alıntı' },\n codeBlock: { tool: 'codeBlock', icon: 'code', label: 'Kod bloğu' },\n link: { tool: 'link', icon: 'link', label: 'Link', shortcut: 'Ctrl+K' },\n image: { tool: 'image', icon: 'image', label: 'Görsel' },\n clear: { tool: 'clear', icon: 'eraser', label: 'Biçimi temizle' },\n undo: { tool: 'undo', icon: 'undo', label: 'Geri al', shortcut: 'Ctrl+Z' },\n redo: { tool: 'redo', icon: 'redo', label: 'Yinele', shortcut: 'Ctrl+Y' },\n};\n\nexport type HuEditorBlock = 'p' | 'h1' | 'h2' | 'h3';\n\nexport const HU_EDITOR_BLOCKS: { value: HuEditorBlock; label: string }[] = [\n { value: 'p', label: 'Paragraf' },\n { value: 'h1', label: 'Başlık 1' },\n { value: 'h2', label: 'Başlık 2' },\n { value: 'h3', label: 'Başlık 3' },\n];\n\nexport interface HuEditorColor {\n label: string;\n /** CSS renk değeri (hex veya rgb/rgba). */\n value: string;\n}\n\n/**\n * Yazı renkleri. Açık ve koyu temada okunabilen orta tonlar seçildi.\n * Yalnızca paletteki renkler kalıcıdır: tarayıcının kendiliğinden eklediği\n * (koyu temada okunmaz hale gelen) metin renkleri temizlenir.\n */\nexport const HU_EDITOR_TEXT_COLORS: readonly HuEditorColor[] = [\n { label: 'Kırmızı', value: '#dc2626' },\n { label: 'Turuncu', value: '#ea580c' },\n { label: 'Sarı', value: '#ca8a04' },\n { label: 'Yeşil', value: '#16a34a' },\n { label: 'Turkuaz', value: '#0891b2' },\n { label: 'Mavi', value: '#2563eb' },\n { label: 'Mor', value: '#7c3aed' },\n { label: 'Pembe', value: '#db2777' },\n { label: 'Gri', value: '#71717a' },\n];\n\n/** Vurgu (arka plan) renkleri: yarı saydam, böylece koyu temada da metin okunur. */\nexport const HU_EDITOR_HIGHLIGHT_COLORS: readonly HuEditorColor[] = [\n { label: 'Sarı', value: 'rgba(250, 204, 21, 0.4)' },\n { label: 'Yeşil', value: 'rgba(34, 197, 94, 0.3)' },\n { label: 'Mavi', value: 'rgba(59, 130, 246, 0.3)' },\n { label: 'Mor', value: 'rgba(139, 92, 246, 0.3)' },\n { label: 'Pembe', value: 'rgba(236, 72, 153, 0.3)' },\n { label: 'Kırmızı', value: 'rgba(239, 68, 68, 0.3)' },\n { label: 'Turuncu', value: 'rgba(249, 115, 22, 0.3)' },\n];\n\n/**\n * Görsel yükleme işleyicisi: dosyayı sunucuya yükleyip görselin adresini döndürür.\n * Verilmezse görsel data URL olarak HTML'e gömülür.\n */\nexport type HuEditorImageUpload = (file: File) => Promise<string>;\n","import {\n ChangeDetectionStrategy,\n Component,\n DOCUMENT,\n DoCheck,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n model,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl, ValidationErrors } from '@angular/forms';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuSpinner } from '../spinner/spinner.component';\nimport { huUniqueId } from '../core/unique-id';\nimport { HU_FORM_FIELD, HuFormFieldControl } from '../form-field/form-field.tokens';\nimport {\n HU_EDITOR_BLOCKS,\n HU_EDITOR_BUTTONS,\n HU_EDITOR_DEFAULT_TOOLBAR,\n HU_EDITOR_HIGHLIGHT_COLORS,\n HU_EDITOR_TEXT_COLORS,\n HuEditorBlock,\n HuEditorButton,\n HuEditorColor,\n HuEditorImageUpload,\n HuEditorTool,\n} from './editor.tools';\nimport { huIsSafeImageSrc, huIsSafeUrl, huSanitizeHtml } from './sanitize-html';\n\ntype ToggleTool = HuEditorButton['tool'];\ntype Panel = 'link' | 'image' | 'textColor' | 'highlight';\n\n/**\n * Zengin metin editörü. Değer HTML metnidir; formlarla (`formControlName`) veya\n * `[(value)]` ile çalışır. Yapıştırılan ve dışarıdan verilen HTML izin listesiyle\n * temizlenir (script, stil, `javascript:` linkleri atılır).\n *\n * Bağımlılık yoktur: tarayıcının `contenteditable` alanı üzerine kuruludur.\n *\n * @example\n * <hu-form-field label=\"Açıklama\" required>\n * <hu-editor formControlName=\"description\" placeholder=\"Duyuru metnini yazın…\" />\n * </hu-form-field>\n *\n * <hu-editor [(value)]=\"html\" [imageUpload]=\"uploadToServer\" />\n */\n@Component({\n selector: 'hu-editor',\n imports: [NgTemplateOutlet, HuButton, HuIcon, HuSpinner],\n templateUrl: './editor.component.html',\n styleUrl: './editor.component.scss',\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => HuEditor), multi: true },\n { provide: HuFormFieldControl, useExisting: forwardRef(() => HuEditor) },\n ],\n host: {\n class: 'hu-editor',\n '[class.hu-editor--focused]': 'focused()',\n '[class.hu-editor--disabled]': 'isDisabled()',\n '[class.hu-editor--readonly]': 'readonly()',\n '[class.hu-editor--invalid]': 'isInvalid()',\n '(focusin)': 'focused.set(true)',\n '(focusout)': 'onFocusOut($event)',\n '(document:selectionchange)': 'onSelectionChange()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuEditor implements ControlValueAccessor, HuFormFieldControl, DoCheck {\n private readonly doc = inject(DOCUMENT);\n private readonly injector = inject(Injector);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly field = inject(HU_FORM_FIELD, { optional: true, host: true });\n\n /** HTML değer. Boş içerik `''` olarak döner (Validators.required ile uyumlu). */\n readonly value = model('');\n readonly placeholder = input('Yazmaya başlayın…');\n readonly toolbar = input<readonly HuEditorTool[]>(HU_EDITOR_DEFAULT_TOOLBAR);\n readonly readonly = input(false, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n /** Altta kelime ve karakter sayısı. */\n readonly showCount = input(false, { transform: booleanAttribute });\n readonly ariaLabel = input<string>();\n readonly id = input(huUniqueId('hu-editor'));\n /** Yazı rengi paleti. Yalnızca bu renkler kalıcıdır. */\n readonly textColors = input<readonly HuEditorColor[]>(HU_EDITOR_TEXT_COLORS);\n /** Vurgu (arka plan) paleti. */\n readonly highlightColors = input<readonly HuEditorColor[]>(HU_EDITOR_HIGHLIGHT_COLORS);\n /**\n * Görseli sunucuya yükleyip adresini döndüren fonksiyon. Verilmezse görsel\n * data URL olarak HTML'e gömülür (küçük görseller için uygundur).\n */\n readonly imageUpload = input<HuEditorImageUpload | null>(null);\n /** Kabul edilen en büyük görsel dosyası (bayt). Varsayılan 2 MB. */\n readonly maxImageSize = input(2 * 1024 * 1024);\n\n protected readonly buttons = HU_EDITOR_BUTTONS;\n protected readonly blocks = HU_EDITOR_BLOCKS;\n protected readonly focused = signal(false);\n protected readonly active = signal<ReadonlySet<ToggleTool>>(new Set());\n protected readonly block = signal<HuEditorBlock>('p');\n protected readonly isEmpty = signal(true);\n protected readonly counts = signal({ words: 0, chars: 0 });\n\n /** Araç çubuğunun altında açık olan panel (link, görsel, renk). */\n protected readonly panel = signal<Panel | null>(null);\n protected readonly linkUrl = signal('');\n protected readonly hasLink = signal(false);\n protected readonly imageUrl = signal('');\n protected readonly imageAlt = signal('');\n protected readonly uploading = signal(false);\n protected readonly panelError = signal('');\n /** Son kullanılan renkler: butonun altındaki renk şeridi. */\n protected readonly lastTextColor = signal<string | null>(null);\n protected readonly lastHighlight = signal<string | null>(null);\n\n private readonly formDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled());\n protected readonly editable = computed(() => !this.isDisabled() && !this.readonly());\n\n private readonly content = viewChild.required<ElementRef<HTMLElement>>('content');\n private readonly panelInput = viewChild<ElementRef<HTMLInputElement>>('panelInput');\n private readonly fileInput = viewChild<ElementRef<HTMLInputElement>>('fileInput');\n private ready = false;\n /** Son yayınlanan değer: dışarıdan gelen yankıyı içeriğe tekrar yazmamak için. */\n private lastEmitted: string | null = null;\n private savedRange: Range | null = null;\n\n /** Palet renklerinin tarayıcının yazdığı biçimdeki (rgb/rgba) karşılıkları. */\n private readonly allowedText = computed(() => new Set(this.textColors().map((c) => this.normalizeColor(c.value))));\n private readonly allowedHighlight = computed(\n () => new Set(this.highlightColors().map((c) => this.normalizeColor(c.value))),\n );\n\n private onChange: (value: string) => void = () => {};\n private onTouched: () => void = () => {};\n\n // --- HuFormFieldControl ------------------------------------------------------------\n private ngControl: NgControl | null | undefined;\n get hasControl(): boolean {\n return !!this.resolveControl();\n }\n readonly controlErrorVisible = signal(false);\n readonly errors = signal<ValidationErrors | null>(null);\n protected readonly isInvalid = computed(() => this.controlErrorVisible() || (this.field?.showError() ?? false));\n\n constructor() {\n afterNextRender(() => {\n this.ready = true;\n // Satır sonu <p> üretsin, biçim <span style> yerine etiketle yazılsın\n this.command('defaultParagraphSeparator', 'p');\n this.command('styleWithCSS', 'false');\n this.applyExternal(this.value());\n });\n\n // Değer dışarıdan değişince içeriği güncelle (yazarken oluşan yankıyı atla).\n effect(() => {\n const value = this.value();\n untracked(() => {\n if (this.ready) this.applyExternal(value);\n });\n });\n }\n\n ngDoCheck(): void {\n const c = this.resolveControl();\n if (!c) return;\n this.controlErrorVisible.set(!!c.invalid && !!(c.touched || c.dirty));\n this.errors.set(c.errors);\n }\n\n // --- Araç çubuğu -------------------------------------------------------------------\n protected run(tool: ToggleTool): void {\n const active = this.active();\n switch (tool) {\n case 'bold':\n return this.exec('bold');\n case 'italic':\n return this.exec('italic');\n case 'underline':\n return this.exec('underline');\n case 'strike':\n return this.exec('strikeThrough');\n case 'bulletList':\n return this.exec('insertUnorderedList');\n case 'orderedList':\n return this.exec('insertOrderedList');\n case 'blockquote':\n return this.exec('formatBlock', active.has('blockquote') ? '<p>' : '<blockquote>');\n case 'codeBlock':\n return this.exec('formatBlock', active.has('codeBlock') ? '<p>' : '<pre>');\n case 'link':\n return this.openLink();\n case 'image':\n case 'textColor':\n case 'highlight':\n return this.togglePanel(tool);\n case 'clear':\n this.exec('removeFormat');\n this.exec('unlink');\n return this.exec('formatBlock', '<p>');\n case 'undo':\n return this.exec('undo');\n case 'redo':\n return this.exec('redo');\n }\n }\n\n protected setBlock(tag: string): void {\n this.exec('formatBlock', `<${tag}>`);\n }\n\n protected isToggle(tool: ToggleTool): boolean {\n return !['clear', 'undo', 'redo', 'link', 'image', 'textColor', 'highlight'].includes(tool);\n }\n\n /** Panel açan butonlar: panel açıkken basılı görünür. */\n protected isPanelTool(tool: ToggleTool): boolean {\n return tool === 'image' || tool === 'textColor' || tool === 'highlight' || tool === 'link';\n }\n\n private togglePanel(panel: Panel): void {\n if (!this.editable()) return;\n if (this.panel() === panel) return this.closePanel();\n this.captureSelection();\n this.panelError.set('');\n if (panel === 'image') {\n this.imageUrl.set('');\n this.imageAlt.set('');\n }\n this.panel.set(panel);\n if (panel === 'image') this.focusPanelInput();\n }\n\n protected closePanel(): void {\n this.panel.set(null);\n this.panelError.set('');\n this.restoreSelection();\n }\n\n private focusPanelInput(): void {\n afterNextRender(() => this.panelInput()?.nativeElement.focus(), { injector: this.injector });\n }\n\n // --- Renkler ---------------------------------------------------------------------\n /** Renk uygula; `null` rengi kaldırır. */\n protected applyColor(kind: 'textColor' | 'highlight', color: string | null): void {\n if (!this.editable()) return;\n this.restoreSelection();\n let value = color;\n if (!value) {\n // Palette olmayan bir değer yaz: temizlik adımı bunu silerek rengi kaldırır\n value = kind === 'textColor' ? 'rgb(1, 2, 3)' : 'transparent';\n }\n this.command('styleWithCSS', 'true');\n if (kind === 'textColor') {\n this.command('foreColor', value);\n } else if (!this.doc.execCommand('hiliteColor', false, value)) {\n this.command('backColor', value);\n }\n this.command('styleWithCSS', 'false');\n if (kind === 'textColor') this.lastTextColor.set(color);\n else this.lastHighlight.set(color);\n this.panel.set(null);\n this.emit();\n }\n\n // --- Link --------------------------------------------------------------------------\n protected openLink(): void {\n if (!this.editable()) return;\n if (this.panel() === 'link') return this.closePanel();\n this.captureSelection();\n const anchor = this.selectionAnchor();\n this.hasLink.set(!!anchor);\n this.linkUrl.set(anchor?.getAttribute('href') ?? '');\n this.panelError.set('');\n this.panel.set('link');\n this.focusPanelInput();\n }\n\n protected applyLink(): void {\n let url = this.linkUrl().trim();\n if (!url) return this.removeLink();\n // \"ornek.com\" → \"https://ornek.com\"\n if (!/^[a-z][a-z0-9+.-]*:/i.test(url) && !url.startsWith('/') && !url.startsWith('#')) url = `https://${url}`;\n if (!huIsSafeUrl(url)) {\n this.panelError.set('Geçersiz adres.');\n return;\n }\n this.restoreSelection();\n const selection = this.doc.getSelection();\n if (selection?.isCollapsed && !this.selectionAnchor()) {\n // Seçili metin yoksa adresin kendisini link olarak ekle\n this.command('insertHTML', `<a href=\"${escapeHtml(url)}\">${escapeHtml(url)}</a>`);\n } else {\n this.command('createLink', url);\n }\n this.panel.set(null);\n this.emit();\n }\n\n protected removeLink(): void {\n this.restoreSelection();\n const anchor = this.selectionAnchor();\n if (anchor) {\n // İmleç linkin içindeyse linkin tamamını kaldır\n const range = this.doc.createRange();\n range.selectNodeContents(anchor);\n const selection = this.doc.getSelection();\n selection?.removeAllRanges();\n selection?.addRange(range);\n }\n this.command('unlink');\n this.panel.set(null);\n this.emit();\n }\n\n // --- Görsel ----------------------------------------------------------------------\n protected insertImageFromUrl(): void {\n let url = this.imageUrl().trim();\n if (!url) return;\n if (!/^[a-z][a-z0-9+.-]*:/i.test(url) && !url.startsWith('/') && !url.startsWith('.')) url = `https://${url}`;\n if (!huIsSafeImageSrc(url)) {\n this.panelError.set('Geçersiz görsel adresi.');\n return;\n }\n this.insertImage(url, this.imageAlt().trim());\n }\n\n protected chooseFile(): void {\n this.fileInput()?.nativeElement.click();\n }\n\n protected async onFileChosen(event: Event): Promise<void> {\n const input = event.target as HTMLInputElement;\n const file = input.files?.[0];\n input.value = ''; // aynı dosya tekrar seçilebilsin\n if (file) await this.uploadImage(file, this.imageAlt().trim());\n }\n\n private async uploadImage(file: File, alt = ''): Promise<void> {\n if (!/^image\\/(png|jpe?g|gif|webp)$/i.test(file.type)) {\n this.showPanelError('Yalnızca PNG, JPEG, GIF veya WebP görseller eklenebilir.');\n return;\n }\n if (file.size > this.maxImageSize()) {\n const mb = (this.maxImageSize() / 1024 / 1024).toLocaleString('tr-TR', { maximumFractionDigits: 1 });\n this.showPanelError(`Görsel en fazla ${mb} MB olabilir.`);\n return;\n }\n this.captureSelection();\n this.uploading.set(true);\n this.panelError.set('');\n try {\n const upload = this.imageUpload();\n const src = upload ? await upload(file) : await readAsDataUrl(file);\n if (!huIsSafeImageSrc(src)) throw new Error('unsafe');\n this.insertImage(src, alt || file.name.replace(/\\.[^.]+$/, ''));\n } catch {\n this.showPanelError('Görsel yüklenemedi.');\n } finally {\n this.uploading.set(false);\n }\n }\n\n private insertImage(src: string, alt: string): void {\n this.restoreSelection();\n this.command('insertHTML', `<img src=\"${escapeHtml(src)}\" alt=\"${escapeHtml(alt)}\">`);\n this.panel.set(null);\n this.emit();\n }\n\n private showPanelError(message: string): void {\n if (this.panel() !== 'image') this.panel.set('image');\n this.panelError.set(message);\n }\n\n // --- İçerik olayları -----------------------------------------------------------------\n protected onInput(): void {\n this.emit();\n }\n\n protected onFocus(): void {\n // Boş alanda ilk satır da <p> olsun (aksi halde tarayıcı çıplak metin düğümü üretir)\n const el = this.content().nativeElement;\n if (this.editable() && !el.firstElementChild && !el.textContent) {\n el.innerHTML = '<p><br></p>';\n const range = this.doc.createRange();\n range.setStart(el.firstElementChild!, 0);\n range.collapse(true);\n const selection = this.doc.getSelection();\n selection?.removeAllRanges();\n selection?.addRange(range);\n }\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'k') {\n event.preventDefault();\n this.openLink();\n }\n }\n\n protected onContentClick(event: MouseEvent): void {\n // Görsele tıklayınca onu seç: Delete/Backspace ile silinebilsin\n const target = event.target as HTMLElement;\n if (target instanceof HTMLImageElement && this.editable()) {\n const range = this.doc.createRange();\n range.selectNode(target);\n const selection = this.doc.getSelection();\n selection?.removeAllRanges();\n selection?.addRange(range);\n }\n }\n\n protected onPaste(event: ClipboardEvent): void {\n if (!event.clipboardData) return;\n event.preventDefault();\n this.insertTransfer(event.clipboardData);\n }\n\n protected onDrop(event: DragEvent): void {\n if (!event.dataTransfer) return;\n event.preventDefault();\n const range = (this.doc as Document & { caretRangeFromPoint?: (x: number, y: number) => Range | null }).caretRangeFromPoint?.(\n event.clientX,\n event.clientY,\n );\n if (range) {\n const selection = this.doc.getSelection();\n selection?.removeAllRanges();\n selection?.addRange(range);\n }\n this.insertTransfer(event.dataTransfer);\n }\n\n protected onSelectionChange(): void {\n const selection = this.doc.getSelection();\n const el = this.ready ? this.content().nativeElement : null;\n if (!el || !selection?.rangeCount || !el.contains(selection.anchorNode)) return;\n this.savedRange = selection.getRangeAt(0).cloneRange();\n this.updateState();\n }\n\n protected onFocusOut(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (next && this.host.nativeElement.contains(next)) return;\n this.focused.set(false);\n this.onTouched();\n }\n\n // --- ControlValueAccessor --------------------------------------------------------------\n writeValue(value: unknown): void {\n this.value.set(typeof value === 'string' ? value : '');\n }\n registerOnChange(fn: (value: string) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n\n // --- Yardımcılar ---------------------------------------------------------------------\n /** Seçimi geri yükle, komutu uygula, değeri yayınla. */\n private exec(command: string, arg?: string): void {\n if (!this.editable()) return;\n this.restoreSelection();\n this.command(command, arg);\n this.emit();\n }\n\n private command(command: string, arg?: string): void {\n // execCommand eski bir API'dir ama contenteditable için tarayıcıların sunduğu\n // tek yerleşik düzenleme yoludur ve tüm modern tarayıcılarda desteklenir.\n this.doc.execCommand(command, false, arg);\n }\n\n /**\n * Seçim hâlâ editörün içindeyse onu kaydet. `selectionchange` gecikmeli geldiği\n * için hızlı klavye kullanımında (Shift+ok, hemen Ctrl+K) kayıtlı seçim eski kalabilir.\n */\n private captureSelection(): void {\n const selection = this.doc.getSelection();\n const el = this.content().nativeElement;\n if (selection?.rangeCount && el.contains(selection.anchorNode)) {\n this.savedRange = selection.getRangeAt(0).cloneRange();\n }\n }\n\n private restoreSelection(): void {\n const el = this.content().nativeElement;\n // Canlı seçim editördeyse onu kullan; değilse (araç çubuğu, panel) kayıtlıyı geri yükle\n this.captureSelection();\n el.focus({ preventScroll: true });\n if (this.savedRange && el.contains(this.savedRange.commonAncestorContainer)) {\n const selection = this.doc.getSelection();\n selection?.removeAllRanges();\n selection?.addRange(this.savedRange);\n }\n }\n\n /**\n * Tarayıcılar komutlarda (yapıştırma, satır birleştirme) çevredeki stili satır içi\n * `style` olarak ekler. Yalnızca paletteki renkleri koru, gerisini sil; böylece\n * örneğin tarayıcının eklediği koyu metin rengi koyu temada okunmaz hale gelmez.\n * Öznitelik değiştirmek düğümleri taşımadığı için imleç yerinde kalır.\n */\n private cleanInlineStyles(): void {\n const text = this.allowedText();\n const highlight = this.allowedHighlight();\n this.content()\n .nativeElement.querySelectorAll<HTMLElement>('[style]')\n .forEach((el) => {\n const keep: string[] = [];\n if (el.tagName === 'SPAN') {\n const color = el.style.color;\n const background = el.style.backgroundColor;\n if (color && text.has(this.normalizeColor(color))) keep.push(`color: ${color}`);\n if (background && highlight.has(this.normalizeColor(background))) keep.push(`background-color: ${background}`);\n }\n if (keep.length) el.setAttribute('style', keep.join('; '));\n else el.removeAttribute('style');\n });\n }\n\n /** Renk değerini tarayıcının kullandığı tek biçime çevirir (karşılaştırma için). */\n private normalizeColor(value: string): string {\n const probe = this.doc.createElement('span');\n probe.style.color = value;\n return probe.style.color.replace(/\\s+/g, '');\n }\n\n private insertTransfer(data: DataTransfer): void {\n if (!this.editable()) return;\n const image = Array.from(data.files ?? []).find((f) => f.type.startsWith('image/'));\n if (image) {\n void this.uploadImage(image);\n return;\n }\n const html = data.getData('text/html');\n const clean = html ? huSanitizeHtml(html, this.doc) : textToHtml(data.getData('text/plain'));\n if (clean) this.command('insertHTML', clean);\n this.emit();\n }\n\n private emit(): void {\n this.cleanInlineStyles();\n const html = this.serialize();\n this.updateDerived();\n this.updateState();\n if (html === this.lastEmitted) return;\n this.lastEmitted = html;\n this.value.set(html);\n this.onChange(html);\n }\n\n private applyExternal(value: string): void {\n if (value === this.lastEmitted) return;\n const clean = huSanitizeHtml(value ?? '', this.doc);\n this.content().nativeElement.innerHTML = clean;\n this.cleanInlineStyles();\n this.lastEmitted = this.serialize();\n this.updateDerived();\n }\n\n /** İçeriği temiz HTML'e çevirir; görünür içerik yoksa `''`. */\n private serialize(): string {\n const el = this.content().nativeElement;\n const text = el.textContent?.trim() ?? '';\n if (!text && !el.querySelector('li, img')) return '';\n return huSanitizeHtml(el.innerHTML, this.doc);\n }\n\n private updateDerived(): void {\n const el = this.content().nativeElement;\n const text = el.textContent ?? '';\n this.isEmpty.set(!text.trim() && !el.querySelector('li, img'));\n this.counts.set({ chars: text.length, words: text.trim() ? text.trim().split(/\\s+/).length : 0 });\n }\n\n private updateState(): void {\n const state = (cmd: string) => {\n try {\n return this.doc.queryCommandState(cmd);\n } catch {\n return false;\n }\n };\n const active = new Set<ToggleTool>();\n if (state('bold')) active.add('bold');\n if (state('italic')) active.add('italic');\n if (state('underline')) active.add('underline');\n if (state('strikeThrough')) active.add('strike');\n if (state('insertUnorderedList')) active.add('bulletList');\n if (state('insertOrderedList')) active.add('orderedList');\n\n let block: HuEditorBlock = 'p';\n let node: Node | null = this.doc.getSelection()?.anchorNode ?? null;\n const root = this.content().nativeElement;\n while (node && node !== root) {\n if (node instanceof HTMLElement) {\n const tag = node.tagName;\n if (tag === 'BLOCKQUOTE') active.add('blockquote');\n if (tag === 'PRE') active.add('codeBlock');\n if (tag === 'A') active.add('link');\n if ((tag === 'H1' || tag === 'H2' || tag === 'H3') && block === 'p') block = tag.toLowerCase() as HuEditorBlock;\n }\n node = node.parentNode;\n }\n this.active.set(active);\n this.block.set(block);\n }\n\n private selectionAnchor(): HTMLAnchorElement | null {\n let node: Node | null = this.savedRange?.commonAncestorContainer ?? null;\n const root = this.content().nativeElement;\n while (node && node !== root) {\n if (node instanceof HTMLAnchorElement) return node;\n node = node.parentNode;\n }\n return null;\n }\n\n private resolveControl(): NgControl | null {\n if (this.ngControl === undefined) {\n this.ngControl = this.injector.get(NgControl, null, { self: true, optional: true });\n }\n return this.ngControl;\n }\n}\n\nfunction escapeHtml(text: string): string {\n return text.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/\"/g, '"');\n}\n\n/** Düz metni paragraflara çevirir: boş satır → yeni paragraf, tek satır sonu → <br>. */\nfunction textToHtml(text: string): string {\n if (!text) return '';\n return text\n .replace(/\\r\\n?/g, '\\n')\n .split(/\\n{2,}/)\n .map((p) => `<p>${escapeHtml(p).replace(/\\n/g, '<br>')}</p>`)\n .join('');\n}\n\nfunction readAsDataUrl(file: File): Promise<string> {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = () => resolve(String(reader.result));\n reader.onerror = () => reject(reader.error);\n reader.readAsDataURL(file);\n });\n}\n","@if (!readonly()) {\n <div class=\"hu-editor__toolbar\" role=\"toolbar\" aria-label=\"Biçimlendirme\" [attr.aria-controls]=\"id()\">\n @for (tool of toolbar(); track $index) {\n @if (tool === '|') {\n <span class=\"hu-editor__sep\" role=\"separator\"></span>\n } @else if (tool === 'heading') {\n <select\n class=\"hu-input hu-editor__block\"\n data-size=\"sm\"\n aria-label=\"Paragraf biçimi\"\n [disabled]=\"!editable()\"\n (change)=\"setBlock($any($event.target).value)\"\n >\n @for (b of blocks; track b.value) {\n <option [value]=\"b.value\" [selected]=\"b.value === block()\">{{ b.label }}</option>\n }\n </select>\n } @else {\n @let b = buttons[tool];\n <button\n type=\"button\"\n class=\"hu-editor__btn\"\n [class.hu-editor__btn--active]=\"active().has(tool) || panel() === tool\"\n [attr.aria-pressed]=\"isToggle(tool) ? active().has(tool) : null\"\n [attr.aria-expanded]=\"isPanelTool(tool) ? panel() === tool : null\"\n [attr.aria-label]=\"b.label\"\n [attr.title]=\"b.shortcut ? b.label + ' (' + b.shortcut + ')' : b.label\"\n [disabled]=\"!editable()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"run(tool)\"\n >\n <hu-icon [name]=\"b.icon\" [size]=\"16\" />\n @if (tool === 'textColor') {\n <span class=\"hu-editor__btn-swatch\" [style.background]=\"lastTextColor() ?? 'currentColor'\"></span>\n } @else if (tool === 'highlight') {\n <span class=\"hu-editor__btn-swatch\" [style.background]=\"lastHighlight() ?? 'transparent'\"></span>\n }\n </button>\n }\n }\n </div>\n}\n\n@switch (panel()) {\n @case ('link') {\n <div class=\"hu-editor__panel\" (keydown.escape)=\"$event.stopPropagation(); closePanel()\">\n <hu-icon class=\"hu-editor__panel-icon\" name=\"link\" [size]=\"14\" />\n <input\n #panelInput\n class=\"hu-input\"\n data-size=\"sm\"\n type=\"text\"\n inputmode=\"url\"\n placeholder=\"https://ornek.com\"\n aria-label=\"Link adresi\"\n [class.hu-input--invalid]=\"!!panelError()\"\n [attr.aria-invalid]=\"!!panelError() || null\"\n [value]=\"linkUrl()\"\n (input)=\"linkUrl.set($any($event.target).value); panelError.set('')\"\n (keydown.enter)=\"$event.preventDefault(); applyLink()\"\n />\n <button hu-button size=\"sm\" type=\"button\" (click)=\"applyLink()\">Uygula</button>\n @if (hasLink()) {\n <button hu-button size=\"sm\" variant=\"ghost\" color=\"danger\" type=\"button\" (click)=\"removeLink()\">\n <hu-icon name=\"unlink\" [size]=\"14\" /> Kaldır\n </button>\n }\n <ng-container *ngTemplateOutlet=\"closeBtn\" />\n </div>\n }\n @case ('image') {\n <div class=\"hu-editor__panel\" (keydown.escape)=\"$event.stopPropagation(); closePanel()\">\n <hu-icon class=\"hu-editor__panel-icon\" name=\"image\" [size]=\"14\" />\n <input\n #panelInput\n class=\"hu-input hu-editor__panel-grow\"\n data-size=\"sm\"\n type=\"text\"\n inputmode=\"url\"\n placeholder=\"Görsel adresi (https://…)\"\n aria-label=\"Görsel adresi\"\n [class.hu-input--invalid]=\"!!panelError()\"\n [value]=\"imageUrl()\"\n [disabled]=\"uploading()\"\n (input)=\"imageUrl.set($any($event.target).value); panelError.set('')\"\n (keydown.enter)=\"$event.preventDefault(); insertImageFromUrl()\"\n />\n <input\n class=\"hu-input hu-editor__panel-alt\"\n data-size=\"sm\"\n type=\"text\"\n placeholder=\"Açıklama (alt)\"\n aria-label=\"Görsel açıklaması\"\n [value]=\"imageAlt()\"\n [disabled]=\"uploading()\"\n (input)=\"imageAlt.set($any($event.target).value)\"\n (keydown.enter)=\"$event.preventDefault(); insertImageFromUrl()\"\n />\n <button hu-button size=\"sm\" type=\"button\" [disabled]=\"uploading() || !imageUrl().trim()\" (click)=\"insertImageFromUrl()\">\n Ekle\n </button>\n <button hu-button size=\"sm\" variant=\"outline\" type=\"button\" [disabled]=\"uploading()\" (click)=\"chooseFile()\">\n @if (uploading()) {\n <hu-spinner size=\"sm\" /> Yükleniyor…\n } @else {\n <hu-icon name=\"upload\" [size]=\"14\" /> Dosya seç\n }\n </button>\n <ng-container *ngTemplateOutlet=\"closeBtn\" />\n </div>\n }\n @case ('textColor') {\n <ng-container *ngTemplateOutlet=\"colors; context: { kind: 'textColor', list: textColors(), label: 'Yazı rengi' }\" />\n }\n @case ('highlight') {\n <ng-container *ngTemplateOutlet=\"colors; context: { kind: 'highlight', list: highlightColors(), label: 'Vurgu rengi' }\" />\n }\n}\n@if (panel() && panelError()) {\n <div class=\"hu-editor__panel-error\" role=\"alert\">{{ panelError() }}</div>\n}\n\n<ng-template #colors let-kind=\"kind\" let-list=\"list\" let-label=\"label\">\n <div\n class=\"hu-editor__panel\"\n role=\"group\"\n [attr.aria-label]=\"label\"\n (keydown.escape)=\"$event.stopPropagation(); closePanel()\"\n >\n <span class=\"hu-editor__panel-label\">{{ label }}</span>\n <div class=\"hu-editor__swatches\">\n @for (c of list; track c.value) {\n <button\n type=\"button\"\n class=\"hu-editor__swatch\"\n [class.hu-editor__swatch--text]=\"kind === 'textColor'\"\n [style.--hu-swatch]=\"c.value\"\n [attr.aria-label]=\"c.label\"\n [attr.title]=\"c.label\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"applyColor(kind, c.value)\"\n >\n @if (kind === 'textColor') {\n A\n }\n </button>\n }\n </div>\n <button\n hu-button\n size=\"sm\"\n variant=\"ghost\"\n type=\"button\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"applyColor(kind, null)\"\n >\n <hu-icon name=\"eraser\" [size]=\"14\" /> Rengi kaldır\n </button>\n <ng-container *ngTemplateOutlet=\"closeBtn\" />\n </div>\n</ng-template>\n\n<ng-template #closeBtn>\n <button hu-button size=\"sm\" variant=\"ghost\" iconOnly type=\"button\" aria-label=\"Kapat\" class=\"hu-editor__panel-close\" (click)=\"closePanel()\">\n <hu-icon name=\"x\" [size]=\"14\" />\n </button>\n</ng-template>\n\n<input #fileInput type=\"file\" accept=\"image/png,image/jpeg,image/gif,image/webp\" hidden (change)=\"onFileChosen($event)\" />\n\n<!-- İçerik Angular tarafından değil, editör tarafından yönetilir (innerHTML) -->\n<div\n #content\n class=\"hu-editor__content\"\n role=\"textbox\"\n aria-multiline=\"true\"\n spellcheck=\"true\"\n [id]=\"id()\"\n [attr.contenteditable]=\"editable() ? 'true' : 'false'\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-describedby]=\"field?.describedBy() ?? null\"\n [attr.aria-invalid]=\"isInvalid() || null\"\n [attr.aria-readonly]=\"readonly() || null\"\n [attr.aria-disabled]=\"isDisabled() || null\"\n [attr.data-placeholder]=\"placeholder()\"\n [attr.data-empty]=\"isEmpty()\"\n (input)=\"onInput()\"\n (focus)=\"onFocus()\"\n (keydown)=\"onKeydown($event)\"\n (click)=\"onContentClick($event)\"\n (paste)=\"onPaste($event)\"\n (drop)=\"onDrop($event)\"\n></div>\n\n@if (showCount()) {\n <div class=\"hu-editor__footer\" aria-live=\"polite\">{{ counts().words }} kelime · {{ counts().chars }} karakter</div>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\n\nexport type HuStatusVariant = 'info' | 'success' | 'warning' | 'danger';\n\nexport const HU_STATUS_ICONS: Record<HuStatusVariant, string> = {\n info: 'info',\n success: 'check-circle',\n warning: 'alert-triangle',\n danger: 'alert-circle',\n};\n\n/**\n * Sayfa içi bilgi / uyarı mesajı.\n * @example <hu-alert variant=\"warning\" title=\"Dikkat\">Dönem kayıtları 5 gün içinde kapanacak.</hu-alert>\n */\n@Component({\n selector: 'hu-alert',\n imports: [HuIcon],\n template: `\n <hu-icon class=\"hu-alert__icon\" [name]=\"icon()\" [size]=\"18\" />\n <div class=\"hu-alert__content\">\n @if (title()) {\n <p class=\"hu-alert__title\">{{ title() }}</p>\n }\n <div class=\"hu-alert__body\"><ng-content /></div>\n </div>\n @if (dismissible()) {\n <button type=\"button\" class=\"hu-alert__close\" aria-label=\"Kapat\" (click)=\"dismiss()\">\n <hu-icon name=\"x\" [size]=\"16\" />\n </button>\n }\n `,\n styles: `\n .hu-alert {\n display: flex;\n align-items: flex-start;\n gap: var(--hu-space-3);\n padding: var(--hu-space-3) var(--hu-space-4);\n font-size: var(--hu-text-sm);\n color: var(--_fg);\n background: var(--_bg);\n border: 1px solid color-mix(in srgb, var(--_accent) 25%, transparent);\n border-radius: var(--hu-radius-lg);\n }\n .hu-alert[hidden] { display: none; }\n .hu-alert[data-variant='info'] { --_bg: var(--hu-info-soft); --_fg: var(--hu-info-fg); --_accent: var(--hu-info); }\n .hu-alert[data-variant='success'] { --_bg: var(--hu-success-soft); --_fg: var(--hu-success-fg); --_accent: var(--hu-success); }\n .hu-alert[data-variant='warning'] { --_bg: var(--hu-warning-soft); --_fg: var(--hu-warning-fg); --_accent: var(--hu-warning); }\n .hu-alert[data-variant='danger'] { --_bg: var(--hu-danger-soft); --_fg: var(--hu-danger-fg); --_accent: var(--hu-danger); }\n .hu-alert__icon { margin-top: 1px; color: var(--_accent); }\n .hu-alert__content { flex: 1; min-width: 0; }\n .hu-alert__title { margin-bottom: 2px; font-weight: 600; }\n .hu-alert__close {\n display: inline-flex;\n margin: -2px -6px 0 0;\n padding: 4px;\n color: inherit;\n background: none;\n border: 0;\n border-radius: var(--hu-radius-sm);\n opacity: 0.7;\n cursor: pointer;\n }\n .hu-alert__close:hover { opacity: 1; background: color-mix(in srgb, var(--_accent) 12%, transparent); }\n `,\n host: {\n class: 'hu-alert',\n '[attr.data-variant]': 'variant()',\n '[attr.role]': 'variant() === \"danger\" || variant() === \"warning\" ? \"alert\" : \"status\"',\n '[attr.hidden]': 'dismissed() ? \"\" : null',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuAlert {\n readonly variant = input<HuStatusVariant>('info');\n readonly title = input<string>();\n readonly dismissible = input(false, { transform: booleanAttribute });\n readonly dismissed = signal(false);\n readonly closed = output<void>();\n\n protected readonly icon = computed(() => HU_STATUS_ICONS[this.variant()]);\n\n dismiss(): void {\n this.dismissed.set(true);\n this.closed.emit();\n }\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, booleanAttribute, input } from '@angular/core';\n\nexport type HuBadgeVariant = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'danger';\n\n/**\n * Durum etiketi.\n * @example <hu-badge variant=\"success\" dot>Aktif</hu-badge>\n */\n@Component({\n selector: 'hu-badge',\n template: `\n @if (dot()) {\n <span class=\"hu-badge__dot\" aria-hidden=\"true\"></span>\n }\n <ng-content />\n `,\n styles: `\n .hu-badge {\n --_bg: var(--hu-surface-3);\n --_fg: var(--hu-text-muted);\n --_dot: var(--hu-text-subtle);\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n height: 1.375rem;\n padding: 0 0.5rem;\n font-size: var(--hu-text-xs);\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n color: var(--_fg);\n background: var(--_bg);\n border-radius: var(--hu-radius-full);\n }\n .hu-badge[data-variant='primary'] { --_bg: var(--hu-primary-soft); --_fg: var(--hu-primary-soft-fg); --_dot: var(--hu-primary); }\n .hu-badge[data-variant='info'] { --_bg: var(--hu-info-soft); --_fg: var(--hu-info-fg); --_dot: var(--hu-info); }\n .hu-badge[data-variant='success'] { --_bg: var(--hu-success-soft); --_fg: var(--hu-success-fg); --_dot: var(--hu-success); }\n .hu-badge[data-variant='warning'] { --_bg: var(--hu-warning-soft); --_fg: var(--hu-warning-fg); --_dot: var(--hu-warning); }\n .hu-badge[data-variant='danger'] { --_bg: var(--hu-danger-soft); --_fg: var(--hu-danger-fg); --_dot: var(--hu-danger); }\n .hu-badge__dot { width: 6px; height: 6px; background: var(--_dot); border-radius: 50%; }\n `,\n host: { class: 'hu-badge', '[attr.data-variant]': 'variant()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuBadge {\n readonly variant = input<HuBadgeVariant>('neutral');\n readonly dot = input(false, { transform: booleanAttribute });\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input, signal } from '@angular/core';\n\nexport type HuAvatarSize = 'sm' | 'md' | 'lg';\n\n/**\n * Kullanıcı avatarı. Görsel yoksa veya yüklenemezse baş harfleri gösterir.\n * @example <hu-avatar name=\"Ayşe Yılmaz\" /> <hu-avatar name=\"Ali Can\" [src]=\"user.photo\" size=\"lg\" />\n */\n@Component({\n selector: 'hu-avatar',\n template: `\n @if (src() && !failed()) {\n <img class=\"hu-avatar__img\" [src]=\"src()\" [alt]=\"name()\" (error)=\"failed.set(true)\" />\n } @else {\n <span aria-hidden=\"true\">{{ initials() }}</span>\n }\n `,\n styles: `\n .hu-avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 2rem;\n height: 2rem;\n overflow: hidden;\n font-size: 0.75rem;\n font-weight: 600;\n color: var(--hu-primary-soft-fg);\n background: var(--hu-primary-soft);\n border-radius: 50%;\n user-select: none;\n }\n .hu-avatar[data-size='sm'] { width: 1.5rem; height: 1.5rem; font-size: 0.625rem; }\n .hu-avatar[data-size='lg'] { width: 2.75rem; height: 2.75rem; font-size: 0.9375rem; }\n .hu-avatar__img { width: 100%; height: 100%; object-fit: cover; }\n `,\n host: {\n class: 'hu-avatar',\n role: 'img',\n '[attr.aria-label]': 'name()',\n '[attr.data-size]': 'size()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuAvatar {\n readonly name = input('');\n readonly src = input<string | null>();\n readonly size = input<HuAvatarSize>('md');\n\n protected readonly failed = signal(false);\n protected readonly initials = computed(() => {\n const parts = this.name().trim().split(/\\s+/).filter(Boolean);\n if (!parts.length) return '?';\n const first = parts[0][0];\n const last = parts.length > 1 ? parts[parts.length - 1][0] : '';\n return (first + last).toLocaleUpperCase('tr-TR');\n });\n}\n","import { Injectable, signal } from '@angular/core';\nimport { HuStatusVariant } from '../alert/alert.component';\n\nexport interface HuToastOptions {\n message: string;\n title?: string;\n variant?: HuStatusVariant;\n /** Milisaniye. 0 verilirse kullanıcı kapatana kadar kalır. */\n duration?: number;\n}\n\nexport interface HuToast extends Required<Omit<HuToastOptions, 'title'>> {\n id: number;\n title?: string;\n}\n\n/**\n * Geçici bildirimler. Uygulamada bir kez `<hu-toaster />` yerleştirilmelidir.\n * @example inject(HuToastService).success('Kayıt güncellendi.');\n */\n@Injectable({ providedIn: 'root' })\nexport class HuToastService {\n private nextId = 1;\n private readonly timers = new Map<number, ReturnType<typeof setTimeout>>();\n private readonly _toasts = signal<HuToast[]>([]);\n readonly toasts = this._toasts.asReadonly();\n\n show(options: HuToastOptions): number {\n const toast: HuToast = { id: this.nextId++, variant: 'info', duration: 5000, ...options };\n this._toasts.update((list) => [...list, toast].slice(-5));\n if (toast.duration > 0) {\n this.timers.set(toast.id, setTimeout(() => this.dismiss(toast.id), toast.duration));\n }\n return toast.id;\n }\n\n info(message: string, title?: string): number {\n return this.show({ message, title, variant: 'info' });\n }\n success(message: string, title?: string): number {\n return this.show({ message, title, variant: 'success' });\n }\n warning(message: string, title?: string): number {\n return this.show({ message, title, variant: 'warning' });\n }\n error(message: string, title?: string): number {\n return this.show({ message, title, variant: 'danger', duration: 8000 });\n }\n\n dismiss(id: number): void {\n clearTimeout(this.timers.get(id));\n this.timers.delete(id);\n this._toasts.update((list) => list.filter((t) => t.id !== id));\n }\n\n clear(): void {\n this.timers.forEach((t) => clearTimeout(t));\n this.timers.clear();\n this._toasts.set([]);\n }\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, inject, input } from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { HU_STATUS_ICONS } from '../alert/alert.component';\nimport { HuToastService } from './toast.service';\n\nexport type HuToasterPosition = 'top-right' | 'top-center' | 'bottom-right' | 'bottom-center';\n\n/** Toast'ların gösterildiği alan. Kök componentte bir kez kullanın: `<hu-toaster />` */\n@Component({\n selector: 'hu-toaster',\n imports: [HuIcon],\n template: `\n @for (toast of service.toasts(); track toast.id) {\n <div class=\"hu-toast\" [attr.data-variant]=\"toast.variant\" [attr.role]=\"toast.variant === 'danger' ? 'alert' : 'status'\">\n <hu-icon class=\"hu-toast__icon\" [name]=\"icons[toast.variant]\" [size]=\"18\" />\n <div class=\"hu-toast__content\">\n @if (toast.title) {\n <p class=\"hu-toast__title\">{{ toast.title }}</p>\n }\n <p class=\"hu-toast__message\">{{ toast.message }}</p>\n </div>\n <button type=\"button\" class=\"hu-toast__close\" aria-label=\"Bildirimi kapat\" (click)=\"service.dismiss(toast.id)\">\n <hu-icon name=\"x\" [size]=\"16\" />\n </button>\n </div>\n }\n `,\n styles: `\n .hu-toaster {\n position: fixed;\n z-index: 1100;\n display: flex;\n flex-direction: column;\n gap: var(--hu-space-2);\n width: min(380px, calc(100vw - 2rem));\n pointer-events: none;\n }\n .hu-toaster[data-position^='top'] { top: var(--hu-space-4); }\n .hu-toaster[data-position^='bottom'] { bottom: var(--hu-space-4); flex-direction: column-reverse; }\n .hu-toaster[data-position$='right'] { right: var(--hu-space-4); }\n .hu-toaster[data-position$='center'] { left: 50%; transform: translateX(-50%); }\n .hu-toast {\n display: flex;\n align-items: flex-start;\n gap: var(--hu-space-3);\n padding: var(--hu-space-3) var(--hu-space-4);\n background: var(--hu-surface);\n border: 1px solid var(--hu-border);\n border-left: 3px solid var(--_accent);\n border-radius: var(--hu-radius-lg);\n box-shadow: var(--hu-shadow-lg);\n pointer-events: auto;\n animation: hu-toast-in 200ms cubic-bezier(0.2, 0.9, 0.3, 1.2);\n }\n .hu-toast[data-variant='info'] { --_accent: var(--hu-info); }\n .hu-toast[data-variant='success'] { --_accent: var(--hu-success); }\n .hu-toast[data-variant='warning'] { --_accent: var(--hu-warning); }\n .hu-toast[data-variant='danger'] { --_accent: var(--hu-danger); }\n .hu-toast__icon { margin-top: 1px; color: var(--_accent); }\n .hu-toast__content { flex: 1; min-width: 0; }\n .hu-toast__title { font-weight: 600; }\n .hu-toast__message { color: var(--hu-text-muted); }\n .hu-toast__close {\n display: inline-flex;\n margin: -2px -6px 0 0;\n padding: 4px;\n color: var(--hu-text-subtle);\n background: none;\n border: 0;\n border-radius: var(--hu-radius-sm);\n cursor: pointer;\n }\n .hu-toast__close:hover { color: var(--hu-text); background: var(--hu-surface-3); }\n @keyframes hu-toast-in {\n from { opacity: 0; transform: translateY(-8px) scale(0.98); }\n }\n `,\n host: {\n class: 'hu-toaster',\n '[attr.data-position]': 'position()',\n 'aria-live': 'polite',\n role: 'region',\n 'aria-label': 'Bildirimler',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuToaster {\n protected readonly service = inject(HuToastService);\n protected readonly icons = HU_STATUS_ICONS;\n readonly position = input<HuToasterPosition>('top-right');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n effect,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\n\nexport type HuDialogSize = 'sm' | 'md' | 'lg' | 'xl';\n\n/** Dialog alt kısmındaki aksiyon alanı. */\n@Directive({ selector: '[huDialogFooter]', host: { class: 'hu-dialog__footer' } })\nexport class HuDialogFooter {}\n\n/**\n * Modal pencere. Native `<dialog>` elementini kullanır; odak hapsi, Esc ile\n * kapanma ve üst katman (top layer) tarayıcıdan gelir.\n *\n * @example\n * <hu-dialog [(open)]=\"editOpen\" title=\"Kullanıcıyı düzenle\">\n * ...form...\n * <div huDialogFooter>\n * <button hu-button variant=\"outline\" (click)=\"editOpen.set(false)\">Vazgeç</button>\n * <button hu-button (click)=\"save()\">Kaydet</button>\n * </div>\n * </hu-dialog>\n */\n@Component({\n selector: 'hu-dialog',\n imports: [HuIcon],\n template: `\n <dialog\n #dialog\n class=\"hu-dialog\"\n [attr.data-size]=\"size()\"\n [attr.aria-labelledby]=\"titleId\"\n (close)=\"onNativeClose()\"\n (cancel)=\"onCancel($event)\"\n (mousedown)=\"pointerDownOnBackdrop = $event.target === dialog\"\n (click)=\"onClick($event)\"\n >\n <div class=\"hu-dialog__panel\">\n <header class=\"hu-dialog__header\">\n <div>\n <h2 class=\"hu-dialog__title\" [id]=\"titleId\">{{ title() }}</h2>\n @if (description()) {\n <p class=\"hu-dialog__description\">{{ description() }}</p>\n }\n </div>\n <button type=\"button\" class=\"hu-dialog__close\" aria-label=\"Kapat\" (click)=\"close()\">\n <hu-icon name=\"x\" [size]=\"18\" />\n </button>\n </header>\n <div class=\"hu-dialog__body\"><ng-content /></div>\n <ng-content select=\"[huDialogFooter]\" />\n </div>\n </dialog>\n `,\n styleUrl: './dialog.component.scss',\n host: { class: 'hu-dialog-host' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuDialog {\n readonly open = model(false);\n readonly title = input('');\n readonly description = input<string>();\n readonly size = input<HuDialogSize>('md');\n readonly closeOnBackdrop = input(true, { transform: booleanAttribute });\n readonly closeOnEsc = input(true, { transform: booleanAttribute });\n readonly closed = output<void>();\n\n protected readonly titleId = huUniqueId('hu-dialog-title');\n protected pointerDownOnBackdrop = false;\n private readonly dialogRef = viewChild.required<ElementRef<HTMLDialogElement>>('dialog');\n\n constructor() {\n effect(() => {\n const el = this.dialogRef().nativeElement;\n if (this.open() && !el.open) el.showModal();\n else if (!this.open() && el.open) el.close();\n });\n }\n\n close(): void {\n this.open.set(false);\n }\n\n protected onNativeClose(): void {\n if (this.open()) this.open.set(false);\n this.closed.emit();\n }\n\n protected onCancel(event: Event): void {\n if (!this.closeOnEsc()) event.preventDefault();\n }\n\n protected onClick(event: MouseEvent): void {\n // Yalnızca basma ve bırakma ikisi de backdrop üzerindeyse kapat (metin seçerken kapanmasın).\n if (this.closeOnBackdrop() && this.pointerDownOnBackdrop && event.target === this.dialogRef().nativeElement) {\n this.close();\n }\n this.pointerDownOnBackdrop = false;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n computed,\n contentChild,\n input,\n} from '@angular/core';\n\n/** Kart başlığının sağındaki aksiyonlar. */\n@Directive({ selector: '[huCardActions]', host: { class: 'hu-card__actions' } })\nexport class HuCardActions {}\n\n/** Kart alt bilgisi. */\n@Directive({ selector: '[huCardFooter]', host: { class: 'hu-card__footer' } })\nexport class HuCardFooter {}\n\nexport type HuCardPadding = 'none' | 'sm' | 'md';\n\n/**\n * İçerik kartı.\n * @example\n * <hu-card title=\"Son başvurular\" subtitle=\"Son 7 gün\">\n * <button huCardActions hu-button variant=\"ghost\" size=\"sm\">Tümü</button>\n * ...\n * <div huCardFooter>...</div>\n * </hu-card>\n */\n@Component({\n selector: 'hu-card',\n template: `\n <div class=\"hu-card__header\" [hidden]=\"!hasHeader()\">\n <div class=\"hu-card__heading\">\n @if (title()) {\n <h3 class=\"hu-card__title\">{{ title() }}</h3>\n }\n @if (subtitle()) {\n <p class=\"hu-card__subtitle\">{{ subtitle() }}</p>\n }\n </div>\n <ng-content select=\"[huCardActions]\" />\n </div>\n <div class=\"hu-card__body\">\n <ng-content />\n </div>\n <ng-content select=\"[huCardFooter]\" />\n `,\n styles: `\n .hu-card {\n display: flex;\n flex-direction: column;\n min-width: 0;\n background: var(--hu-surface);\n border: 1px solid var(--hu-border);\n border-radius: var(--hu-radius-lg);\n box-shadow: var(--hu-shadow-sm);\n }\n .hu-card__header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--hu-space-3);\n padding: var(--hu-space-4) var(--hu-space-5);\n border-bottom: 1px solid var(--hu-border);\n }\n .hu-card__header[hidden] { display: none; }\n .hu-card__heading { min-width: 0; }\n .hu-card__title { font-size: 0.9375rem; font-weight: 600; }\n .hu-card__subtitle { margin-top: 2px; font-size: var(--hu-text-xs); color: var(--hu-text-muted); }\n .hu-card__actions { display: flex; align-items: center; gap: var(--hu-space-2); flex-shrink: 0; }\n .hu-card__body { flex: 1; padding: var(--hu-space-5); }\n .hu-card[data-padding='sm'] .hu-card__body { padding: var(--hu-space-3); }\n .hu-card[data-padding='none'] .hu-card__body { padding: 0; }\n .hu-card__footer {\n display: flex;\n align-items: center;\n gap: var(--hu-space-2);\n padding: var(--hu-space-3) var(--hu-space-5);\n border-top: 1px solid var(--hu-border);\n }\n `,\n host: { class: 'hu-card', '[attr.data-padding]': 'padding()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuCard {\n readonly title = input<string>();\n readonly subtitle = input<string>();\n readonly padding = input<HuCardPadding>('md');\n\n private readonly actions = contentChild(HuCardActions);\n protected readonly hasHeader = computed(() => !!(this.title() || this.subtitle() || this.actions()));\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChildren,\n inject,\n input,\n model,\n output,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuSpinner } from '../spinner/spinner.component';\nimport { HuColumn, HuSort } from './table.types';\n\nexport interface HuCellContext<T = any> {\n $implicit: T;\n index: number;\n}\n\n/**\n * Bir sütun için özel hücre şablonu. `huCellOf` ile tabloya verilen veriyi\n * bağlarsanız `let-row` değişkeni tip güvenli olur.\n * @example <ng-template huCell=\"status\" [huCellOf]=\"users()\" let-row><hu-badge>{{ row.status }}</hu-badge></ng-template>\n */\n@Directive({ selector: 'ng-template[huCell]' })\nexport class HuCellDef<T = any> {\n readonly key = input.required<string>({ alias: 'huCell' });\n /** Yalnızca tip çıkarımı içindir; çalışma zamanında kullanılmaz. */\n readonly of = input<readonly T[]>(undefined, { alias: 'huCellOf' });\n readonly template = inject<TemplateRef<HuCellContext<T>>>(TemplateRef);\n\n static ngTemplateContextGuard<T>(_dir: HuCellDef<T>, ctx: unknown): ctx is HuCellContext<T> {\n return true;\n }\n}\n\nconst collator = new Intl.Collator('tr-TR', { numeric: true, sensitivity: 'base' });\n\nfunction compareValues(a: unknown, b: unknown): number {\n if (a == null && b == null) return 0;\n if (a == null) return 1;\n if (b == null) return -1;\n if (typeof a === 'number' && typeof b === 'number') return a - b;\n if (a instanceof Date && b instanceof Date) return a.getTime() - b.getTime();\n return collator.compare(String(a), String(b));\n}\n\n/**\n * Veri tablosu: sıralama, özel hücre şablonları, yükleniyor ve boş durumları.\n * Sayfalama için `hu-paginator` ile birlikte kullanın.\n *\n * @example\n * <hu-table [data]=\"users()\" [columns]=\"columns\" [(sort)]=\"sort\">\n * <ng-template huCell=\"status\" let-user>\n * <hu-badge [variant]=\"user.active ? 'success' : 'neutral'\">{{ user.active ? 'Aktif' : 'Pasif' }}</hu-badge>\n * </ng-template>\n * </hu-table>\n */\n@Component({\n selector: 'hu-table',\n imports: [NgTemplateOutlet, HuIcon, HuSpinner],\n templateUrl: './table.component.html',\n styleUrl: './table.component.scss',\n host: {\n class: 'hu-table',\n '[class.hu-table--striped]': 'striped()',\n '[class.hu-table--dense]': 'dense()',\n '[class.hu-table--sticky]': 'stickyHeader()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuTable<T = any> {\n readonly data = input<readonly T[]>([]);\n readonly columns = input.required<HuColumn<T>[]>();\n readonly loading = input(false, { transform: booleanAttribute });\n readonly emptyText = input('Kayıt bulunamadı.');\n /** `client`: tablo kendisi sıralar. `server`: yalnızca `sort` değişir, veriyi siz getirirsiniz. */\n readonly sortMode = input<'client' | 'server'>('client');\n readonly sort = model<HuSort>({ key: '', direction: '' });\n readonly trackBy = input<(row: T) => unknown>((row: T) => row);\n readonly striped = input(false, { transform: booleanAttribute });\n readonly dense = input(false, { transform: booleanAttribute });\n readonly stickyHeader = input(false, { transform: booleanAttribute });\n readonly clickableRows = input(false, { transform: booleanAttribute });\n readonly rowClick = output<T>();\n\n private readonly cellDefs = contentChildren(HuCellDef);\n protected readonly templates = computed(() => new Map(this.cellDefs().map((d) => [d.key(), d.template])));\n\n protected readonly rows = computed(() => {\n const data = this.data();\n const { key, direction } = this.sort();\n if (this.sortMode() === 'server' || !key || !direction) return data;\n const column = this.columns().find((c) => c.key === key);\n if (!column) return data;\n const factor = direction === 'asc' ? 1 : -1;\n return [...data].sort((a, b) => compareValues(this.cellValue(a, column), this.cellValue(b, column)) * factor);\n });\n\n protected cellValue(row: T, column: HuColumn<T>): unknown {\n return column.value ? column.value(row) : (row as Record<string, unknown>)[column.key];\n }\n\n protected toggleSort(column: HuColumn<T>): void {\n const current = this.sort();\n if (current.key !== column.key || !current.direction) {\n this.sort.set({ key: column.key, direction: 'asc' });\n } else if (current.direction === 'asc') {\n this.sort.set({ key: column.key, direction: 'desc' });\n } else {\n this.sort.set({ key: '', direction: '' });\n }\n }\n\n protected sortIcon(column: HuColumn<T>): string {\n const { key, direction } = this.sort();\n if (key !== column.key || !direction) return 'chevrons-up-down';\n return direction === 'asc' ? 'arrow-up' : 'arrow-down';\n }\n\n protected ariaSort(column: HuColumn<T>): string | null {\n if (!column.sortable) return null;\n const { key, direction } = this.sort();\n if (key !== column.key || !direction) return 'none';\n return direction === 'asc' ? 'ascending' : 'descending';\n }\n\n protected onRowClick(row: T): void {\n if (this.clickableRows()) this.rowClick.emit(row);\n }\n}\n","<div class=\"hu-table__scroll\" [attr.aria-busy]=\"loading() || null\">\n <table class=\"hu-table__table\">\n <thead>\n <tr>\n @for (col of columns(); track col.key) {\n <th\n scope=\"col\"\n [style.width]=\"col.width\"\n [attr.data-align]=\"col.align\"\n [attr.aria-sort]=\"ariaSort(col)\"\n [class.hu-table__cell--hide-mobile]=\"col.hideOnMobile\"\n >\n @if (col.sortable) {\n <button type=\"button\" class=\"hu-table__sort\" [class.hu-table__sort--active]=\"sort().key === col.key && sort().direction\" (click)=\"toggleSort(col)\">\n {{ col.header }}\n <hu-icon [name]=\"sortIcon(col)\" [size]=\"14\" />\n </button>\n } @else {\n {{ col.header }}\n }\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @if (loading() && !rows().length) {\n <tr>\n <td class=\"hu-table__state\" [attr.colspan]=\"columns().length\">\n <hu-spinner />\n </td>\n </tr>\n } @else {\n @for (row of rows(); track trackBy()(row); let i = $index) {\n <tr [class.hu-table__row--clickable]=\"clickableRows()\" (click)=\"onRowClick(row)\">\n @for (col of columns(); track col.key) {\n <td [attr.data-align]=\"col.align\" [class.hu-table__cell--hide-mobile]=\"col.hideOnMobile\">\n @if (templates().get(col.key); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: row, index: i }\" />\n } @else {\n {{ cellValue(row, col) }}\n }\n </td>\n }\n </tr>\n } @empty {\n <tr>\n <td class=\"hu-table__state\" [attr.colspan]=\"columns().length\">\n <ng-content select=\"[huTableEmpty]\">{{ emptyText() }}</ng-content>\n </td>\n </tr>\n }\n }\n </tbody>\n </table>\n @if (loading() && rows().length) {\n <div class=\"hu-table__overlay\"><hu-spinner size=\"lg\" /></div>\n }\n</div>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, input, model } from '@angular/core';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuInput } from '../form-field/input.directive';\n\ntype PageItem = number | 'gap-start' | 'gap-end';\n\n/**\n * Sayfalama.\n * @example <hu-paginator [length]=\"total()\" [(pageIndex)]=\"page\" [(pageSize)]=\"size\" />\n */\n@Component({\n selector: 'hu-paginator',\n imports: [HuButton, HuIcon, HuInput],\n template: `\n <div class=\"hu-paginator__info\">\n @if (pageSizeOptions().length > 1) {\n <label class=\"hu-paginator__size\">\n <span>Sayfa başına</span>\n <select huInput size=\"sm\" [value]=\"pageSize()\" (change)=\"changePageSize($event)\">\n @for (option of pageSizeOptions(); track option) {\n <option [value]=\"option\" [selected]=\"option === pageSize()\">{{ option }}</option>\n }\n </select>\n </label>\n }\n <span class=\"hu-paginator__range\">{{ rangeLabel() }}</span>\n </div>\n\n <nav class=\"hu-paginator__pages\" aria-label=\"Sayfalama\">\n <button hu-button variant=\"ghost\" size=\"sm\" iconOnly aria-label=\"Önceki sayfa\" [disabled]=\"pageIndex() === 0\" (click)=\"goTo(pageIndex() - 1)\">\n <hu-icon name=\"chevron-left\" [size]=\"16\" />\n </button>\n @for (item of pages(); track item) {\n @if (item === 'gap-start' || item === 'gap-end') {\n <span class=\"hu-paginator__gap\" aria-hidden=\"true\">…</span>\n } @else {\n <button\n type=\"button\"\n class=\"hu-paginator__page\"\n [class.hu-paginator__page--active]=\"item === pageIndex()\"\n [attr.aria-current]=\"item === pageIndex() ? 'page' : null\"\n [attr.aria-label]=\"'Sayfa ' + (item + 1)\"\n (click)=\"goTo(item)\"\n >\n {{ item + 1 }}\n </button>\n }\n }\n <button hu-button variant=\"ghost\" size=\"sm\" iconOnly aria-label=\"Sonraki sayfa\" [disabled]=\"pageIndex() >= pageCount() - 1\" (click)=\"goTo(pageIndex() + 1)\">\n <hu-icon name=\"chevron-right\" [size]=\"16\" />\n </button>\n </nav>\n `,\n styles: `\n .hu-paginator {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: var(--hu-space-3);\n padding: var(--hu-space-3) var(--hu-space-4);\n font-size: var(--hu-text-sm);\n color: var(--hu-text-muted);\n }\n .hu-paginator__info { display: flex; align-items: center; gap: var(--hu-space-4); }\n .hu-paginator__size { display: inline-flex; align-items: center; gap: var(--hu-space-2); white-space: nowrap; }\n .hu-paginator__size .hu-input { width: auto; }\n .hu-paginator__pages { display: flex; align-items: center; gap: 2px; }\n .hu-paginator__page {\n min-width: var(--hu-control-sm);\n height: var(--hu-control-sm);\n padding: 0 var(--hu-space-2);\n font: inherit;\n font-variant-numeric: tabular-nums;\n color: var(--hu-text-muted);\n background: none;\n border: 1px solid transparent;\n border-radius: var(--hu-radius-md);\n cursor: pointer;\n }\n .hu-paginator__page:hover { color: var(--hu-text); background: var(--hu-surface-3); }\n .hu-paginator__page--active,\n .hu-paginator__page--active:hover {\n font-weight: 600;\n color: var(--hu-primary-soft-fg);\n background: var(--hu-primary-soft);\n }\n .hu-paginator__gap { padding: 0 var(--hu-space-1); }\n @media (max-width: 639.98px) {\n .hu-paginator__size { display: none; }\n }\n `,\n host: { class: 'hu-paginator' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuPaginator {\n readonly length = input.required<number>();\n readonly pageIndex = model(0);\n readonly pageSize = model(10);\n readonly pageSizeOptions = input<number[]>([10, 25, 50]);\n\n protected readonly pageCount = computed(() => Math.max(1, Math.ceil(this.length() / this.pageSize())));\n\n protected readonly rangeLabel = computed(() => {\n const total = this.length();\n if (!total) return '0 kayıt';\n const start = this.pageIndex() * this.pageSize() + 1;\n const end = Math.min(total, start + this.pageSize() - 1);\n return `${start}–${end} / ${total} kayıt`;\n });\n\n /** Mevcut sayfanın etrafında en fazla 7 öğe (ilk, son, komşular ve boşluklar). */\n protected readonly pages = computed<PageItem[]>(() => {\n const count = this.pageCount();\n const current = Math.min(this.pageIndex(), count - 1);\n if (count <= 7) return Array.from({ length: count }, (_, i) => i);\n\n const start = Math.max(1, Math.min(current - 1, count - 5));\n const end = Math.min(count - 2, Math.max(current + 1, 4));\n const items: PageItem[] = [0];\n if (start > 1) items.push('gap-start');\n for (let i = start; i <= end; i++) items.push(i);\n if (end < count - 2) items.push('gap-end');\n items.push(count - 1);\n return items;\n });\n\n protected goTo(index: number): void {\n const clamped = Math.max(0, Math.min(index, this.pageCount() - 1));\n if (clamped !== this.pageIndex()) this.pageIndex.set(clamped);\n }\n\n protected changePageSize(event: Event): void {\n this.pageSize.set(Number((event.target as HTMLSelectElement).value));\n this.pageIndex.set(0);\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n contentChildren,\n inject,\n input,\n model,\n viewChild,\n} from '@angular/core';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\n\n/** Tek bir sekme. İçeriği yalnızca aktifken render edilir. */\n@Component({\n selector: 'hu-tab',\n template: `<ng-template><ng-content /></ng-template>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuTab {\n readonly label = input.required<string>();\n readonly icon = input<string>();\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly content = viewChild.required(TemplateRef);\n}\n\nexport type HuTabsVariant = 'line' | 'pills';\n\n/**\n * Sekmeler. Ok tuşları, Home/End ile klavye gezintisi destekler.\n * @example\n * <hu-tabs [(selectedIndex)]=\"tab\">\n * <hu-tab label=\"Profil\" icon=\"user\">...</hu-tab>\n * <hu-tab label=\"Güvenlik\" icon=\"lock\">...</hu-tab>\n * </hu-tabs>\n */\n@Component({\n selector: 'hu-tabs',\n imports: [NgTemplateOutlet, HuIcon],\n template: `\n <div class=\"hu-tabs__list\" role=\"tablist\" (keydown)=\"onKeydown($event)\">\n @for (tab of tabs(); track tab; let i = $index) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"hu-tabs__tab\"\n [id]=\"baseId + '-tab-' + i\"\n [attr.aria-selected]=\"i === activeIndex()\"\n [attr.aria-controls]=\"baseId + '-panel-' + i\"\n [tabIndex]=\"i === activeIndex() ? 0 : -1\"\n [disabled]=\"tab.disabled()\"\n (click)=\"select(i)\"\n >\n @if (tab.icon()) {\n <hu-icon [name]=\"tab.icon()!\" [size]=\"16\" />\n }\n {{ tab.label() }}\n </button>\n }\n </div>\n @if (activeTab(); as tab) {\n <div\n class=\"hu-tabs__panel\"\n role=\"tabpanel\"\n tabindex=\"0\"\n [id]=\"baseId + '-panel-' + activeIndex()\"\n [attr.aria-labelledby]=\"baseId + '-tab-' + activeIndex()\"\n >\n <ng-container [ngTemplateOutlet]=\"tab.content()\" />\n </div>\n }\n `,\n styles: `\n .hu-tabs { display: block; }\n .hu-tabs__list {\n display: flex;\n gap: var(--hu-space-1);\n overflow-x: auto;\n scrollbar-width: none;\n }\n .hu-tabs[data-variant='line'] .hu-tabs__list { gap: var(--hu-space-5); border-bottom: 1px solid var(--hu-border); }\n .hu-tabs__tab {\n display: inline-flex;\n align-items: center;\n gap: var(--hu-space-2);\n flex-shrink: 0;\n font: inherit;\n font-weight: 500;\n color: var(--hu-text-muted);\n white-space: nowrap;\n background: none;\n border: 0;\n cursor: pointer;\n transition: color var(--hu-transition), background-color var(--hu-transition), border-color var(--hu-transition);\n }\n .hu-tabs__tab:hover:not(:disabled) { color: var(--hu-text); }\n .hu-tabs__tab:disabled { opacity: 0.45; cursor: not-allowed; }\n .hu-tabs__tab:focus-visible { outline: none; box-shadow: var(--hu-ring); border-radius: var(--hu-radius-sm); }\n .hu-tabs[data-variant='line'] .hu-tabs__tab {\n margin-bottom: -1px;\n padding: var(--hu-space-3) 0;\n border-bottom: 2px solid transparent;\n }\n .hu-tabs[data-variant='line'] .hu-tabs__tab[aria-selected='true'] {\n color: var(--hu-primary);\n border-bottom-color: var(--hu-primary);\n }\n .hu-tabs[data-variant='pills'] .hu-tabs__list {\n display: inline-flex;\n padding: 3px;\n background: var(--hu-surface-3);\n border-radius: var(--hu-radius-md);\n }\n .hu-tabs[data-variant='pills'] .hu-tabs__tab {\n height: 2rem;\n padding: 0 var(--hu-space-3);\n border-radius: var(--hu-radius-sm);\n }\n .hu-tabs[data-variant='pills'] .hu-tabs__tab[aria-selected='true'] {\n color: var(--hu-text);\n background: var(--hu-surface);\n box-shadow: var(--hu-shadow-sm);\n }\n .hu-tabs__panel { padding-top: var(--hu-space-5); }\n .hu-tabs__panel:focus-visible { outline: none; }\n `,\n host: { class: 'hu-tabs', '[attr.data-variant]': 'variant()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuTabs {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly selectedIndex = model(0);\n readonly variant = input<HuTabsVariant>('line');\n\n protected readonly tabs = contentChildren(HuTab);\n protected readonly baseId = huUniqueId('hu-tabs');\n protected readonly activeIndex = computed(() => Math.min(this.selectedIndex(), this.tabs().length - 1));\n protected readonly activeTab = computed(() => this.tabs()[this.activeIndex()]);\n\n select(index: number): void {\n if (!this.tabs()[index]?.disabled()) this.selectedIndex.set(index);\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n const tabs = this.tabs();\n const enabled = tabs.map((t, i) => (t.disabled() ? -1 : i)).filter((i) => i >= 0);\n const pos = enabled.indexOf(this.activeIndex());\n let next: number | undefined;\n\n switch (event.key) {\n case 'ArrowRight':\n next = enabled[(pos + 1) % enabled.length];\n break;\n case 'ArrowLeft':\n next = enabled[(pos - 1 + enabled.length) % enabled.length];\n break;\n case 'Home':\n next = enabled[0];\n break;\n case 'End':\n next = enabled[enabled.length - 1];\n break;\n default:\n return;\n }\n event.preventDefault();\n if (next === undefined) return;\n this.select(next);\n this.host.nativeElement.querySelectorAll<HTMLElement>('.hu-tabs__tab')[next]?.focus();\n }\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, input } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { HuIcon } from '../icon/icon.component';\n\nexport interface HuBreadcrumbItem {\n label: string;\n link?: string | unknown[];\n icon?: string;\n}\n\n/** @example <hu-breadcrumb [items]=\"[{ label: 'Ana Sayfa', link: '/' }, { label: 'Kullanıcılar' }]\" /> */\n@Component({\n selector: 'hu-breadcrumb',\n imports: [RouterLink, HuIcon],\n template: `\n <nav aria-label=\"Konum\">\n <ol class=\"hu-breadcrumb__list\">\n @for (item of items(); track $index; let last = $last) {\n <li class=\"hu-breadcrumb__item\">\n @if (item.link && !last) {\n <a class=\"hu-breadcrumb__link\" [routerLink]=\"item.link\">\n @if (item.icon) {\n <hu-icon [name]=\"item.icon\" [size]=\"14\" />\n }\n {{ item.label }}\n </a>\n <hu-icon class=\"hu-breadcrumb__sep\" name=\"chevron-right\" [size]=\"14\" />\n } @else {\n <span class=\"hu-breadcrumb__current\" [attr.aria-current]=\"last ? 'page' : null\">{{ item.label }}</span>\n @if (!last) {\n <hu-icon class=\"hu-breadcrumb__sep\" name=\"chevron-right\" [size]=\"14\" />\n }\n }\n </li>\n }\n </ol>\n </nav>\n `,\n styles: `\n .hu-breadcrumb { display: block; min-width: 0; }\n .hu-breadcrumb__list {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--hu-space-1);\n margin: 0;\n padding: 0;\n font-size: var(--hu-text-sm);\n list-style: none;\n }\n .hu-breadcrumb__item { display: inline-flex; align-items: center; gap: var(--hu-space-1); min-width: 0; }\n .hu-breadcrumb__link {\n display: inline-flex;\n align-items: center;\n gap: var(--hu-space-1);\n color: var(--hu-text-muted);\n text-decoration: none;\n border-radius: var(--hu-radius-sm);\n }\n .hu-breadcrumb__link:hover { color: var(--hu-text); }\n .hu-breadcrumb__current { font-weight: 500; color: var(--hu-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n .hu-breadcrumb__sep { color: var(--hu-text-subtle); }\n `,\n host: { class: 'hu-breadcrumb' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuBreadcrumb {\n readonly items = input<HuBreadcrumbItem[]>([]);\n}\n","/** Seçilebilir bir menü öğesi. */\nexport interface HuDropdownOption<T = string> {\n label: string;\n /** `(selected)` ile döner. Verilmezse `label` kullanılır. */\n value?: T;\n icon?: string;\n /** Etiketin altında küçük ikinci satır (örn. \"5 dk önce\"). */\n description?: string;\n disabled?: boolean;\n /** Kırmızı, yıkıcı işlem (Sil, Çıkış yap). */\n danger?: boolean;\n /** Verilirse öğe bir router linki olur. */\n link?: string | readonly unknown[];\n}\n\n/** Öğeler arasına ince çizgi. */\nexport interface HuDropdownDivider {\n divider: true;\n}\n\n/** Bir grup öğenin üstünde küçük başlık. */\nexport interface HuDropdownHeader {\n header: string;\n}\n\nexport type HuDropdownEntry<T = string> = HuDropdownOption<T> | HuDropdownDivider | HuDropdownHeader;\n\nexport function isDropdownDivider(entry: HuDropdownEntry<unknown>): entry is HuDropdownDivider {\n return 'divider' in entry;\n}\n\nexport function isDropdownHeader(entry: HuDropdownEntry<unknown>): entry is HuDropdownHeader {\n return 'header' in entry;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n Directive,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { RouterLink } from '@angular/router';\nimport { HuButton, HuButtonColor, HuButtonSize, HuButtonVariant } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { huUniqueId } from '../core/unique-id';\nimport { HuDropdownEntry, HuDropdownOption, isDropdownDivider, isDropdownHeader } from './dropdown.types';\n\nexport type HuDropdownAlign = 'start' | 'end';\n\n/**\n * Hazır tetikleyici yerine kendi elementinizi kullanmak için (avatar, ikon vb.).\n * @example <button huDropdownTrigger class=\"avatar-btn\"><hu-avatar name=\"…\" /></button>\n */\n@Directive({\n selector: '[huDropdownTrigger]',\n host: {\n 'aria-haspopup': 'menu',\n '[attr.aria-expanded]': 'dropdown.open()',\n '[attr.aria-controls]': 'dropdown.panelId',\n '(click)': 'dropdown.toggle()',\n },\n})\nexport class HuDropdownTrigger {\n protected readonly dropdown = inject(HuDropdown);\n readonly element = inject<ElementRef<HTMLElement>>(ElementRef);\n}\n\n/** Panelin en üstüne serbest içerik (başlık, rozet vb.). */\n@Directive({ selector: '[huDropdownHeader]', host: { class: 'hu-dropdown__header' } })\nexport class HuDropdownHeaderSlot {}\n\n/**\n * Açılır menü. Öğeleri `options` ile verin; seçim `(selected)` ile döner.\n *\n * @example\n * <hu-dropdown label=\"İşlemler\" [options]=\"actions\" (selected)=\"run($event.value)\" />\n *\n * actions: HuDropdownEntry[] = [\n * { label: 'Düzenle', value: 'edit', icon: 'edit' },\n * { divider: true },\n * { label: 'Sil', value: 'delete', icon: 'trash', danger: true },\n * ];\n *\n * <!-- Yalnızca ikon -->\n * <hu-dropdown icon=\"more-vertical\" variant=\"ghost\" ariaLabel=\"Satır işlemleri\" [options]=\"actions\" />\n */\n@Component({\n selector: 'hu-dropdown',\n imports: [NgTemplateOutlet, RouterLink, HuButton, HuIcon],\n templateUrl: './dropdown.component.html',\n styleUrl: './dropdown.component.scss',\n host: {\n class: 'hu-dropdown',\n '[class.hu-dropdown--open]': 'open()',\n '(document:click)': 'onDocumentClick($event)',\n '(document:keydown.escape)': 'close(true)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuDropdown<T = string> {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly injector = inject(Injector);\n\n // --- İçerik -----------------------------------------------------------------------\n readonly options = input<readonly HuDropdownEntry<T>[]>([]);\n\n // --- Hazır tetikleyici ------------------------------------------------------------\n /** Tetikleyici butonun metni. */\n readonly label = input<string>();\n /** Tetikleyici butonun ikonu. Yalnızca ikon verilirse kare buton olur. */\n readonly icon = input<string>();\n readonly variant = input<HuButtonVariant>('outline');\n readonly color = input<HuButtonColor>();\n readonly size = input<HuButtonSize>('md');\n /** Etiketin yanında aşağı ok gösterilsin mi? */\n readonly caret = input(true, { transform: booleanAttribute });\n /** Yalnızca ikonlu tetikleyicide ekran okuyucu etiketi (zorunlu gibi düşünün). */\n readonly ariaLabel = input<string>();\n readonly disabled = input(false, { transform: booleanAttribute });\n\n // --- Davranış ---------------------------------------------------------------------\n readonly align = input<HuDropdownAlign>('start');\n /** Açık mı? `[(open)]` ile iki yönlü bağlanabilir. */\n readonly open = model(false);\n\n /** Bir öğe seçildiğinde. */\n readonly selected = output<HuDropdownOption<T>>();\n\n readonly panelId = huUniqueId('hu-dropdown');\n protected readonly customTrigger = contentChild(HuDropdownTrigger);\n protected readonly isDivider = isDropdownDivider;\n protected readonly isHeader = isDropdownHeader;\n\n /**\n * Panel Popover API ile sayfanın üst katmanında (top layer) açılır: \"appendTo body\"\n * gibi davranır, kart/tablo/dialog'un overflow'u tarafından kesilmez. DOM'da yerinde\n * kaldığı için odak ve dışarı tıklama mantığı aynen çalışır.\n */\n protected readonly supportsPopover = typeof HTMLElement !== 'undefined' && 'showPopover' in HTMLElement.prototype;\n private readonly panel = viewChild.required<ElementRef<HTMLElement>>('panel');\n private focusOnOpen = false;\n\n private typeahead = '';\n private typeaheadTimer?: ReturnType<typeof setTimeout>;\n\n constructor() {\n // open dışarıdan ([(open)]) da değişebilir: paneli her durumda eşitle.\n effect(() => {\n const open = this.open();\n afterNextRender(() => this.syncPanel(open), { injector: this.injector });\n });\n\n const win = this.host.nativeElement.ownerDocument.defaultView;\n const reposition = () => this.open() && this.positionPanel();\n win?.addEventListener('resize', reposition);\n win?.addEventListener('scroll', reposition, true);\n inject(DestroyRef).onDestroy(() => {\n win?.removeEventListener('resize', reposition);\n win?.removeEventListener('scroll', reposition, true);\n });\n }\n\n toggle(): void {\n if (this.open()) this.close();\n else this.show();\n }\n\n show(): void {\n if (this.disabled()) return;\n this.focusOnOpen = true;\n this.open.set(true);\n }\n\n close(restoreFocus = false): void {\n if (!this.open()) return;\n this.open.set(false);\n if (restoreFocus) this.triggerElement()?.focus();\n }\n\n protected choose(option: HuDropdownOption<T>): void {\n if (option.disabled) return;\n this.selected.emit({ ...option, value: (option.value ?? option.label) as T });\n this.close(true);\n }\n\n protected onDocumentClick(event: MouseEvent): void {\n if (!this.host.nativeElement.contains(event.target as Node)) this.close();\n }\n\n protected onTriggerKeydown(event: KeyboardEvent): void {\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n event.preventDefault();\n this.show();\n }\n }\n\n protected onPanelKeydown(event: KeyboardEvent): void {\n const items = this.items();\n if (!items.length) return;\n const current = items.indexOf(this.host.nativeElement.ownerDocument.activeElement as HTMLElement);\n let next = -1;\n\n if (event.key === 'ArrowDown') next = (current + 1) % items.length;\n else if (event.key === 'ArrowUp') next = (current - 1 + items.length) % items.length;\n else if (event.key === 'Home') next = 0;\n else if (event.key === 'End') next = items.length - 1;\n else if (event.key === 'Tab') this.close();\n else if (event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) {\n next = this.findByTypeahead(items, event.key, current);\n }\n\n if (next >= 0) {\n event.preventDefault();\n items[next]?.focus();\n }\n }\n\n /** Harfe basınca o harfle başlayan öğeye git (ör. \"S\" → \"Sil\"). */\n private findByTypeahead(items: HTMLElement[], key: string, current: number): number {\n clearTimeout(this.typeaheadTimer);\n this.typeahead += key.toLocaleLowerCase('tr-TR');\n this.typeaheadTimer = setTimeout(() => (this.typeahead = ''), 500);\n for (let i = 1; i <= items.length; i++) {\n const index = (current + i) % items.length;\n const text = items[index].textContent?.trim().toLocaleLowerCase('tr-TR') ?? '';\n if (text.startsWith(this.typeahead)) return index;\n }\n return -1;\n }\n\n private syncPanel(open: boolean): void {\n const panel = this.panel().nativeElement;\n if (this.supportsPopover) {\n const isOpen = panel.matches(':popover-open');\n if (open && !isOpen) panel.showPopover();\n else if (!open && isOpen) panel.hidePopover();\n }\n if (!open) return;\n this.positionPanel();\n if (this.focusOnOpen) {\n this.focusOnOpen = false;\n this.items()[0]?.focus({ preventScroll: true });\n }\n }\n\n /** Tetikleyicinin altına (yer yoksa üstüne) yerleştirir; ekran kenarından taşırmaz. */\n private positionPanel(): void {\n if (!this.supportsPopover) return;\n const panel = this.panel().nativeElement;\n const trigger = this.triggerElement() ?? this.host.nativeElement;\n const win = this.host.nativeElement.ownerDocument.defaultView;\n if (!win) return;\n\n const anchor = trigger.getBoundingClientRect();\n const { offsetWidth: width, offsetHeight: height } = panel;\n const gap = 6;\n const edge = 8;\n\n let left = this.align() === 'end' ? anchor.right - width : anchor.left;\n left = Math.max(edge, Math.min(left, win.innerWidth - width - edge));\n\n const below = anchor.bottom + gap;\n const above = anchor.top - gap - height;\n const fitsBelow = below + height <= win.innerHeight - edge;\n const top = fitsBelow || above < edge ? below : above;\n\n panel.style.left = `${left}px`;\n panel.style.top = `${top}px`;\n panel.dataset['placement'] = top === below ? 'bottom' : 'top';\n }\n\n private items(): HTMLElement[] {\n return Array.from(\n this.host.nativeElement.querySelectorAll<HTMLElement>('.hu-dropdown__panel .hu-dropdown-item:not(:disabled)'),\n );\n }\n\n private triggerElement(): HTMLElement | null {\n return (\n this.customTrigger()?.element.nativeElement ??\n this.host.nativeElement.querySelector<HTMLElement>('.hu-dropdown__trigger')\n );\n }\n}\n","@if (!customTrigger()) {\n <button\n hu-button\n type=\"button\"\n class=\"hu-dropdown__trigger\"\n aria-haspopup=\"menu\"\n [variant]=\"variant()\"\n [color]=\"color()\"\n [size]=\"size()\"\n [iconOnly]=\"!!icon() && !label()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"panelId\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n >\n @if (icon()) {\n <hu-icon [name]=\"icon()!\" [size]=\"16\" />\n }\n @if (label()) {\n {{ label() }}\n @if (caret()) {\n <hu-icon class=\"hu-dropdown__caret\" name=\"chevron-down\" [size]=\"16\" />\n }\n }\n </button>\n}\n<ng-content select=\"[huDropdownTrigger]\" />\n\n<div\n #panel\n popover=\"manual\"\n class=\"hu-dropdown__panel\"\n role=\"menu\"\n [class.hu-dropdown__panel--inline]=\"!supportsPopover\"\n [id]=\"panelId\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.data-align]=\"align()\"\n [attr.hidden]=\"!supportsPopover && !open() ? '' : null\"\n (keydown)=\"onPanelKeydown($event)\"\n>\n <ng-content select=\"[huDropdownHeader]\" />\n\n @for (entry of options(); track $index) {\n @if (isDivider(entry)) {\n <div class=\"hu-dropdown-divider\" role=\"separator\"></div>\n } @else if (isHeader(entry)) {\n <div class=\"hu-dropdown-label\" role=\"presentation\">{{ entry.header }}</div>\n } @else if (entry.link && !entry.disabled) {\n <a\n class=\"hu-dropdown-item\"\n role=\"menuitem\"\n tabindex=\"-1\"\n [class.hu-dropdown-item--danger]=\"entry.danger\"\n [routerLink]=\"entry.link\"\n (click)=\"choose(entry)\"\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: entry }\" />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"hu-dropdown-item\"\n role=\"menuitem\"\n tabindex=\"-1\"\n [class.hu-dropdown-item--danger]=\"entry.danger\"\n [disabled]=\"entry.disabled\"\n (click)=\"choose(entry)\"\n >\n <ng-container *ngTemplateOutlet=\"itemContent; context: { $implicit: entry }\" />\n </button>\n }\n }\n</div>\n\n<ng-template #itemContent let-entry>\n @if (entry.icon) {\n <hu-icon class=\"hu-dropdown-item__icon\" [name]=\"entry.icon\" [size]=\"16\" />\n }\n <span class=\"hu-dropdown-item__text\">\n <span class=\"hu-dropdown-item__label\">{{ entry.label }}</span>\n @if (entry.description) {\n <span class=\"hu-dropdown-item__description\">{{ entry.description }}</span>\n }\n </span>\n</ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Injector,\n ViewEncapsulation,\n afterNextRender,\n booleanAttribute,\n effect,\n inject,\n input,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { NavigationEnd, Router, RouterLink, RouterLinkActive } from '@angular/router';\nimport { filter, map } from 'rxjs';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuNavGroup, HuNavItem } from './nav.types';\n\n/** Yan menü navigasyonu. Genellikle `hu-shell` içinde otomatik kullanılır. */\n@Component({\n selector: 'hu-sidebar-nav',\n imports: [NgTemplateOutlet, RouterLink, RouterLinkActive, HuIcon],\n templateUrl: './sidebar-nav.component.html',\n host: { class: 'hu-nav', '[class.hu-nav--collapsed]': 'collapsed()' },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuSidebarNav {\n private readonly router = inject(Router);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly injector = inject(Injector);\n\n readonly groups = input<HuNavGroup[]>([]);\n readonly collapsed = input(false, { transform: booleanAttribute });\n /** Bir linke tıklandı (mobilde menüyü kapatmak için). */\n readonly navigate = output<void>();\n /** Daraltılmış moddayken alt menülü öğeye tıklandı. */\n readonly expandRequest = output<void>();\n\n private readonly url = toSignal(\n this.router.events.pipe(\n filter((e): e is NavigationEnd => e instanceof NavigationEnd),\n map((e) => e.urlAfterRedirects),\n ),\n { initialValue: this.router.url },\n );\n protected readonly openItems = signal<ReadonlySet<HuNavItem>>(new Set());\n\n constructor() {\n // `expanded: true` olan öğeler başlangıçta açık gelsin.\n effect(() => {\n const expanded = this.groups()\n .flatMap((g) => g.items)\n .filter((item) => item.expanded && item.children?.length);\n if (expanded.length) {\n untracked(() => this.openItems.update((set) => new Set([...set, ...expanded])));\n }\n });\n\n // Aktif alt sayfanın grubu otomatik açılsın.\n effect(() => {\n const url = this.url();\n const parents = this.groups()\n .flatMap((g) => g.items)\n .filter((item) => this.isParentActive(item, url));\n if (parents.length) {\n untracked(() => this.openItems.update((set) => new Set([...set, ...parents])));\n }\n });\n\n // Uzun menülerde aktif link görünür alanda kalsın. routerLinkActive sınıfını\n // bir microtask sonra eklediği için render'dan sonraki turu bekle.\n effect(() => {\n this.url();\n afterNextRender(\n () =>\n setTimeout(() =>\n this.host.nativeElement\n .querySelector<HTMLElement>('.hu-nav__link--active')\n ?.scrollIntoView({ block: 'nearest' }),\n ),\n { injector: this.injector },\n );\n });\n }\n\n /** Öğenin herhangi bir alt (veya kategori altı) linki aktif mi? */\n protected isParentActive(item: HuNavItem, url = this.url()): boolean {\n const path = url.split(/[?#]/)[0];\n const matches = (c: HuNavItem): boolean =>\n (!!c.link && (path === c.link || path.startsWith(c.link + '/'))) || !!c.children?.some(matches);\n return !!item.children?.some(matches);\n }\n\n /** `'Yeni'` gibi metin rozetleri sayılardan farklı görünür. */\n protected isTextBadge(badge: string | number): boolean {\n return typeof badge === 'string' && Number.isNaN(Number(badge));\n }\n\n protected toggle(item: HuNavItem): void {\n if (this.collapsed()) {\n this.expandRequest.emit();\n this.openItems.update((set) => new Set([...set, item]));\n return;\n }\n this.openItems.update((set) => {\n const next = new Set(set);\n if (next.has(item)) next.delete(item);\n else next.add(item);\n return next;\n });\n }\n}\n","@for (group of groups(); track $index) {\n <div class=\"hu-nav__group\">\n @if (group.title) {\n <div class=\"hu-nav__title\">{{ group.title }}</div>\n }\n <ul class=\"hu-nav__list\">\n @for (item of group.items; track item.label) {\n <li>\n @if (item.children?.length) {\n @let open = openItems().has(item) && !collapsed();\n <button\n type=\"button\"\n class=\"hu-nav__link\"\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\n [attr.aria-expanded]=\"open\"\n [attr.title]=\"collapsed() ? item.label : null\"\n (click)=\"toggle(item)\"\n >\n @if (item.icon) {\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\n }\n <span class=\"hu-nav__label\">{{ item.label }}</span>\n <hu-icon class=\"hu-nav__chevron\" name=\"chevron-down\" [size]=\"16\" />\n </button>\n @if (open) {\n <ul class=\"hu-nav__sublist\">\n @for (child of item.children; track child.label) {\n @if (child.children?.length) {\n <!-- Kategori başlığı + altındaki linkler -->\n <li class=\"hu-nav__subheader\" role=\"presentation\">{{ child.label }}</li>\n @for (leaf of child.children; track leaf.label) {\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: leaf }\" /></li>\n }\n } @else {\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: child }\" /></li>\n }\n }\n </ul>\n }\n } @else {\n <a\n class=\"hu-nav__link\"\n [routerLink]=\"item.link\"\n routerLinkActive=\"hu-nav__link--active\"\n [routerLinkActiveOptions]=\"{ exact: item.exact ?? false }\"\n ariaCurrentWhenActive=\"page\"\n [attr.title]=\"collapsed() ? item.label : null\"\n (click)=\"navigate.emit()\"\n >\n @if (item.icon) {\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\n }\n <span class=\"hu-nav__label\">{{ item.label }}</span>\n @if (item.badge != null) {\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(item.badge)\">{{ item.badge }}</span>\n }\n </a>\n }\n </li>\n }\n </ul>\n </div>\n}\n\n<ng-template #subLink let-child>\n <a\n class=\"hu-nav__link hu-nav__link--sub\"\n [routerLink]=\"child.link\"\n routerLinkActive=\"hu-nav__link--active\"\n [routerLinkActiveOptions]=\"{ exact: child.exact ?? false }\"\n ariaCurrentWhenActive=\"page\"\n (click)=\"navigate.emit()\"\n >\n <span class=\"hu-nav__label\">{{ child.label }}</span>\n @if (child.badge != null) {\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(child.badge)\">{{ child.badge }}</span>\n }\n </a>\n</ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n DOCUMENT,\n Directive,\n ViewEncapsulation,\n computed,\n effect,\n inject,\n input,\n model,\n signal,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NavigationEnd, Router, RouterLink } from '@angular/router';\nimport { filter } from 'rxjs';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { huMediaQuery } from '../core/media';\nimport { HuSidebarNav } from './sidebar-nav.component';\nimport { HuNavGroup } from './nav.types';\n\n/** Topbar'ın sol tarafı (breadcrumb, arama vb.). */\n@Directive({ selector: '[huTopbarStart]', host: { class: 'hu-shell__topbar-start' } })\nexport class HuTopbarStart {}\n\n/** Topbar'ın sağ tarafı (tema, bildirim, kullanıcı menüsü). */\n@Directive({ selector: '[huTopbarEnd]', host: { class: 'hu-shell__topbar-end' } })\nexport class HuTopbarEnd {}\n\n/** Sidebar'ın alt kısmı. */\n@Directive({ selector: '[huSidebarFooter]', host: { class: 'hu-shell__sidebar-footer' } })\nexport class HuSidebarFooter {}\n\n/** Marka alanında varsayılan logonun yerine geçer. */\n@Directive({ selector: '[huShellLogo]', host: { class: 'hu-shell__logo' } })\nexport class HuShellLogo {}\n\nconst COLLAPSED_KEY = 'hu-shell-collapsed';\n\n/**\n * Admin uygulama iskeleti: daraltılabilir sidebar, mobilde çekmece menü, topbar.\n *\n * @example\n * <hu-shell [nav]=\"nav\" brand=\"Yönetim Paneli\" brandSubtitle=\"Kurum adı\">\n * <hu-breadcrumb huTopbarStart [items]=\"crumbs()\" />\n * <div huTopbarEnd><hu-theme-toggle /></div>\n * <router-outlet />\n * </hu-shell>\n */\n@Component({\n selector: 'hu-shell',\n imports: [RouterLink, HuButton, HuIcon, HuSidebarNav],\n templateUrl: './shell.component.html',\n styleUrl: './shell.component.scss',\n host: {\n class: 'hu-shell',\n '[class.hu-shell--collapsed]': 'isCollapsed()',\n '[class.hu-shell--mobile]': 'isMobile()',\n '[class.hu-shell--drawer-open]': 'isMobile() && mobileOpen()',\n '(document:keydown.escape)': 'mobileOpen.set(false)',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuShell {\n private readonly storage = inject(DOCUMENT).defaultView?.localStorage;\n\n readonly nav = input<HuNavGroup[]>([]);\n readonly brand = input('');\n readonly brandSubtitle = input<string>();\n readonly brandLink = input<string>('/');\n /** Sidebar rengi. `dark`, açık temada da koyu sidebar kullanır. */\n readonly sidebarTheme = input<'default' | 'dark'>('default');\n /** Masaüstünde sidebar daraltılmış mı? Tercih localStorage'da saklanır. */\n readonly collapsed = model(this.readCollapsed());\n\n protected readonly isMobile = huMediaQuery('(max-width: 1023.98px)');\n protected readonly mobileOpen = signal(false);\n protected readonly isCollapsed = computed(() => !this.isMobile() && this.collapsed());\n\n constructor() {\n inject(Router)\n .events.pipe(\n filter((e) => e instanceof NavigationEnd),\n takeUntilDestroyed(),\n )\n .subscribe(() => this.mobileOpen.set(false));\n\n effect(() => {\n try {\n this.storage?.setItem(COLLAPSED_KEY, String(this.collapsed()));\n } catch {\n // yok say\n }\n });\n }\n\n toggleSidebar(): void {\n if (this.isMobile()) this.mobileOpen.update((v) => !v);\n else this.collapsed.update((v) => !v);\n }\n\n private readCollapsed(): boolean {\n try {\n return this.storage?.getItem(COLLAPSED_KEY) === 'true';\n } catch {\n return false;\n }\n }\n}\n","<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n<aside\n class=\"hu-shell__sidebar\"\n [class.hu-shell__sidebar--dark]=\"sidebarTheme() === 'dark'\"\n [attr.aria-hidden]=\"isMobile() && !mobileOpen() ? 'true' : null\"\n [attr.inert]=\"isMobile() && !mobileOpen() ? '' : null\"\n>\n <a class=\"hu-shell__brand\" [routerLink]=\"brandLink()\">\n <ng-content select=\"[huShellLogo]\">\n <span class=\"hu-shell__logo hu-shell__logo--default\">\n <hu-icon name=\"graduation-cap\" [size]=\"20\" />\n </span>\n </ng-content>\n <span class=\"hu-shell__brand-text\">\n <span class=\"hu-shell__brand-name\">{{ brand() }}</span>\n @if (brandSubtitle()) {\n <span class=\"hu-shell__brand-subtitle\">{{ brandSubtitle() }}</span>\n }\n </span>\n </a>\n\n <nav class=\"hu-shell__nav\" aria-label=\"Ana menü\">\n <hu-sidebar-nav\n [groups]=\"nav()\"\n [collapsed]=\"isCollapsed()\"\n (navigate)=\"mobileOpen.set(false)\"\n (expandRequest)=\"collapsed.set(false)\"\n />\n </nav>\n\n <ng-content select=\"[huSidebarFooter]\" />\n\n @if (!isMobile()) {\n <button\n type=\"button\"\n class=\"hu-shell__collapse\"\n [attr.aria-label]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n [attr.title]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon [name]=\"isCollapsed() ? 'chevrons-right' : 'chevrons-left'\" [size]=\"16\" />\n <span class=\"hu-nav__label\">Daralt</span>\n </button>\n }\n</aside>\n\n@if (isMobile() && mobileOpen()) {\n <div class=\"hu-shell__backdrop\" aria-hidden=\"true\" (click)=\"mobileOpen.set(false)\"></div>\n}\n\n<div class=\"hu-shell__main\">\n <header class=\"hu-shell__topbar\">\n @if (isMobile()) {\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n aria-label=\"Menüyü aç\"\n [attr.aria-expanded]=\"mobileOpen()\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon name=\"menu\" [size]=\"20\" />\n </button>\n }\n <ng-content select=\"[huTopbarStart]\" />\n <span class=\"hu-shell__spacer\"></span>\n <ng-content select=\"[huTopbarEnd]\" />\n </header>\n\n <main class=\"hu-shell__content\" id=\"hu-main\" tabindex=\"-1\">\n <ng-content />\n </main>\n</div>\n","import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\nimport { HuButton } from '../button/button.component';\nimport { HuIcon } from '../icon/icon.component';\nimport { HuThemeService } from '../core/theme.service';\n\n/** Açık / koyu tema arasında geçiş yapan buton. */\n@Component({\n selector: 'hu-theme-toggle',\n imports: [HuButton, HuIcon],\n template: `\n <button hu-button variant=\"ghost\" iconOnly [attr.aria-label]=\"label()\" [attr.title]=\"label()\" (click)=\"theme.toggle()\">\n <hu-icon [name]=\"theme.resolved() === 'dark' ? 'sun' : 'moon'\" [size]=\"18\" />\n </button>\n `,\n host: { style: 'display: inline-flex' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HuThemeToggle {\n protected readonly theme = inject(HuThemeService);\n protected readonly label = computed(() =>\n this.theme.resolved() === 'dark' ? 'Açık temaya geç' : 'Koyu temaya geç',\n );\n}\n","import { HuCard, HuCardActions, HuCardFooter } from './card/card.component';\nimport { HuDialog, HuDialogFooter } from './dialog/dialog.component';\nimport { HuFormField, HuPrefix, HuSuffix } from './form-field/form-field.component';\nimport { HuInput } from './form-field/input.directive';\nimport { HuShell, HuShellLogo, HuSidebarFooter, HuTopbarEnd, HuTopbarStart } from './layout/shell.component';\nimport { HuDropdown, HuDropdownHeaderSlot, HuDropdownTrigger } from './dropdown/dropdown.component';\nimport { HuCellDef, HuTable } from './table/table.component';\nimport { HuTab, HuTabs } from './tabs/tabs.component';\n\n/*\n * Birlikte kullanılan component/directive grupları. Bir parçayı import etmeyi\n * unutmak Angular'da sessizce başarısız olur (öznitelik yok sayılır); gruplar\n * bunu önler.\n *\n * @example imports: [HU_FORM_FIELD_IMPORTS, HU_TABLE_IMPORTS]\n */\nexport const HU_FORM_FIELD_IMPORTS = [HuFormField, HuInput, HuPrefix, HuSuffix] as const;\nexport const HU_CARD_IMPORTS = [HuCard, HuCardActions, HuCardFooter] as const;\nexport const HU_DIALOG_IMPORTS = [HuDialog, HuDialogFooter] as const;\nexport const HU_DROPDOWN_IMPORTS = [HuDropdown, HuDropdownTrigger, HuDropdownHeaderSlot] as const;\nexport const HU_TABLE_IMPORTS = [HuTable, HuCellDef] as const;\nexport const HU_TABS_IMPORTS = [HuTabs, HuTab] as const;\nexport const HU_SHELL_IMPORTS = [HuShell, HuTopbarStart, HuTopbarEnd, HuSidebarFooter, HuShellLogo] as const;\n"],"mappings":";;;;;;;AAAA,IAAI,SAAS;AAGb,SAAgB,WAAW,SAAS,MAAI;CACtC,OAAO,GAAG,OAAM,GAAI;AACtB;ACCA,SAAgB,aAAa,OAAa;CAExC,MAAM,MADM,OAAO,QAAQ,CAAC,CAAC,aACZ,aAAa,KAAK;CACnC,MAAM,UAAU,OAAO,KAAK,WAAW,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAE7C,IAAI,KAAK;EACP,MAAM,YAAY,MAA2B,QAAQ,IAAI,EAAE,OAAO;EAClE,IAAI,iBAAiB,UAAU,QAAQ;EACvC,OAAO,UAAU,CAAC,CAAC,gBAAgB,IAAI,oBAAoB,UAAU,QAAQ,CAAC;CAChF;CACA,OAAO,QAAQ,WAAU;AAC3B;ACZA,MAAM,cAAc;AAOpB,IAAa,iBAAb,MAAa,eAAc;CACR,MAAM,OAAO,QAAQ;CACrB,MAAM,KAAK,IAAI;CACf,QAAQ,KAAK,KAAK,aAAa,8BAA8B;CAC7D,aAAa,OAAO,KAAK,OAAO,WAAW,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAEzD,OAAO,OAAoB,KAAK,eAAc,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,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