@virusis/angular-ui 0.1.4 → 0.1.8

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Injectable, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, PLATFORM_ID, signal, DestroyRef, InjectionToken, ChangeDetectorRef, ElementRef, NgModule, Inject } from '@angular/core';
2
+ import { inject, Injectable, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, PLATFORM_ID, signal, DestroyRef, afterNextRender, ViewChild, HostListener, ElementRef, InjectionToken, ChangeDetectorRef, NgModule, Inject } from '@angular/core';
3
3
  import { DOCUMENT, isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
4
4
  import { buildSprite } from '@virusis/icon-set';
5
5
  import * as i1 from 'primeng/button';
@@ -34,7 +34,7 @@ import { DrawerModule } from 'primeng/drawer';
34
34
  import { isObservable, of, tap, catchError, throwError, map, timeout, Observable } from 'rxjs';
35
35
  import * as i1$4 from '@angular/common/http';
36
36
  import { HttpResponse, HTTP_INTERCEPTORS, HttpClient } from '@angular/common/http';
37
- import { Router } from '@angular/router';
37
+ import { Router, RouterLink } from '@angular/router';
38
38
 
39
39
  /** Gomulen sprite dugumunun id'si — ikinci kopyayi engelleyen tek isaret. */
40
40
  const VP_ICON_SPRITE_ID = 'vp-icon-sprite';
@@ -101,10 +101,10 @@ class VpIconSpriteService {
101
101
  // basa koymak yine de hidrasyon sirasindaki ilk boyamayi garanti eder.
102
102
  doc.body.prepend(node);
103
103
  }
104
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpIconSpriteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
105
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpIconSpriteService, providedIn: 'root' }); }
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpIconSpriteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
105
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpIconSpriteService, providedIn: 'root' }); }
106
106
  }
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpIconSpriteService, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpIconSpriteService, decorators: [{
108
108
  type: Injectable,
109
109
  args: [{ providedIn: 'root' }]
110
110
  }], ctorParameters: () => [] });
@@ -351,8 +351,8 @@ class VpStateComponent {
351
351
  clip?.writeText(value).catch(() => undefined);
352
352
  this.referenceCopied.emit(value);
353
353
  }
354
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpStateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
355
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpStateComponent, isStandalone: true, selector: "vp-state", inputs: { type: "type", title: "title", description: "description", primaryLabel: "primaryLabel", secondaryLabel: "secondaryLabel", reference: "reference", remainingSeconds: "remainingSeconds", loadingLabel: "loadingLabel", countdownLabel: "countdownLabel", referenceLabel: "referenceLabel", copyLabel: "copyLabel", headingLevel: "headingLevel" }, outputs: { primaryAction: "primaryAction", secondaryAction: "secondaryAction", referenceCopied: "referenceCopied" }, host: { classAttribute: "vp-state-host" }, ngImport: i0, template: `
354
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpStateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
355
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpStateComponent, isStandalone: true, selector: "vp-state", inputs: { type: "type", title: "title", description: "description", primaryLabel: "primaryLabel", secondaryLabel: "secondaryLabel", reference: "reference", remainingSeconds: "remainingSeconds", loadingLabel: "loadingLabel", countdownLabel: "countdownLabel", referenceLabel: "referenceLabel", copyLabel: "copyLabel", headingLevel: "headingLevel" }, outputs: { primaryAction: "primaryAction", secondaryAction: "secondaryAction", referenceCopied: "referenceCopied" }, host: { classAttribute: "vp-state-host" }, ngImport: i0, template: `
356
356
  <div
357
357
  class="vp-state"
358
358
  [attr.data-tone]="variant.tone"
@@ -425,7 +425,7 @@ class VpStateComponent {
425
425
  </div>
426
426
  `, isInline: true, styles: [":host{display:block}.vp-state{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-4);max-width:32rem;margin-inline:auto;padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary);font-family:var(--vp-font-sans)}.vp-state__icon{width:48px;height:48px;color:var(--vp-text-muted)}.vp-state[data-tone=danger] .vp-state__icon{color:var(--vp-sev-critical)}.vp-state[data-tone=warning] .vp-state__icon{color:var(--vp-sev-high)}.vp-state[data-tone=info] .vp-state__icon{color:var(--vp-sev-low)}.vp-state[data-tone=inviting] .vp-state__icon{color:var(--vp-brand)}.vp-state__title{margin:0;color:var(--vp-text-primary);font-size:var(--vp-text-xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight)}.vp-state__description{margin:0;max-width:46ch;font-size:var(--vp-text-base);line-height:var(--vp-leading-normal)}.vp-state__countdown{display:flex;align-items:baseline;gap:var(--vp-space-2);margin:0;font-size:var(--vp-text-sm)}.vp-state__countdown-label{color:var(--vp-text-muted)}.vp-state__countdown-value{font-family:var(--vp-font-mono);font-size:var(--vp-text-lg);font-weight:var(--vp-weight-semibold);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-state__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--vp-space-3);margin-top:var(--vp-space-2)}.vp-state__action{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font-family:inherit;font-size:var(--vp-text-base);font-weight:var(--vp-weight-medium);cursor:pointer;transition:background var(--vp-duration-fast) var(--vp-ease-standard),border-color var(--vp-duration-fast) var(--vp-ease-standard)}.vp-state__action[data-kind=primary]{background:var(--vp-brand);border-color:var(--vp-brand);color:var(--vp-text-on-accent)}.vp-state__action[data-kind=primary]:hover{background:var(--vp-brand-hover);border-color:var(--vp-brand-hover)}.vp-state__action[data-kind=secondary]:hover{background:var(--vp-surface-sunken);border-color:var(--vp-border-strong)}.vp-state__action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-state__reference{display:flex;align-items:center;gap:var(--vp-space-2);margin:var(--vp-space-2) 0 0;font-size:var(--vp-text-xs);color:var(--vp-text-muted)}.vp-state__reference-code{font-family:var(--vp-font-mono);color:var(--vp-text-secondary);white-space:nowrap}.vp-state__copy{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-state__copy:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-state__copy:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-state__copy-icon{width:16px;height:16px}.vp-state__skeleton{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-4);width:100%}.vp-state__skeleton-line{display:block;border-radius:var(--vp-radius-md);background:var(--vp-surface-sunken);animation:vp-state-pulse 1.4s var(--vp-ease-standard) infinite}.vp-state__skeleton-line--icon{width:48px;height:48px;border-radius:var(--vp-radius-full)}.vp-state__skeleton-line--title{width:12rem;height:20px}.vp-state__skeleton-line--text{width:20rem;max-width:100%;height:14px}@keyframes vp-state-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.vp-state__skeleton-line{animation:none}.vp-state__action{transition:none}}.vp-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
427
427
  }
428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpStateComponent, decorators: [{
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpStateComponent, decorators: [{
429
429
  type: Component,
430
430
  args: [{ selector: 'vp-state', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'vp-state-host' }, template: `
431
431
  <div
@@ -604,8 +604,8 @@ class VpAppealFormComponent {
604
604
  ...(contact ? { contact } : {}),
605
605
  });
606
606
  }
607
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAppealFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
608
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpAppealFormComponent, isStandalone: true, selector: "vp-appeal-form", inputs: { referenceCode: "referenceCode", submitting: "submitting", submitted: "submitted", error: "error", referenceLabel: "referenceLabel", reasonLabel: "reasonLabel", reasonHint: "reasonHint", contactLabel: "contactLabel", submitLabel: "submitLabel", submittingLabel: "submittingLabel", emptyReasonError: "emptyReasonError", successTitle: "successTitle", successNote: "successNote" }, outputs: { appealSubmit: "appealSubmit" }, ngImport: i0, template: `
607
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAppealFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
608
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpAppealFormComponent, isStandalone: true, selector: "vp-appeal-form", inputs: { referenceCode: "referenceCode", submitting: "submitting", submitted: "submitted", error: "error", referenceLabel: "referenceLabel", reasonLabel: "reasonLabel", reasonHint: "reasonHint", contactLabel: "contactLabel", submitLabel: "submitLabel", submittingLabel: "submittingLabel", emptyReasonError: "emptyReasonError", successTitle: "successTitle", successNote: "successNote" }, outputs: { appealSubmit: "appealSubmit" }, ngImport: i0, template: `
609
609
  @if (submitted) {
610
610
  <div class="vp-appeal vp-appeal--done" data-vp-appeal-done role="status" aria-live="polite">
611
611
  <p class="vp-appeal__title">{{ successTitle }}</p>
@@ -662,7 +662,7 @@ class VpAppealFormComponent {
662
662
  }
663
663
  `, isInline: true, styles: [":host{display:block}.vp-appeal{display:grid;gap:var(--vp-space-3);padding:var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans);color:var(--vp-text-primary)}.vp-appeal__title{margin:0;font-weight:600}.vp-appeal__note,.vp-appeal__ref{margin:0;color:var(--vp-text-muted)}.vp-appeal__ref code{font-family:var(--vp-font-mono)}.vp-appeal__field{display:grid;gap:var(--vp-space-1)}.vp-appeal__label{font-size:var(--vp-text-sm)}.vp-appeal__hint{font-size:var(--vp-text-sm);color:var(--vp-text-muted)}textarea,input{width:100%;min-height:var(--vp-control-height);padding:var(--vp-space-2);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit}textarea:focus-visible,input:focus-visible,.vp-appeal__submit:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-appeal__error{margin:0;color:var(--vp-danger)}.vp-appeal__submit{justify-self:start;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-4);border:1px solid var(--vp-brand);border-radius:var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);font:inherit;cursor:pointer}.vp-appeal__submit:disabled{opacity:.5;cursor:not-allowed}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
664
664
  }
665
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAppealFormComponent, decorators: [{
665
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAppealFormComponent, decorators: [{
666
666
  type: Component,
667
667
  args: [{ selector: 'vp-appeal-form', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
668
668
  @if (submitted) {
@@ -839,6 +839,22 @@ function conversionOfferFor(scanCount) {
839
839
  return match;
840
840
  }
841
841
 
842
+ /**
843
+ * Kabuk sozlesmesi - B1 · T5/T6.
844
+ *
845
+ * Kota ve dil kabugun kendi alani (B1-K2, B1-K3). Tipler burada duruyor ki
846
+ * konsollar bilesen dosyasini degil sozlesmeyi ice aktarsin.
847
+ */
848
+ /**
849
+ * Kota esikleri - TEK kaynak.
850
+ *
851
+ * Olculdu (2026-09-08): prototiplerde %80 ve %85 birlikte kullaniliyordu;
852
+ * ayni doluluk bir ekranda sari, digerinde notrdu. Esik bir urun karari ve
853
+ * ekran basina tekrarlanamaz.
854
+ */
855
+ const VP_QUOTA_WARN = 80;
856
+ const VP_QUOTA_CRITICAL = 90;
857
+
842
858
  /**
843
859
  * Uygulama kabugu — paket 05 · G2.
844
860
  *
@@ -851,10 +867,108 @@ function conversionOfferFor(scanCount) {
851
867
  * yerine gecer. Icerik ng-content ile yansitilir, kabuk yerlesimi bilir.
852
868
  */
853
869
  class VpShellComponent {
870
+ /** Doluluk yuzdesi - 0..100 arasina sikistiriliyor. */
871
+ get quotaPercent() {
872
+ const q = this.quota;
873
+ if (!q || !q.limit || q.limit <= 0)
874
+ return 0;
875
+ return Math.max(0, Math.min(100, Math.round((q.used / q.limit) * 100)));
876
+ }
877
+ /**
878
+ * Esik TEK yerde. Ekran basina esik tanimlamak, iki ekranda iki farkli
879
+ * "dolmak uzere" demektir - olculdu: prototiplerde %80 ve %85 birlikte
880
+ * kullaniliyordu.
881
+ */
882
+ get quotaLevel() {
883
+ const pct = this.quotaPercent;
884
+ if (pct >= VP_QUOTA_CRITICAL)
885
+ return 'critical';
886
+ if (pct >= VP_QUOTA_WARN)
887
+ return 'warn';
888
+ return 'ok';
889
+ }
890
+ /**
891
+ * Dagilim dilimleri - yuzde ve title burada hesaplaniyor.
892
+ *
893
+ * Yuzde LIMITE gore, dilimlerin toplamina gore degil: dilimlerin toplami
894
+ * kullanimin altinda kalabilir (siniflandirilmamis kullanim) ve o zaman
895
+ * cubukta bos pay kalmasi DOGRU - toplama gore normalize etmek, dolu
896
+ * olmayan bir kotayi dolu gosterirdi.
897
+ */
898
+ get quotaSegments() {
899
+ const q = this.quota;
900
+ if (!q?.segments?.length || !q.limit || q.limit <= 0)
901
+ return [];
902
+ const palette = [
903
+ 'var(--vp-brand-500, var(--vp-focus-ring))',
904
+ 'var(--vp-sev-low)',
905
+ 'var(--vp-sev-high)',
906
+ 'var(--vp-sev-clean)',
907
+ ];
908
+ return q.segments.map((segment, index) => {
909
+ const percent = Math.max(0, Math.min(100, (segment.value / q.limit) * 100));
910
+ return {
911
+ label: segment.label,
912
+ percent,
913
+ color: segment.color ?? palette[index % palette.length],
914
+ title: `${segment.label}: ${segment.value} (%${Math.round(percent)})`,
915
+ };
916
+ });
917
+ }
918
+ /** Rayda title, genis kipte deger olarak ayni metin - tek kaynak. */
919
+ get quotaText() {
920
+ const q = this.quota;
921
+ if (!q)
922
+ return '';
923
+ if (!q.limit || q.limit <= 0)
924
+ return `${q.used} ${q.label}`;
925
+ return `${q.used} / ${q.limit}`;
926
+ }
927
+ /**
928
+ * Cekmeceyi acar/kapatir.
929
+ *
930
+ * 🔴 Durum burada TUTULMUYOR: acik/kapali `collapsed` girdisinden
931
+ * tureiyor ve degisiklik `collapsedChange` ile uygulamaya gidiyor.
932
+ * Kabukta ikinci bir kopya tutmak, bu depoda tekrar eden "iki kaynak
933
+ * ayrisir" hatasini davet ederdi.
934
+ */
935
+ toggleDrawer() {
936
+ this.collapsedChange.emit(!this.collapsed);
937
+ }
938
+ /**
939
+ * 🔴 Dar ekranda menuyu KAPATMANIN klavye yolu.
940
+ *
941
+ * Olculdu (2026-09-07): menu acikken kenar cubugu ust cubugu da ortuyor,
942
+ * yani "daralt" dugmesi ekranda kaliyor ama TIKLANAMIYOR (Playwright
943
+ * `aside ... intercepts pointer events` diyerek dustu). Geriye maske
944
+ * kaliyordu ve o `aria-hidden` bir `div`: fareyle dokunulur, klavyeyle
945
+ * ulasilamaz. Yani klavye kullanicisi menuyu acabiliyor ama kapatamiyordu.
946
+ *
947
+ * ⚠️ Yalniz overlay kipinde: genis ekranda menu icerigi ortmuyor ve Esc'in
948
+ * kenar cubugunu kapatmasi, kullanicinin beklemedigi bir yerlesim degisikligi
949
+ * olurdu.
950
+ */
951
+ onEscape() {
952
+ if (this.overlay() && !this.collapsed)
953
+ this.collapsedChange.emit(true);
954
+ }
854
955
  /** Kenar cubugu icerigin USTUNDE mi duruyor. */
855
956
  overlay() {
856
957
  return this.narrow() || this.menuMode === 'overlay';
857
958
  }
959
+ /**
960
+ * 🔴 ILK OLCUM `ngOnInit`'te, kurucuda DEGIL.
961
+ *
962
+ * Kurucuda yayin yapmak sessizce kayboluyor: cikti aboneligi bilesen
963
+ * kuruldiktan SONRA baglaniyor, yani ilk `collapsedChange` kimseye
964
+ * ulasmiyordu. Yalniz sonraki *degisiklikler* (pencereyi daraltmak, cihazi
965
+ * dondurmek) calisiyordu — bu yuzden elle denemede sorun gorunmuyordu.
966
+ *
967
+ * Belirtisi olculdu (2026-09-07): Customer Console'un on iki mobil gorsel
968
+ * temelinin hepsi ACIK menuyu gosteriyordu; ekranin kendisi maskenin altinda
969
+ * kaliyordu. Yani mobilde uygulama, kullanici menuyu kapatana kadar
970
+ * kullanilamiyordu ve gorsel kapi ekranlari degil menuyu olcuyordu.
971
+ */
858
972
  constructor() {
859
973
  /**
860
974
  * Kenar cubugunun `id`'si — `vp-sidebar-toggle`'in `controls` girdisiyle
@@ -882,6 +996,19 @@ class VpShellComponent {
882
996
  */
883
997
  this.menuMode = 'static';
884
998
  this.collapsedChange = new EventEmitter();
999
+ /** Dil secenekleri - bos birakilirsa denetim cizilmiyor. */
1000
+ this.languages = [];
1001
+ this.languageLabel = 'Dil';
1002
+ /**
1003
+ * B1-K3: kabuk secimi YAYIYOR, uygulamiyor.
1004
+ *
1005
+ * document.documentElement.lang yazmak, localStorage'a kaydetmek ve
1006
+ * ?lang= -> kayit -> tarayici sirasini uygulamak @virusis/i18n'in isi.
1007
+ */
1008
+ this.languageChange = new EventEmitter();
1009
+ this.menuOpenLabel = 'Menüyü aç';
1010
+ /** Cekmece tetikleyicisinin erisilebilir adi — acikken. */
1011
+ this.menuCloseLabel = 'Menüyü kapat';
885
1012
  this.isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
886
1013
  /** Dar ekran mi — overlay'i zorunlu kilar. */
887
1014
  this.narrow = signal(false, ...(ngDevMode ? [{ debugName: "narrow" }] : []));
@@ -890,7 +1017,10 @@ class VpShellComponent {
890
1017
  this.skipLabel = 'İçeriğe atla';
891
1018
  if (!this.isBrowser || typeof window.matchMedia !== 'function')
892
1019
  return;
893
- const media = window.matchMedia('(max-width: 768px)');
1020
+ // Olcek: VP_BREAKPOINTS.md — kabugun cekmece kipine gectigi sinir.
1021
+ // 768 idi; bilesenler 900'de dar yerlesime geciyordu ve arada kalan
1022
+ // 769-900px'te kabuk genis, icindekiler dar davraniyordu.
1023
+ const media = window.matchMedia('(max-width: 900px)');
894
1024
  const apply = (matches) => {
895
1025
  this.narrow.set(matches);
896
1026
  /*
@@ -907,112 +1037,425 @@ class VpShellComponent {
907
1037
  const listener = (event) => apply(event.matches);
908
1038
  media.addEventListener('change', listener);
909
1039
  inject(DestroyRef).onDestroy(() => media.removeEventListener('change', listener));
910
- apply(media.matches);
1040
+ /*
1041
+ * 🔴 ILK OLCUM CIZIMDEN SONRA.
1042
+ *
1043
+ * Kurucuda dogrudan yayin yapmak sessizce kayboluyordu: cikti aboneligi
1044
+ * bilesen kuruldiktan SONRA baglaniyor, yani ilk `collapsedChange` kimseye
1045
+ * ulasmiyordu. Yalniz sonraki *degisiklikler* (pencereyi daraltmak, cihazi
1046
+ * dondurmek) calisiyordu — bu yuzden elle denemede sorun gorunmuyordu.
1047
+ *
1048
+ * Belirtisi olculdu (2026-09-07): Customer Console'un on iki mobil gorsel
1049
+ * temelinin hepsi ACIK menuyu gosteriyordu; ekranin kendisi maskenin
1050
+ * altinda kaliyordu. Mobilde uygulama, kullanici menuyu kapatana kadar
1051
+ * kullanilamiyordu.
1052
+ *
1053
+ * ⚠️ `ngOnInit` de olmaz: ayni denetim turunde girdiyi degistirdigi icin
1054
+ * NG0100 uretiyor (olculdu). `afterNextRender` cizimden sonra calisiyor ve
1055
+ * sunucuda hic calismiyor.
1056
+ */
1057
+ afterNextRender(() => apply(media.matches));
911
1058
  }
912
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
913
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpShellComponent, isStandalone: true, selector: "vp-shell", inputs: { sidebarId: "sidebarId", menuMode: "menuMode", collapsed: "collapsed", skipLabel: "skipLabel" }, outputs: { collapsedChange: "collapsedChange" }, ngImport: i0, template: `
914
- <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
915
- Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
916
- <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
917
-
918
- <header class="vp-shell__topbar">
919
- <ng-content select="[topbar]" />
920
- </header>
921
-
922
- <div class="vp-shell__body">
923
- <!--
924
- id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
925
- ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
926
- aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
927
- icin varmis gibi gorunen, gercekte olmayan bir baglanti.
928
- -->
929
- <aside
930
- [id]="sidebarId"
931
- class="vp-shell__sidebar"
932
- [attr.data-collapsed]="collapsed || null"
933
- [attr.data-overlay]="overlay() || null">
934
- <ng-content select="[sidebar]" />
935
- </aside>
936
-
937
- @if (overlay() && !collapsed) {
938
- <!--
939
- 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
940
- Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
941
- tiklamalari sessizce yutardi.
942
-
943
- ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
944
- duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
945
- vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
946
- -->
947
- <div
948
- class="vp-shell__mask"
949
- data-vp-shell-mask
950
- aria-hidden="true"
951
- (click)="collapsedChange.emit(true)"></div>
952
- }
953
-
954
- <main id="vp-main" class="vp-shell__main" tabindex="-1">
955
- <ng-content />
956
- </main>
957
- </div>
958
- `, isInline: true, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__main{flex:1;min-width:0;padding:var(--vp-space-6);outline:none}.vp-shell__sidebar[data-overlay]{position:fixed;inset-block:0;left:0;z-index:30;width:min(var(--vp-sidebar-width),82vw);flex-basis:auto;transform:translate(0);transition:transform var(--vp-duration-base) var(--vp-ease-standard);box-shadow:var(--vp-shadow-lg)}.vp-shell__sidebar[data-overlay][data-collapsed]{transform:translate(-100%);width:min(var(--vp-sidebar-width),82vw);box-shadow:none}@media(max-width:768px){.vp-shell__main{padding:var(--vp-space-4)}}.vp-shell__mask{position:fixed;inset:0;z-index:29;background:var(--vp-scrim, rgb(0 0 0 / 45%))}@media(prefers-reduced-motion:reduce){.vp-skip,.vp-shell__sidebar{transition:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1059
+ /**
1060
+ * 🔴 Cekmece acilinca odak ICERI giriyor.
1061
+ *
1062
+ * Olculdu (2026-09-08): menu acildiginda odak tetikleyicide kaliyordu;
1063
+ * klavye kullanicisi menuyu aciyor ama iceri giremiyordu — Tab tusu once
1064
+ * ust cubugun kalan ogelerini geziyor, cunku cekmece DOM'da onlardan
1065
+ * SONRA duruyor.
1066
+ *
1067
+ * ⚠️ Kapaliyken kenar cubugu `inert`: ekran disindaki baglantilar sekme
1068
+ * sirasinda durak olmasin. `inert` olmadan menu kapaliyken de Tab ile
1069
+ * gorunmeyen yedi baglantiya girilebiliyordu.
1070
+ */
1071
+ ngOnChanges(changes) {
1072
+ const change = changes['collapsed'];
1073
+ if (!change || change.firstChange)
1074
+ return;
1075
+ if (!this.overlay() || change.currentValue !== false)
1076
+ return;
1077
+ /*
1078
+ * ⚠️ Odak MIKRO GOREVDE veriliyor, `ngOnChanges` icinde degil.
1079
+ *
1080
+ * `ngOnChanges` sablon baglamalarindan ONCE calisiyor: o an kenar cubugu
1081
+ * hala `inert` ve inert bir alt agactaki ogeye verilen odak SESSIZCE
1082
+ * yok sayiliyor. Olculdu: odak tetikleyicide kaliyordu ve test "odak
1083
+ * disarida kaldi" diyordu. Mikro gorev, cizim bittikten sonra calisiyor.
1084
+ */
1085
+ queueMicrotask(() => {
1086
+ const host = this.sidebarRef?.nativeElement;
1087
+ if (!host || this.collapsed)
1088
+ return;
1089
+ const first = host.querySelector('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])');
1090
+ (first ?? host).focus();
1091
+ });
1092
+ }
1093
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1094
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpShellComponent, isStandalone: true, selector: "vp-shell", inputs: { sidebarId: "sidebarId", menuMode: "menuMode", quota: "quota", languages: "languages", language: "language", languageLabel: "languageLabel", menuOpenLabel: "menuOpenLabel", menuCloseLabel: "menuCloseLabel", collapsed: "collapsed", skipLabel: "skipLabel" }, outputs: { collapsedChange: "collapsedChange", languageChange: "languageChange" }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, viewQueries: [{ propertyName: "sidebarRef", first: true, predicate: ["sidebar"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
1095
+ <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1096
+ Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1097
+ <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1098
+
1099
+ <header class="vp-shell__topbar">
1100
+ <!--
1101
+ 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1102
+ Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1103
+ bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1104
+ vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1105
+ iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1106
+ garanti ettigi bir dugme olmali.
1107
+
1108
+ Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1109
+ ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1110
+ -->
1111
+ @if (overlay()) {
1112
+ <button
1113
+ type="button"
1114
+ class="vp-shell__drawer-toggle"
1115
+ data-vp-drawer-toggle
1116
+ [attr.aria-controls]="sidebarId"
1117
+ [attr.aria-expanded]="!collapsed"
1118
+ [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1119
+ (click)="toggleDrawer()">
1120
+ <span class="vp-shell__burger" aria-hidden="true"></span>
1121
+ </button>
1122
+ }
1123
+ <ng-content select="[topbar]" />
1124
+ </header>
1125
+
1126
+ <div class="vp-shell__body">
1127
+ <!--
1128
+ id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1129
+ ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1130
+ aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1131
+ icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1132
+ -->
1133
+ <aside
1134
+ #sidebar
1135
+ [id]="sidebarId"
1136
+ class="vp-shell__sidebar"
1137
+ [attr.data-collapsed]="collapsed || null"
1138
+ [attr.data-overlay]="overlay() || null"
1139
+ [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1140
+ [attr.inert]="overlay() && collapsed ? '' : null">
1141
+ <!--
1142
+ Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1143
+ sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1144
+ ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1145
+ -->
1146
+ <div class="vp-shell__sidebar-scroll">
1147
+ <ng-content select="[sidebar]" />
1148
+ </div>
1149
+
1150
+ @if (quota || languages.length) {
1151
+ <div class="vp-shell__sidebar-foot">
1152
+ @if (quota) {
1153
+ <!--
1154
+ B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1155
+ Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1156
+ kabugun kuralina uyuyor.
1157
+
1158
+ Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1159
+ basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1160
+ demektir.
1161
+ -->
1162
+ <div
1163
+ class="vp-shell__quota"
1164
+ data-vp-quota
1165
+ [attr.data-vp-quota-level]="quotaLevel"
1166
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1167
+ [attr.title]="collapsed ? quotaText : null">
1168
+ <div class="vp-shell__quota-head">
1169
+ <span class="vp-shell__quota-label">{{ quota.label }}</span>
1170
+ <span class="vp-shell__quota-value">{{ quotaText }}</span>
1171
+ </div>
1172
+ <!--
1173
+ Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1174
+ aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1175
+ kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1176
+ -->
1177
+ <div
1178
+ class="vp-shell__quota-bar"
1179
+ role="progressbar"
1180
+ aria-valuemin="0"
1181
+ aria-valuemax="100"
1182
+ [attr.aria-valuenow]="quotaPercent"
1183
+ [attr.aria-valuetext]="quotaText"
1184
+ [attr.aria-label]="quota.label">
1185
+ @if (quotaSegments.length) {
1186
+ @for (segment of quotaSegments; track segment.label) {
1187
+ <span
1188
+ class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1189
+ data-vp-quota-segment
1190
+ [attr.data-vp-quota-segment-label]="segment.label"
1191
+ [attr.title]="segment.title"
1192
+ [style.inline-size.%]="segment.percent"
1193
+ [style.background]="segment.color"></span>
1194
+ }
1195
+ } @else {
1196
+ <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1197
+ }
1198
+ </div>
1199
+ @if (quota.hint && !collapsed) {
1200
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1201
+ }
1202
+ </div>
1203
+ }
1204
+
1205
+ @if (languages.length) {
1206
+ <!--
1207
+ B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1208
+ Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1209
+ ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1210
+ document.lang yazarsa dil mantigi iki yere bolunur.
1211
+ -->
1212
+ <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1213
+ @for (option of languages; track option.code) {
1214
+ <button
1215
+ type="button"
1216
+ class="vp-shell__lang-option"
1217
+ data-vp-lang-option
1218
+ [attr.data-vp-lang-code]="option.code"
1219
+ [attr.aria-pressed]="option.code === language"
1220
+ [attr.title]="option.label"
1221
+ (click)="languageChange.emit(option.code)">
1222
+ {{ collapsed ? option.code.toUpperCase() : option.label }}
1223
+ </button>
1224
+ }
1225
+ </div>
1226
+ }
1227
+ </div>
1228
+ }
1229
+ </aside>
1230
+
1231
+ @if (overlay() && !collapsed) {
1232
+ <!--
1233
+ 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1234
+ Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1235
+ tiklamalari sessizce yutardi.
1236
+
1237
+ ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1238
+ duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1239
+ vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1240
+ -->
1241
+ <div
1242
+ class="vp-shell__mask"
1243
+ data-vp-shell-mask
1244
+ data-vp-scrim
1245
+ aria-hidden="true"
1246
+ (click)="collapsedChange.emit(true)"></div>
1247
+ }
1248
+
1249
+ <main id="vp-main" class="vp-shell__main" tabindex="-1">
1250
+ <ng-content />
1251
+ </main>
1252
+ </div>
1253
+
1254
+ <!--
1255
+ Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1256
+ main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1257
+ contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1258
+ -->
1259
+ <ng-content select="[footer]" />
1260
+ `, isInline: true, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__sidebar{display:flex;flex-direction:column}.vp-shell__sidebar-scroll{flex:1;min-height:0;overflow-y:auto}.vp-shell__sidebar-foot{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--vp-space-3);padding:var(--vp-space-3);border-top:1px solid var(--vp-border-subtle)}.vp-shell__quota-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--vp-space-2);margin-bottom:var(--vp-space-2);font-size:var(--vp-text-xs)}.vp-shell__quota-label{color:var(--vp-text-secondary)}.vp-shell__quota-value{color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-shell__quota-bar{display:flex;block-size:6px;border-radius:var(--vp-radius-full, 999px);background:var(--vp-surface-sunken);overflow:hidden}.vp-shell__quota-fill{display:block;block-size:100%;border-radius:inherit;background:var(--vp-brand-500, var(--vp-focus-ring));transition:inline-size var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__quota[data-vp-quota-level=warn] .vp-shell__quota-fill{background:var(--vp-sev-high)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-fill{background:var(--vp-sev-critical)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-value{color:var(--vp-sev-critical)}.vp-shell__quota-hint{margin:var(--vp-space-2) 0 0;color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-shell__quota-fill--segment{border-radius:0}.vp-shell__quota-fill--segment+.vp-shell__quota-fill--segment{border-inline-start:1px solid var(--vp-surface-raised)}.vp-shell__quota[data-vp-quota-compact] .vp-shell__quota-head{display:none}.vp-shell__lang{display:flex;flex-wrap:wrap;gap:var(--vp-space-1)}.vp-shell__lang-option{flex:1 1 auto;min-height:var(--vp-control-height);padding:0 var(--vp-space-2);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-xs);cursor:pointer}.vp-shell__lang-option:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option[aria-pressed=true]{border-color:var(--vp-border-default);background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__main{flex:1;min-width:0;padding:var(--vp-space-6);outline:none}.vp-shell__sidebar[data-overlay]{position:fixed;inset-block:0;left:0;z-index:30;width:min(var(--vp-sidebar-width),82vw);flex-basis:auto;transform:translate(0);transition:transform var(--vp-duration-base) var(--vp-ease-standard);box-shadow:var(--vp-shadow-lg)}.vp-shell__sidebar[data-overlay][data-collapsed]{transform:translate(-100%);width:min(var(--vp-sidebar-width),82vw);box-shadow:none}@media(max-width:900px){.vp-shell__main{padding:var(--vp-space-4)}}.vp-shell__drawer-toggle{display:inline-grid;place-items:center;width:44px;height:44px;margin-inline-end:var(--vp-space-2);border:0;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-shell__drawer-toggle:hover{background:var(--vp-surface-sunken, rgb(255 255 255 / 6%))}.vp-shell__drawer-toggle:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__burger,.vp-shell__burger:before,.vp-shell__burger:after{display:block;width:18px;height:2px;border-radius:1px;background:currentColor}.vp-shell__burger{position:relative}.vp-shell__burger:before,.vp-shell__burger:after{content:\"\";position:absolute;left:0}.vp-shell__burger:before{top:-6px}.vp-shell__burger:after{top:6px}.vp-shell__mask{position:fixed;inset:0;z-index:29;background:var(--vp-scrim, rgb(0 0 0 / 45%))}@media(prefers-reduced-motion:reduce){.vp-skip,.vp-shell__sidebar{transition:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
959
1261
  }
960
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpShellComponent, decorators: [{
1262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, decorators: [{
961
1263
  type: Component,
962
- args: [{ selector: 'vp-shell', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
963
- <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
964
- Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
965
- <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
966
-
967
- <header class="vp-shell__topbar">
968
- <ng-content select="[topbar]" />
969
- </header>
970
-
971
- <div class="vp-shell__body">
972
- <!--
973
- id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
974
- ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
975
- aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
976
- icin varmis gibi gorunen, gercekte olmayan bir baglanti.
977
- -->
978
- <aside
979
- [id]="sidebarId"
980
- class="vp-shell__sidebar"
981
- [attr.data-collapsed]="collapsed || null"
982
- [attr.data-overlay]="overlay() || null">
983
- <ng-content select="[sidebar]" />
984
- </aside>
985
-
986
- @if (overlay() && !collapsed) {
987
- <!--
988
- 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
989
- Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
990
- tiklamalari sessizce yutardi.
991
-
992
- ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
993
- duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
994
- vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
995
- -->
996
- <div
997
- class="vp-shell__mask"
998
- data-vp-shell-mask
999
- aria-hidden="true"
1000
- (click)="collapsedChange.emit(true)"></div>
1001
- }
1002
-
1003
- <main id="vp-main" class="vp-shell__main" tabindex="-1">
1004
- <ng-content />
1005
- </main>
1006
- </div>
1007
- `, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__main{flex:1;min-width:0;padding:var(--vp-space-6);outline:none}.vp-shell__sidebar[data-overlay]{position:fixed;inset-block:0;left:0;z-index:30;width:min(var(--vp-sidebar-width),82vw);flex-basis:auto;transform:translate(0);transition:transform var(--vp-duration-base) var(--vp-ease-standard);box-shadow:var(--vp-shadow-lg)}.vp-shell__sidebar[data-overlay][data-collapsed]{transform:translate(-100%);width:min(var(--vp-sidebar-width),82vw);box-shadow:none}@media(max-width:768px){.vp-shell__main{padding:var(--vp-space-4)}}.vp-shell__mask{position:fixed;inset:0;z-index:29;background:var(--vp-scrim, rgb(0 0 0 / 45%))}@media(prefers-reduced-motion:reduce){.vp-skip,.vp-shell__sidebar{transition:none}}\n"] }]
1264
+ args: [{ selector: 'vp-shell', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1265
+ <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1266
+ Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1267
+ <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1268
+
1269
+ <header class="vp-shell__topbar">
1270
+ <!--
1271
+ 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1272
+ Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1273
+ bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1274
+ vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1275
+ iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1276
+ garanti ettigi bir dugme olmali.
1277
+
1278
+ Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1279
+ ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1280
+ -->
1281
+ @if (overlay()) {
1282
+ <button
1283
+ type="button"
1284
+ class="vp-shell__drawer-toggle"
1285
+ data-vp-drawer-toggle
1286
+ [attr.aria-controls]="sidebarId"
1287
+ [attr.aria-expanded]="!collapsed"
1288
+ [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1289
+ (click)="toggleDrawer()">
1290
+ <span class="vp-shell__burger" aria-hidden="true"></span>
1291
+ </button>
1292
+ }
1293
+ <ng-content select="[topbar]" />
1294
+ </header>
1295
+
1296
+ <div class="vp-shell__body">
1297
+ <!--
1298
+ id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1299
+ ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1300
+ aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1301
+ icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1302
+ -->
1303
+ <aside
1304
+ #sidebar
1305
+ [id]="sidebarId"
1306
+ class="vp-shell__sidebar"
1307
+ [attr.data-collapsed]="collapsed || null"
1308
+ [attr.data-overlay]="overlay() || null"
1309
+ [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1310
+ [attr.inert]="overlay() && collapsed ? '' : null">
1311
+ <!--
1312
+ Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1313
+ sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1314
+ ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1315
+ -->
1316
+ <div class="vp-shell__sidebar-scroll">
1317
+ <ng-content select="[sidebar]" />
1318
+ </div>
1319
+
1320
+ @if (quota || languages.length) {
1321
+ <div class="vp-shell__sidebar-foot">
1322
+ @if (quota) {
1323
+ <!--
1324
+ B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1325
+ Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1326
+ kabugun kuralina uyuyor.
1327
+
1328
+ Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1329
+ basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1330
+ demektir.
1331
+ -->
1332
+ <div
1333
+ class="vp-shell__quota"
1334
+ data-vp-quota
1335
+ [attr.data-vp-quota-level]="quotaLevel"
1336
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1337
+ [attr.title]="collapsed ? quotaText : null">
1338
+ <div class="vp-shell__quota-head">
1339
+ <span class="vp-shell__quota-label">{{ quota.label }}</span>
1340
+ <span class="vp-shell__quota-value">{{ quotaText }}</span>
1341
+ </div>
1342
+ <!--
1343
+ Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1344
+ aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1345
+ kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1346
+ -->
1347
+ <div
1348
+ class="vp-shell__quota-bar"
1349
+ role="progressbar"
1350
+ aria-valuemin="0"
1351
+ aria-valuemax="100"
1352
+ [attr.aria-valuenow]="quotaPercent"
1353
+ [attr.aria-valuetext]="quotaText"
1354
+ [attr.aria-label]="quota.label">
1355
+ @if (quotaSegments.length) {
1356
+ @for (segment of quotaSegments; track segment.label) {
1357
+ <span
1358
+ class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1359
+ data-vp-quota-segment
1360
+ [attr.data-vp-quota-segment-label]="segment.label"
1361
+ [attr.title]="segment.title"
1362
+ [style.inline-size.%]="segment.percent"
1363
+ [style.background]="segment.color"></span>
1364
+ }
1365
+ } @else {
1366
+ <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1367
+ }
1368
+ </div>
1369
+ @if (quota.hint && !collapsed) {
1370
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1371
+ }
1372
+ </div>
1373
+ }
1374
+
1375
+ @if (languages.length) {
1376
+ <!--
1377
+ B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1378
+ Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1379
+ ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1380
+ document.lang yazarsa dil mantigi iki yere bolunur.
1381
+ -->
1382
+ <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1383
+ @for (option of languages; track option.code) {
1384
+ <button
1385
+ type="button"
1386
+ class="vp-shell__lang-option"
1387
+ data-vp-lang-option
1388
+ [attr.data-vp-lang-code]="option.code"
1389
+ [attr.aria-pressed]="option.code === language"
1390
+ [attr.title]="option.label"
1391
+ (click)="languageChange.emit(option.code)">
1392
+ {{ collapsed ? option.code.toUpperCase() : option.label }}
1393
+ </button>
1394
+ }
1395
+ </div>
1396
+ }
1397
+ </div>
1398
+ }
1399
+ </aside>
1400
+
1401
+ @if (overlay() && !collapsed) {
1402
+ <!--
1403
+ 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1404
+ Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1405
+ tiklamalari sessizce yutardi.
1406
+
1407
+ ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1408
+ duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1409
+ vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1410
+ -->
1411
+ <div
1412
+ class="vp-shell__mask"
1413
+ data-vp-shell-mask
1414
+ data-vp-scrim
1415
+ aria-hidden="true"
1416
+ (click)="collapsedChange.emit(true)"></div>
1417
+ }
1418
+
1419
+ <main id="vp-main" class="vp-shell__main" tabindex="-1">
1420
+ <ng-content />
1421
+ </main>
1422
+ </div>
1423
+
1424
+ <!--
1425
+ Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1426
+ main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1427
+ contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1428
+ -->
1429
+ <ng-content select="[footer]" />
1430
+ `, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__sidebar{display:flex;flex-direction:column}.vp-shell__sidebar-scroll{flex:1;min-height:0;overflow-y:auto}.vp-shell__sidebar-foot{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--vp-space-3);padding:var(--vp-space-3);border-top:1px solid var(--vp-border-subtle)}.vp-shell__quota-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--vp-space-2);margin-bottom:var(--vp-space-2);font-size:var(--vp-text-xs)}.vp-shell__quota-label{color:var(--vp-text-secondary)}.vp-shell__quota-value{color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-shell__quota-bar{display:flex;block-size:6px;border-radius:var(--vp-radius-full, 999px);background:var(--vp-surface-sunken);overflow:hidden}.vp-shell__quota-fill{display:block;block-size:100%;border-radius:inherit;background:var(--vp-brand-500, var(--vp-focus-ring));transition:inline-size var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__quota[data-vp-quota-level=warn] .vp-shell__quota-fill{background:var(--vp-sev-high)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-fill{background:var(--vp-sev-critical)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-value{color:var(--vp-sev-critical)}.vp-shell__quota-hint{margin:var(--vp-space-2) 0 0;color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-shell__quota-fill--segment{border-radius:0}.vp-shell__quota-fill--segment+.vp-shell__quota-fill--segment{border-inline-start:1px solid var(--vp-surface-raised)}.vp-shell__quota[data-vp-quota-compact] .vp-shell__quota-head{display:none}.vp-shell__lang{display:flex;flex-wrap:wrap;gap:var(--vp-space-1)}.vp-shell__lang-option{flex:1 1 auto;min-height:var(--vp-control-height);padding:0 var(--vp-space-2);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-xs);cursor:pointer}.vp-shell__lang-option:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option[aria-pressed=true]{border-color:var(--vp-border-default);background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__main{flex:1;min-width:0;padding:var(--vp-space-6);outline:none}.vp-shell__sidebar[data-overlay]{position:fixed;inset-block:0;left:0;z-index:30;width:min(var(--vp-sidebar-width),82vw);flex-basis:auto;transform:translate(0);transition:transform var(--vp-duration-base) var(--vp-ease-standard);box-shadow:var(--vp-shadow-lg)}.vp-shell__sidebar[data-overlay][data-collapsed]{transform:translate(-100%);width:min(var(--vp-sidebar-width),82vw);box-shadow:none}@media(max-width:900px){.vp-shell__main{padding:var(--vp-space-4)}}.vp-shell__drawer-toggle{display:inline-grid;place-items:center;width:44px;height:44px;margin-inline-end:var(--vp-space-2);border:0;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-shell__drawer-toggle:hover{background:var(--vp-surface-sunken, rgb(255 255 255 / 6%))}.vp-shell__drawer-toggle:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__burger,.vp-shell__burger:before,.vp-shell__burger:after{display:block;width:18px;height:2px;border-radius:1px;background:currentColor}.vp-shell__burger{position:relative}.vp-shell__burger:before,.vp-shell__burger:after{content:\"\";position:absolute;left:0}.vp-shell__burger:before{top:-6px}.vp-shell__burger:after{top:6px}.vp-shell__mask{position:fixed;inset:0;z-index:29;background:var(--vp-scrim, rgb(0 0 0 / 45%))}@media(prefers-reduced-motion:reduce){.vp-skip,.vp-shell__sidebar{transition:none}}\n"] }]
1008
1431
  }], ctorParameters: () => [], propDecorators: { sidebarId: [{
1009
1432
  type: Input
1010
1433
  }], menuMode: [{
1011
1434
  type: Input
1012
1435
  }], collapsedChange: [{
1013
1436
  type: Output
1437
+ }], quota: [{
1438
+ type: Input
1439
+ }], languages: [{
1440
+ type: Input
1441
+ }], language: [{
1442
+ type: Input
1443
+ }], languageLabel: [{
1444
+ type: Input
1445
+ }], languageChange: [{
1446
+ type: Output
1447
+ }], menuOpenLabel: [{
1448
+ type: Input
1449
+ }], menuCloseLabel: [{
1450
+ type: Input
1451
+ }], onEscape: [{
1452
+ type: HostListener,
1453
+ args: ['document:keydown.escape']
1014
1454
  }], collapsed: [{
1015
1455
  type: Input
1456
+ }], sidebarRef: [{
1457
+ type: ViewChild,
1458
+ args: ['sidebar']
1016
1459
  }], skipLabel: [{
1017
1460
  type: Input
1018
1461
  }] } });
@@ -1046,13 +1489,13 @@ class VpSkipLinkComponent {
1046
1489
  /** Paket kuralina uygun: Turkce varsayilan, `@Input` ile ezilir. */
1047
1490
  this.label = 'Ana içeriğe geç';
1048
1491
  }
1049
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSkipLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1050
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpSkipLinkComponent, isStandalone: true, selector: "vp-skip-link", inputs: { targetId: "targetId", label: "label" }, ngImport: i0, template: `
1492
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSkipLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1493
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpSkipLinkComponent, isStandalone: true, selector: "vp-skip-link", inputs: { targetId: "targetId", label: "label" }, ngImport: i0, template: `
1051
1494
  <!-- DOM'da ILK odaklanabilir oge olmali: sayfanin en basinda dursun. -->
1052
1495
  <a class="vp-skip" data-vp-skip [href]="'#' + targetId">{{ label }}</a>
1053
1496
  `, isInline: true, styles: [".vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-skip{transition:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1054
1497
  }
1055
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSkipLinkComponent, decorators: [{
1498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSkipLinkComponent, decorators: [{
1056
1499
  type: Component,
1057
1500
  args: [{ selector: 'vp-skip-link', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1058
1501
  <!-- DOM'da ILK odaklanabilir oge olmali: sayfanin en basinda dursun. -->
@@ -1065,10 +1508,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
1065
1508
  }] } });
1066
1509
 
1067
1510
  /**
1068
- * Sayfa basligi — paket 05 · G6.
1511
+ * Sayfa basligi — paket 05 · G6 · paket 28 · G5.
1069
1512
  *
1070
1513
  * Sayfa basina TEK h1. Kabuk main landmark'i sagliyor; bu bilesen
1071
1514
  * ona baslik veriyor. Aksiyonlar sagda, baslik solda.
1515
+ *
1516
+ * ## 🔴 Sekiz "varyant" AYRI BILESEN DEGIL
1517
+ *
1518
+ * `page-anatomy` §13 sekiz baslik varyanti sayiyor (Standard · Entity ·
1519
+ * Settings · Dashboard · List · Wizard · Trial · Public). Sekiz bilesen
1520
+ * yazmak, aralarindaki tek farkin **hangi yuvalarin dolduruldugu** oldugunu
1521
+ * gorunmez kilardi: hepsi ayni satiri (baslik + durum + aksiyon) ve ayni alt
1522
+ * satiri (aciklama · metadata) kullaniyor.
1523
+ *
1524
+ * Varyantlar bu bilesenin **kompozisyonlari**:
1525
+ *
1526
+ * | Varyant | Kompozisyon |
1527
+ * |---|---|
1528
+ * | Standard | `heading` + `description?` + `[actions]` |
1529
+ * | Entity | `heading` + `[status]` + `[meta]` + `[actions]` + `[tabs]` |
1530
+ * | Settings | `heading` + `description` (aksiyon yok — kaydetme cubugu altta) |
1531
+ * | Dashboard | `heading` + `[actions]` (zaman araligi + yenile) |
1532
+ * | List | `heading` + `count` + `[actions]` |
1533
+ * | Wizard | `heading` + `description` + `[status]` (adim gostergesi) |
1534
+ * | Trial | `heading` + `[status]` (rozet + kota) + `[actions]` |
1535
+ * | Public | `heading` + `[actions]` (CTA) |
1536
+ *
1537
+ * ⚠️ Kirinti (breadcrumb) BURADA DEGIL: `vp-breadcrumb` kabuk seviyesinde ve
1538
+ * baslikla ayni kutuda degil. Basliga tasinsaydi her ekran kirintiyi kendisi
1539
+ * beslemek zorunda kalirdi; bugun rotadan turetiliyor.
1072
1540
  */
1073
1541
  class VpPageHeaderComponent {
1074
1542
  constructor() {
@@ -1076,46 +1544,82 @@ class VpPageHeaderComponent {
1076
1544
  /** Kayit sayisi. 0 da gosterilir — "bos" ile "sifir" farkli bilgidir. */
1077
1545
  this.count = null;
1078
1546
  }
1079
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1080
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpPageHeaderComponent, isStandalone: true, selector: "vp-page-header", inputs: { heading: "heading", description: "description", count: "count" }, ngImport: i0, template: `
1547
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1548
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpPageHeaderComponent, isStandalone: true, selector: "vp-page-header", inputs: { heading: "heading", description: "description", count: "count" }, ngImport: i0, template: `
1081
1549
  <div class="vp-page-header">
1082
- <div class="vp-page-header__text">
1083
- <div class="vp-page-header__heading-row">
1084
- <h1 class="vp-page-header__heading">{{ heading }}</h1>
1085
- @if (count !== null && count !== undefined) {
1086
- <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1550
+ <div class="vp-page-header__bar">
1551
+ <div class="vp-page-header__text">
1552
+ <div class="vp-page-header__heading-row">
1553
+ <h1 class="vp-page-header__heading">{{ heading }}</h1>
1554
+ @if (count !== null && count !== undefined) {
1555
+ <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1556
+ }
1557
+ <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1558
+ <span class="vp-page-header__status" data-vp-status>
1559
+ <ng-content select="[status]" />
1560
+ </span>
1561
+ </div>
1562
+ @if (description) {
1563
+ <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1087
1564
  }
1565
+ <!--
1566
+ Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1567
+ metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1568
+ veri sayfa aciklamasi gibi okunurdu.
1569
+ -->
1570
+ <div class="vp-page-header__meta" data-vp-meta>
1571
+ <ng-content select="[meta]" />
1572
+ </div>
1573
+ </div>
1574
+ <div class="vp-page-header__actions">
1575
+ <ng-content select="[actions]" />
1088
1576
  </div>
1089
- @if (description) {
1090
- <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1091
- }
1092
1577
  </div>
1093
- <div class="vp-page-header__actions">
1094
- <ng-content select="[actions]" />
1578
+ <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1579
+ <div class="vp-page-header__tabs" data-vp-tabs>
1580
+ <ng-content select="[tabs]" />
1095
1581
  </div>
1096
1582
  </div>
1097
- `, isInline: true, styles: [":host{display:block}.vp-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--vp-space-4);margin-bottom:var(--vp-space-6)}.vp-page-header__heading-row{display:flex;align-items:baseline;gap:var(--vp-space-3)}.vp-page-header__heading{margin:0;font-size:var(--vp-text-2xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);color:var(--vp-text-primary)}.vp-page-header__count{padding:var(--vp-space-1) var(--vp-space-2);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-page-header__description{margin:var(--vp-space-1) 0 0;color:var(--vp-text-secondary);font-size:var(--vp-text-base)}.vp-page-header__actions{display:flex;flex-shrink:0;gap:var(--vp-space-2)}@media(max-width:768px){.vp-page-header{flex-direction:column}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1583
+ `, isInline: true, styles: [":host{display:block}.vp-page-header{margin-bottom:var(--vp-space-6)}.vp-page-header__bar{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--vp-space-4)}.vp-page-header__meta:empty,.vp-page-header__tabs:empty,.vp-page-header__status:empty{display:none}.vp-page-header__meta{display:flex;flex-wrap:wrap;gap:var(--vp-space-3);margin-top:var(--vp-space-2);color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-page-header__status{display:inline-flex;align-items:center;gap:var(--vp-space-2)}.vp-page-header__tabs{margin-top:var(--vp-space-4)}.vp-page-header__heading-row{display:flex;align-items:baseline;gap:var(--vp-space-3)}.vp-page-header__heading{margin:0;font-size:var(--vp-text-2xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);color:var(--vp-text-primary)}.vp-page-header__count{padding:var(--vp-space-1) var(--vp-space-2);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-page-header__description{margin:var(--vp-space-1) 0 0;color:var(--vp-text-secondary);font-size:var(--vp-text-base)}.vp-page-header__actions{display:flex;flex-shrink:0;gap:var(--vp-space-2)}@media(max-width:900px){.vp-page-header__bar{flex-direction:column}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1098
1584
  }
1099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpPageHeaderComponent, decorators: [{
1585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpPageHeaderComponent, decorators: [{
1100
1586
  type: Component,
1101
1587
  args: [{ selector: 'vp-page-header', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1102
1588
  <div class="vp-page-header">
1103
- <div class="vp-page-header__text">
1104
- <div class="vp-page-header__heading-row">
1105
- <h1 class="vp-page-header__heading">{{ heading }}</h1>
1106
- @if (count !== null && count !== undefined) {
1107
- <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1589
+ <div class="vp-page-header__bar">
1590
+ <div class="vp-page-header__text">
1591
+ <div class="vp-page-header__heading-row">
1592
+ <h1 class="vp-page-header__heading">{{ heading }}</h1>
1593
+ @if (count !== null && count !== undefined) {
1594
+ <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1595
+ }
1596
+ <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1597
+ <span class="vp-page-header__status" data-vp-status>
1598
+ <ng-content select="[status]" />
1599
+ </span>
1600
+ </div>
1601
+ @if (description) {
1602
+ <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1108
1603
  }
1604
+ <!--
1605
+ Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1606
+ metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1607
+ veri sayfa aciklamasi gibi okunurdu.
1608
+ -->
1609
+ <div class="vp-page-header__meta" data-vp-meta>
1610
+ <ng-content select="[meta]" />
1611
+ </div>
1612
+ </div>
1613
+ <div class="vp-page-header__actions">
1614
+ <ng-content select="[actions]" />
1109
1615
  </div>
1110
- @if (description) {
1111
- <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1112
- }
1113
1616
  </div>
1114
- <div class="vp-page-header__actions">
1115
- <ng-content select="[actions]" />
1617
+ <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1618
+ <div class="vp-page-header__tabs" data-vp-tabs>
1619
+ <ng-content select="[tabs]" />
1116
1620
  </div>
1117
1621
  </div>
1118
- `, styles: [":host{display:block}.vp-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--vp-space-4);margin-bottom:var(--vp-space-6)}.vp-page-header__heading-row{display:flex;align-items:baseline;gap:var(--vp-space-3)}.vp-page-header__heading{margin:0;font-size:var(--vp-text-2xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);color:var(--vp-text-primary)}.vp-page-header__count{padding:var(--vp-space-1) var(--vp-space-2);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-page-header__description{margin:var(--vp-space-1) 0 0;color:var(--vp-text-secondary);font-size:var(--vp-text-base)}.vp-page-header__actions{display:flex;flex-shrink:0;gap:var(--vp-space-2)}@media(max-width:768px){.vp-page-header{flex-direction:column}}\n"] }]
1622
+ `, styles: [":host{display:block}.vp-page-header{margin-bottom:var(--vp-space-6)}.vp-page-header__bar{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--vp-space-4)}.vp-page-header__meta:empty,.vp-page-header__tabs:empty,.vp-page-header__status:empty{display:none}.vp-page-header__meta{display:flex;flex-wrap:wrap;gap:var(--vp-space-3);margin-top:var(--vp-space-2);color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-page-header__status{display:inline-flex;align-items:center;gap:var(--vp-space-2)}.vp-page-header__tabs{margin-top:var(--vp-space-4)}.vp-page-header__heading-row{display:flex;align-items:baseline;gap:var(--vp-space-3)}.vp-page-header__heading{margin:0;font-size:var(--vp-text-2xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);color:var(--vp-text-primary)}.vp-page-header__count{padding:var(--vp-space-1) var(--vp-space-2);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-page-header__description{margin:var(--vp-space-1) 0 0;color:var(--vp-text-secondary);font-size:var(--vp-text-base)}.vp-page-header__actions{display:flex;flex-shrink:0;gap:var(--vp-space-2)}@media(max-width:900px){.vp-page-header__bar{flex-direction:column}}\n"] }]
1119
1623
  }], propDecorators: { heading: [{
1120
1624
  type: Input,
1121
1625
  args: [{ required: true }]
@@ -1161,8 +1665,8 @@ class VpBannerComponent {
1161
1665
  default: return 'maintenance';
1162
1666
  }
1163
1667
  }
1164
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1165
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpBannerComponent, isStandalone: true, selector: "vp-banner", inputs: { message: "message", tone: "tone", dismissible: "dismissible", dismissLabel: "dismissLabel" }, outputs: { dismissed: "dismissed" }, ngImport: i0, template: `
1668
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1669
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpBannerComponent, isStandalone: true, selector: "vp-banner", inputs: { message: "message", tone: "tone", dismissible: "dismissible", dismissLabel: "dismissLabel" }, outputs: { dismissed: "dismissed" }, ngImport: i0, template: `
1166
1670
  <div
1167
1671
  class="vp-banner"
1168
1672
  [attr.data-tone]="tone"
@@ -1194,7 +1698,7 @@ class VpBannerComponent {
1194
1698
  </div>
1195
1699
  `, isInline: true, styles: [":host{display:block}.vp-banner{display:flex;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-sunken);color:var(--vp-text-primary);font-size:var(--vp-text-sm)}.vp-banner[data-tone=info]{background:var(--vp-sev-low-bg);color:var(--vp-sev-low)}.vp-banner[data-tone=warning]{background:var(--vp-sev-high-bg);color:var(--vp-sev-high)}.vp-banner[data-tone=danger]{background:var(--vp-sev-critical-bg);color:var(--vp-sev-critical)}.vp-banner[data-tone=success]{background:var(--vp-sev-clean-bg);color:var(--vp-sev-clean)}.vp-banner__icon{flex:0 0 auto;width:18px;height:18px}.vp-banner__message{flex:1;min-width:0}.vp-banner__actions{display:flex;gap:var(--vp-space-2);flex-shrink:0}.vp-banner__dismiss{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);flex-shrink:0;border:0;border-radius:var(--vp-radius-sm);background:transparent;color:inherit;cursor:pointer;opacity:.7}.vp-banner__dismiss:hover{opacity:1}.vp-banner__dismiss:focus-visible{opacity:1;outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-banner__dismiss-icon{width:16px;height:16px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1196
1700
  }
1197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpBannerComponent, decorators: [{
1701
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBannerComponent, decorators: [{
1198
1702
  type: Component,
1199
1703
  args: [{ selector: 'vp-banner', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1200
1704
  <div
@@ -1268,8 +1772,8 @@ class VpTopbarComponent {
1268
1772
  this.scrolled = false;
1269
1773
  this.landmarkLabel = 'Üst çubuk';
1270
1774
  }
1271
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpTopbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1272
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpTopbarComponent, isStandalone: true, selector: "vp-topbar", inputs: { scrolled: "scrolled", landmarkLabel: "landmarkLabel" }, ngImport: i0, template: `
1775
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpTopbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1776
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpTopbarComponent, isStandalone: true, selector: "vp-topbar", inputs: { scrolled: "scrolled", landmarkLabel: "landmarkLabel" }, ngImport: i0, template: `
1273
1777
  <header
1274
1778
  class="vp-topbar"
1275
1779
  [attr.aria-label]="landmarkLabel"
@@ -1295,7 +1799,7 @@ class VpTopbarComponent {
1295
1799
  </header>
1296
1800
  `, isInline: true, styles: [":host{display:block;flex:1;min-width:0}.vp-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:var(--vp-space-3);height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);color:var(--vp-text-primary);font-family:var(--vp-font-sans);transition:box-shadow var(--vp-duration-base) var(--vp-ease-standard),background var(--vp-duration-base) var(--vp-ease-standard)}.vp-topbar[data-scrolled]{border-bottom-color:var(--vp-border-strong)}.vp-topbar__brand{display:flex;align-items:center;gap:var(--vp-space-2);flex-shrink:0;font-weight:var(--vp-weight-semibold)}.vp-topbar__start,.vp-topbar__actions,.vp-topbar__user{display:flex;align-items:center;gap:var(--vp-space-2);flex-shrink:0}.vp-topbar__spacer{flex:1;min-width:0}@media(max-width:640px){.vp-topbar{padding-inline:var(--vp-space-3);gap:var(--vp-space-2)}.vp-topbar__brand{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(prefers-reduced-motion:reduce){.vp-topbar{transition:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1297
1801
  }
1298
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpTopbarComponent, decorators: [{
1802
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpTopbarComponent, decorators: [{
1299
1803
  type: Component,
1300
1804
  args: [{ selector: 'vp-topbar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1301
1805
  <header
@@ -1385,10 +1889,29 @@ class VpSidebarComponent {
1385
1889
  this.collapsed = false;
1386
1890
  this.navLabel = 'Ana menü';
1387
1891
  this.badgeLabel = 'öğe';
1892
+ /* -- Ray kipi: ucan alt menu ------------------------------------- */
1893
+ this.host = inject(ElementRef);
1894
+ /** Acik ucan menunun ust maddesi - kapaliyken `null`. */
1895
+ this.flyoutItem = null;
1896
+ this.flyoutTop = 0;
1897
+ this.flyoutLeft = 0;
1388
1898
  }
1389
1899
  /** Yetkisiz maddeler hic render edilmez. */
1390
1900
  get visibleItems() {
1391
- return (this.items ?? []).filter(i => !i.hidden);
1901
+ return (this.items ?? []).filter((item) => {
1902
+ if (item.hidden)
1903
+ return false;
1904
+ /*
1905
+ * 🔴 Butun cocuklari gizli olan ust madde de gizleniyor: yetkisi olmayan
1906
+ * kullaniciya bos bir baslik gostermek, olmayan bir yetenegi ima eder.
1907
+ * (Cocugu olmayan madde etkilenmiyor.)
1908
+ */
1909
+ const children = item.children;
1910
+ if (children && children.length > 0) {
1911
+ return children.some((child) => !child.hidden);
1912
+ }
1913
+ return true;
1914
+ });
1392
1915
  }
1393
1916
  /**
1394
1917
  * Maddeleri gruplarina bolerek, ILK GORULDUKLERI SIRAYLA dondurur.
@@ -1400,6 +1923,15 @@ class VpSidebarComponent {
1400
1923
  * 📌 Sozlesme geriye uyumlu: hicbir madde `group` tasimazsa tek adsiz grup
1401
1924
  * olusur ve cikti eskisiyle ayni kalir.
1402
1925
  */
1926
+ /**
1927
+ * Cizilecek cocuklar — gizliler dusuyor.
1928
+ *
1929
+ * ⚠️ Cocugun cocugu DONMUYOR: derinlik bir seviye. Daha derin bir menu kenar
1930
+ * cubugunda okunamaz hale gelir; sozlesme de bunu soyluyor.
1931
+ */
1932
+ childrenOf(item) {
1933
+ return (item.children ?? []).filter((child) => !child.hidden);
1934
+ }
1403
1935
  get groups() {
1404
1936
  const out = [];
1405
1937
  const index = new Map();
@@ -1430,106 +1962,447 @@ class VpSidebarComponent {
1430
1962
  hasBadge(item) {
1431
1963
  return item.badge !== undefined && item.badge !== null;
1432
1964
  }
1433
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1434
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpSidebarComponent, isStandalone: true, selector: "vp-sidebar", inputs: { items: "items", collapsed: "collapsed", navLabel: "navLabel", badgeLabel: "badgeLabel" }, ngImport: i0, template: `
1435
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
1436
- @for (group of groups; track group.name) {
1437
- @if (group.name) {
1438
- <!--
1439
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
1440
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
1441
- gorulebilir olmali.
1442
- -->
1443
- <p class="vp-sidebar__group" [attr.data-vp-menu-group]="group.name">{{ group.name }}</p>
1444
- }
1445
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
1446
- @for (item of group.items; track item.code) {
1447
- <li class="vp-sidebar__item">
1448
- @if (item.disabledReason) {
1449
- <span
1450
- class="vp-sidebar__link vp-sidebar__link--disabled"
1451
- [attr.data-vp-menu-item]="item.code"
1452
- aria-disabled="true"
1453
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
1454
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1455
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1456
- </span>
1457
- <span
1458
- class="vp-sidebar__reason"
1459
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
1460
- } @else {
1461
- <a
1462
- class="vp-sidebar__link"
1463
- [attr.data-vp-menu-item]="item.code"
1464
- [attr.href]="item.path"
1465
- [attr.title]="item.titleKey">
1466
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1467
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1468
- @if (hasBadge(item)) {
1469
- <span
1470
- class="vp-sidebar__badge"
1471
- [attr.data-vp-menu-badge]="item.code"
1472
- [attr.aria-label]="item.badge + ' ' + badgeLabel">{{ item.badge }}</span>
1473
- }
1474
- </a>
1475
- }
1476
- </li>
1965
+ /**
1966
+ * Rayda grup tiklaninca ucan menu acilir/kapanir.
1967
+ *
1968
+ * Olculdu: onceki halde alt kalemler zaten gizli oldugu icin tiklama
1969
+ * EKRANDA hicbir sey yapmiyordu. 64px'e alt kalem sigmaz; rayi gecici
1970
+ * genisletmek ise tiklanan yeri kaydirir.
1971
+ */
1972
+ toggleFlyout(item, event) {
1973
+ if (this.flyoutItem?.code === item.code) {
1974
+ this.closeFlyout();
1975
+ return;
1477
1976
  }
1478
- </ul>
1479
- }
1480
- </nav>
1481
- `, isInline: true, styles: [".vp-sidebar__group{margin:var(--vp-space-4, 1rem) 0 var(--vp-space-1, .25rem);padding:0 var(--vp-space-3, .75rem);font-size:var(--vp-font-size-xs, .75rem);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--vp-text-muted, #8b949e)}.vp-sidebar__group:first-child{margin-top:0}.vp-sidebar[data-collapsed] .vp-sidebar__group{height:1px;margin:var(--vp-space-3, .75rem) var(--vp-space-2, .5rem);padding:0;overflow:hidden;color:transparent;background:var(--vp-border, #30363d)}:host{display:block}.vp-sidebar{padding:var(--vp-space-3)}.vp-sidebar__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-sidebar__item{margin:0}.vp-sidebar__link{display:flex;align-items:center;gap:var(--vp-space-3);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-sidebar__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-sidebar__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-sidebar__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-3));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-sidebar__icon{flex:0 0 auto;width:18px;font-size:18px;line-height:1}.vp-sidebar__label{flex:1;min-width:0}.vp-sidebar__badge{flex:0 0 auto;min-width:1.5rem;padding:0 var(--vp-space-1);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-secondary);font-size:var(--vp-text-xs);text-align:center;font-variant-numeric:tabular-nums}.vp-sidebar[data-collapsed] .vp-sidebar__label,.vp-sidebar[data-collapsed] .vp-sidebar__badge,.vp-sidebar[data-collapsed] .vp-sidebar__reason{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1977
+ this.flyoutItem = item;
1978
+ this.position(event.currentTarget, this.childrenOf(item).length);
1979
+ /*
1980
+ * Odak menunun ICINE giriyor: menuyu acip icine giremeyen bir klavye
1981
+ * kullanicisi icin menu acilmamis sayilir. Bir sonraki mikro-gorevde,
1982
+ * cunku katman bu satirda henuz cizilmedi.
1983
+ */
1984
+ queueMicrotask(() => {
1985
+ this.host.nativeElement
1986
+ .querySelector('[data-vp-flyout] a, [data-vp-flyout] [role="menuitem"]')
1987
+ ?.focus();
1988
+ });
1989
+ }
1990
+ closeFlyout() {
1991
+ this.flyoutItem = null;
1992
+ }
1993
+ /**
1994
+ * Konum tiklanan dugmenin dikdortgeninden; gorunum alanina sikistiriliyor.
1995
+ * Alttaki bir kalem tiklandiginda menu ekranin altindan tasiyordu.
1996
+ */
1997
+ position(anchor, childCount) {
1998
+ if (!anchor?.getBoundingClientRect)
1999
+ return;
2000
+ const rect = anchor.getBoundingClientRect();
2001
+ const width = 224;
2002
+ const height = 44 * (childCount + 1) + 16;
2003
+ const vw = window.innerWidth || 1024;
2004
+ const vh = window.innerHeight || 768;
2005
+ this.flyoutLeft = Math.max(8, Math.min(rect.right + 8, vw - width - 8));
2006
+ this.flyoutTop = Math.max(8, Math.min(rect.top, vh - height - 8));
2007
+ }
2008
+ /** Esc kapatiyor - acilan her katmanin geri cikisi olmali. */
2009
+ onEscape() {
2010
+ this.closeFlyout();
2011
+ }
2012
+ /**
2013
+ * Disariya tiklamak kapatiyor. `pointerdown` bilerek: `click` kullanilsa
2014
+ * menuyu acan tiklamanin kendisi belgeye kadar kabarip menuyu ayni anda
2015
+ * kapatirdi.
2016
+ */
2017
+ onPointerDown(event) {
2018
+ const target = event.target;
2019
+ if (target && this.host.nativeElement.contains(target))
2020
+ return;
2021
+ this.closeFlyout();
2022
+ }
2023
+ /** Ray kipinden cikinca acik menu kapaniyor: genis kipte cocuklar akista. */
2024
+ ngOnChanges(changes) {
2025
+ if (changes['collapsed'] && !this.collapsed)
2026
+ this.closeFlyout();
2027
+ }
2028
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2029
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSidebarComponent, isStandalone: true, selector: "vp-sidebar", inputs: { items: "items", collapsed: "collapsed", navLabel: "navLabel", badgeLabel: "badgeLabel" }, host: { listeners: { "document:keydown.escape": "onEscape()", "document:pointerdown": "onPointerDown($event)" } }, usesOnChanges: true, ngImport: i0, template: `
2030
+ <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2031
+ @for (group of groups; track group.name; let firstGroup = $first) {
2032
+ <!--
2033
+ Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2034
+ nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2035
+ hangisinin ne oldugu yalnizca ikondan okunuyor.
2036
+
2037
+ Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2038
+ -->
2039
+ @if (collapsed && !firstGroup) {
2040
+ <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2041
+ }
2042
+ @if (group.name) {
2043
+ <!--
2044
+ Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2045
+ ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2046
+ gorulebilir olmali.
2047
+ -->
2048
+ <p class="vp-sidebar__group" [attr.data-vp-menu-group]="group.name">{{ group.name }}</p>
2049
+ }
2050
+ <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
2051
+ @for (item of group.items; track item.code) {
2052
+ <li class="vp-sidebar__item">
2053
+ @if (childrenOf(item).length) {
2054
+ <!--
2055
+ Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
2056
+ DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
2057
+ kontroldur. Yol varsa baglanti olarak ciziliyor.
2058
+ -->
2059
+ @if (collapsed) {
2060
+ <!--
2061
+ Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
2062
+ Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
2063
+ akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
2064
+ farkli oge tipi bilerek: kontrolun sekli yaptigi isi
2065
+ soylemeli.
2066
+ -->
2067
+ <button
2068
+ type="button"
2069
+ class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
2070
+ [attr.data-vp-menu-parent]="item.code"
2071
+ [attr.title]="item.titleKey"
2072
+ aria-haspopup="menu"
2073
+ [attr.aria-expanded]="flyoutItem?.code === item.code"
2074
+ (click)="toggleFlyout(item, $event)">
2075
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2076
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2077
+ </button>
2078
+ } @else if (item.path) {
2079
+ <a
2080
+ class="vp-sidebar__link vp-sidebar__link--parent"
2081
+ [attr.data-vp-menu-parent]="item.code"
2082
+ [attr.href]="item.path"
2083
+ [attr.title]="item.titleKey">
2084
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2085
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2086
+ </a>
2087
+ } @else {
2088
+ <span
2089
+ class="vp-sidebar__link vp-sidebar__link--parent"
2090
+ [attr.data-vp-menu-parent]="item.code"
2091
+ [attr.title]="item.titleKey">
2092
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2093
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2094
+ </span>
2095
+ }
2096
+
2097
+ <!--
2098
+ Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
2099
+ duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
2100
+ etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
2101
+ anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
2102
+ ucan menu aliyor.
2103
+ -->
2104
+ @if (!collapsed) {
2105
+ <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
2106
+ @for (child of childrenOf(item); track child.code) {
2107
+ <li class="vp-sidebar__item">
2108
+ @if (child.disabledReason) {
2109
+ <span
2110
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2111
+ [attr.data-vp-menu-item]="child.code"
2112
+ aria-disabled="true"
2113
+ [attr.title]="child.titleKey + ' — ' + child.disabledReason">
2114
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2115
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2116
+ </span>
2117
+ <span
2118
+ class="vp-sidebar__reason"
2119
+ [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
2120
+ } @else {
2121
+ <a
2122
+ class="vp-sidebar__link"
2123
+ [attr.data-vp-menu-item]="child.code"
2124
+ [attr.href]="child.path"
2125
+ [attr.title]="child.titleKey">
2126
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2127
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2128
+ @if (hasBadge(child)) {
2129
+ <span
2130
+ class="vp-sidebar__badge"
2131
+ [attr.data-vp-menu-badge]="child.code"
2132
+ [attr.aria-label]="child.badge + ' ' + badgeLabel">{{ child.badge }}</span>
2133
+ }
2134
+ </a>
2135
+ }
2136
+ </li>
2137
+ }
2138
+ </ul>
2139
+ }
2140
+ } @else if (item.disabledReason) {
2141
+ <span
2142
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2143
+ [attr.data-vp-menu-item]="item.code"
2144
+ aria-disabled="true"
2145
+ [attr.title]="item.titleKey + ' — ' + item.disabledReason">
2146
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2147
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2148
+ </span>
2149
+ <span
2150
+ class="vp-sidebar__reason"
2151
+ [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
2152
+ } @else {
2153
+ <a
2154
+ class="vp-sidebar__link"
2155
+ [attr.data-vp-menu-item]="item.code"
2156
+ [attr.href]="item.path"
2157
+ [attr.title]="item.titleKey">
2158
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2159
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2160
+ @if (hasBadge(item)) {
2161
+ <span
2162
+ class="vp-sidebar__badge"
2163
+ [attr.data-vp-menu-badge]="item.code"
2164
+ [attr.aria-label]="item.badge + ' ' + badgeLabel">{{ item.badge }}</span>
2165
+ }
2166
+ </a>
2167
+ }
2168
+ </li>
2169
+ }
2170
+ </ul>
2171
+ }
2172
+
2173
+ @if (flyoutItem) {
2174
+ <!--
2175
+ Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
2176
+ kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
2177
+ dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
2178
+ en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
2179
+ -->
2180
+ <div
2181
+ class="vp-sidebar__flyout"
2182
+ data-vp-flyout
2183
+ role="menu"
2184
+ [attr.aria-label]="flyoutItem.titleKey"
2185
+ [style.top.px]="flyoutTop"
2186
+ [style.left.px]="flyoutLeft">
2187
+ <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
2188
+ @for (child of childrenOf(flyoutItem); track child.code) {
2189
+ @if (child.disabledReason) {
2190
+ <span
2191
+ class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
2192
+ [attr.data-vp-flyout-item]="child.code"
2193
+ role="menuitem"
2194
+ aria-disabled="true">
2195
+ {{ child.titleKey }}
2196
+ <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
2197
+ </span>
2198
+ } @else {
2199
+ <a
2200
+ class="vp-sidebar__flyout-link"
2201
+ [attr.data-vp-flyout-item]="child.code"
2202
+ role="menuitem"
2203
+ [attr.href]="child.path"
2204
+ (click)="closeFlyout()">
2205
+ {{ child.titleKey }}
2206
+ @if (hasBadge(child)) {
2207
+ <span class="vp-sidebar__badge">{{ child.badge }}</span>
2208
+ }
2209
+ </a>
2210
+ }
2211
+ }
2212
+ </div>
2213
+ }
2214
+ </nav>
2215
+ `, isInline: true, styles: [".vp-sidebar__group{margin:var(--vp-space-4, 1rem) 0 var(--vp-space-1, .25rem);padding:0 var(--vp-space-3, .75rem);font-size:var(--vp-font-size-xs, .75rem);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--vp-text-muted, #8b949e)}.vp-sidebar__link--parent{color:var(--vp-text-secondary);cursor:default}a.vp-sidebar__link--parent{cursor:pointer}.vp-sidebar__list--child{margin:0;padding-left:var(--vp-space-4, 1rem);list-style:none}.vp-sidebar[data-collapsed] .vp-sidebar__list--child{padding-left:0}.vp-sidebar__group:first-child{margin-top:0}.vp-sidebar[data-collapsed] .vp-sidebar__group{display:none}.vp-sidebar__rail-sep{height:1px;margin:var(--vp-space-3, .75rem) var(--vp-space-2, .5rem);border:0;background:var(--vp-border, #30363d)}:host{display:block}.vp-sidebar{padding:var(--vp-space-3)}.vp-sidebar__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-sidebar__item{margin:0}.vp-sidebar__link{display:flex;align-items:center;gap:var(--vp-space-3);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-sidebar__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-sidebar__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-sidebar__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-3));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-sidebar__icon{flex:0 0 auto;width:18px;font-size:18px;line-height:1}.vp-sidebar__label{flex:1;min-width:0}.vp-sidebar__badge{flex:0 0 auto;min-width:1.5rem;padding:0 var(--vp-space-1);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-secondary);font-size:var(--vp-text-xs);text-align:center;font-variant-numeric:tabular-nums}button.vp-sidebar__link{width:100%;border:0;background:transparent;font:inherit;text-align:start;cursor:pointer}.vp-sidebar__flyout{position:fixed;z-index:40;min-width:13rem;max-width:17rem;padding:var(--vp-space-2);border:1px solid var(--vp-border);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised, var(--vp-surface));box-shadow:var(--vp-shadow-lg)}.vp-sidebar__flyout-title{margin:0 0 var(--vp-space-1);padding:0 var(--vp-space-2);font-size:var(--vp-text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--vp-text-muted)}.vp-sidebar__flyout-link{display:flex;flex-direction:column;justify-content:center;min-height:var(--vp-control-height);padding:var(--vp-space-2);border-radius:var(--vp-radius-sm);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-sidebar__flyout-link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__flyout-link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar__flyout-reason{color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-sidebar[data-collapsed] .vp-sidebar__link .vp-sidebar__label,.vp-sidebar[data-collapsed] .vp-sidebar__link .vp-sidebar__badge,.vp-sidebar[data-collapsed] .vp-sidebar__reason{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1482
2216
  }
1483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSidebarComponent, decorators: [{
2217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarComponent, decorators: [{
1484
2218
  type: Component,
1485
- args: [{ selector: 'vp-sidebar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1486
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
1487
- @for (group of groups; track group.name) {
1488
- @if (group.name) {
1489
- <!--
1490
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
1491
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
1492
- gorulebilir olmali.
1493
- -->
1494
- <p class="vp-sidebar__group" [attr.data-vp-menu-group]="group.name">{{ group.name }}</p>
1495
- }
1496
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
1497
- @for (item of group.items; track item.code) {
1498
- <li class="vp-sidebar__item">
1499
- @if (item.disabledReason) {
1500
- <span
1501
- class="vp-sidebar__link vp-sidebar__link--disabled"
1502
- [attr.data-vp-menu-item]="item.code"
1503
- aria-disabled="true"
1504
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
1505
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1506
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1507
- </span>
1508
- <span
1509
- class="vp-sidebar__reason"
1510
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
1511
- } @else {
1512
- <a
1513
- class="vp-sidebar__link"
1514
- [attr.data-vp-menu-item]="item.code"
1515
- [attr.href]="item.path"
1516
- [attr.title]="item.titleKey">
1517
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1518
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1519
- @if (hasBadge(item)) {
1520
- <span
1521
- class="vp-sidebar__badge"
1522
- [attr.data-vp-menu-badge]="item.code"
1523
- [attr.aria-label]="item.badge + ' ' + badgeLabel">{{ item.badge }}</span>
1524
- }
1525
- </a>
1526
- }
1527
- </li>
1528
- }
1529
- </ul>
1530
- }
1531
- </nav>
1532
- `, styles: [".vp-sidebar__group{margin:var(--vp-space-4, 1rem) 0 var(--vp-space-1, .25rem);padding:0 var(--vp-space-3, .75rem);font-size:var(--vp-font-size-xs, .75rem);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--vp-text-muted, #8b949e)}.vp-sidebar__group:first-child{margin-top:0}.vp-sidebar[data-collapsed] .vp-sidebar__group{height:1px;margin:var(--vp-space-3, .75rem) var(--vp-space-2, .5rem);padding:0;overflow:hidden;color:transparent;background:var(--vp-border, #30363d)}:host{display:block}.vp-sidebar{padding:var(--vp-space-3)}.vp-sidebar__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-sidebar__item{margin:0}.vp-sidebar__link{display:flex;align-items:center;gap:var(--vp-space-3);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-sidebar__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-sidebar__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-sidebar__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-3));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-sidebar__icon{flex:0 0 auto;width:18px;font-size:18px;line-height:1}.vp-sidebar__label{flex:1;min-width:0}.vp-sidebar__badge{flex:0 0 auto;min-width:1.5rem;padding:0 var(--vp-space-1);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-secondary);font-size:var(--vp-text-xs);text-align:center;font-variant-numeric:tabular-nums}.vp-sidebar[data-collapsed] .vp-sidebar__label,.vp-sidebar[data-collapsed] .vp-sidebar__badge,.vp-sidebar[data-collapsed] .vp-sidebar__reason{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"] }]
2219
+ args: [{ selector: 'vp-sidebar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
2220
+ <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2221
+ @for (group of groups; track group.name; let firstGroup = $first) {
2222
+ <!--
2223
+ Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2224
+ nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2225
+ hangisinin ne oldugu yalnizca ikondan okunuyor.
2226
+
2227
+ Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2228
+ -->
2229
+ @if (collapsed && !firstGroup) {
2230
+ <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2231
+ }
2232
+ @if (group.name) {
2233
+ <!--
2234
+ Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2235
+ ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2236
+ gorulebilir olmali.
2237
+ -->
2238
+ <p class="vp-sidebar__group" [attr.data-vp-menu-group]="group.name">{{ group.name }}</p>
2239
+ }
2240
+ <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
2241
+ @for (item of group.items; track item.code) {
2242
+ <li class="vp-sidebar__item">
2243
+ @if (childrenOf(item).length) {
2244
+ <!--
2245
+ Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
2246
+ DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
2247
+ kontroldur. Yol varsa baglanti olarak ciziliyor.
2248
+ -->
2249
+ @if (collapsed) {
2250
+ <!--
2251
+ Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
2252
+ Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
2253
+ akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
2254
+ farkli oge tipi bilerek: kontrolun sekli yaptigi isi
2255
+ soylemeli.
2256
+ -->
2257
+ <button
2258
+ type="button"
2259
+ class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
2260
+ [attr.data-vp-menu-parent]="item.code"
2261
+ [attr.title]="item.titleKey"
2262
+ aria-haspopup="menu"
2263
+ [attr.aria-expanded]="flyoutItem?.code === item.code"
2264
+ (click)="toggleFlyout(item, $event)">
2265
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2266
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2267
+ </button>
2268
+ } @else if (item.path) {
2269
+ <a
2270
+ class="vp-sidebar__link vp-sidebar__link--parent"
2271
+ [attr.data-vp-menu-parent]="item.code"
2272
+ [attr.href]="item.path"
2273
+ [attr.title]="item.titleKey">
2274
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2275
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2276
+ </a>
2277
+ } @else {
2278
+ <span
2279
+ class="vp-sidebar__link vp-sidebar__link--parent"
2280
+ [attr.data-vp-menu-parent]="item.code"
2281
+ [attr.title]="item.titleKey">
2282
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2283
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2284
+ </span>
2285
+ }
2286
+
2287
+ <!--
2288
+ Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
2289
+ duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
2290
+ etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
2291
+ anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
2292
+ ucan menu aliyor.
2293
+ -->
2294
+ @if (!collapsed) {
2295
+ <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
2296
+ @for (child of childrenOf(item); track child.code) {
2297
+ <li class="vp-sidebar__item">
2298
+ @if (child.disabledReason) {
2299
+ <span
2300
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2301
+ [attr.data-vp-menu-item]="child.code"
2302
+ aria-disabled="true"
2303
+ [attr.title]="child.titleKey + ' — ' + child.disabledReason">
2304
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2305
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2306
+ </span>
2307
+ <span
2308
+ class="vp-sidebar__reason"
2309
+ [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
2310
+ } @else {
2311
+ <a
2312
+ class="vp-sidebar__link"
2313
+ [attr.data-vp-menu-item]="child.code"
2314
+ [attr.href]="child.path"
2315
+ [attr.title]="child.titleKey">
2316
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2317
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2318
+ @if (hasBadge(child)) {
2319
+ <span
2320
+ class="vp-sidebar__badge"
2321
+ [attr.data-vp-menu-badge]="child.code"
2322
+ [attr.aria-label]="child.badge + ' ' + badgeLabel">{{ child.badge }}</span>
2323
+ }
2324
+ </a>
2325
+ }
2326
+ </li>
2327
+ }
2328
+ </ul>
2329
+ }
2330
+ } @else if (item.disabledReason) {
2331
+ <span
2332
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2333
+ [attr.data-vp-menu-item]="item.code"
2334
+ aria-disabled="true"
2335
+ [attr.title]="item.titleKey + ' — ' + item.disabledReason">
2336
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2337
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2338
+ </span>
2339
+ <span
2340
+ class="vp-sidebar__reason"
2341
+ [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
2342
+ } @else {
2343
+ <a
2344
+ class="vp-sidebar__link"
2345
+ [attr.data-vp-menu-item]="item.code"
2346
+ [attr.href]="item.path"
2347
+ [attr.title]="item.titleKey">
2348
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2349
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2350
+ @if (hasBadge(item)) {
2351
+ <span
2352
+ class="vp-sidebar__badge"
2353
+ [attr.data-vp-menu-badge]="item.code"
2354
+ [attr.aria-label]="item.badge + ' ' + badgeLabel">{{ item.badge }}</span>
2355
+ }
2356
+ </a>
2357
+ }
2358
+ </li>
2359
+ }
2360
+ </ul>
2361
+ }
2362
+
2363
+ @if (flyoutItem) {
2364
+ <!--
2365
+ Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
2366
+ kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
2367
+ dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
2368
+ en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
2369
+ -->
2370
+ <div
2371
+ class="vp-sidebar__flyout"
2372
+ data-vp-flyout
2373
+ role="menu"
2374
+ [attr.aria-label]="flyoutItem.titleKey"
2375
+ [style.top.px]="flyoutTop"
2376
+ [style.left.px]="flyoutLeft">
2377
+ <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
2378
+ @for (child of childrenOf(flyoutItem); track child.code) {
2379
+ @if (child.disabledReason) {
2380
+ <span
2381
+ class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
2382
+ [attr.data-vp-flyout-item]="child.code"
2383
+ role="menuitem"
2384
+ aria-disabled="true">
2385
+ {{ child.titleKey }}
2386
+ <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
2387
+ </span>
2388
+ } @else {
2389
+ <a
2390
+ class="vp-sidebar__flyout-link"
2391
+ [attr.data-vp-flyout-item]="child.code"
2392
+ role="menuitem"
2393
+ [attr.href]="child.path"
2394
+ (click)="closeFlyout()">
2395
+ {{ child.titleKey }}
2396
+ @if (hasBadge(child)) {
2397
+ <span class="vp-sidebar__badge">{{ child.badge }}</span>
2398
+ }
2399
+ </a>
2400
+ }
2401
+ }
2402
+ </div>
2403
+ }
2404
+ </nav>
2405
+ `, styles: [".vp-sidebar__group{margin:var(--vp-space-4, 1rem) 0 var(--vp-space-1, .25rem);padding:0 var(--vp-space-3, .75rem);font-size:var(--vp-font-size-xs, .75rem);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--vp-text-muted, #8b949e)}.vp-sidebar__link--parent{color:var(--vp-text-secondary);cursor:default}a.vp-sidebar__link--parent{cursor:pointer}.vp-sidebar__list--child{margin:0;padding-left:var(--vp-space-4, 1rem);list-style:none}.vp-sidebar[data-collapsed] .vp-sidebar__list--child{padding-left:0}.vp-sidebar__group:first-child{margin-top:0}.vp-sidebar[data-collapsed] .vp-sidebar__group{display:none}.vp-sidebar__rail-sep{height:1px;margin:var(--vp-space-3, .75rem) var(--vp-space-2, .5rem);border:0;background:var(--vp-border, #30363d)}:host{display:block}.vp-sidebar{padding:var(--vp-space-3)}.vp-sidebar__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-sidebar__item{margin:0}.vp-sidebar__link{display:flex;align-items:center;gap:var(--vp-space-3);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-sidebar__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-sidebar__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-sidebar__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-3));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-sidebar__icon{flex:0 0 auto;width:18px;font-size:18px;line-height:1}.vp-sidebar__label{flex:1;min-width:0}.vp-sidebar__badge{flex:0 0 auto;min-width:1.5rem;padding:0 var(--vp-space-1);border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken);color:var(--vp-text-secondary);font-size:var(--vp-text-xs);text-align:center;font-variant-numeric:tabular-nums}button.vp-sidebar__link{width:100%;border:0;background:transparent;font:inherit;text-align:start;cursor:pointer}.vp-sidebar__flyout{position:fixed;z-index:40;min-width:13rem;max-width:17rem;padding:var(--vp-space-2);border:1px solid var(--vp-border);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised, var(--vp-surface));box-shadow:var(--vp-shadow-lg)}.vp-sidebar__flyout-title{margin:0 0 var(--vp-space-1);padding:0 var(--vp-space-2);font-size:var(--vp-text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--vp-text-muted)}.vp-sidebar__flyout-link{display:flex;flex-direction:column;justify-content:center;min-height:var(--vp-control-height);padding:var(--vp-space-2);border-radius:var(--vp-radius-sm);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-sidebar__flyout-link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__flyout-link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar__flyout-reason{color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-sidebar[data-collapsed] .vp-sidebar__link .vp-sidebar__label,.vp-sidebar[data-collapsed] .vp-sidebar__link .vp-sidebar__badge,.vp-sidebar[data-collapsed] .vp-sidebar__reason{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"] }]
1533
2406
  }], propDecorators: { items: [{
1534
2407
  type: Input,
1535
2408
  args: [{ required: true }]
@@ -1539,6 +2412,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
1539
2412
  type: Input
1540
2413
  }], badgeLabel: [{
1541
2414
  type: Input
2415
+ }], onEscape: [{
2416
+ type: HostListener,
2417
+ args: ['document:keydown.escape']
2418
+ }], onPointerDown: [{
2419
+ type: HostListener,
2420
+ args: ['document:pointerdown', ['$event']]
1542
2421
  }] } });
1543
2422
 
1544
2423
  /**
@@ -1583,8 +2462,8 @@ class VpBreadcrumbComponent {
1583
2462
  return text.length > VpBreadcrumbComponent.MAX_LABEL ? text : null;
1584
2463
  }
1585
2464
  static { this.MAX_LABEL = 24; }
1586
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1587
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpBreadcrumbComponent, isStandalone: true, selector: "vp-breadcrumb", inputs: { trail: "trail", navLabel: "navLabel" }, ngImport: i0, template: `
2465
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2466
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpBreadcrumbComponent, isStandalone: true, selector: "vp-breadcrumb", inputs: { trail: "trail", navLabel: "navLabel" }, ngImport: i0, template: `
1588
2467
  @if (trail.length > 0) {
1589
2468
  <nav class="vp-breadcrumb" [attr.aria-label]="navLabel">
1590
2469
  <ol class="vp-breadcrumb__list">
@@ -1613,7 +2492,7 @@ class VpBreadcrumbComponent {
1613
2492
  }
1614
2493
  `, isInline: true, styles: [":host{display:block}.vp-breadcrumb__list{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:var(--vp-space-1);margin:0 0 var(--vp-space-3);padding:0;font-size:var(--vp-text-sm)}.vp-breadcrumb__item{display:flex;align-items:center;gap:var(--vp-space-1);margin:0}.vp-breadcrumb__link{color:var(--vp-text-muted);text-decoration:none}.vp-breadcrumb__link:hover{color:var(--vp-text-primary);text-decoration:underline}.vp-breadcrumb__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset);border-radius:var(--vp-radius-sm)}.vp-breadcrumb__current{color:var(--vp-text-primary);font-weight:var(--vp-weight-medium)}.vp-breadcrumb__sep{color:var(--vp-text-muted)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1615
2494
  }
1616
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpBreadcrumbComponent, decorators: [{
2495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBreadcrumbComponent, decorators: [{
1617
2496
  type: Component,
1618
2497
  args: [{ selector: 'vp-breadcrumb', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1619
2498
  @if (trail.length > 0) {
@@ -1697,8 +2576,8 @@ class VpThemeControlComponent {
1697
2576
  get ariaLabel() {
1698
2577
  return `${this.label} — ${this.labelFor(this.nextMode)} moduna geç`;
1699
2578
  }
1700
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpThemeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1701
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpThemeControlComponent, isStandalone: true, selector: "vp-theme-control", inputs: { mode: "mode", autoLabel: "autoLabel", lightLabel: "lightLabel", darkLabel: "darkLabel" }, outputs: { cycle: "cycle" }, ngImport: i0, template: `
2579
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2580
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpThemeControlComponent, isStandalone: true, selector: "vp-theme-control", inputs: { mode: "mode", autoLabel: "autoLabel", lightLabel: "lightLabel", darkLabel: "darkLabel" }, outputs: { cycle: "cycle" }, ngImport: i0, template: `
1702
2581
  <!--
1703
2582
  ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
1704
2583
  ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
@@ -1720,9 +2599,9 @@ class VpThemeControlComponent {
1720
2599
  tooltipPosition="bottom"
1721
2600
  [attr.aria-label]="ariaLabel"
1722
2601
  (click)="cycle.emit()"></button>
1723
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2602
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1724
2603
  }
1725
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpThemeControlComponent, decorators: [{
2604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeControlComponent, decorators: [{
1726
2605
  type: Component,
1727
2606
  args: [{
1728
2607
  selector: 'vp-theme-control',
@@ -1793,8 +2672,8 @@ class VpSidebarToggleComponent {
1793
2672
  this.expandLabel = 'Menüyü genişlet';
1794
2673
  this.toggle = new EventEmitter();
1795
2674
  }
1796
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSidebarToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1797
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpSidebarToggleComponent, isStandalone: true, selector: "vp-sidebar-toggle", inputs: { collapsed: "collapsed", controls: "controls", collapseLabel: "collapseLabel", expandLabel: "expandLabel" }, outputs: { toggle: "toggle" }, ngImport: i0, template: `
2675
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2676
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpSidebarToggleComponent, isStandalone: true, selector: "vp-sidebar-toggle", inputs: { collapsed: "collapsed", controls: "controls", collapseLabel: "collapseLabel", expandLabel: "expandLabel" }, outputs: { toggle: "toggle" }, ngImport: i0, template: `
1798
2677
  <button
1799
2678
  pButton
1800
2679
  type="button"
@@ -1809,9 +2688,9 @@ class VpSidebarToggleComponent {
1809
2688
  [attr.aria-controls]="controls"
1810
2689
  [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
1811
2690
  (click)="toggle.emit()"></button>
1812
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2691
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1813
2692
  }
1814
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSidebarToggleComponent, decorators: [{
2693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarToggleComponent, decorators: [{
1815
2694
  type: Component,
1816
2695
  args: [{
1817
2696
  selector: 'vp-sidebar-toggle',
@@ -1886,8 +2765,8 @@ class VpUserMenuComponent {
1886
2765
  get ariaLabel() {
1887
2766
  return this.subtitle ? `${this.displayName} (${this.subtitle}) — hesap menüsü` : `${this.displayName} — hesap menüsü`;
1888
2767
  }
1889
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpUserMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1890
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpUserMenuComponent, isStandalone: true, selector: "vp-user-menu", inputs: { displayName: "displayName", subtitle: "subtitle", items: "items", menuId: "menuId" }, outputs: { opened: "opened" }, ngImport: i0, template: `
2768
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2769
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpUserMenuComponent, isStandalone: true, selector: "vp-user-menu", inputs: { displayName: "displayName", subtitle: "subtitle", items: "items", menuId: "menuId" }, outputs: { opened: "opened" }, ngImport: i0, template: `
1891
2770
  <div class="vp-user-menu">
1892
2771
  <button
1893
2772
  pButton
@@ -1910,9 +2789,9 @@ class VpUserMenuComponent {
1910
2789
 
1911
2790
  <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
1912
2791
  </div>
1913
- `, isInline: true, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i2$1.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2792
+ `, isInline: true, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__name{color:var(--vp-text-primary)}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i2$1.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1914
2793
  }
1915
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpUserMenuComponent, decorators: [{
2794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, decorators: [{
1916
2795
  type: Component,
1917
2796
  args: [{ selector: 'vp-user-menu', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, MenuModule], template: `
1918
2797
  <div class="vp-user-menu">
@@ -1937,7 +2816,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
1937
2816
 
1938
2817
  <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
1939
2818
  </div>
1940
- `, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"] }]
2819
+ `, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__name{color:var(--vp-text-primary)}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"] }]
1941
2820
  }], propDecorators: { displayName: [{
1942
2821
  type: Input,
1943
2822
  args: [{ required: true }]
@@ -2055,15 +2934,32 @@ class VpThemeService {
2055
2934
  return;
2056
2935
  window.localStorage.setItem(VP_THEME_STORAGE_KEY, mode);
2057
2936
  }
2937
+ /**
2938
+ * 🔴 İKİ sınıf birden. Ölçüldü (2026-08-30, kullanıcı ekranında): yalnız
2939
+ * `.app-dark` kaldırmak **açık temayı getirmiyordu**.
2940
+ *
2941
+ * `@virusis/design-tokens` koyu değerleri iki yerde tanımlıyor: `.app-dark`
2942
+ * bloğu **ve** `@media (prefers-color-scheme: dark)` bloğu. İkincisinin
2943
+ * koruması `:root:not([data-theme="light"]):not(.app-light)`. İşletim sistemi
2944
+ * koyu iken kullanıcı "açık" seçince `.app-dark` kalkıyor ama medya bloğu
2945
+ * hâlâ geçiyordu: PrimeNG bileşenleri açığa dönüyor, token'lı yüzeyler koyu
2946
+ * kalıyordu — **karışık tema**.
2947
+ *
2948
+ * ⚠️ `auto` kipinde de işaretleniyor: denetleyici zaten işletim sistemi
2949
+ * tercihini uyguluyor, medya bloğunun ikinci kez karar vermesi gerekmiyor.
2950
+ * Medya bloğu JS çalışmadan önceki ilk boyama için duruyor.
2951
+ */
2058
2952
  applyRootDarkClass(dark) {
2059
2953
  if (!this.isBrowser)
2060
2954
  return;
2061
- document.documentElement.classList.toggle(VP_DARK_CLASS, dark);
2955
+ const root = document.documentElement;
2956
+ root.classList.toggle(VP_DARK_CLASS, dark);
2957
+ root.classList.toggle(VP_LIGHT_CLASS, !dark);
2062
2958
  }
2063
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2064
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpThemeService, providedIn: 'root' }); }
2959
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2960
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeService, providedIn: 'root' }); }
2065
2961
  }
2066
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpThemeService, decorators: [{
2962
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeService, decorators: [{
2067
2963
  type: Injectable,
2068
2964
  args: [{ providedIn: 'root' }]
2069
2965
  }], ctorParameters: () => [] });
@@ -2073,6 +2969,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
2073
2969
  * temayi sessizce olduren tek satirlik degisikliktir.
2074
2970
  */
2075
2971
  const VP_DARK_CLASS = 'app-dark';
2972
+ /**
2973
+ * 🔴 Açık tema **açıkça** işaretleniyor. Token CSS'indeki
2974
+ * `@media (prefers-color-scheme: dark)` bloğu yalnız bu sınıf (ya da
2975
+ * `data-theme="light"`) yokken uygulanıyor; işaretlemezsek işletim sistemi
2976
+ * koyu olan kullanıcı "açık" seçemiyor.
2977
+ */
2978
+ const VP_LIGHT_CLASS = 'app-light';
2076
2979
  /** Mevcut uc konsolun kullandigi anahtar — gocte secim korunsun. */
2077
2980
  const VP_THEME_STORAGE_KEY = 'themeMode';
2078
2981
 
@@ -2191,10 +3094,10 @@ class VpToastService {
2191
3094
  clearTimeout(timer);
2192
3095
  this.timers.delete(id);
2193
3096
  }
2194
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2195
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpToastService, providedIn: 'root' }); }
3097
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3098
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpToastService, providedIn: 'root' }); }
2196
3099
  }
2197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpToastService, decorators: [{
3100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpToastService, decorators: [{
2198
3101
  type: Injectable,
2199
3102
  args: [{ providedIn: 'root' }]
2200
3103
  }], ctorParameters: () => [] });
@@ -2252,8 +3155,8 @@ class VpToastComponent {
2252
3155
  default: return '#vp-icon-maintenance';
2253
3156
  }
2254
3157
  }
2255
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2256
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpToastComponent, isStandalone: true, selector: "vp-toast", inputs: { toasts: "toasts", dismissLabel: "dismissLabel", defaultDismissMs: "defaultDismissMs" }, outputs: { dismissed: "dismissed", actioned: "actioned" }, ngImport: i0, template: `
3158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3159
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpToastComponent, isStandalone: true, selector: "vp-toast", inputs: { toasts: "toasts", dismissLabel: "dismissLabel", defaultDismissMs: "defaultDismissMs" }, outputs: { dismissed: "dismissed", actioned: "actioned" }, ngImport: i0, template: `
2257
3160
  <div
2258
3161
  class="vp-toast__region"
2259
3162
  data-vp-toast-region
@@ -2295,7 +3198,7 @@ class VpToastComponent {
2295
3198
  </div>
2296
3199
  `, isInline: true, styles: [":host{display:contents}.vp-toast__region{position:fixed;right:var(--vp-space-4);bottom:var(--vp-space-4);z-index:60;display:flex;flex-direction:column;gap:var(--vp-space-2);width:min(24rem,calc(100vw - var(--vp-space-8)));pointer-events:none}.vp-toast{pointer-events:auto;display:flex;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-overlay);color:var(--vp-text-primary);box-shadow:var(--vp-shadow-md);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm)}.vp-toast[data-tone=info] .vp-toast__icon{color:var(--vp-sev-low)}.vp-toast[data-tone=success] .vp-toast__icon{color:var(--vp-sev-clean)}.vp-toast[data-tone=warning] .vp-toast__icon{color:var(--vp-sev-high)}.vp-toast[data-tone=danger] .vp-toast__icon{color:var(--vp-sev-critical)}.vp-toast__icon{flex:0 0 auto;width:18px;height:18px}.vp-toast__message{flex:1;min-width:0}.vp-toast__action{flex-shrink:0;min-height:var(--vp-min-target);padding:0 var(--vp-space-2);border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-brand);font:inherit;font-weight:var(--vp-weight-medium);cursor:pointer}.vp-toast__action:hover{background:var(--vp-surface-sunken)}.vp-toast__action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-toast__dismiss{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--vp-min-target);height:var(--vp-min-target);border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-toast__dismiss:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-toast__dismiss:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-toast__dismiss-icon{width:16px;height:16px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2297
3200
  }
2298
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpToastComponent, decorators: [{
3201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpToastComponent, decorators: [{
2299
3202
  type: Component,
2300
3203
  args: [{ selector: 'vp-toast', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
2301
3204
  <div
@@ -2387,8 +3290,8 @@ class VpGlobalLayersComponent {
2387
3290
  actioned(id) {
2388
3291
  this.action.emit(id);
2389
3292
  }
2390
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpGlobalLayersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2391
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpGlobalLayersComponent, isStandalone: true, selector: "vp-global-layers", inputs: { loading: "loading", loadingLabel: "loadingLabel" }, outputs: { action: "action" }, ngImport: i0, template: `
3293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpGlobalLayersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3294
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpGlobalLayersComponent, isStandalone: true, selector: "vp-global-layers", inputs: { loading: "loading", loadingLabel: "loadingLabel" }, outputs: { action: "action" }, ngImport: i0, template: `
2392
3295
  <vp-toast
2393
3296
  [toasts]="toastService.toasts()"
2394
3297
  (dismissed)="toastService.dismiss($event)"
@@ -2406,7 +3309,7 @@ class VpGlobalLayersComponent {
2406
3309
  }
2407
3310
  `, isInline: true, styles: [".vp-global-layers__overlay{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--vp-surface-base, #0d1117) 70%,transparent)}.vp-global-layers__spinner{width:2rem;height:2rem;border:2px solid var(--vp-border-subtle, #30363d);border-top-color:var(--vp-brand, #2f81f7);border-radius:50%;animation:vp-global-layers-spin .7s linear infinite}@keyframes vp-global-layers-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.vp-global-layers__spinner{animation:vp-global-layers-pulse 1.6s ease-in-out infinite}@keyframes vp-global-layers-pulse{50%{opacity:.35}}}\n"], dependencies: [{ kind: "component", type: VpToastComponent, selector: "vp-toast", inputs: ["toasts", "dismissLabel", "defaultDismissMs"], outputs: ["dismissed", "actioned"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2408
3311
  }
2409
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpGlobalLayersComponent, decorators: [{
3312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpGlobalLayersComponent, decorators: [{
2410
3313
  type: Component,
2411
3314
  args: [{ selector: 'vp-global-layers', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpToastComponent], template: `
2412
3315
  <vp-toast
@@ -2478,8 +3381,8 @@ class VpNotificationTriggerComponent {
2478
3381
  get ariaLabel() {
2479
3382
  return this.unread > 0 ? `${this.title} — ${this.unread} okunmamış` : `${this.title} — okunmamış yok`;
2480
3383
  }
2481
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpNotificationTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2482
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpNotificationTriggerComponent, isStandalone: true, selector: "vp-notification-trigger", inputs: { items: "items", unread: "unread", maxBadge: "maxBadge", title: "title", emptyLabel: "emptyLabel", panelId: "panelId" }, outputs: { opened: "opened" }, ngImport: i0, template: `
3384
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpNotificationTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3385
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpNotificationTriggerComponent, isStandalone: true, selector: "vp-notification-trigger", inputs: { items: "items", unread: "unread", maxBadge: "maxBadge", title: "title", emptyLabel: "emptyLabel", panelId: "panelId" }, outputs: { opened: "opened" }, ngImport: i0, template: `
2483
3386
  <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
2484
3387
  <button
2485
3388
  pButton
@@ -2522,9 +3425,9 @@ class VpNotificationTriggerComponent {
2522
3425
  }
2523
3426
  </div>
2524
3427
  </p-popover>
2525
- `, isInline: true, styles: [".vp-notification-trigger__panel{min-width:18rem;max-width:24rem}.vp-notification-trigger__title{margin:0 0 var(--vp-space-2, .5rem);font-weight:var(--vp-weight-semibold, 600)}.vp-notification-trigger__empty{margin:0;color:var(--vp-text-muted, #8b949e)}.vp-notification-trigger__list{margin:0;padding:0;list-style:none}.vp-notification-trigger__item{display:flex;flex-direction:column;gap:.125rem;padding-block:var(--vp-space-2, .5rem)}.vp-notification-trigger__item+.vp-notification-trigger__item{border-top:1px solid var(--vp-border-subtle, #30363d)}.vp-notification-trigger__item[data-unread] .vp-notification-trigger__message{font-weight:var(--vp-weight-semibold, 600);color:var(--vp-text-primary, #e6edf3)}.vp-notification-trigger__time{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "ngmodule", type: OverlayBadgeModule }, { kind: "component", type: i2$2.OverlayBadge, selector: "p-overlayBadge, p-overlay-badge, p-overlaybadge", inputs: ["styleClass", "style", "badgeSize", "severity", "value", "badgeDisabled", "size"] }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i3.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3428
+ `, isInline: true, styles: [".vp-notification-trigger__panel{min-width:18rem;max-width:24rem}.vp-notification-trigger__title{margin:0 0 var(--vp-space-2, .5rem);font-weight:var(--vp-weight-semibold, 600)}.vp-notification-trigger__empty{margin:0;color:var(--vp-text-muted, #8b949e)}.vp-notification-trigger__list{margin:0;padding:0;list-style:none}.vp-notification-trigger__item{display:flex;flex-direction:column;gap:.125rem;padding-block:var(--vp-space-2, .5rem)}.vp-notification-trigger__item+.vp-notification-trigger__item{border-top:1px solid var(--vp-border-subtle, #30363d)}.vp-notification-trigger__item[data-unread] .vp-notification-trigger__message{font-weight:var(--vp-weight-semibold, 600);color:var(--vp-text-primary, #e6edf3)}.vp-notification-trigger__time{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: OverlayBadgeModule }, { kind: "component", type: i2$2.OverlayBadge, selector: "p-overlayBadge, p-overlay-badge, p-overlaybadge", inputs: ["styleClass", "style", "badgeSize", "severity", "value", "badgeDisabled", "size"] }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i3.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2526
3429
  }
2527
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpNotificationTriggerComponent, decorators: [{
3430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpNotificationTriggerComponent, decorators: [{
2528
3431
  type: Component,
2529
3432
  args: [{ selector: 'vp-notification-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, OverlayBadgeModule, PopoverModule], template: `
2530
3433
  <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
@@ -2639,8 +3542,8 @@ class VpCommandPaletteComponent {
2639
3542
  if (item)
2640
3543
  this.picked.emit(item);
2641
3544
  }
2642
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2643
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpCommandPaletteComponent, isStandalone: true, selector: "vp-command-palette", inputs: { open: "open", query: "query", items: "items", title: "title", placeholder: "placeholder", emptyLabel: "emptyLabel", listId: "listId" }, outputs: { queryChange: "queryChange", picked: "picked", closed: "closed" }, ngImport: i0, template: `
3545
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3546
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpCommandPaletteComponent, isStandalone: true, selector: "vp-command-palette", inputs: { open: "open", query: "query", items: "items", title: "title", placeholder: "placeholder", emptyLabel: "emptyLabel", listId: "listId" }, outputs: { queryChange: "queryChange", picked: "picked", closed: "closed" }, ngImport: i0, template: `
2644
3547
  <p-dialog
2645
3548
  [visible]="open"
2646
3549
  (visibleChange)="onVisibleChange($event)"
@@ -2683,9 +3586,9 @@ class VpCommandPaletteComponent {
2683
3586
  }
2684
3587
  </div>
2685
3588
  </p-dialog>
2686
- `, isInline: true, styles: [".vp-command-palette{display:flex;flex-direction:column;gap:var(--vp-space-2, .5rem);padding:var(--vp-space-3, .75rem)}.vp-command-palette__empty{margin:0;padding:var(--vp-space-3, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i2$3.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: IconFieldModule }, { kind: "component", type: i3$1.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "ngmodule", type: InputIconModule }, { kind: "component", type: i4.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i5.InputText, selector: "[pInputText]", inputs: ["pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: ListboxModule }, { kind: "component", type: i6.Listbox, selector: "p-listbox, p-listBox, p-list-box", inputs: ["id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "ariaLabel", "selectOnFocus", "searchLocale", "focusOnHover", "filterMessage", "filterFields", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "scrollHeight", "tabindex", "multiple", "styleClass", "listStyle", "listStyleClass", "readonly", "checkbox", "filter", "filterBy", "filterMatchMode", "filterLocale", "metaKeySelection", "dataKey", "showToggleAll", "optionLabel", "optionValue", "optionGroupChildren", "optionGroupLabel", "optionDisabled", "ariaFilterLabel", "filterPlaceHolder", "emptyFilterMessage", "emptyMessage", "group", "options", "filterValue", "selectAll", "striped", "highlightOnSelect", "checkmark", "dragdrop", "fluid"], outputs: ["onChange", "onClick", "onDblClick", "onFilter", "onFocus", "onBlur", "onSelectAllChange", "onLazyLoad", "onDrop"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3589
+ `, isInline: true, styles: [".vp-command-palette{display:flex;flex-direction:column;gap:var(--vp-space-2, .5rem);padding:var(--vp-space-3, .75rem)}.vp-command-palette__empty{margin:0;padding:var(--vp-space-3, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i2$3.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: IconFieldModule }, { kind: "component", type: i3$1.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "ngmodule", type: InputIconModule }, { kind: "component", type: i4.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i5.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: ListboxModule }, { kind: "component", type: i6.Listbox, selector: "p-listbox, p-listBox, p-list-box", inputs: ["hostName", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "ariaLabel", "selectOnFocus", "searchLocale", "focusOnHover", "filterMessage", "filterFields", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "scrollHeight", "tabindex", "multiple", "styleClass", "listStyle", "listStyleClass", "readonly", "checkbox", "filter", "filterBy", "filterMatchMode", "filterLocale", "metaKeySelection", "dataKey", "showToggleAll", "optionLabel", "optionValue", "optionGroupChildren", "optionGroupLabel", "optionDisabled", "ariaFilterLabel", "filterPlaceHolder", "emptyFilterMessage", "emptyMessage", "group", "options", "filterValue", "selectAll", "striped", "highlightOnSelect", "checkmark", "dragdrop", "dropListData", "fluid"], outputs: ["onChange", "onClick", "onDblClick", "onFilter", "onFocus", "onBlur", "onSelectAllChange", "onLazyLoad", "onDrop"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2687
3590
  }
2688
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCommandPaletteComponent, decorators: [{
3591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCommandPaletteComponent, decorators: [{
2689
3592
  type: Component,
2690
3593
  args: [{ selector: 'vp-command-palette', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, DialogModule, IconFieldModule, InputIconModule, InputTextModule, ListboxModule], template: `
2691
3594
  <p-dialog
@@ -2788,8 +3691,8 @@ class VpSearchTriggerComponent {
2788
3691
  this.keyShortcut = 'Control+K';
2789
3692
  this.opened = new EventEmitter();
2790
3693
  }
2791
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSearchTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2792
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpSearchTriggerComponent, isStandalone: true, selector: "vp-search-trigger", inputs: { label: "label", hint: "hint", keyShortcut: "keyShortcut" }, outputs: { opened: "opened" }, ngImport: i0, template: `
3694
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSearchTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3695
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSearchTriggerComponent, isStandalone: true, selector: "vp-search-trigger", inputs: { label: "label", hint: "hint", keyShortcut: "keyShortcut" }, outputs: { opened: "opened" }, ngImport: i0, template: `
2793
3696
  <button
2794
3697
  pButton
2795
3698
  type="button"
@@ -2806,9 +3709,9 @@ class VpSearchTriggerComponent {
2806
3709
  <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
2807
3710
  }
2808
3711
  </button>
2809
- `, isInline: true, styles: [":host ::ng-deep .vp-search-trigger{display:inline-flex;align-items:center;gap:var(--vp-space-2, .5rem);min-width:14rem;justify-content:flex-start;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-md, 6px);color:var(--vp-text-muted, #8b949e)}.vp-search-trigger__label{flex:1;text-align:left;font-weight:400}.vp-search-trigger__hint{padding:.05rem .35rem;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-sm, 4px);font-family:var(--vp-font-mono, ui-monospace, monospace);font-size:var(--vp-font-size-xs, .75rem);line-height:1.4}@media(max-width:900px){:host ::ng-deep .vp-search-trigger{min-width:0}.vp-search-trigger__label,.vp-search-trigger__hint{display:none}}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3712
+ `, isInline: true, styles: [":host ::ng-deep .vp-search-trigger{display:inline-flex;align-items:center;gap:var(--vp-space-2, .5rem);min-width:14rem;justify-content:flex-start;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-md, 6px);color:var(--vp-text-muted, #8b949e)}.vp-search-trigger__label{flex:1;text-align:left;font-weight:400}.vp-search-trigger__hint{padding:.05rem .35rem;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-sm, 4px);font-family:var(--vp-font-mono, ui-monospace, monospace);font-size:var(--vp-font-size-xs, .75rem);line-height:1.4}@media(max-width:900px){:host ::ng-deep .vp-search-trigger{min-width:0}.vp-search-trigger__label,.vp-search-trigger__hint{display:none}}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2810
3713
  }
2811
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSearchTriggerComponent, decorators: [{
3714
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSearchTriggerComponent, decorators: [{
2812
3715
  type: Component,
2813
3716
  args: [{ selector: 'vp-search-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule], template: `
2814
3717
  <button
@@ -2871,8 +3774,8 @@ class VpMenuButtonComponent {
2871
3774
  this.menuId = 'vp-menu-button-popup';
2872
3775
  this.opened = new EventEmitter();
2873
3776
  }
2874
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpMenuButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2875
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpMenuButtonComponent, isStandalone: true, selector: "vp-menu-button", inputs: { icon: "icon", ariaLabel: "ariaLabel", items: "items", menuId: "menuId" }, outputs: { opened: "opened" }, ngImport: i0, template: `
3777
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMenuButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3778
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpMenuButtonComponent, isStandalone: true, selector: "vp-menu-button", inputs: { icon: "icon", ariaLabel: "ariaLabel", items: "items", menuId: "menuId" }, outputs: { opened: "opened" }, ngImport: i0, template: `
2876
3779
  <button
2877
3780
  pButton
2878
3781
  type="button"
@@ -2887,9 +3790,9 @@ class VpMenuButtonComponent {
2887
3790
  (click)="menu.toggle($event); opened.emit()"></button>
2888
3791
 
2889
3792
  <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
2890
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i2$1.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3793
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i2$1.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2891
3794
  }
2892
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpMenuButtonComponent, decorators: [{
3795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMenuButtonComponent, decorators: [{
2893
3796
  type: Component,
2894
3797
  args: [{
2895
3798
  selector: 'vp-menu-button',
@@ -2974,8 +3877,8 @@ class VpProductSwitcherComponent {
2974
3877
  return;
2975
3878
  this.selected.emit(product);
2976
3879
  }
2977
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpProductSwitcherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2978
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpProductSwitcherComponent, isStandalone: true, selector: "vp-product-switcher", inputs: { products: "products", currentId: "currentId", title: "title", panelId: "panelId" }, outputs: { selected: "selected" }, ngImport: i0, template: `
3880
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpProductSwitcherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3881
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpProductSwitcherComponent, isStandalone: true, selector: "vp-product-switcher", inputs: { products: "products", currentId: "currentId", title: "title", panelId: "panelId" }, outputs: { selected: "selected" }, ngImport: i0, template: `
2979
3882
  <button
2980
3883
  pButton
2981
3884
  type="button"
@@ -3009,9 +3912,9 @@ class VpProductSwitcherComponent {
3009
3912
  }
3010
3913
  </ul>
3011
3914
  </p-popover>
3012
- `, isInline: true, styles: [".vp-product-switcher__list{margin:0;padding:0;list-style:none;min-width:16rem}.vp-product-switcher__item{display:flex;flex-direction:column;gap:.125rem;width:100%;padding:var(--vp-space-2, .5rem) var(--vp-space-3, .75rem);border:0;border-radius:var(--vp-radius-sm, 4px);background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.vp-product-switcher__item:hover{background:var(--vp-surface-sunken, #161b22)}.vp-product-switcher__item:focus-visible{outline:var(--vp-focus-width, 2px) solid var(--vp-focus-ring, #2f81f7);outline-offset:var(--vp-focus-offset, 2px)}.vp-product-switcher__item[aria-current] .vp-product-switcher__name{font-weight:var(--vp-weight-semibold, 600)}.vp-product-switcher__item[aria-current]{background:var(--vp-surface-sunken, #161b22)}.vp-product-switcher__desc{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i3.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3915
+ `, isInline: true, styles: [".vp-product-switcher__list{margin:0;padding:0;list-style:none;min-width:16rem}.vp-product-switcher__item{display:flex;flex-direction:column;gap:.125rem;width:100%;padding:var(--vp-space-2, .5rem) var(--vp-space-3, .75rem);border:0;border-radius:var(--vp-radius-sm, 4px);background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.vp-product-switcher__item:hover{background:var(--vp-surface-sunken, #161b22)}.vp-product-switcher__item:focus-visible{outline:var(--vp-focus-width, 2px) solid var(--vp-focus-ring, #2f81f7);outline-offset:var(--vp-focus-offset, 2px)}.vp-product-switcher__item[aria-current] .vp-product-switcher__name{font-weight:var(--vp-weight-semibold, 600)}.vp-product-switcher__item[aria-current]{background:var(--vp-surface-sunken, #161b22)}.vp-product-switcher__desc{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i3.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3013
3916
  }
3014
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpProductSwitcherComponent, decorators: [{
3917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpProductSwitcherComponent, decorators: [{
3015
3918
  type: Component,
3016
3919
  args: [{ selector: 'vp-product-switcher', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, PopoverModule], template: `
3017
3920
  <button
@@ -3092,8 +3995,8 @@ class VpContextToolbarComponent {
3092
3995
  /** 🔴 Ekran okuyucu icin ZORUNLU: sayfada birden fazla arac cubugu olabilir. */
3093
3996
  this.label = 'Sayfa araçları';
3094
3997
  }
3095
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpContextToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3096
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpContextToolbarComponent, isStandalone: true, selector: "vp-context-toolbar", inputs: { visible: "visible", label: "label" }, ngImport: i0, template: `
3998
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpContextToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3999
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpContextToolbarComponent, isStandalone: true, selector: "vp-context-toolbar", inputs: { visible: "visible", label: "label" }, ngImport: i0, template: `
3097
4000
  @if (visible) {
3098
4001
  <p-toolbar
3099
4002
  data-vp-context-toolbar
@@ -3114,7 +4017,7 @@ class VpContextToolbarComponent {
3114
4017
  }
3115
4018
  `, isInline: true, styles: [":host ::ng-deep .vp-context-toolbar{border:0;border-bottom:1px solid var(--vp-border-subtle, #30363d);border-radius:0;background:transparent;padding-inline:0;padding-block:var(--vp-space-2, .5rem);color:var(--vp-text-primary, #e6edf3);font-family:var(--vp-font-sans)}\n"], dependencies: [{ kind: "ngmodule", type: ToolbarModule }, { kind: "component", type: i1$2.Toolbar, selector: "p-toolbar", inputs: ["styleClass", "ariaLabelledBy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3116
4019
  }
3117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpContextToolbarComponent, decorators: [{
4020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpContextToolbarComponent, decorators: [{
3118
4021
  type: Component,
3119
4022
  args: [{ selector: 'vp-context-toolbar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ToolbarModule], template: `
3120
4023
  @if (visible) {
@@ -3414,6 +4317,22 @@ class VpDataTableComponent {
3414
4317
  this.emptyFilteredLabel = 'Bu filtreye uyan kayıt yok';
3415
4318
  this.clearFiltersLabel = 'Filtreleri temizle';
3416
4319
  this.retryLabel = 'Tekrar dene';
4320
+ /**
4321
+ * Arama kutusu — paket 28 · G10.
4322
+ *
4323
+ * ⚠️ Suzmeyi bilesen YAPMIYOR: yazilan metni olay olarak veriyor, veriyi
4324
+ * cagiran suzuyor. Iki yerde suzmek, iki farkli kural demek olurdu.
4325
+ */
4326
+ this.searchable = false;
4327
+ this.searchLabel = 'Ara';
4328
+ this.searchPlaceholder = 'Ara';
4329
+ this.searchTerm = '';
4330
+ /**
4331
+ * Sayfa boyutu secenekleri. Bos birakilirsa secici cizilmiyor — tek boyutlu
4332
+ * bir listede secim sunmak, olmayan bir tercihi ima eder.
4333
+ */
4334
+ this.pageSizeOptions = [];
4335
+ this.pageSizeLabel = 'Sayfa boyutu';
3417
4336
  this.pagerLabel = 'Sayfalama';
3418
4337
  this.prevLabel = 'Önceki';
3419
4338
  this.nextLabel = 'Sonraki';
@@ -3472,6 +4391,22 @@ class VpDataTableComponent {
3472
4391
  this.rowActions = null;
3473
4392
  /** Aksiyon sütununun başlığı. Boş bırakılmıyor — adsız sütun "sütun 5" diye okunur. */
3474
4393
  this.rowActionsHeader = 'İşlemler';
4394
+ /**
4395
+ * Alan bazlı hücre şablonları — paket 28 · G10.
4396
+ *
4397
+ * 🔴 Neden eklendi: hücre bugüne kadar **yalnız düz metin** basıyordu ve bu,
4398
+ * AdminPanel'in 89 entity ekranının ortak tabloya taşınmasını engelliyordu —
4399
+ * taşıma, "aktif/pasif" renkli etiketini düz metne indirirdi. Aynı eksik
4400
+ * Customer tarama listesinde ciddiyet noktasını da imkânsız kılıyordu.
4401
+ *
4402
+ * Bağlam iki şey taşıyor: `$implicit` = hücrenin değeri, `row` = satırın
4403
+ * tamamı. Yalnız değer verilseydi "durum rozetini satırdaki başka bir alana
4404
+ * göre boya" gibi gerçek durumlar yazılamazdı.
4405
+ *
4406
+ * ⚠️ Tasarım sistemi hücrenin **ne olduğunu** bilmiyor ve bilmemeli: şablon
4407
+ * tüketicide, çünkü "aktif" kelimesi de rengi de ürün kararı.
4408
+ */
4409
+ this.cellTemplates = {};
3475
4410
  this.expandedKeys = new Set();
3476
4411
  // ─── paket 08 · G10 — dışa aktarma ─────────────────────────────────────────
3477
4412
  /**
@@ -3511,6 +4446,8 @@ class VpDataTableComponent {
3511
4446
  /** Veri istegi. Ust bilesen `rows` + `total` ile yanit verir. */
3512
4447
  this.load = new EventEmitter();
3513
4448
  this.clearFilters = new EventEmitter();
4449
+ /** Arama kutusuna yazilan metin. Bos metin de cikar: kutuyu temizlemek de bir istek. */
4450
+ this.search = new EventEmitter();
3514
4451
  this.page = 1;
3515
4452
  this.sortField = null;
3516
4453
  this.sortOrder = 'asc';
@@ -3783,6 +4720,25 @@ class VpDataTableComponent {
3783
4720
  this.page = 1;
3784
4721
  this.emitLoad();
3785
4722
  }
4723
+ /**
4724
+ * 🔴 Arama 7. sayfadayken yapilirsa liste bos gorunur ve kullanici "kayit
4725
+ * yok" sanir. Siralamada ayni kural zaten uygulaniyordu.
4726
+ */
4727
+ onSearch(event) {
4728
+ this.searchTerm = event.target.value;
4729
+ this.page = 1;
4730
+ this.search.emit(this.searchTerm);
4731
+ this.emitLoad();
4732
+ }
4733
+ /** Boyut degisince 1. sayfaya donuluyor: 4. sayfa buyuk boyutta olmayabilir. */
4734
+ onPageSizeChange(event) {
4735
+ const size = Number(event.target.value);
4736
+ if (!Number.isFinite(size) || size <= 0)
4737
+ return;
4738
+ this.pageSize = size;
4739
+ this.page = 1;
4740
+ this.emitLoad();
4741
+ }
3786
4742
  emitLoad() {
3787
4743
  const event = { page: this.page, size: this.pageSize };
3788
4744
  if (this.sortField) {
@@ -3806,568 +4762,638 @@ class VpDataTableComponent {
3806
4762
  cell(row, field) {
3807
4763
  return row[field];
3808
4764
  }
3809
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3810
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpDataTableComponent, isStandalone: true, selector: "vp-data-table", inputs: { columns: "columns", rows: "rows", total: "total", serverSide: "serverSide", pageSize: "pageSize", loading: "loading", error: "error", hasActiveFilter: "hasActiveFilter", caption: "caption", totalLabel: "totalLabel", loadingLabel: "loadingLabel", emptyLabel: "emptyLabel", emptyFilteredLabel: "emptyFilteredLabel", clearFiltersLabel: "clearFiltersLabel", retryLabel: "retryLabel", pagerLabel: "pagerLabel", prevLabel: "prevLabel", nextLabel: "nextLabel", storageKey: "storageKey", selectable: "selectable", rowKey: "rowKey", bulkActions: "bulkActions", bulkResult: "bulkResult", bulkLabel: "bulkLabel", selectedLabel: "selectedLabel", clearSelectionLabel: "clearSelectionLabel", selectPageLabel: "selectPageLabel", selectRowLabel: "selectRowLabel", confirmPrefix: "confirmPrefix", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", succeededLabel: "succeededLabel", failedLabel: "failedLabel", expandable: "expandable", rowDetail: "rowDetail", expandLabel: "expandLabel", collapseLabel: "collapseLabel", expandColumnLabel: "expandColumnLabel", noDetailLabel: "noDetailLabel", rowActions: "rowActions", rowActionsHeader: "rowActionsHeader", exportScopes: "exportScopes", exportPageLabel: "exportPageLabel", exportAllLabel: "exportAllLabel", savedViewsKey: "savedViewsKey", viewsLabel: "viewsLabel", viewsPlaceholder: "viewsPlaceholder", saveViewLabel: "saveViewLabel", deleteViewLabel: "deleteViewLabel", askViewName: "askViewName", columnPicker: "columnPicker", columnsLabel: "columnsLabel", moveUpLabel: "moveUpLabel", moveDownLabel: "moveDownLabel" }, outputs: { bulkAction: "bulkAction", exportRequest: "exportRequest", viewApplied: "viewApplied", load: "load", clearFilters: "clearFilters" }, usesOnChanges: true, ngImport: i0, template: `
3811
- <div class="vp-table">
3812
- <div class="vp-table__meta">
3813
- <span class="vp-table__total" data-vp-total>
3814
- {{ total }} {{ totalLabel }}
3815
- </span>
3816
- @if (pageCount > 1) {
3817
- <span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
3818
- }
3819
-
3820
- @if (savedViewsKey) {
3821
- <span class="vp-table__views" data-vp-views>
3822
- <select
3823
- class="vp-table__cols-btn"
3824
- data-vp-view-select
3825
- [attr.aria-label]="viewsLabel"
3826
- [value]="activeView"
3827
- (change)="applyView(asSelectValue($event))">
3828
- <option value="">{{ viewsPlaceholder }}</option>
3829
- @for (view of savedViews; track view.name) {
3830
- <option [value]="view.name">{{ view.name }}</option>
3831
- }
3832
- </select>
3833
-
3834
- <button type="button" class="vp-table__cols-btn" data-vp-view-save
3835
- (click)="saveViewPrompt()">{{ saveViewLabel }}</button>
3836
-
3837
- @if (activeView) {
3838
- <button type="button" class="vp-table__cols-btn" data-vp-view-delete
3839
- (click)="deleteActiveView()">{{ deleteViewLabel }}</button>
3840
- }
3841
- </span>
3842
- }
3843
-
3844
- @if (exportScopes.length > 0) {
3845
- @for (scope of exportScopes; track scope) {
3846
- <button
3847
- type="button"
3848
- class="vp-table__cols-btn"
3849
- [attr.data-vp-export]="scope"
3850
- (click)="requestExport(scope)">{{ exportLabel(scope) }}</button>
3851
- }
3852
- }
3853
-
3854
- @if (columnPicker) {
3855
- <button
3856
- type="button"
3857
- class="vp-table__cols-btn"
3858
- data-vp-cols-toggle
3859
- [attr.aria-expanded]="pickerOpen"
3860
- (click)="pickerOpen = !pickerOpen">{{ columnsLabel }}</button>
3861
- }
3862
- </div>
3863
-
3864
- @if (selectable && selectedKeys.size > 0) {
3865
- <div class="vp-table__bulk" data-vp-bulk role="group" [attr.aria-label]="bulkLabel">
3866
- <span data-vp-bulk-count>{{ selectedKeys.size }} {{ selectedLabel }}</span>
3867
-
3868
- <div class="vp-table__bulk-actions">
3869
- @for (action of bulkActions; track action.code) {
3870
- <button
3871
- type="button"
3872
- [attr.data-vp-bulk-action]="action.code"
3873
- [class.vp-table__bulk-btn--danger]="action.danger"
3874
- class="vp-table__bulk-btn"
3875
- (click)="requestBulkAction(action)">{{ action.label }}</button>
3876
- }
3877
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-clear
3878
- (click)="clearSelection()">{{ clearSelectionLabel }}</button>
3879
- </div>
3880
- </div>
3881
-
3882
- @if (pendingAction) {
3883
- <div class="vp-table__bulk-confirm" data-vp-bulk-confirm role="alertdialog"
3884
- [attr.aria-label]="pendingAction.label">
3885
- <span>{{ confirmPrefix }} {{ selectedKeys.size }} {{ selectedLabel }} — {{ pendingAction.label }}?</span>
3886
- <span class="vp-table__bulk-actions">
3887
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-cancel
3888
- (click)="pendingAction = null">{{ cancelLabel }}</button>
3889
- <button type="button" class="vp-table__bulk-btn vp-table__bulk-btn--danger"
3890
- data-vp-bulk-confirm-ok (click)="confirmBulkAction()">{{ confirmLabel }}</button>
3891
- </span>
3892
- </div>
3893
- }
3894
- }
3895
-
3896
- @if (bulkResult) {
3897
- <div class="vp-table__bulk-report" data-vp-bulk-report role="status" aria-live="polite">
3898
- @if (bulkResult.succeeded.length > 0) {
3899
- <p data-vp-bulk-ok>{{ bulkResult.succeeded.length }} {{ succeededLabel }}</p>
3900
- }
3901
- @if (bulkResult.failed.length > 0) {
3902
- <p data-vp-bulk-failed>{{ bulkResult.failed.length }} {{ failedLabel }}</p>
3903
- <ul class="vp-table__bulk-failures">
3904
- @for (failure of bulkResult.failed; track failure.key) {
3905
- <li [attr.data-vp-bulk-failure]="failure.key">
3906
- <code>{{ failure.key }}</code> — {{ failure.reason }}
3907
- </li>
3908
- }
3909
- </ul>
3910
- }
3911
- </div>
3912
- }
3913
-
3914
- @if (columnPicker && pickerOpen) {
3915
- <div class="vp-table__cols" data-vp-cols role="group" [attr.aria-label]="columnsLabel">
3916
- @for (col of orderedColumns; track col.field; let i = $index) {
3917
- <div class="vp-table__cols-row" [attr.data-vp-cols-row]="col.field">
3918
- <label class="vp-table__cols-label">
3919
- <input
3920
- type="checkbox"
3921
- [attr.data-vp-col-toggle]="col.field"
3922
- [checked]="isVisible(col.field)"
3923
- [disabled]="isVisible(col.field) && visibleCount === 1"
3924
- (change)="setColumnVisible(col.field, !isVisible(col.field))" />
3925
- {{ col.header }}
3926
- </label>
3927
- <span class="vp-table__cols-move">
3928
- <button
3929
- type="button"
3930
- [attr.data-vp-col-up]="col.field"
3931
- [attr.aria-label]="moveUpLabel + ': ' + col.header"
3932
- [disabled]="i === 0"
3933
- (click)="moveColumn(col.field, -1)">↑</button>
3934
- <button
3935
- type="button"
3936
- [attr.data-vp-col-down]="col.field"
3937
- [attr.aria-label]="moveDownLabel + ': ' + col.header"
3938
- [disabled]="i === orderedColumns.length - 1"
3939
- (click)="moveColumn(col.field, 1)">↓</button>
3940
- </span>
3941
- </div>
3942
- }
3943
- </div>
3944
- }
3945
-
3946
- @if (error) {
3947
- <div class="vp-table__error" data-vp-table-error role="alert">
3948
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
3949
- <use href="#vp-icon-error"></use>
3950
- </svg>
3951
- <p class="vp-table__state-text">{{ error }}</p>
3952
- <button type="button" class="vp-table__retry" (click)="emitLoad()">{{ retryLabel }}</button>
3953
- </div>
3954
- } @else if (loading) {
3955
- <div class="vp-table__skeleton" data-vp-table-skeleton aria-hidden="true">
3956
- @for (i of skeletonRows; track i) {
3957
- <span class="vp-table__skeleton-row"></span>
3958
- }
3959
- </div>
3960
- <span class="vp-visually-hidden" role="status">{{ loadingLabel }}</span>
3961
- } @else if (rows.length === 0) {
3962
- @if (hasActiveFilter) {
3963
- <div class="vp-table__empty" data-vp-table-empty-filtered role="status">
3964
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
3965
- <use href="#vp-icon-filter"></use>
3966
- </svg>
3967
- <p class="vp-table__state-text">{{ emptyFilteredLabel }}</p>
3968
- <button type="button" class="vp-table__retry" (click)="clearFilters.emit()">
3969
- {{ clearFiltersLabel }}
3970
- </button>
3971
- </div>
3972
- } @else {
3973
- <div class="vp-table__empty" data-vp-table-empty role="status">
3974
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
3975
- <use href="#vp-icon-empty"></use>
3976
- </svg>
3977
- <p class="vp-table__state-text">{{ emptyLabel }}</p>
3978
- </div>
3979
- }
3980
- } @else {
3981
- <div class="vp-table__scroll">
3982
- <table class="vp-table__table" [attr.aria-label]="caption">
3983
- <thead>
3984
- <tr>
3985
- @if (canExpand) {
3986
- <th scope="col" class="vp-table__select-cell">
3987
- <span class="vp-visually-hidden">{{ expandColumnLabel }}</span>
3988
- </th>
3989
- }
3990
- @if (selectable) {
3991
- <th scope="col" class="vp-table__select-cell">
3992
- <input
3993
- type="checkbox"
3994
- data-vp-select-page
3995
- [attr.aria-label]="selectPageLabel"
3996
- [checked]="allOnPageSelected"
3997
- [indeterminate]="someOnPageSelected"
3998
- (change)="togglePageSelection()" />
3999
- </th>
4000
- }
4001
- @for (col of visibleCols; track col.field) {
4002
- <th
4003
- scope="col"
4004
- [attr.data-vp-col]="col.field"
4005
- [attr.aria-sort]="ariaSort(col)"
4006
- [style.width]="col.width || null">
4007
- @if (col.sortable) {
4008
- <button type="button" class="vp-table__sort" (click)="toggleSort(col.field)">
4009
- {{ col.header }}
4010
- <span class="vp-table__sort-icon" aria-hidden="true">{{ sortGlyph(col.field) }}</span>
4011
- </button>
4012
- } @else {
4013
- {{ col.header }}
4014
- }
4015
- </th>
4016
- }
4017
- @if (rowActions) {
4018
- <th scope="col" class="vp-table__actions-header">{{ rowActionsHeader }}</th>
4019
- }
4020
- </tr>
4021
- </thead>
4022
- <tbody>
4023
- @for (row of rows; track $index) {
4024
- <tr data-vp-row>
4025
- @if (canExpand) {
4026
- <td class="vp-table__select-cell">
4027
- <button
4028
- type="button"
4029
- class="vp-table__expand"
4030
- [attr.data-vp-expand]="keyOf(row)"
4031
- [attr.aria-expanded]="isExpanded(row)"
4032
- [attr.aria-label]="isExpanded(row) ? collapseLabel : expandLabel"
4033
- (click)="toggleExpanded(row)">{{ isExpanded(row) ? '▾' : '▸' }}</button>
4034
- </td>
4035
- }
4036
- @if (selectable) {
4037
- <td class="vp-table__select-cell">
4038
- <input
4039
- type="checkbox"
4040
- [attr.data-vp-select-row]="keyOf(row)"
4041
- [attr.aria-label]="selectRowLabel"
4042
- [checked]="isSelected(row)"
4043
- (change)="toggleRow(row)" />
4044
- </td>
4045
- }
4046
- @for (col of visibleCols; track col.field) {
4047
- <td>{{ cell(row, col.field) }}</td>
4048
- }
4049
- @if (rowActions) {
4050
- <td data-vp-row-actions>
4051
- <ng-container *ngTemplateOutlet="rowActions; context: { $implicit: row }" />
4052
- </td>
4053
- }
4054
- </tr>
4055
-
4056
- @if (canExpand && isExpanded(row)) {
4057
- <tr class="vp-table__detail-row" [attr.data-vp-detail]="keyOf(row)">
4058
- <td [attr.colspan]="columnSpan">
4059
- @if (rowDetail) {
4060
- <ng-container *ngTemplateOutlet="rowDetail; context: { $implicit: row }" />
4061
- } @else {
4062
- <span class="vp-table__detail-empty">{{ noDetailLabel }}</span>
4063
- }
4064
- </td>
4065
- </tr>
4066
- }
4067
- }
4068
- </tbody>
4069
- </table>
4070
- </div>
4071
-
4072
- @if (pageCount > 1) {
4073
- <nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
4074
- <button
4075
- type="button"
4076
- class="vp-table__page-btn"
4077
- [disabled]="page <= 1"
4078
- (click)="goToPage(page - 1)">{{ prevLabel }}</button>
4079
- <button
4080
- type="button"
4081
- class="vp-table__page-btn"
4082
- [disabled]="page >= pageCount"
4083
- (click)="goToPage(page + 1)">{{ nextLabel }}</button>
4084
- </nav>
4085
- }
4086
- }
4087
- </div>
4088
- `, isInline: true, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4765
+ /**
4766
+ * Alanın hücre şablonu — yoksa `null` ve hücre düz metin basılır.
4767
+ *
4768
+ * ⚠️ Şablon **alan adına** göre aranıyor; sütun listesinde olmayan bir alan
4769
+ * için verilen şablon sessizce kullanılmaz. Bu bilinçli: şablon sözlüğü
4770
+ * sütunları değil, sütunlar şablonları belirliyor.
4771
+ */
4772
+ templateFor(field) {
4773
+ return this.cellTemplates[field] ?? null;
4774
+ }
4775
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4776
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDataTableComponent, isStandalone: true, selector: "vp-data-table", inputs: { columns: "columns", rows: "rows", total: "total", serverSide: "serverSide", pageSize: "pageSize", loading: "loading", error: "error", hasActiveFilter: "hasActiveFilter", caption: "caption", totalLabel: "totalLabel", loadingLabel: "loadingLabel", emptyLabel: "emptyLabel", emptyFilteredLabel: "emptyFilteredLabel", clearFiltersLabel: "clearFiltersLabel", retryLabel: "retryLabel", searchable: "searchable", searchLabel: "searchLabel", searchPlaceholder: "searchPlaceholder", searchTerm: "searchTerm", pageSizeOptions: "pageSizeOptions", pageSizeLabel: "pageSizeLabel", pagerLabel: "pagerLabel", prevLabel: "prevLabel", nextLabel: "nextLabel", storageKey: "storageKey", selectable: "selectable", rowKey: "rowKey", bulkActions: "bulkActions", bulkResult: "bulkResult", bulkLabel: "bulkLabel", selectedLabel: "selectedLabel", clearSelectionLabel: "clearSelectionLabel", selectPageLabel: "selectPageLabel", selectRowLabel: "selectRowLabel", confirmPrefix: "confirmPrefix", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", succeededLabel: "succeededLabel", failedLabel: "failedLabel", expandable: "expandable", rowDetail: "rowDetail", expandLabel: "expandLabel", collapseLabel: "collapseLabel", expandColumnLabel: "expandColumnLabel", noDetailLabel: "noDetailLabel", rowActions: "rowActions", rowActionsHeader: "rowActionsHeader", cellTemplates: "cellTemplates", exportScopes: "exportScopes", exportPageLabel: "exportPageLabel", exportAllLabel: "exportAllLabel", savedViewsKey: "savedViewsKey", viewsLabel: "viewsLabel", viewsPlaceholder: "viewsPlaceholder", saveViewLabel: "saveViewLabel", deleteViewLabel: "deleteViewLabel", askViewName: "askViewName", columnPicker: "columnPicker", columnsLabel: "columnsLabel", moveUpLabel: "moveUpLabel", moveDownLabel: "moveDownLabel" }, outputs: { bulkAction: "bulkAction", exportRequest: "exportRequest", viewApplied: "viewApplied", load: "load", clearFilters: "clearFilters", search: "search" }, usesOnChanges: true, ngImport: i0, template: `
4777
+ <div class="vp-table">
4778
+ <div class="vp-table__meta">
4779
+ <span class="vp-table__total" data-vp-total>
4780
+ {{ total }} {{ totalLabel }}
4781
+ </span>
4782
+ @if (pageCount > 1) {
4783
+ <span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
4784
+ }
4785
+
4786
+ @if (searchable) {
4787
+ <input
4788
+ type="search"
4789
+ class="vp-table__search"
4790
+ data-vp-table-search
4791
+ [attr.aria-label]="searchLabel"
4792
+ [attr.placeholder]="searchPlaceholder"
4793
+ [value]="searchTerm"
4794
+ (input)="onSearch($event)" />
4795
+ }
4796
+
4797
+ @if (savedViewsKey) {
4798
+ <span class="vp-table__views" data-vp-views>
4799
+ <select
4800
+ class="vp-table__cols-btn"
4801
+ data-vp-view-select
4802
+ [attr.aria-label]="viewsLabel"
4803
+ [value]="activeView"
4804
+ (change)="applyView(asSelectValue($event))">
4805
+ <option value="">{{ viewsPlaceholder }}</option>
4806
+ @for (view of savedViews; track view.name) {
4807
+ <option [value]="view.name">{{ view.name }}</option>
4808
+ }
4809
+ </select>
4810
+
4811
+ <button type="button" class="vp-table__cols-btn" data-vp-view-save
4812
+ (click)="saveViewPrompt()">{{ saveViewLabel }}</button>
4813
+
4814
+ @if (activeView) {
4815
+ <button type="button" class="vp-table__cols-btn" data-vp-view-delete
4816
+ (click)="deleteActiveView()">{{ deleteViewLabel }}</button>
4817
+ }
4818
+ </span>
4819
+ }
4820
+
4821
+ @if (exportScopes.length > 0) {
4822
+ @for (scope of exportScopes; track scope) {
4823
+ <button
4824
+ type="button"
4825
+ class="vp-table__cols-btn"
4826
+ [attr.data-vp-export]="scope"
4827
+ (click)="requestExport(scope)">{{ exportLabel(scope) }}</button>
4828
+ }
4829
+ }
4830
+
4831
+ @if (columnPicker) {
4832
+ <button
4833
+ type="button"
4834
+ class="vp-table__cols-btn"
4835
+ data-vp-cols-toggle
4836
+ [attr.aria-expanded]="pickerOpen"
4837
+ (click)="pickerOpen = !pickerOpen">{{ columnsLabel }}</button>
4838
+ }
4839
+ </div>
4840
+
4841
+ @if (selectable && selectedKeys.size > 0) {
4842
+ <div class="vp-table__bulk" data-vp-bulk role="group" [attr.aria-label]="bulkLabel">
4843
+ <span data-vp-bulk-count>{{ selectedKeys.size }} {{ selectedLabel }}</span>
4844
+
4845
+ <div class="vp-table__bulk-actions">
4846
+ @for (action of bulkActions; track action.code) {
4847
+ <button
4848
+ type="button"
4849
+ [attr.data-vp-bulk-action]="action.code"
4850
+ [class.vp-table__bulk-btn--danger]="action.danger"
4851
+ class="vp-table__bulk-btn"
4852
+ (click)="requestBulkAction(action)">{{ action.label }}</button>
4853
+ }
4854
+ <button type="button" class="vp-table__bulk-btn" data-vp-bulk-clear
4855
+ (click)="clearSelection()">{{ clearSelectionLabel }}</button>
4856
+ </div>
4857
+ </div>
4858
+
4859
+ @if (pendingAction) {
4860
+ <div class="vp-table__bulk-confirm" data-vp-bulk-confirm role="alertdialog"
4861
+ [attr.aria-label]="pendingAction.label">
4862
+ <span>{{ confirmPrefix }} {{ selectedKeys.size }} {{ selectedLabel }} — {{ pendingAction.label }}?</span>
4863
+ <span class="vp-table__bulk-actions">
4864
+ <button type="button" class="vp-table__bulk-btn" data-vp-bulk-cancel
4865
+ (click)="pendingAction = null">{{ cancelLabel }}</button>
4866
+ <button type="button" class="vp-table__bulk-btn vp-table__bulk-btn--danger"
4867
+ data-vp-bulk-confirm-ok (click)="confirmBulkAction()">{{ confirmLabel }}</button>
4868
+ </span>
4869
+ </div>
4870
+ }
4871
+ }
4872
+
4873
+ @if (bulkResult) {
4874
+ <div class="vp-table__bulk-report" data-vp-bulk-report role="status" aria-live="polite">
4875
+ @if (bulkResult.succeeded.length > 0) {
4876
+ <p data-vp-bulk-ok>{{ bulkResult.succeeded.length }} {{ succeededLabel }}</p>
4877
+ }
4878
+ @if (bulkResult.failed.length > 0) {
4879
+ <p data-vp-bulk-failed>{{ bulkResult.failed.length }} {{ failedLabel }}</p>
4880
+ <ul class="vp-table__bulk-failures">
4881
+ @for (failure of bulkResult.failed; track failure.key) {
4882
+ <li [attr.data-vp-bulk-failure]="failure.key">
4883
+ <code>{{ failure.key }}</code> — {{ failure.reason }}
4884
+ </li>
4885
+ }
4886
+ </ul>
4887
+ }
4888
+ </div>
4889
+ }
4890
+
4891
+ @if (columnPicker && pickerOpen) {
4892
+ <div class="vp-table__cols" data-vp-cols role="group" [attr.aria-label]="columnsLabel">
4893
+ @for (col of orderedColumns; track col.field; let i = $index) {
4894
+ <div class="vp-table__cols-row" [attr.data-vp-cols-row]="col.field">
4895
+ <label class="vp-table__cols-label">
4896
+ <input
4897
+ type="checkbox"
4898
+ [attr.data-vp-col-toggle]="col.field"
4899
+ [checked]="isVisible(col.field)"
4900
+ [disabled]="isVisible(col.field) && visibleCount === 1"
4901
+ (change)="setColumnVisible(col.field, !isVisible(col.field))" />
4902
+ {{ col.header }}
4903
+ </label>
4904
+ <span class="vp-table__cols-move">
4905
+ <button
4906
+ type="button"
4907
+ [attr.data-vp-col-up]="col.field"
4908
+ [attr.aria-label]="moveUpLabel + ': ' + col.header"
4909
+ [disabled]="i === 0"
4910
+ (click)="moveColumn(col.field, -1)">↑</button>
4911
+ <button
4912
+ type="button"
4913
+ [attr.data-vp-col-down]="col.field"
4914
+ [attr.aria-label]="moveDownLabel + ': ' + col.header"
4915
+ [disabled]="i === orderedColumns.length - 1"
4916
+ (click)="moveColumn(col.field, 1)">↓</button>
4917
+ </span>
4918
+ </div>
4919
+ }
4920
+ </div>
4921
+ }
4922
+
4923
+ @if (error) {
4924
+ <div class="vp-table__error" data-vp-table-error role="alert">
4925
+ <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4926
+ <use href="#vp-icon-error"></use>
4927
+ </svg>
4928
+ <p class="vp-table__state-text">{{ error }}</p>
4929
+ <button type="button" class="vp-table__retry" (click)="emitLoad()">{{ retryLabel }}</button>
4930
+ </div>
4931
+ } @else if (loading) {
4932
+ <div class="vp-table__skeleton" data-vp-table-skeleton aria-hidden="true">
4933
+ @for (i of skeletonRows; track i) {
4934
+ <span class="vp-table__skeleton-row"></span>
4935
+ }
4936
+ </div>
4937
+ <span class="vp-visually-hidden" role="status">{{ loadingLabel }}</span>
4938
+ } @else if (rows.length === 0) {
4939
+ @if (hasActiveFilter) {
4940
+ <div class="vp-table__empty" data-vp-table-empty-filtered role="status">
4941
+ <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4942
+ <use href="#vp-icon-filter"></use>
4943
+ </svg>
4944
+ <p class="vp-table__state-text">{{ emptyFilteredLabel }}</p>
4945
+ <button type="button" class="vp-table__retry" (click)="clearFilters.emit()">
4946
+ {{ clearFiltersLabel }}
4947
+ </button>
4948
+ </div>
4949
+ } @else {
4950
+ <div class="vp-table__empty" data-vp-table-empty role="status">
4951
+ <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4952
+ <use href="#vp-icon-empty"></use>
4953
+ </svg>
4954
+ <p class="vp-table__state-text">{{ emptyLabel }}</p>
4955
+ </div>
4956
+ }
4957
+ } @else {
4958
+ <div class="vp-table__scroll">
4959
+ <table class="vp-table__table" [attr.aria-label]="caption">
4960
+ <thead>
4961
+ <tr>
4962
+ @if (canExpand) {
4963
+ <th scope="col" class="vp-table__select-cell">
4964
+ <span class="vp-visually-hidden">{{ expandColumnLabel }}</span>
4965
+ </th>
4966
+ }
4967
+ @if (selectable) {
4968
+ <th scope="col" class="vp-table__select-cell">
4969
+ <input
4970
+ type="checkbox"
4971
+ data-vp-select-page
4972
+ [attr.aria-label]="selectPageLabel"
4973
+ [checked]="allOnPageSelected"
4974
+ [indeterminate]="someOnPageSelected"
4975
+ (change)="togglePageSelection()" />
4976
+ </th>
4977
+ }
4978
+ @for (col of visibleCols; track col.field) {
4979
+ <th
4980
+ scope="col"
4981
+ [attr.data-vp-col]="col.field"
4982
+ [attr.aria-sort]="ariaSort(col)"
4983
+ [style.width]="col.width || null">
4984
+ @if (col.sortable) {
4985
+ <button type="button" class="vp-table__sort" (click)="toggleSort(col.field)">
4986
+ {{ col.header }}
4987
+ <span class="vp-table__sort-icon" aria-hidden="true">{{ sortGlyph(col.field) }}</span>
4988
+ </button>
4989
+ } @else {
4990
+ {{ col.header }}
4991
+ }
4992
+ </th>
4993
+ }
4994
+ @if (rowActions) {
4995
+ <th scope="col" class="vp-table__actions-header">{{ rowActionsHeader }}</th>
4996
+ }
4997
+ </tr>
4998
+ </thead>
4999
+ <tbody>
5000
+ @for (row of rows; track $index) {
5001
+ <tr data-vp-row>
5002
+ @if (canExpand) {
5003
+ <td class="vp-table__select-cell">
5004
+ <button
5005
+ type="button"
5006
+ class="vp-table__expand"
5007
+ [attr.data-vp-expand]="keyOf(row)"
5008
+ [attr.aria-expanded]="isExpanded(row)"
5009
+ [attr.aria-label]="isExpanded(row) ? collapseLabel : expandLabel"
5010
+ (click)="toggleExpanded(row)">{{ isExpanded(row) ? '▾' : '▸' }}</button>
5011
+ </td>
5012
+ }
5013
+ @if (selectable) {
5014
+ <td class="vp-table__select-cell">
5015
+ <input
5016
+ type="checkbox"
5017
+ [attr.data-vp-select-row]="keyOf(row)"
5018
+ [attr.aria-label]="selectRowLabel"
5019
+ [checked]="isSelected(row)"
5020
+ (change)="toggleRow(row)" />
5021
+ </td>
5022
+ }
5023
+ @for (col of visibleCols; track col.field) {
5024
+ <td>
5025
+ @if (templateFor(col.field); as tpl) {
5026
+ <ng-container
5027
+ *ngTemplateOutlet="tpl; context: { $implicit: cell(row, col.field), row: row }" />
5028
+ } @else {
5029
+ {{ cell(row, col.field) }}
5030
+ }
5031
+ </td>
5032
+ }
5033
+ @if (rowActions) {
5034
+ <td data-vp-row-actions>
5035
+ <ng-container *ngTemplateOutlet="rowActions; context: { $implicit: row }" />
5036
+ </td>
5037
+ }
5038
+ </tr>
5039
+
5040
+ @if (canExpand && isExpanded(row)) {
5041
+ <tr class="vp-table__detail-row" [attr.data-vp-detail]="keyOf(row)">
5042
+ <td [attr.colspan]="columnSpan">
5043
+ @if (rowDetail) {
5044
+ <ng-container *ngTemplateOutlet="rowDetail; context: { $implicit: row }" />
5045
+ } @else {
5046
+ <span class="vp-table__detail-empty">{{ noDetailLabel }}</span>
5047
+ }
5048
+ </td>
5049
+ </tr>
5050
+ }
5051
+ }
5052
+ </tbody>
5053
+ </table>
5054
+ </div>
5055
+
5056
+ @if (pageCount > 1) {
5057
+ <nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
5058
+ @if (pageSizeOptions.length > 0) {
5059
+ <select
5060
+ class="vp-table__page-size"
5061
+ data-vp-table-page-size
5062
+ [attr.aria-label]="pageSizeLabel"
5063
+ [value]="pageSize"
5064
+ (change)="onPageSizeChange($event)">
5065
+ @for (size of pageSizeOptions; track size) {
5066
+ <option [value]="size" [selected]="size === pageSize">{{ size }}</option>
5067
+ }
5068
+ </select>
5069
+ }
5070
+ <button
5071
+ type="button"
5072
+ class="vp-table__page-btn"
5073
+ [disabled]="page <= 1"
5074
+ (click)="goToPage(page - 1)">{{ prevLabel }}</button>
5075
+ <button
5076
+ type="button"
5077
+ class="vp-table__page-btn"
5078
+ [disabled]="page >= pageCount"
5079
+ (click)="goToPage(page + 1)">{{ nextLabel }}</button>
5080
+ </nav>
5081
+ }
5082
+ }
5083
+ </div>
5084
+ `, isInline: true, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__page-size{padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4089
5085
  }
4090
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDataTableComponent, decorators: [{
5086
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDataTableComponent, decorators: [{
4091
5087
  type: Component,
4092
- args: [{ selector: 'vp-data-table', standalone: true, imports: [NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: `
4093
- <div class="vp-table">
4094
- <div class="vp-table__meta">
4095
- <span class="vp-table__total" data-vp-total>
4096
- {{ total }} {{ totalLabel }}
4097
- </span>
4098
- @if (pageCount > 1) {
4099
- <span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
4100
- }
4101
-
4102
- @if (savedViewsKey) {
4103
- <span class="vp-table__views" data-vp-views>
4104
- <select
4105
- class="vp-table__cols-btn"
4106
- data-vp-view-select
4107
- [attr.aria-label]="viewsLabel"
4108
- [value]="activeView"
4109
- (change)="applyView(asSelectValue($event))">
4110
- <option value="">{{ viewsPlaceholder }}</option>
4111
- @for (view of savedViews; track view.name) {
4112
- <option [value]="view.name">{{ view.name }}</option>
4113
- }
4114
- </select>
4115
-
4116
- <button type="button" class="vp-table__cols-btn" data-vp-view-save
4117
- (click)="saveViewPrompt()">{{ saveViewLabel }}</button>
4118
-
4119
- @if (activeView) {
4120
- <button type="button" class="vp-table__cols-btn" data-vp-view-delete
4121
- (click)="deleteActiveView()">{{ deleteViewLabel }}</button>
4122
- }
4123
- </span>
4124
- }
4125
-
4126
- @if (exportScopes.length > 0) {
4127
- @for (scope of exportScopes; track scope) {
4128
- <button
4129
- type="button"
4130
- class="vp-table__cols-btn"
4131
- [attr.data-vp-export]="scope"
4132
- (click)="requestExport(scope)">{{ exportLabel(scope) }}</button>
4133
- }
4134
- }
4135
-
4136
- @if (columnPicker) {
4137
- <button
4138
- type="button"
4139
- class="vp-table__cols-btn"
4140
- data-vp-cols-toggle
4141
- [attr.aria-expanded]="pickerOpen"
4142
- (click)="pickerOpen = !pickerOpen">{{ columnsLabel }}</button>
4143
- }
4144
- </div>
4145
-
4146
- @if (selectable && selectedKeys.size > 0) {
4147
- <div class="vp-table__bulk" data-vp-bulk role="group" [attr.aria-label]="bulkLabel">
4148
- <span data-vp-bulk-count>{{ selectedKeys.size }} {{ selectedLabel }}</span>
4149
-
4150
- <div class="vp-table__bulk-actions">
4151
- @for (action of bulkActions; track action.code) {
4152
- <button
4153
- type="button"
4154
- [attr.data-vp-bulk-action]="action.code"
4155
- [class.vp-table__bulk-btn--danger]="action.danger"
4156
- class="vp-table__bulk-btn"
4157
- (click)="requestBulkAction(action)">{{ action.label }}</button>
4158
- }
4159
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-clear
4160
- (click)="clearSelection()">{{ clearSelectionLabel }}</button>
4161
- </div>
4162
- </div>
4163
-
4164
- @if (pendingAction) {
4165
- <div class="vp-table__bulk-confirm" data-vp-bulk-confirm role="alertdialog"
4166
- [attr.aria-label]="pendingAction.label">
4167
- <span>{{ confirmPrefix }} {{ selectedKeys.size }} {{ selectedLabel }} — {{ pendingAction.label }}?</span>
4168
- <span class="vp-table__bulk-actions">
4169
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-cancel
4170
- (click)="pendingAction = null">{{ cancelLabel }}</button>
4171
- <button type="button" class="vp-table__bulk-btn vp-table__bulk-btn--danger"
4172
- data-vp-bulk-confirm-ok (click)="confirmBulkAction()">{{ confirmLabel }}</button>
4173
- </span>
4174
- </div>
4175
- }
4176
- }
4177
-
4178
- @if (bulkResult) {
4179
- <div class="vp-table__bulk-report" data-vp-bulk-report role="status" aria-live="polite">
4180
- @if (bulkResult.succeeded.length > 0) {
4181
- <p data-vp-bulk-ok>{{ bulkResult.succeeded.length }} {{ succeededLabel }}</p>
4182
- }
4183
- @if (bulkResult.failed.length > 0) {
4184
- <p data-vp-bulk-failed>{{ bulkResult.failed.length }} {{ failedLabel }}</p>
4185
- <ul class="vp-table__bulk-failures">
4186
- @for (failure of bulkResult.failed; track failure.key) {
4187
- <li [attr.data-vp-bulk-failure]="failure.key">
4188
- <code>{{ failure.key }}</code> — {{ failure.reason }}
4189
- </li>
4190
- }
4191
- </ul>
4192
- }
4193
- </div>
4194
- }
4195
-
4196
- @if (columnPicker && pickerOpen) {
4197
- <div class="vp-table__cols" data-vp-cols role="group" [attr.aria-label]="columnsLabel">
4198
- @for (col of orderedColumns; track col.field; let i = $index) {
4199
- <div class="vp-table__cols-row" [attr.data-vp-cols-row]="col.field">
4200
- <label class="vp-table__cols-label">
4201
- <input
4202
- type="checkbox"
4203
- [attr.data-vp-col-toggle]="col.field"
4204
- [checked]="isVisible(col.field)"
4205
- [disabled]="isVisible(col.field) && visibleCount === 1"
4206
- (change)="setColumnVisible(col.field, !isVisible(col.field))" />
4207
- {{ col.header }}
4208
- </label>
4209
- <span class="vp-table__cols-move">
4210
- <button
4211
- type="button"
4212
- [attr.data-vp-col-up]="col.field"
4213
- [attr.aria-label]="moveUpLabel + ': ' + col.header"
4214
- [disabled]="i === 0"
4215
- (click)="moveColumn(col.field, -1)">↑</button>
4216
- <button
4217
- type="button"
4218
- [attr.data-vp-col-down]="col.field"
4219
- [attr.aria-label]="moveDownLabel + ': ' + col.header"
4220
- [disabled]="i === orderedColumns.length - 1"
4221
- (click)="moveColumn(col.field, 1)">↓</button>
4222
- </span>
4223
- </div>
4224
- }
4225
- </div>
4226
- }
4227
-
4228
- @if (error) {
4229
- <div class="vp-table__error" data-vp-table-error role="alert">
4230
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4231
- <use href="#vp-icon-error"></use>
4232
- </svg>
4233
- <p class="vp-table__state-text">{{ error }}</p>
4234
- <button type="button" class="vp-table__retry" (click)="emitLoad()">{{ retryLabel }}</button>
4235
- </div>
4236
- } @else if (loading) {
4237
- <div class="vp-table__skeleton" data-vp-table-skeleton aria-hidden="true">
4238
- @for (i of skeletonRows; track i) {
4239
- <span class="vp-table__skeleton-row"></span>
4240
- }
4241
- </div>
4242
- <span class="vp-visually-hidden" role="status">{{ loadingLabel }}</span>
4243
- } @else if (rows.length === 0) {
4244
- @if (hasActiveFilter) {
4245
- <div class="vp-table__empty" data-vp-table-empty-filtered role="status">
4246
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4247
- <use href="#vp-icon-filter"></use>
4248
- </svg>
4249
- <p class="vp-table__state-text">{{ emptyFilteredLabel }}</p>
4250
- <button type="button" class="vp-table__retry" (click)="clearFilters.emit()">
4251
- {{ clearFiltersLabel }}
4252
- </button>
4253
- </div>
4254
- } @else {
4255
- <div class="vp-table__empty" data-vp-table-empty role="status">
4256
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4257
- <use href="#vp-icon-empty"></use>
4258
- </svg>
4259
- <p class="vp-table__state-text">{{ emptyLabel }}</p>
4260
- </div>
4261
- }
4262
- } @else {
4263
- <div class="vp-table__scroll">
4264
- <table class="vp-table__table" [attr.aria-label]="caption">
4265
- <thead>
4266
- <tr>
4267
- @if (canExpand) {
4268
- <th scope="col" class="vp-table__select-cell">
4269
- <span class="vp-visually-hidden">{{ expandColumnLabel }}</span>
4270
- </th>
4271
- }
4272
- @if (selectable) {
4273
- <th scope="col" class="vp-table__select-cell">
4274
- <input
4275
- type="checkbox"
4276
- data-vp-select-page
4277
- [attr.aria-label]="selectPageLabel"
4278
- [checked]="allOnPageSelected"
4279
- [indeterminate]="someOnPageSelected"
4280
- (change)="togglePageSelection()" />
4281
- </th>
4282
- }
4283
- @for (col of visibleCols; track col.field) {
4284
- <th
4285
- scope="col"
4286
- [attr.data-vp-col]="col.field"
4287
- [attr.aria-sort]="ariaSort(col)"
4288
- [style.width]="col.width || null">
4289
- @if (col.sortable) {
4290
- <button type="button" class="vp-table__sort" (click)="toggleSort(col.field)">
4291
- {{ col.header }}
4292
- <span class="vp-table__sort-icon" aria-hidden="true">{{ sortGlyph(col.field) }}</span>
4293
- </button>
4294
- } @else {
4295
- {{ col.header }}
4296
- }
4297
- </th>
4298
- }
4299
- @if (rowActions) {
4300
- <th scope="col" class="vp-table__actions-header">{{ rowActionsHeader }}</th>
4301
- }
4302
- </tr>
4303
- </thead>
4304
- <tbody>
4305
- @for (row of rows; track $index) {
4306
- <tr data-vp-row>
4307
- @if (canExpand) {
4308
- <td class="vp-table__select-cell">
4309
- <button
4310
- type="button"
4311
- class="vp-table__expand"
4312
- [attr.data-vp-expand]="keyOf(row)"
4313
- [attr.aria-expanded]="isExpanded(row)"
4314
- [attr.aria-label]="isExpanded(row) ? collapseLabel : expandLabel"
4315
- (click)="toggleExpanded(row)">{{ isExpanded(row) ? '▾' : '▸' }}</button>
4316
- </td>
4317
- }
4318
- @if (selectable) {
4319
- <td class="vp-table__select-cell">
4320
- <input
4321
- type="checkbox"
4322
- [attr.data-vp-select-row]="keyOf(row)"
4323
- [attr.aria-label]="selectRowLabel"
4324
- [checked]="isSelected(row)"
4325
- (change)="toggleRow(row)" />
4326
- </td>
4327
- }
4328
- @for (col of visibleCols; track col.field) {
4329
- <td>{{ cell(row, col.field) }}</td>
4330
- }
4331
- @if (rowActions) {
4332
- <td data-vp-row-actions>
4333
- <ng-container *ngTemplateOutlet="rowActions; context: { $implicit: row }" />
4334
- </td>
4335
- }
4336
- </tr>
4337
-
4338
- @if (canExpand && isExpanded(row)) {
4339
- <tr class="vp-table__detail-row" [attr.data-vp-detail]="keyOf(row)">
4340
- <td [attr.colspan]="columnSpan">
4341
- @if (rowDetail) {
4342
- <ng-container *ngTemplateOutlet="rowDetail; context: { $implicit: row }" />
4343
- } @else {
4344
- <span class="vp-table__detail-empty">{{ noDetailLabel }}</span>
4345
- }
4346
- </td>
4347
- </tr>
4348
- }
4349
- }
4350
- </tbody>
4351
- </table>
4352
- </div>
4353
-
4354
- @if (pageCount > 1) {
4355
- <nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
4356
- <button
4357
- type="button"
4358
- class="vp-table__page-btn"
4359
- [disabled]="page <= 1"
4360
- (click)="goToPage(page - 1)">{{ prevLabel }}</button>
4361
- <button
4362
- type="button"
4363
- class="vp-table__page-btn"
4364
- [disabled]="page >= pageCount"
4365
- (click)="goToPage(page + 1)">{{ nextLabel }}</button>
4366
- </nav>
4367
- }
4368
- }
4369
- </div>
4370
- `, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"] }]
5088
+ args: [{ selector: 'vp-data-table', standalone: true, imports: [NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: `
5089
+ <div class="vp-table">
5090
+ <div class="vp-table__meta">
5091
+ <span class="vp-table__total" data-vp-total>
5092
+ {{ total }} {{ totalLabel }}
5093
+ </span>
5094
+ @if (pageCount > 1) {
5095
+ <span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
5096
+ }
5097
+
5098
+ @if (searchable) {
5099
+ <input
5100
+ type="search"
5101
+ class="vp-table__search"
5102
+ data-vp-table-search
5103
+ [attr.aria-label]="searchLabel"
5104
+ [attr.placeholder]="searchPlaceholder"
5105
+ [value]="searchTerm"
5106
+ (input)="onSearch($event)" />
5107
+ }
5108
+
5109
+ @if (savedViewsKey) {
5110
+ <span class="vp-table__views" data-vp-views>
5111
+ <select
5112
+ class="vp-table__cols-btn"
5113
+ data-vp-view-select
5114
+ [attr.aria-label]="viewsLabel"
5115
+ [value]="activeView"
5116
+ (change)="applyView(asSelectValue($event))">
5117
+ <option value="">{{ viewsPlaceholder }}</option>
5118
+ @for (view of savedViews; track view.name) {
5119
+ <option [value]="view.name">{{ view.name }}</option>
5120
+ }
5121
+ </select>
5122
+
5123
+ <button type="button" class="vp-table__cols-btn" data-vp-view-save
5124
+ (click)="saveViewPrompt()">{{ saveViewLabel }}</button>
5125
+
5126
+ @if (activeView) {
5127
+ <button type="button" class="vp-table__cols-btn" data-vp-view-delete
5128
+ (click)="deleteActiveView()">{{ deleteViewLabel }}</button>
5129
+ }
5130
+ </span>
5131
+ }
5132
+
5133
+ @if (exportScopes.length > 0) {
5134
+ @for (scope of exportScopes; track scope) {
5135
+ <button
5136
+ type="button"
5137
+ class="vp-table__cols-btn"
5138
+ [attr.data-vp-export]="scope"
5139
+ (click)="requestExport(scope)">{{ exportLabel(scope) }}</button>
5140
+ }
5141
+ }
5142
+
5143
+ @if (columnPicker) {
5144
+ <button
5145
+ type="button"
5146
+ class="vp-table__cols-btn"
5147
+ data-vp-cols-toggle
5148
+ [attr.aria-expanded]="pickerOpen"
5149
+ (click)="pickerOpen = !pickerOpen">{{ columnsLabel }}</button>
5150
+ }
5151
+ </div>
5152
+
5153
+ @if (selectable && selectedKeys.size > 0) {
5154
+ <div class="vp-table__bulk" data-vp-bulk role="group" [attr.aria-label]="bulkLabel">
5155
+ <span data-vp-bulk-count>{{ selectedKeys.size }} {{ selectedLabel }}</span>
5156
+
5157
+ <div class="vp-table__bulk-actions">
5158
+ @for (action of bulkActions; track action.code) {
5159
+ <button
5160
+ type="button"
5161
+ [attr.data-vp-bulk-action]="action.code"
5162
+ [class.vp-table__bulk-btn--danger]="action.danger"
5163
+ class="vp-table__bulk-btn"
5164
+ (click)="requestBulkAction(action)">{{ action.label }}</button>
5165
+ }
5166
+ <button type="button" class="vp-table__bulk-btn" data-vp-bulk-clear
5167
+ (click)="clearSelection()">{{ clearSelectionLabel }}</button>
5168
+ </div>
5169
+ </div>
5170
+
5171
+ @if (pendingAction) {
5172
+ <div class="vp-table__bulk-confirm" data-vp-bulk-confirm role="alertdialog"
5173
+ [attr.aria-label]="pendingAction.label">
5174
+ <span>{{ confirmPrefix }} {{ selectedKeys.size }} {{ selectedLabel }} — {{ pendingAction.label }}?</span>
5175
+ <span class="vp-table__bulk-actions">
5176
+ <button type="button" class="vp-table__bulk-btn" data-vp-bulk-cancel
5177
+ (click)="pendingAction = null">{{ cancelLabel }}</button>
5178
+ <button type="button" class="vp-table__bulk-btn vp-table__bulk-btn--danger"
5179
+ data-vp-bulk-confirm-ok (click)="confirmBulkAction()">{{ confirmLabel }}</button>
5180
+ </span>
5181
+ </div>
5182
+ }
5183
+ }
5184
+
5185
+ @if (bulkResult) {
5186
+ <div class="vp-table__bulk-report" data-vp-bulk-report role="status" aria-live="polite">
5187
+ @if (bulkResult.succeeded.length > 0) {
5188
+ <p data-vp-bulk-ok>{{ bulkResult.succeeded.length }} {{ succeededLabel }}</p>
5189
+ }
5190
+ @if (bulkResult.failed.length > 0) {
5191
+ <p data-vp-bulk-failed>{{ bulkResult.failed.length }} {{ failedLabel }}</p>
5192
+ <ul class="vp-table__bulk-failures">
5193
+ @for (failure of bulkResult.failed; track failure.key) {
5194
+ <li [attr.data-vp-bulk-failure]="failure.key">
5195
+ <code>{{ failure.key }}</code> — {{ failure.reason }}
5196
+ </li>
5197
+ }
5198
+ </ul>
5199
+ }
5200
+ </div>
5201
+ }
5202
+
5203
+ @if (columnPicker && pickerOpen) {
5204
+ <div class="vp-table__cols" data-vp-cols role="group" [attr.aria-label]="columnsLabel">
5205
+ @for (col of orderedColumns; track col.field; let i = $index) {
5206
+ <div class="vp-table__cols-row" [attr.data-vp-cols-row]="col.field">
5207
+ <label class="vp-table__cols-label">
5208
+ <input
5209
+ type="checkbox"
5210
+ [attr.data-vp-col-toggle]="col.field"
5211
+ [checked]="isVisible(col.field)"
5212
+ [disabled]="isVisible(col.field) && visibleCount === 1"
5213
+ (change)="setColumnVisible(col.field, !isVisible(col.field))" />
5214
+ {{ col.header }}
5215
+ </label>
5216
+ <span class="vp-table__cols-move">
5217
+ <button
5218
+ type="button"
5219
+ [attr.data-vp-col-up]="col.field"
5220
+ [attr.aria-label]="moveUpLabel + ': ' + col.header"
5221
+ [disabled]="i === 0"
5222
+ (click)="moveColumn(col.field, -1)">↑</button>
5223
+ <button
5224
+ type="button"
5225
+ [attr.data-vp-col-down]="col.field"
5226
+ [attr.aria-label]="moveDownLabel + ': ' + col.header"
5227
+ [disabled]="i === orderedColumns.length - 1"
5228
+ (click)="moveColumn(col.field, 1)">↓</button>
5229
+ </span>
5230
+ </div>
5231
+ }
5232
+ </div>
5233
+ }
5234
+
5235
+ @if (error) {
5236
+ <div class="vp-table__error" data-vp-table-error role="alert">
5237
+ <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
5238
+ <use href="#vp-icon-error"></use>
5239
+ </svg>
5240
+ <p class="vp-table__state-text">{{ error }}</p>
5241
+ <button type="button" class="vp-table__retry" (click)="emitLoad()">{{ retryLabel }}</button>
5242
+ </div>
5243
+ } @else if (loading) {
5244
+ <div class="vp-table__skeleton" data-vp-table-skeleton aria-hidden="true">
5245
+ @for (i of skeletonRows; track i) {
5246
+ <span class="vp-table__skeleton-row"></span>
5247
+ }
5248
+ </div>
5249
+ <span class="vp-visually-hidden" role="status">{{ loadingLabel }}</span>
5250
+ } @else if (rows.length === 0) {
5251
+ @if (hasActiveFilter) {
5252
+ <div class="vp-table__empty" data-vp-table-empty-filtered role="status">
5253
+ <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
5254
+ <use href="#vp-icon-filter"></use>
5255
+ </svg>
5256
+ <p class="vp-table__state-text">{{ emptyFilteredLabel }}</p>
5257
+ <button type="button" class="vp-table__retry" (click)="clearFilters.emit()">
5258
+ {{ clearFiltersLabel }}
5259
+ </button>
5260
+ </div>
5261
+ } @else {
5262
+ <div class="vp-table__empty" data-vp-table-empty role="status">
5263
+ <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
5264
+ <use href="#vp-icon-empty"></use>
5265
+ </svg>
5266
+ <p class="vp-table__state-text">{{ emptyLabel }}</p>
5267
+ </div>
5268
+ }
5269
+ } @else {
5270
+ <div class="vp-table__scroll">
5271
+ <table class="vp-table__table" [attr.aria-label]="caption">
5272
+ <thead>
5273
+ <tr>
5274
+ @if (canExpand) {
5275
+ <th scope="col" class="vp-table__select-cell">
5276
+ <span class="vp-visually-hidden">{{ expandColumnLabel }}</span>
5277
+ </th>
5278
+ }
5279
+ @if (selectable) {
5280
+ <th scope="col" class="vp-table__select-cell">
5281
+ <input
5282
+ type="checkbox"
5283
+ data-vp-select-page
5284
+ [attr.aria-label]="selectPageLabel"
5285
+ [checked]="allOnPageSelected"
5286
+ [indeterminate]="someOnPageSelected"
5287
+ (change)="togglePageSelection()" />
5288
+ </th>
5289
+ }
5290
+ @for (col of visibleCols; track col.field) {
5291
+ <th
5292
+ scope="col"
5293
+ [attr.data-vp-col]="col.field"
5294
+ [attr.aria-sort]="ariaSort(col)"
5295
+ [style.width]="col.width || null">
5296
+ @if (col.sortable) {
5297
+ <button type="button" class="vp-table__sort" (click)="toggleSort(col.field)">
5298
+ {{ col.header }}
5299
+ <span class="vp-table__sort-icon" aria-hidden="true">{{ sortGlyph(col.field) }}</span>
5300
+ </button>
5301
+ } @else {
5302
+ {{ col.header }}
5303
+ }
5304
+ </th>
5305
+ }
5306
+ @if (rowActions) {
5307
+ <th scope="col" class="vp-table__actions-header">{{ rowActionsHeader }}</th>
5308
+ }
5309
+ </tr>
5310
+ </thead>
5311
+ <tbody>
5312
+ @for (row of rows; track $index) {
5313
+ <tr data-vp-row>
5314
+ @if (canExpand) {
5315
+ <td class="vp-table__select-cell">
5316
+ <button
5317
+ type="button"
5318
+ class="vp-table__expand"
5319
+ [attr.data-vp-expand]="keyOf(row)"
5320
+ [attr.aria-expanded]="isExpanded(row)"
5321
+ [attr.aria-label]="isExpanded(row) ? collapseLabel : expandLabel"
5322
+ (click)="toggleExpanded(row)">{{ isExpanded(row) ? '▾' : '▸' }}</button>
5323
+ </td>
5324
+ }
5325
+ @if (selectable) {
5326
+ <td class="vp-table__select-cell">
5327
+ <input
5328
+ type="checkbox"
5329
+ [attr.data-vp-select-row]="keyOf(row)"
5330
+ [attr.aria-label]="selectRowLabel"
5331
+ [checked]="isSelected(row)"
5332
+ (change)="toggleRow(row)" />
5333
+ </td>
5334
+ }
5335
+ @for (col of visibleCols; track col.field) {
5336
+ <td>
5337
+ @if (templateFor(col.field); as tpl) {
5338
+ <ng-container
5339
+ *ngTemplateOutlet="tpl; context: { $implicit: cell(row, col.field), row: row }" />
5340
+ } @else {
5341
+ {{ cell(row, col.field) }}
5342
+ }
5343
+ </td>
5344
+ }
5345
+ @if (rowActions) {
5346
+ <td data-vp-row-actions>
5347
+ <ng-container *ngTemplateOutlet="rowActions; context: { $implicit: row }" />
5348
+ </td>
5349
+ }
5350
+ </tr>
5351
+
5352
+ @if (canExpand && isExpanded(row)) {
5353
+ <tr class="vp-table__detail-row" [attr.data-vp-detail]="keyOf(row)">
5354
+ <td [attr.colspan]="columnSpan">
5355
+ @if (rowDetail) {
5356
+ <ng-container *ngTemplateOutlet="rowDetail; context: { $implicit: row }" />
5357
+ } @else {
5358
+ <span class="vp-table__detail-empty">{{ noDetailLabel }}</span>
5359
+ }
5360
+ </td>
5361
+ </tr>
5362
+ }
5363
+ }
5364
+ </tbody>
5365
+ </table>
5366
+ </div>
5367
+
5368
+ @if (pageCount > 1) {
5369
+ <nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
5370
+ @if (pageSizeOptions.length > 0) {
5371
+ <select
5372
+ class="vp-table__page-size"
5373
+ data-vp-table-page-size
5374
+ [attr.aria-label]="pageSizeLabel"
5375
+ [value]="pageSize"
5376
+ (change)="onPageSizeChange($event)">
5377
+ @for (size of pageSizeOptions; track size) {
5378
+ <option [value]="size" [selected]="size === pageSize">{{ size }}</option>
5379
+ }
5380
+ </select>
5381
+ }
5382
+ <button
5383
+ type="button"
5384
+ class="vp-table__page-btn"
5385
+ [disabled]="page <= 1"
5386
+ (click)="goToPage(page - 1)">{{ prevLabel }}</button>
5387
+ <button
5388
+ type="button"
5389
+ class="vp-table__page-btn"
5390
+ [disabled]="page >= pageCount"
5391
+ (click)="goToPage(page + 1)">{{ nextLabel }}</button>
5392
+ </nav>
5393
+ }
5394
+ }
5395
+ </div>
5396
+ `, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__page-size{padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"] }]
4371
5397
  }], propDecorators: { columns: [{
4372
5398
  type: Input,
4373
5399
  args: [{ required: true }]
@@ -4399,6 +5425,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
4399
5425
  type: Input
4400
5426
  }], retryLabel: [{
4401
5427
  type: Input
5428
+ }], searchable: [{
5429
+ type: Input
5430
+ }], searchLabel: [{
5431
+ type: Input
5432
+ }], searchPlaceholder: [{
5433
+ type: Input
5434
+ }], searchTerm: [{
5435
+ type: Input
5436
+ }], pageSizeOptions: [{
5437
+ type: Input
5438
+ }], pageSizeLabel: [{
5439
+ type: Input
4402
5440
  }], pagerLabel: [{
4403
5441
  type: Input
4404
5442
  }], prevLabel: [{
@@ -4453,6 +5491,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
4453
5491
  type: Input
4454
5492
  }], rowActionsHeader: [{
4455
5493
  type: Input
5494
+ }], cellTemplates: [{
5495
+ type: Input
4456
5496
  }], exportScopes: [{
4457
5497
  type: Input
4458
5498
  }], exportPageLabel: [{
@@ -4487,6 +5527,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
4487
5527
  type: Output
4488
5528
  }], clearFilters: [{
4489
5529
  type: Output
5530
+ }], search: [{
5531
+ type: Output
4490
5532
  }] } });
4491
5533
 
4492
5534
  /**
@@ -4668,8 +5710,8 @@ class VpDrawerComponent {
4668
5710
  return;
4669
5711
  target.focus();
4670
5712
  }
4671
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4672
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpDrawerComponent, isStandalone: true, selector: "vp-drawer", inputs: { open: "open", title: "title", closeLabel: "closeLabel", position: "position", width: "width", modal: "modal" }, outputs: { closed: "closed" }, ngImport: i0, template: `
5713
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5714
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpDrawerComponent, isStandalone: true, selector: "vp-drawer", inputs: { open: "open", title: "title", closeLabel: "closeLabel", position: "position", width: "width", modal: "modal" }, outputs: { closed: "closed" }, ngImport: i0, template: `
4673
5715
  <p-drawer
4674
5716
  [visible]="open"
4675
5717
  (visibleChange)="onVisibleChange($event)"
@@ -4684,7 +5726,7 @@ class VpDrawerComponent {
4684
5726
  </p-drawer>
4685
5727
  `, isInline: true, styles: [":host{display:contents}:host ::ng-deep .vp-drawer{border-left:1px solid var(--vp-border-default);background:var(--vp-surface-overlay);color:var(--vp-text-primary);font-family:var(--vp-font-sans)}\n"], dependencies: [{ kind: "ngmodule", type: DrawerModule }, { kind: "component", type: i1$3.Drawer, selector: "p-drawer", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "closeButtonProps", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen", "header", "maskStyle", "closable"], outputs: ["onShow", "onHide", "visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4686
5728
  }
4687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDrawerComponent, decorators: [{
5729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDrawerComponent, decorators: [{
4688
5730
  type: Component,
4689
5731
  args: [{ selector: 'vp-drawer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [DrawerModule], template: `
4690
5732
  <p-drawer
@@ -4947,8 +5989,8 @@ class VpFieldComponent {
4947
5989
  }
4948
5990
  this.cdr.markForCheck();
4949
5991
  }
4950
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4951
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpFieldComponent, isStandalone: true, selector: "vp-field", inputs: { label: "label", hint: "hint", error: "error", required: "required" }, usesOnChanges: true, ngImport: i0, template: `
5992
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5993
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpFieldComponent, isStandalone: true, selector: "vp-field", inputs: { label: "label", hint: "hint", error: "error", required: "required" }, usesOnChanges: true, ngImport: i0, template: `
4952
5994
  <div class="vp-field">
4953
5995
  <label class="vp-field__label" [attr.for]="controlId">
4954
5996
  {{ label }}
@@ -4971,7 +6013,7 @@ class VpFieldComponent {
4971
6013
  </div>
4972
6014
  `, isInline: true, styles: [":host{display:block}.vp-field{display:flex;flex-direction:column;gap:var(--vp-space-1);max-width:880px;margin-bottom:var(--vp-space-4)}.vp-field__label{color:var(--vp-text-primary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-medium)}.vp-field__required{margin-left:2px;color:var(--vp-sev-critical)}.vp-field__control ::ng-deep input,.vp-field__control ::ng-deep select,.vp-field__control ::ng-deep textarea{width:100%;min-height:var(--vp-control-height);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font-family:inherit;font-size:var(--vp-text-base)}.vp-field__control ::ng-deep input:focus-visible,.vp-field__control ::ng-deep select:focus-visible,.vp-field__control ::ng-deep textarea:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-field__control ::ng-deep [aria-invalid=true]{border-color:var(--vp-sev-critical);border-width:2px}.vp-field__control ::ng-deep :disabled{background:var(--vp-surface-sunken);color:var(--vp-text-muted);cursor:not-allowed}.vp-field__control ::ng-deep [readonly]{background:var(--vp-surface-sunken);border-style:dashed;color:var(--vp-text-primary)}.vp-field__hint{margin:0;color:var(--vp-text-muted);font-size:var(--vp-text-xs)}.vp-field__error{margin:0;color:var(--vp-sev-critical);font-size:var(--vp-text-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4973
6015
  }
4974
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpFieldComponent, decorators: [{
6016
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFieldComponent, decorators: [{
4975
6017
  type: Component,
4976
6018
  args: [{ selector: 'vp-field', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
4977
6019
  <div class="vp-field">
@@ -5087,8 +6129,8 @@ class VpConfirmComponent {
5087
6129
  onPhraseInput(value) {
5088
6130
  this.typedPhrase = value ?? '';
5089
6131
  }
5090
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5091
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpConfirmComponent, isStandalone: true, selector: "vp-confirm", inputs: { open: "open", title: "title", message: "message", confirmPhrase: "confirmPhrase", tone: "tone", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", phraseHintPrefix: "phraseHintPrefix", phraseInputLabel: "phraseInputLabel" }, outputs: { confirmed: "confirmed", cancelled: "cancelled" }, ngImport: i0, template: `
6132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6133
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpConfirmComponent, isStandalone: true, selector: "vp-confirm", inputs: { open: "open", title: "title", message: "message", confirmPhrase: "confirmPhrase", tone: "tone", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", phraseHintPrefix: "phraseHintPrefix", phraseInputLabel: "phraseInputLabel" }, outputs: { confirmed: "confirmed", cancelled: "cancelled" }, ngImport: i0, template: `
5092
6134
  @if (open) {
5093
6135
  <div class="vp-confirm__backdrop" aria-hidden="true" (click)="cancelled.emit()"></div>
5094
6136
 
@@ -5139,7 +6181,7 @@ class VpConfirmComponent {
5139
6181
  }
5140
6182
  `, isInline: true, styles: [":host{display:contents}.vp-confirm__backdrop{position:fixed;inset:0;z-index:50;background:#00000080}.vp-confirm{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:51;width:min(28rem,calc(100vw - var(--vp-space-8)));padding:var(--vp-space-6);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-xl);background:var(--vp-surface-overlay);color:var(--vp-text-primary);box-shadow:var(--vp-shadow-lg);font-family:var(--vp-font-sans)}.vp-confirm__title{margin:0 0 var(--vp-space-2);font-size:var(--vp-text-xl);font-weight:var(--vp-weight-semibold)}.vp-confirm__message{margin:0 0 var(--vp-space-4);color:var(--vp-text-secondary);font-size:var(--vp-text-base);line-height:var(--vp-leading-normal)}.vp-confirm__phrase{margin-bottom:var(--vp-space-4)}.vp-confirm__phrase-hint{margin:0 0 var(--vp-space-2);color:var(--vp-text-secondary);font-size:var(--vp-text-sm)}.vp-confirm__phrase-code{padding:0 var(--vp-space-1);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);color:var(--vp-text-primary);font-family:var(--vp-font-mono);white-space:nowrap}.vp-confirm__phrase-input{width:100%;min-height:var(--vp-control-height);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font-family:var(--vp-font-mono);font-size:var(--vp-text-base)}.vp-confirm__phrase-input:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-confirm__actions{display:flex;justify-content:flex-end;gap:var(--vp-space-2)}.vp-confirm__btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font-family:inherit;font-size:var(--vp-text-base);cursor:pointer}.vp-confirm__btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-confirm__btn:disabled{opacity:.5;cursor:not-allowed}.vp-confirm__btn--primary[data-tone=neutral]{background:var(--vp-brand);border-color:var(--vp-brand);color:var(--vp-text-on-accent)}.vp-confirm__btn--primary[data-tone=danger]{background:var(--vp-sev-critical);border-color:var(--vp-sev-critical);color:var(--vp-surface-base)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5141
6183
  }
5142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpConfirmComponent, decorators: [{
6184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpConfirmComponent, decorators: [{
5143
6185
  type: Component,
5144
6186
  args: [{ selector: 'vp-confirm', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5145
6187
  @if (open) {
@@ -5276,8 +6318,8 @@ class VpDialogComponent {
5276
6318
  dialogEl() {
5277
6319
  return this.hostRef.nativeElement.querySelector('[role="dialog"]');
5278
6320
  }
5279
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5280
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpDialogComponent, isStandalone: true, selector: "vp-dialog", inputs: { open: "open", title: "title", closeLabel: "closeLabel" }, outputs: { closed: "closed" }, ngImport: i0, template: `
6321
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6322
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDialogComponent, isStandalone: true, selector: "vp-dialog", inputs: { open: "open", title: "title", closeLabel: "closeLabel" }, outputs: { closed: "closed" }, ngImport: i0, template: `
5281
6323
  @if (open) {
5282
6324
  <div class="vp-dialog__backdrop" aria-hidden="true" (click)="closed.emit()"></div>
5283
6325
 
@@ -5314,7 +6356,7 @@ class VpDialogComponent {
5314
6356
  }
5315
6357
  `, isInline: true, styles: [":host{display:contents}.vp-dialog__backdrop{position:fixed;inset:0;z-index:50;background:#00000080}.vp-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:51;display:flex;flex-direction:column;width:min(36rem,calc(100vw - var(--vp-space-8)));max-height:calc(100dvh - var(--vp-space-12));border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-xl);background:var(--vp-surface-overlay);color:var(--vp-text-primary);box-shadow:var(--vp-shadow-lg);font-family:var(--vp-font-sans)}.vp-dialog__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-5) var(--vp-space-6) var(--vp-space-3)}.vp-dialog__title{margin:0;font-size:var(--vp-text-xl);font-weight:var(--vp-weight-semibold)}.vp-dialog__close{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);flex-shrink:0;border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-dialog__close:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-dialog__close:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-dialog__close-icon{width:16px;height:16px}.vp-dialog__body{flex:1;min-height:0;overflow-y:auto;padding:0 var(--vp-space-6);color:var(--vp-text-secondary);line-height:var(--vp-leading-normal)}.vp-dialog__footer{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-4) var(--vp-space-6) var(--vp-space-5)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5316
6358
  }
5317
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDialogComponent, decorators: [{
6359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDialogComponent, decorators: [{
5318
6360
  type: Component,
5319
6361
  args: [{ selector: 'vp-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5320
6362
  @if (open) {
@@ -5407,8 +6449,8 @@ class VpSeverityBadgeComponent {
5407
6449
  get iconRef() {
5408
6450
  return '#vp-icon-' + severityMeta(this.resolved).icon;
5409
6451
  }
5410
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSeverityBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5411
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpSeverityBadgeComponent, isStandalone: true, selector: "vp-severity-badge", inputs: { level: "level", value: "value", scale: "scale", label: "label" }, ngImport: i0, template: `
6452
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSeverityBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6453
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpSeverityBadgeComponent, isStandalone: true, selector: "vp-severity-badge", inputs: { level: "level", value: "value", scale: "scale", label: "label" }, ngImport: i0, template: `
5412
6454
  <span class="vp-sev-badge" data-vp-sev [attr.data-level]="resolved">
5413
6455
  <svg
5414
6456
  class="vp-sev-badge__icon"
@@ -5422,7 +6464,7 @@ class VpSeverityBadgeComponent {
5422
6464
  </span>
5423
6465
  `, isInline: true, styles: [":host{display:inline-flex}.vp-sev-badge{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:var(--vp-space-1) var(--vp-space-2);border:1px solid transparent;border-radius:var(--vp-radius-full);font-family:var(--vp-font-sans);font-size:var(--vp-text-xs);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);white-space:nowrap}.vp-sev-badge__icon{width:1em;height:1em;flex:0 0 auto}.vp-sev-badge[data-level=critical]{color:var(--vp-sev-critical);background:var(--vp-sev-critical-bg);border-color:var(--vp-sev-critical-border)}.vp-sev-badge[data-level=high]{color:var(--vp-sev-high);background:var(--vp-sev-high-bg);border-color:var(--vp-sev-high-border)}.vp-sev-badge[data-level=medium]{color:var(--vp-sev-medium);background:var(--vp-sev-medium-bg);border-color:var(--vp-sev-medium-border)}.vp-sev-badge[data-level=low]{color:var(--vp-sev-low);background:var(--vp-sev-low-bg);border-color:var(--vp-sev-low-border)}.vp-sev-badge[data-level=clean]{color:var(--vp-sev-clean);background:var(--vp-sev-clean-bg);border-color:var(--vp-sev-clean-border)}.vp-sev-badge[data-level=unknown]{color:var(--vp-sev-unknown);background:var(--vp-sev-unknown-bg);border-color:var(--vp-sev-unknown-border)}.vp-sev-badge[data-level=na]{color:var(--vp-sev-na);background:var(--vp-sev-na-bg);border-color:var(--vp-sev-na-border);border-style:dashed}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5424
6466
  }
5425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSeverityBadgeComponent, decorators: [{
6467
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSeverityBadgeComponent, decorators: [{
5426
6468
  type: Component,
5427
6469
  args: [{ selector: 'vp-severity-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5428
6470
  <span class="vp-sev-badge" data-vp-sev [attr.data-level]="resolved">
@@ -5489,8 +6531,8 @@ class VpHashValueComponent {
5489
6531
  clip?.writeText(this.value).catch(() => undefined);
5490
6532
  this.copied.emit(this.value);
5491
6533
  }
5492
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpHashValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5493
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VpHashValueComponent, isStandalone: true, selector: "vp-hash-value", inputs: { value: "value", edge: "edge", copyLabel: "copyLabel" }, outputs: { copied: "copied" }, ngImport: i0, template: `
6534
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpHashValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6535
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpHashValueComponent, isStandalone: true, selector: "vp-hash-value", inputs: { value: "value", edge: "edge", copyLabel: "copyLabel" }, outputs: { copied: "copied" }, ngImport: i0, template: `
5494
6536
  <span class="vp-hash">
5495
6537
  <code class="vp-hash__value" data-vp-hash [attr.title]="value">{{ display }}</code>
5496
6538
  <button
@@ -5506,7 +6548,7 @@ class VpHashValueComponent {
5506
6548
  </span>
5507
6549
  `, isInline: true, styles: [":host{display:inline-flex}.vp-hash{display:inline-flex;align-items:center;gap:var(--vp-space-1);max-width:100%}.vp-hash__value{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);color:var(--vp-text-secondary);white-space:nowrap}.vp-hash__copy{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);flex-shrink:0;border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-hash__copy:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-hash__copy:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-hash__copy-icon{width:14px;height:14px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5508
6550
  }
5509
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpHashValueComponent, decorators: [{
6551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpHashValueComponent, decorators: [{
5510
6552
  type: Component,
5511
6553
  args: [{ selector: 'vp-hash-value', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5512
6554
  <span class="vp-hash">
@@ -5582,8 +6624,8 @@ class VpIocListComponent {
5582
6624
  default: return '#vp-icon-external';
5583
6625
  }
5584
6626
  }
5585
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpIocListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5586
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpIocListComponent, isStandalone: true, selector: "vp-ioc-list", inputs: { items: "items", defanged: "defanged", warningLabel: "warningLabel" }, ngImport: i0, template: `
6627
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpIocListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6628
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpIocListComponent, isStandalone: true, selector: "vp-ioc-list", inputs: { items: "items", defanged: "defanged", warningLabel: "warningLabel" }, ngImport: i0, template: `
5587
6629
  @if (items.length > 0) {
5588
6630
  <div class="vp-ioc">
5589
6631
  <p class="vp-ioc__warning" data-vp-ioc-warning role="note">
@@ -5614,7 +6656,7 @@ class VpIocListComponent {
5614
6656
  }
5615
6657
  `, isInline: true, styles: [":host{display:block}.vp-ioc__warning{display:flex;align-items:center;gap:var(--vp-space-2);margin:0 0 var(--vp-space-3);padding:var(--vp-space-2) var(--vp-space-3);border:1px solid var(--vp-sev-high-border);border-radius:var(--vp-radius-md);background:var(--vp-sev-high-bg);color:var(--vp-sev-high);font-size:var(--vp-text-xs)}.vp-ioc__warning-icon{width:16px;height:16px;flex:0 0 auto}.vp-ioc__list{list-style:none;margin:0;padding:0}.vp-ioc__item{display:flex;align-items:center;gap:var(--vp-space-2);padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-ioc__item:last-child{border-bottom:0}.vp-ioc__icon{width:16px;height:16px;flex:0 0 auto;color:var(--vp-text-muted)}.vp-ioc__type{flex:0 0 auto;min-width:3.5rem;color:var(--vp-text-muted);font-size:var(--vp-text-xs);text-transform:uppercase}.vp-ioc__value{flex:1;min-width:0;font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);color:var(--vp-text-primary);overflow-wrap:anywhere}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5616
6658
  }
5617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpIocListComponent, decorators: [{
6659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpIocListComponent, decorators: [{
5618
6660
  type: Component,
5619
6661
  args: [{ selector: 'vp-ioc-list', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5620
6662
  @if (items.length > 0) {
@@ -5701,8 +6743,8 @@ class VpKpiCardComponent {
5701
6743
  default: return '#vp-icon-check';
5702
6744
  }
5703
6745
  }
5704
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpKpiCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5705
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpKpiCardComponent, isStandalone: true, selector: "vp-kpi-card", inputs: { label: "label", value: "value", change: "change", hint: "hint", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
6746
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpKpiCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6747
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpKpiCardComponent, isStandalone: true, selector: "vp-kpi-card", inputs: { label: "label", value: "value", change: "change", hint: "hint", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
5706
6748
  <div class="vp-kpi">
5707
6749
  <span class="vp-kpi__label">{{ label }}</span>
5708
6750
 
@@ -5730,7 +6772,7 @@ class VpKpiCardComponent {
5730
6772
  </div>
5731
6773
  `, isInline: true, styles: [":host{display:block}.vp-kpi{display:flex;flex-direction:column;gap:var(--vp-space-1);padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-kpi__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-kpi__value{color:var(--vp-text-primary);font-size:var(--vp-text-3xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);font-variant-numeric:tabular-nums}.vp-kpi__empty{color:var(--vp-text-muted);font-size:var(--vp-text-base)}.vp-kpi__trend{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-kpi__trend[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__trend[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__trend[data-direction=flat]{color:var(--vp-text-muted)}.vp-kpi__trend-icon{width:14px;height:14px}.vp-kpi__hint{color:var(--vp-text-muted);font-size:var(--vp-text-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5732
6774
  }
5733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpKpiCardComponent, decorators: [{
6775
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpKpiCardComponent, decorators: [{
5734
6776
  type: Component,
5735
6777
  args: [{ selector: 'vp-kpi-card', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5736
6778
  <div class="vp-kpi">
@@ -5819,8 +6861,8 @@ class VpRiskScoreComponent {
5819
6861
  }
5820
6862
  return `${this.ariaPrefix}: ${this.value} / ${this.max} — ${this.levelLabel}`;
5821
6863
  }
5822
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpRiskScoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5823
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpRiskScoreComponent, isStandalone: true, selector: "vp-risk-score", inputs: { value: "value", scale: "scale", label: "label", unknownLabel: "unknownLabel", ariaPrefix: "ariaPrefix" }, ngImport: i0, template: `
6864
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpRiskScoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6865
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpRiskScoreComponent, isStandalone: true, selector: "vp-risk-score", inputs: { value: "value", scale: "scale", label: "label", unknownLabel: "unknownLabel", ariaPrefix: "ariaPrefix" }, ngImport: i0, template: `
5824
6866
  <div
5825
6867
  class="vp-score"
5826
6868
  data-vp-score
@@ -5845,7 +6887,7 @@ class VpRiskScoreComponent {
5845
6887
  </div>
5846
6888
  `, isInline: true, styles: [":host{display:block}.vp-score{display:flex;flex-direction:column;gap:var(--vp-space-1);font-family:var(--vp-font-sans)}.vp-score__number{display:flex;align-items:baseline;gap:var(--vp-space-1)}.vp-score__value{font-size:var(--vp-text-4xl);font-weight:var(--vp-weight-bold);line-height:1;font-variant-numeric:tabular-nums}.vp-score__scale{color:var(--vp-text-muted);font-size:var(--vp-text-lg)}.vp-score__unknown{color:var(--vp-text-muted);font-size:var(--vp-text-xl);font-weight:var(--vp-weight-medium)}.vp-score__level{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-score__icon{width:1em;height:1em}.vp-score[data-level=critical] .vp-score__value,.vp-score[data-level=critical] .vp-score__level{color:var(--vp-sev-critical)}.vp-score[data-level=high] .vp-score__value,.vp-score[data-level=high] .vp-score__level{color:var(--vp-sev-high)}.vp-score[data-level=medium] .vp-score__value,.vp-score[data-level=medium] .vp-score__level{color:var(--vp-sev-medium)}.vp-score[data-level=low] .vp-score__value,.vp-score[data-level=low] .vp-score__level{color:var(--vp-sev-low)}.vp-score[data-level=clean] .vp-score__value,.vp-score[data-level=clean] .vp-score__level{color:var(--vp-sev-clean)}.vp-score[data-level=unknown] .vp-score__level,.vp-score[data-level=na] .vp-score__level{color:var(--vp-sev-unknown)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5847
6889
  }
5848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpRiskScoreComponent, decorators: [{
6890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpRiskScoreComponent, decorators: [{
5849
6891
  type: Component,
5850
6892
  args: [{ selector: 'vp-risk-score', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5851
6893
  <div
@@ -5936,8 +6978,8 @@ class VpScoreBreakdownComponent {
5936
6978
  default: return '#vp-icon-scan';
5937
6979
  }
5938
6980
  }
5939
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpScoreBreakdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5940
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpScoreBreakdownComponent, isStandalone: true, selector: "vp-score-breakdown", inputs: { evidence: "evidence", title: "title", emptyLabel: "emptyLabel", note: "note" }, ngImport: i0, template: `
6981
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpScoreBreakdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6982
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpScoreBreakdownComponent, isStandalone: true, selector: "vp-score-breakdown", inputs: { evidence: "evidence", title: "title", emptyLabel: "emptyLabel", note: "note" }, ngImport: i0, template: `
5941
6983
  <div class="vp-breakdown">
5942
6984
  <h3 class="vp-breakdown__title">{{ title }}</h3>
5943
6985
 
@@ -5968,7 +7010,7 @@ class VpScoreBreakdownComponent {
5968
7010
  </div>
5969
7011
  `, isInline: true, styles: [":host{display:block}.vp-breakdown{padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-breakdown__title{margin:0 0 var(--vp-space-3);color:var(--vp-text-primary);font-size:var(--vp-text-base);font-weight:var(--vp-weight-semibold)}.vp-breakdown__list{list-style:none;margin:0;padding:0}.vp-breakdown__item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--vp-space-2);padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-breakdown__item:last-child{border-bottom:0}.vp-breakdown__icon{width:16px;height:16px;color:var(--vp-text-muted)}.vp-breakdown__label{color:var(--vp-text-primary);font-size:var(--vp-text-sm)}.vp-breakdown__count{color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold);font-variant-numeric:tabular-nums}.vp-breakdown__detail{grid-column:2 / -1;color:var(--vp-text-muted);font-size:var(--vp-text-xs)}.vp-breakdown__empty{margin:0;color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-breakdown__note{margin:var(--vp-space-3) 0 0;padding-top:var(--vp-space-2);border-top:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-normal)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5970
7012
  }
5971
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpScoreBreakdownComponent, decorators: [{
7013
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpScoreBreakdownComponent, decorators: [{
5972
7014
  type: Component,
5973
7015
  args: [{ selector: 'vp-score-breakdown', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5974
7016
  <div class="vp-breakdown">
@@ -6024,19 +7066,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
6024
7066
  class VpSettingsShellComponent {
6025
7067
  constructor() {
6026
7068
  this.sections = [];
6027
- /** Aktif bolumun `code` degeri — rotadan gelir. */
7069
+ /** Aktif bolumun "code" degeri — rotadan gelir. */
6028
7070
  this.activeCode = null;
6029
7071
  this.navLabel = 'Ayar bölümleri';
6030
7072
  }
6031
7073
  get visibleSections() {
6032
7074
  return (this.sections ?? []).filter(s => !s.hidden);
6033
7075
  }
6034
- /** Ayarlar gezinme ikonu da PrimeIcons sozlugunden — bkz. `primeIconClass`. */
7076
+ /** Ayarlar gezinme ikonu da PrimeIcons sozlugunden — bkz. "primeIconClass". */
6035
7077
  iconClass(section) {
6036
7078
  return 'vp-settings__icon ' + primeIconClass(section.icon, 'pi-cog');
6037
7079
  }
6038
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSettingsShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6039
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpSettingsShellComponent, isStandalone: true, selector: "vp-settings-shell", inputs: { sections: "sections", activeCode: "activeCode", navLabel: "navLabel" }, ngImport: i0, template: `
7080
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSettingsShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7081
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSettingsShellComponent, isStandalone: true, selector: "vp-settings-shell", inputs: { sections: "sections", activeCode: "activeCode", navLabel: "navLabel" }, ngImport: i0, template: `
6040
7082
  <div class="vp-settings">
6041
7083
  <nav class="vp-settings__nav" [attr.aria-label]="navLabel">
6042
7084
  <ul class="vp-settings__list">
@@ -6074,9 +7116,9 @@ class VpSettingsShellComponent {
6074
7116
  <ng-content />
6075
7117
  </div>
6076
7118
  </div>
6077
- `, isInline: true, styles: [":host{display:block}.vp-settings{display:grid;grid-template-columns:15rem 1fr;gap:var(--vp-space-8);align-items:start}.vp-settings__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-settings__item{margin:0}.vp-settings__link{display:flex;align-items:center;gap:var(--vp-space-2);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-settings__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-settings__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-settings__link--active{background:var(--vp-brand-subtle);color:var(--vp-brand);font-weight:var(--vp-weight-semibold);box-shadow:inset 3px 0 0 var(--vp-brand)}.vp-settings__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-settings__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-settings__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-2));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-settings__icon{width:18px;font-size:18px;line-height:1;flex:0 0 auto}.vp-settings__content{min-width:0;max-width:880px}@media(max-width:900px){.vp-settings{grid-template-columns:1fr;gap:var(--vp-space-4)}.vp-settings__list{flex-direction:row;flex-wrap:wrap}.vp-settings__reason{display:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7119
+ `, isInline: true, styles: [":host{display:block}.vp-settings{display:grid;grid-template-columns:15rem 1fr;gap:var(--vp-space-8);align-items:start}.vp-settings__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-settings__item{margin:0}.vp-settings__link{display:flex;align-items:center;gap:var(--vp-space-2);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-settings__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-settings__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-settings__link--active{background:var(--vp-brand-subtle);color:var(--vp-text-primary);font-weight:var(--vp-weight-semibold);box-shadow:inset 3px 0 0 var(--vp-brand)}.vp-settings__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-settings__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-settings__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-2));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-settings__icon{width:18px;font-size:18px;line-height:1;flex:0 0 auto}.vp-settings__content{min-width:0;max-width:880px}@media(max-width:900px){.vp-settings{grid-template-columns:1fr;gap:var(--vp-space-4)}.vp-settings__list{flex-direction:row;flex-wrap:wrap}.vp-settings__reason{display:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6078
7120
  }
6079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSettingsShellComponent, decorators: [{
7121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSettingsShellComponent, decorators: [{
6080
7122
  type: Component,
6081
7123
  args: [{ selector: 'vp-settings-shell', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6082
7124
  <div class="vp-settings">
@@ -6116,7 +7158,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
6116
7158
  <ng-content />
6117
7159
  </div>
6118
7160
  </div>
6119
- `, styles: [":host{display:block}.vp-settings{display:grid;grid-template-columns:15rem 1fr;gap:var(--vp-space-8);align-items:start}.vp-settings__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-settings__item{margin:0}.vp-settings__link{display:flex;align-items:center;gap:var(--vp-space-2);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-settings__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-settings__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-settings__link--active{background:var(--vp-brand-subtle);color:var(--vp-brand);font-weight:var(--vp-weight-semibold);box-shadow:inset 3px 0 0 var(--vp-brand)}.vp-settings__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-settings__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-settings__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-2));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-settings__icon{width:18px;font-size:18px;line-height:1;flex:0 0 auto}.vp-settings__content{min-width:0;max-width:880px}@media(max-width:900px){.vp-settings{grid-template-columns:1fr;gap:var(--vp-space-4)}.vp-settings__list{flex-direction:row;flex-wrap:wrap}.vp-settings__reason{display:none}}\n"] }]
7161
+ `, styles: [":host{display:block}.vp-settings{display:grid;grid-template-columns:15rem 1fr;gap:var(--vp-space-8);align-items:start}.vp-settings__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--vp-space-1)}.vp-settings__item{margin:0}.vp-settings__link{display:flex;align-items:center;gap:var(--vp-space-2);min-height:var(--vp-control-height);padding:var(--vp-space-2) var(--vp-space-3);border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base)}.vp-settings__link:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-settings__link:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-settings__link--active{background:var(--vp-brand-subtle);color:var(--vp-text-primary);font-weight:var(--vp-weight-semibold);box-shadow:inset 3px 0 0 var(--vp-brand)}.vp-settings__link--disabled{color:var(--vp-text-muted);cursor:not-allowed}.vp-settings__link--disabled:hover{background:transparent;color:var(--vp-text-muted)}.vp-settings__reason{display:block;padding:0 var(--vp-space-3) var(--vp-space-2) calc(var(--vp-space-3) + 18px + var(--vp-space-2));color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-settings__icon{width:18px;font-size:18px;line-height:1;flex:0 0 auto}.vp-settings__content{min-width:0;max-width:880px}@media(max-width:900px){.vp-settings{grid-template-columns:1fr;gap:var(--vp-space-4)}.vp-settings__list{flex-direction:row;flex-wrap:wrap}.vp-settings__reason{display:none}}\n"] }]
6120
7162
  }], propDecorators: { sections: [{
6121
7163
  type: Input,
6122
7164
  args: [{ required: true }]
@@ -6151,8 +7193,8 @@ class VpSaveBarComponent {
6151
7193
  this.save = new EventEmitter();
6152
7194
  this.discard = new EventEmitter();
6153
7195
  }
6154
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSaveBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6155
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpSaveBarComponent, isStandalone: true, selector: "vp-save-bar", inputs: { dirty: "dirty", saving: "saving", message: "message", saveLabel: "saveLabel", savingLabel: "savingLabel", discardLabel: "discardLabel" }, outputs: { save: "save", discard: "discard" }, ngImport: i0, template: `
7196
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSaveBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7197
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSaveBarComponent, isStandalone: true, selector: "vp-save-bar", inputs: { dirty: "dirty", saving: "saving", message: "message", saveLabel: "saveLabel", savingLabel: "savingLabel", discardLabel: "discardLabel" }, outputs: { save: "save", discard: "discard" }, ngImport: i0, template: `
6156
7198
  @if (dirty) {
6157
7199
  <div class="vp-savebar" data-vp-savebar role="status" aria-live="polite">
6158
7200
  <span class="vp-savebar__message">{{ message }}</span>
@@ -6176,7 +7218,7 @@ class VpSaveBarComponent {
6176
7218
  }
6177
7219
  `, isInline: true, styles: [":host{display:contents}.vp-savebar{position:sticky;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-4);margin-top:var(--vp-space-6);padding:var(--vp-space-3) var(--vp-space-4);border:1px solid var(--vp-border-strong);border-radius:var(--vp-radius-md);background:var(--vp-surface-overlay);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);color:var(--vp-text-primary)}.vp-savebar__actions{display:flex;gap:var(--vp-space-2);flex-shrink:0}.vp-savebar__btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-savebar__btn:disabled{opacity:.5;cursor:not-allowed}.vp-savebar__btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-savebar__btn--primary{background:var(--vp-brand);border-color:var(--vp-brand);color:var(--vp-text-on-accent)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6178
7220
  }
6179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSaveBarComponent, decorators: [{
7221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSaveBarComponent, decorators: [{
6180
7222
  type: Component,
6181
7223
  args: [{ selector: 'vp-save-bar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6182
7224
  @if (dirty) {
@@ -6232,27 +7274,27 @@ let dangerSeq = 0;
6232
7274
  class VpDangerZoneComponent {
6233
7275
  constructor() {
6234
7276
  /**
6235
- * 🔴 Enjeksiyon SUS DEGIL: `VpIconSpriteService` kurucusunda SVG sembol
6236
- * deposunu belgeye gomer. Gomulmezse bu bilesenin `<use>` etiketleri
7277
+ * 🔴 Enjeksiyon SUS DEGIL: "VpIconSpriteService" kurucusunda SVG sembol
7278
+ * deposunu belgeye gomer. Gomulmezse bu bilesenin "<use>" etiketleri
6237
7279
  * **hicbir sey cizmez ve hata vermez** — olculen sessiz kayip.
6238
7280
  *
6239
7281
  * ⚠️ Alan kullanilmiyor gibi gorunur; isi enjekte edilmis olmaktir.
6240
- * `test/icon-sprite-wiring.spec.ts` bu esleSMeyi zorunlu tutuyor.
7282
+ * "test/icon-sprite-wiring.spec.ts" bu esleSMeyi zorunlu tutuyor.
6241
7283
  */
6242
7284
  this.iconSprite = inject(VpIconSpriteService);
6243
7285
  /** Bekleme/geri alma bilgisi — "30 gün içinde geri alabilirsiniz" gibi. */
6244
7286
  this.waitNotice = null;
6245
7287
  this.disabled = false;
6246
7288
  /**
6247
- * Onay ISTEGI. Islem burada YAPILMAZ — ust bilesen `vp-confirm` acar,
7289
+ * Onay ISTEGI. Islem burada YAPILMAZ — ust bilesen "vp-confirm" acar,
6248
7290
  * kullanici metni yazar, ancak ondan sonra islem calisir.
6249
7291
  */
6250
7292
  this.requested = new EventEmitter();
6251
7293
  // Sayac deseni — `performance.now()` belirsiz ve cakisabilir.
6252
7294
  this.titleId = `vp-danger-${++dangerSeq}-title`;
6253
7295
  }
6254
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDangerZoneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6255
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpDangerZoneComponent, isStandalone: true, selector: "vp-danger-zone", inputs: { title: "title", description: "description", actionLabel: "actionLabel", waitNotice: "waitNotice", disabled: "disabled" }, outputs: { requested: "requested" }, ngImport: i0, template: `
7296
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDangerZoneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7297
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDangerZoneComponent, isStandalone: true, selector: "vp-danger-zone", inputs: { title: "title", description: "description", actionLabel: "actionLabel", waitNotice: "waitNotice", disabled: "disabled" }, outputs: { requested: "requested" }, ngImport: i0, template: `
6256
7298
  <section class="vp-danger" data-vp-danger-zone [attr.aria-labelledby]="titleId">
6257
7299
  <h3 class="vp-danger__title" [id]="titleId">{{ title }}</h3>
6258
7300
 
@@ -6275,9 +7317,9 @@ class VpDangerZoneComponent {
6275
7317
  [disabled]="disabled"
6276
7318
  (click)="requested.emit()">{{ actionLabel }}</button>
6277
7319
  </section>
6278
- `, isInline: true, styles: [":host{display:block}.vp-danger{margin-top:var(--vp-space-8);padding:var(--vp-space-4);border:2px solid var(--vp-sev-critical-border);border-radius:var(--vp-radius-lg);background:var(--vp-sev-critical-bg);font-family:var(--vp-font-sans)}.vp-danger__title{margin:0 0 var(--vp-space-2);color:var(--vp-sev-critical);font-size:var(--vp-text-lg);font-weight:var(--vp-weight-semibold)}.vp-danger__description{margin:0 0 var(--vp-space-3);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);line-height:var(--vp-leading-normal)}.vp-danger__notice{display:flex;align-items:center;gap:var(--vp-space-2);margin:0 0 var(--vp-space-3);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}.vp-danger__notice-icon{width:14px;height:14px;flex:0 0 auto}.vp-danger__action{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-sev-critical);border-radius:var(--vp-radius-md);background:var(--vp-sev-critical);color:var(--vp-surface-base);font:inherit;font-weight:var(--vp-weight-medium);cursor:pointer}.vp-danger__action:disabled{opacity:.5;cursor:not-allowed}.vp-danger__action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7320
+ `, isInline: true, styles: [":host{display:block}.vp-danger{margin-top:var(--vp-space-8);padding:var(--vp-space-4);border:2px solid var(--vp-sev-critical-border);border-radius:var(--vp-radius-lg);background:var(--vp-sev-critical-bg);font-family:var(--vp-font-sans)}.vp-danger__title{margin:0 0 var(--vp-space-2);color:var(--vp-sev-critical);font-size:var(--vp-text-lg);font-weight:var(--vp-weight-semibold)}.vp-danger__description{margin:0 0 var(--vp-space-3);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);line-height:var(--vp-leading-normal)}.vp-danger__notice{display:flex;align-items:center;gap:var(--vp-space-2);margin:0 0 var(--vp-space-3);color:var(--vp-text-secondary);font-size:var(--vp-text-xs)}.vp-danger__notice-icon{width:14px;height:14px;flex:0 0 auto}.vp-danger__action{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-sev-critical);border-radius:var(--vp-radius-md);background:var(--vp-sev-critical);color:var(--vp-surface-base);font:inherit;font-weight:var(--vp-weight-medium);cursor:pointer}.vp-danger__action:disabled{opacity:.5;cursor:not-allowed}.vp-danger__action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6279
7321
  }
6280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDangerZoneComponent, decorators: [{
7322
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDangerZoneComponent, decorators: [{
6281
7323
  type: Component,
6282
7324
  args: [{ selector: 'vp-danger-zone', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6283
7325
  <section class="vp-danger" data-vp-danger-zone [attr.aria-labelledby]="titleId">
@@ -6302,7 +7344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
6302
7344
  [disabled]="disabled"
6303
7345
  (click)="requested.emit()">{{ actionLabel }}</button>
6304
7346
  </section>
6305
- `, styles: [":host{display:block}.vp-danger{margin-top:var(--vp-space-8);padding:var(--vp-space-4);border:2px solid var(--vp-sev-critical-border);border-radius:var(--vp-radius-lg);background:var(--vp-sev-critical-bg);font-family:var(--vp-font-sans)}.vp-danger__title{margin:0 0 var(--vp-space-2);color:var(--vp-sev-critical);font-size:var(--vp-text-lg);font-weight:var(--vp-weight-semibold)}.vp-danger__description{margin:0 0 var(--vp-space-3);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);line-height:var(--vp-leading-normal)}.vp-danger__notice{display:flex;align-items:center;gap:var(--vp-space-2);margin:0 0 var(--vp-space-3);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}.vp-danger__notice-icon{width:14px;height:14px;flex:0 0 auto}.vp-danger__action{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-sev-critical);border-radius:var(--vp-radius-md);background:var(--vp-sev-critical);color:var(--vp-surface-base);font:inherit;font-weight:var(--vp-weight-medium);cursor:pointer}.vp-danger__action:disabled{opacity:.5;cursor:not-allowed}.vp-danger__action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}\n"] }]
7347
+ `, styles: [":host{display:block}.vp-danger{margin-top:var(--vp-space-8);padding:var(--vp-space-4);border:2px solid var(--vp-sev-critical-border);border-radius:var(--vp-radius-lg);background:var(--vp-sev-critical-bg);font-family:var(--vp-font-sans)}.vp-danger__title{margin:0 0 var(--vp-space-2);color:var(--vp-sev-critical);font-size:var(--vp-text-lg);font-weight:var(--vp-weight-semibold)}.vp-danger__description{margin:0 0 var(--vp-space-3);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);line-height:var(--vp-leading-normal)}.vp-danger__notice{display:flex;align-items:center;gap:var(--vp-space-2);margin:0 0 var(--vp-space-3);color:var(--vp-text-secondary);font-size:var(--vp-text-xs)}.vp-danger__notice-icon{width:14px;height:14px;flex:0 0 auto}.vp-danger__action{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-sev-critical);border-radius:var(--vp-radius-md);background:var(--vp-sev-critical);color:var(--vp-surface-base);font:inherit;font-weight:var(--vp-weight-medium);cursor:pointer}.vp-danger__action:disabled{opacity:.5;cursor:not-allowed}.vp-danger__action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}\n"] }]
6306
7348
  }], propDecorators: { title: [{
6307
7349
  type: Input,
6308
7350
  args: [{ required: true }]
@@ -6352,8 +7394,8 @@ const COMPONENTS = [
6352
7394
  VpDangerZoneComponent,
6353
7395
  ];
6354
7396
  class VirusisUiModule {
6355
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VirusisUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6356
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: VirusisUiModule, imports: [VpStateComponent,
7397
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VirusisUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7398
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.31", ngImport: i0, type: VirusisUiModule, imports: [VpStateComponent,
6357
7399
  VpShellComponent,
6358
7400
  VpPageHeaderComponent,
6359
7401
  VpBannerComponent,
@@ -6394,9 +7436,9 @@ class VirusisUiModule {
6394
7436
  VpSettingsShellComponent,
6395
7437
  VpSaveBarComponent,
6396
7438
  VpDangerZoneComponent] }); }
6397
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VirusisUiModule }); }
7439
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VirusisUiModule }); }
6398
7440
  }
6399
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VirusisUiModule, decorators: [{
7441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VirusisUiModule, decorators: [{
6400
7442
  type: NgModule,
6401
7443
  args: [{
6402
7444
  imports: [...COMPONENTS],
@@ -6468,8 +7510,8 @@ class VpVerdictComponent {
6468
7510
  default: return 'unknown';
6469
7511
  }
6470
7512
  }
6471
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpVerdictComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6472
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpVerdictComponent, isStandalone: true, selector: "vp-verdict", inputs: { kind: "kind", headline: "headline", advice: "advice", coverageNote: "coverageNote", actionLabel: "actionLabel" }, outputs: { action: "action" }, ngImport: i0, template: `
7513
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpVerdictComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7514
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpVerdictComponent, isStandalone: true, selector: "vp-verdict", inputs: { kind: "kind", headline: "headline", advice: "advice", coverageNote: "coverageNote", actionLabel: "actionLabel" }, outputs: { action: "action" }, ngImport: i0, template: `
6473
7515
  <section
6474
7516
  class="vp-verdict"
6475
7517
  data-vp-verdict
@@ -6502,7 +7544,7 @@ class VpVerdictComponent {
6502
7544
  </section>
6503
7545
  `, isInline: true, styles: [":host{display:block}.vp-verdict{display:flex;align-items:flex-start;gap:var(--vp-space-3);padding:var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans);color:var(--vp-text-primary)}.vp-verdict__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.vp-verdict__body{flex:1;display:grid;gap:var(--vp-space-1)}.vp-verdict__headline{margin:0;font-size:var(--vp-text-lg);font-weight:600}.vp-verdict__advice{margin:0}.vp-verdict__coverage{margin:0;color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-verdict__action{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer;flex-shrink:0}.vp-verdict__action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-verdict[data-kind=malicious]{border-color:var(--vp-danger)}.vp-verdict[data-kind=suspicious]{border-color:var(--vp-warning, var(--vp-border-default))}.vp-verdict[data-kind=clean]{border-color:var(--vp-success, var(--vp-border-default))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6504
7546
  }
6505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpVerdictComponent, decorators: [{
7547
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpVerdictComponent, decorators: [{
6506
7548
  type: Component,
6507
7549
  args: [{ selector: 'vp-verdict', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6508
7550
  <section
@@ -6590,8 +7632,8 @@ class VpEngineResultComponent {
6590
7632
  return 'error';
6591
7633
  return this.detection ? 'detected' : 'clean';
6592
7634
  }
6593
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpEngineResultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6594
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpEngineResultComponent, isStandalone: true, selector: "vp-engine-result", inputs: { engine: "engine", error: "error", errorDetail: "errorDetail", detection: "detection", severity: "severity", cleanLabel: "cleanLabel", errorLabel: "errorLabel" }, ngImport: i0, template: `
7635
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpEngineResultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7636
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpEngineResultComponent, isStandalone: true, selector: "vp-engine-result", inputs: { engine: "engine", error: "error", errorDetail: "errorDetail", detection: "detection", severity: "severity", cleanLabel: "cleanLabel", errorLabel: "errorLabel" }, ngImport: i0, template: `
6595
7637
  <div class="vp-engine" data-vp-engine [attr.data-state]="state">
6596
7638
  <span class="vp-engine__name" data-vp-engine-name>{{ engine }}</span>
6597
7639
 
@@ -6614,7 +7656,7 @@ class VpEngineResultComponent {
6614
7656
  </div>
6615
7657
  `, isInline: true, styles: [":host{display:block}.vp-engine{display:flex;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-2) var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);color:var(--vp-text-primary)}.vp-engine__name{flex:0 0 12rem;font-weight:600}.vp-engine__detection{flex:1;font-family:var(--vp-font-mono)}.vp-engine__clean{flex:1;color:var(--vp-text-muted)}.vp-engine__error{flex:1;display:flex;align-items:center;gap:var(--vp-space-2);color:var(--vp-warning-text, var(--vp-text-primary))}.vp-engine__error-detail{color:var(--vp-text-muted)}.vp-engine__icon{width:1rem;height:1rem}.vp-engine[data-state=error]{background:var(--vp-surface-raised)}\n"], dependencies: [{ kind: "component", type: VpSeverityBadgeComponent, selector: "vp-severity-badge", inputs: ["level", "value", "scale", "label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6616
7658
  }
6617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpEngineResultComponent, decorators: [{
7659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpEngineResultComponent, decorators: [{
6618
7660
  type: Component,
6619
7661
  args: [{ selector: 'vp-engine-result', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpSeverityBadgeComponent], template: `
6620
7662
  <div class="vp-engine" data-vp-engine [attr.data-state]="state">
@@ -6693,8 +7735,8 @@ class VpDetectionRowComponent {
6693
7735
  get hasConfidence() {
6694
7736
  return this.confidence !== null && this.confidence !== undefined;
6695
7737
  }
6696
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDetectionRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6697
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpDetectionRowComponent, isStandalone: true, selector: "vp-detection-row", inputs: { name: "name", source: "source", severity: "severity", confidence: "confidence", description: "description", confidenceLabel: "confidenceLabel", confidenceUnknownLabel: "confidenceUnknownLabel" }, ngImport: i0, template: `
7738
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDetectionRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7739
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDetectionRowComponent, isStandalone: true, selector: "vp-detection-row", inputs: { name: "name", source: "source", severity: "severity", confidence: "confidence", description: "description", confidenceLabel: "confidenceLabel", confidenceUnknownLabel: "confidenceUnknownLabel" }, ngImport: i0, template: `
6698
7740
  <div class="vp-detection" data-vp-detection>
6699
7741
  <div class="vp-detection__main">
6700
7742
  <span class="vp-detection__name" data-vp-detection-name>{{ name }}</span>
@@ -6727,7 +7769,7 @@ class VpDetectionRowComponent {
6727
7769
  </div>
6728
7770
  `, isInline: true, styles: [":host{display:block}.vp-detection{display:grid;gap:var(--vp-space-2);padding:var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);color:var(--vp-text-primary)}.vp-detection__main{display:flex;align-items:baseline;gap:var(--vp-space-2)}.vp-detection__name{font-family:var(--vp-font-mono);font-weight:600}.vp-detection__source{color:var(--vp-text-muted)}.vp-detection__signals{display:flex;align-items:center;gap:var(--vp-space-3)}.vp-detection__confidence{font-variant-numeric:tabular-nums;color:var(--vp-text-muted)}.vp-detection__confidence--unknown{font-style:italic}.vp-detection__desc{margin:0;color:var(--vp-text-muted)}\n"], dependencies: [{ kind: "component", type: VpSeverityBadgeComponent, selector: "vp-severity-badge", inputs: ["level", "value", "scale", "label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6729
7771
  }
6730
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDetectionRowComponent, decorators: [{
7772
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDetectionRowComponent, decorators: [{
6731
7773
  type: Component,
6732
7774
  args: [{ selector: 'vp-detection-row', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpSeverityBadgeComponent], template: `
6733
7775
  <div class="vp-detection" data-vp-detection>
@@ -6831,8 +7873,8 @@ class VpScanTimelineComponent {
6831
7873
  const seconds = ms / 1000;
6832
7874
  return seconds < 60 ? `${seconds.toFixed(1)} sn` : `${Math.floor(seconds / 60)} dk ${Math.round(seconds % 60)} sn`;
6833
7875
  }
6834
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpScanTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6835
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: VpScanTimelineComponent, isStandalone: true, selector: "vp-scan-timeline", inputs: { stages: "stages", label: "label", stateLabels: "stateLabels" }, ngImport: i0, template: `
7876
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpScanTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7877
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpScanTimelineComponent, isStandalone: true, selector: "vp-scan-timeline", inputs: { stages: "stages", label: "label", stateLabels: "stateLabels" }, ngImport: i0, template: `
6836
7878
  <ol class="vp-timeline" data-vp-timeline [attr.aria-label]="label">
6837
7879
  @for (stage of stages; track stage.code) {
6838
7880
  <li
@@ -6859,7 +7901,7 @@ class VpScanTimelineComponent {
6859
7901
  </ol>
6860
7902
  `, isInline: true, styles: [":host{display:block}.vp-timeline{list-style:none;margin:0;padding:0;display:grid;gap:var(--vp-space-2);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);color:var(--vp-text-primary)}.vp-timeline__item{display:flex;align-items:baseline;gap:var(--vp-space-3)}.vp-timeline__marker{flex:0 0 1.25rem;text-align:center}.vp-timeline__body{flex:1;display:grid;gap:var(--vp-space-1)}.vp-timeline__detail{color:var(--vp-text-muted)}.vp-timeline__duration{font-variant-numeric:tabular-nums;color:var(--vp-text-muted)}.vp-timeline__item[data-state=pending]{color:var(--vp-text-muted)}.vp-timeline__item[data-state=skipped]{color:var(--vp-text-muted);font-style:italic}.vp-timeline__item[data-state=failed]{color:var(--vp-danger)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6861
7903
  }
6862
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpScanTimelineComponent, decorators: [{
7904
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpScanTimelineComponent, decorators: [{
6863
7905
  type: Component,
6864
7906
  args: [{ selector: 'vp-scan-timeline', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6865
7907
  <ol class="vp-timeline" data-vp-timeline [attr.aria-label]="label">
@@ -7497,10 +8539,10 @@ class VpAppKeyInterceptor {
7497
8539
  }
7498
8540
  return next.handle(req.clone({ setHeaders: { [APP_KEY_HEADER]: this.appKey } }));
7499
8541
  }
7500
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAppKeyInterceptor, deps: [{ token: VP_APP_KEY }], target: i0.ɵɵFactoryTarget.Injectable }); }
7501
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAppKeyInterceptor }); }
8542
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAppKeyInterceptor, deps: [{ token: VP_APP_KEY }], target: i0.ɵɵFactoryTarget.Injectable }); }
8543
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAppKeyInterceptor }); }
7502
8544
  }
7503
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAppKeyInterceptor, decorators: [{
8545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAppKeyInterceptor, decorators: [{
7504
8546
  type: Injectable
7505
8547
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7506
8548
  type: Inject,
@@ -7527,10 +8569,10 @@ class VpCsrfInterceptor {
7527
8569
  }
7528
8570
  return next.handle(req.clone({ setHeaders: { 'X-CSRF-TOKEN': token } }));
7529
8571
  }
7530
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCsrfInterceptor, deps: [{ token: VP_CSRF_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
7531
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCsrfInterceptor }); }
8572
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCsrfInterceptor, deps: [{ token: VP_CSRF_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
8573
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCsrfInterceptor }); }
7532
8574
  }
7533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCsrfInterceptor, decorators: [{
8575
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCsrfInterceptor, decorators: [{
7534
8576
  type: Injectable
7535
8577
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7536
8578
  type: Inject,
@@ -7554,10 +8596,10 @@ class VpAuthTokenInterceptor {
7554
8596
  }
7555
8597
  return next.handle(req.clone({ setHeaders: { Authorization: `Bearer ${token}` } }));
7556
8598
  }
7557
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAuthTokenInterceptor, deps: [{ token: VP_AUTH_TOKEN_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
7558
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAuthTokenInterceptor }); }
8599
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAuthTokenInterceptor, deps: [{ token: VP_AUTH_TOKEN_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
8600
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAuthTokenInterceptor }); }
7559
8601
  }
7560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAuthTokenInterceptor, decorators: [{
8602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAuthTokenInterceptor, decorators: [{
7561
8603
  type: Injectable
7562
8604
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7563
8605
  type: Inject,
@@ -7582,10 +8624,10 @@ class VpHttpIdsInterceptor {
7582
8624
  }
7583
8625
  }));
7584
8626
  }
7585
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpHttpIdsInterceptor, deps: [{ token: VP_REQUEST_CONTEXT_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
7586
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpHttpIdsInterceptor }); }
8627
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpHttpIdsInterceptor, deps: [{ token: VP_REQUEST_CONTEXT_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
8628
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpHttpIdsInterceptor }); }
7587
8629
  }
7588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpHttpIdsInterceptor, decorators: [{
8630
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpHttpIdsInterceptor, decorators: [{
7589
8631
  type: Injectable
7590
8632
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7591
8633
  type: Inject,
@@ -7614,10 +8656,10 @@ class VpMaintenanceInterceptor {
7614
8656
  return throwError(() => error);
7615
8657
  }));
7616
8658
  }
7617
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpMaintenanceInterceptor, deps: [{ token: VP_MAINTENANCE_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
7618
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpMaintenanceInterceptor }); }
8659
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMaintenanceInterceptor, deps: [{ token: VP_MAINTENANCE_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
8660
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMaintenanceInterceptor }); }
7619
8661
  }
7620
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpMaintenanceInterceptor, decorators: [{
8662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMaintenanceInterceptor, decorators: [{
7621
8663
  type: Injectable
7622
8664
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7623
8665
  type: Inject,
@@ -7648,10 +8690,10 @@ class VpWithCredentialsInterceptor {
7648
8690
  }
7649
8691
  return next.handle(req.clone({ withCredentials: true }));
7650
8692
  }
7651
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpWithCredentialsInterceptor, deps: [{ token: VP_API_BASE_URLS }], target: i0.ɵɵFactoryTarget.Injectable }); }
7652
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpWithCredentialsInterceptor }); }
8693
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpWithCredentialsInterceptor, deps: [{ token: VP_API_BASE_URLS }], target: i0.ɵɵFactoryTarget.Injectable }); }
8694
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpWithCredentialsInterceptor }); }
7653
8695
  }
7654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpWithCredentialsInterceptor, decorators: [{
8696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpWithCredentialsInterceptor, decorators: [{
7655
8697
  type: Injectable
7656
8698
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7657
8699
  type: Inject,
@@ -7883,10 +8925,10 @@ class VpCaptchaInterceptor {
7883
8925
  return next.handle(req);
7884
8926
  return next.handle(req.clone({ setHeaders: { [CAPTCHA_HEADER]: token } }));
7885
8927
  }
7886
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCaptchaInterceptor, deps: [{ token: VP_CAPTCHA_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
7887
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCaptchaInterceptor }); }
8928
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCaptchaInterceptor, deps: [{ token: VP_CAPTCHA_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
8929
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCaptchaInterceptor }); }
7888
8930
  }
7889
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCaptchaInterceptor, decorators: [{
8931
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpCaptchaInterceptor, decorators: [{
7890
8932
  type: Injectable
7891
8933
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7892
8934
  type: Inject,
@@ -7911,10 +8953,10 @@ class VpAnonTokenInterceptor {
7911
8953
  return next.handle(req);
7912
8954
  return next.handle(req.clone({ setHeaders: { Authorization: `Bearer ${token}` } }));
7913
8955
  }
7914
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAnonTokenInterceptor, deps: [{ token: VP_ANON_TOKEN_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
7915
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAnonTokenInterceptor }); }
8956
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAnonTokenInterceptor, deps: [{ token: VP_ANON_TOKEN_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
8957
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAnonTokenInterceptor }); }
7916
8958
  }
7917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpAnonTokenInterceptor, decorators: [{
8959
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAnonTokenInterceptor, decorators: [{
7918
8960
  type: Injectable
7919
8961
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7920
8962
  type: Inject,
@@ -7938,10 +8980,10 @@ class VpShareTokenInterceptor {
7938
8980
  return next.handle(req);
7939
8981
  return next.handle(req.clone({ headers: req.headers.set('Authorization', `Bearer ${token}`) }));
7940
8982
  }
7941
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpShareTokenInterceptor, deps: [{ token: VP_SHARE_TOKEN_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
7942
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpShareTokenInterceptor }); }
8983
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShareTokenInterceptor, deps: [{ token: VP_SHARE_TOKEN_PORT }], target: i0.ɵɵFactoryTarget.Injectable }); }
8984
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShareTokenInterceptor }); }
7943
8985
  }
7944
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpShareTokenInterceptor, decorators: [{
8986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShareTokenInterceptor, decorators: [{
7945
8987
  type: Injectable
7946
8988
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7947
8989
  type: Inject,
@@ -8650,10 +9692,10 @@ class VpDeepHealthService {
8650
9692
  return of({ state, components: [] });
8651
9693
  }));
8652
9694
  }
8653
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDeepHealthService, deps: [{ token: i1$4.HttpClient }, { token: VP_DEEP_HEALTH_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
8654
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDeepHealthService, providedIn: 'root' }); }
9695
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDeepHealthService, deps: [{ token: i1$4.HttpClient }, { token: VP_DEEP_HEALTH_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
9696
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDeepHealthService, providedIn: 'root' }); }
8655
9697
  }
8656
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDeepHealthService, decorators: [{
9698
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDeepHealthService, decorators: [{
8657
9699
  type: Injectable,
8658
9700
  args: [{ providedIn: 'root' }]
8659
9701
  }], ctorParameters: () => [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
@@ -8661,11 +9703,197 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
8661
9703
  args: [VP_DEEP_HEALTH_CONFIG]
8662
9704
  }] }] });
8663
9705
 
9706
+ /**
9707
+ * Düğme — paket 28 · G4 borcu.
9708
+ *
9709
+ * ## 🔴 Neden var
9710
+ *
9711
+ * Ölçüldü (2026-08-29): `@virusis/angular-ui` **bir düğme bileşeni
9712
+ * taşımıyordu** (38 bileşen içinde yok). Sonuç: her ekran kendi düğmesini
9713
+ * uyduruyordu — Customer panelinde yerel bir `.vp-cta`, tarama ekranında
9714
+ * **hiç biçim yoktu** ve tarayıcının varsayılan gri düğmesi çiziliyordu.
9715
+ * Geçici çözüm konsolun genel stil dosyasına bir `.vp-btn` sınıfı koymaktı;
9716
+ * bu bileşen onun kalıcı yeri.
9717
+ *
9718
+ * ## ⚠️ Neden `p-button` sarmalanmıyor
9719
+ *
9720
+ * Ekosistem kuralı "PrimeNG'yi sarmala, kopyalama" — ama sarmalanan şeyin bir
9721
+ * **karşılığı** olmalı. `p-button` burada iki şey getirirdi: kendi tema
9722
+ * değişkenleri (token'ların üstüne ikinci bir kaynak) ve `(onClick)` çıktısı —
9723
+ * bu programda ölçülmüş bir hata kaynağı (`(click)` sessizce çalışmıyor,
9724
+ * `feedback_primeng_pbutton_directive_click`). Düğme bir `<button>`; sarmalama
9725
+ * kazancı yok, riski var.
9726
+ *
9727
+ * 📌 Bağlantı kipi (`href`/`routerLink`) **ayrı bir eleman**, sınıf değil:
9728
+ * gezinen bir kontrol `<a>` olmalı — sağ tık, yeni sekme, ekran okuyucu
9729
+ * "bağlantı" demesi buna bağlı.
9730
+ */
9731
+ class VpButtonComponent {
9732
+ constructor() {
9733
+ /*
9734
+ * 🔴 Sprite servisi ENJEKTE EDILIYOR. Olculdu (paket 03): sprite hicbir
9735
+ * uygulamaya gomulu degildi ve `<use>` yazan her bilesenin ikonu bostu.
9736
+ * Kapi (`icon-sprite-wiring.spec.ts`) `<use>` yazip servisi enjekte etmeyen
9737
+ * dosyayi dusuruyor.
9738
+ */
9739
+ this.iconSprite = inject(VpIconSpriteService);
9740
+ this.label = '';
9741
+ this.variant = 'secondary';
9742
+ this.size = 'md';
9743
+ /** `vp-icon-*` sprite adı; boşsa ikon çizilmiyor. */
9744
+ this.icon = null;
9745
+ this.type = 'button';
9746
+ this.disabled = false;
9747
+ /**
9748
+ * Yükleniyor.
9749
+ *
9750
+ * ⚠️ Düğme devre dışı kalıyor **ve** `aria-busy` taşıyor: ekran okuyucu
9751
+ * "meşgul" diyebilsin. Yalnız devre dışı bırakmak, sebebi söylemeyen bir
9752
+ * düğme üretirdi.
9753
+ */
9754
+ this.loading = false;
9755
+ /**
9756
+ * Devre dışı olmanın sebebi — başlıkta gösteriliyor.
9757
+ *
9758
+ * 🔴 Sebep **zorunlu değil ama tavsiye**: bu programda ölçülen tekrar eden
9759
+ * hata "sebebi söylemeyen devre dışı düğme". Kullanıcı neden
9760
+ * gönderemediğini göremeyince ekranı arızalı sanıyor.
9761
+ */
9762
+ this.disabledReason = null;
9763
+ /** Uygulama içi hedef. Verilirse eleman `<a>` olur. */
9764
+ this.routerLink = null;
9765
+ /** Dış bağlantı. `routerLink` varsa yok sayılıyor. */
9766
+ this.href = null;
9767
+ /** Dış bağlantı yeni sekmede açılır ve `rel` güvenliği eklenir. */
9768
+ this.external = false;
9769
+ this.pressed = new EventEmitter();
9770
+ }
9771
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9772
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpButtonComponent, isStandalone: true, selector: "vp-button", inputs: { label: "label", variant: "variant", size: "size", icon: "icon", type: "type", disabled: "disabled", loading: "loading", disabledReason: "disabledReason", routerLink: "routerLink", href: "href", external: "external" }, outputs: { pressed: "pressed" }, ngImport: i0, template: `
9773
+ @if (routerLink !== null) {
9774
+ <a
9775
+ class="vp-button"
9776
+ [attr.data-variant]="variant"
9777
+ [attr.data-size]="size"
9778
+ [routerLink]="routerLink"
9779
+ [attr.aria-disabled]="disabled ? 'true' : null"
9780
+ [attr.title]="disabled ? disabledReason : null">
9781
+ <ng-container *ngTemplateOutlet="body" />
9782
+ </a>
9783
+ } @else if (href !== null) {
9784
+ <a
9785
+ class="vp-button"
9786
+ [attr.data-variant]="variant"
9787
+ [attr.data-size]="size"
9788
+ [href]="href"
9789
+ [attr.rel]="external ? 'noopener noreferrer' : null"
9790
+ [attr.target]="external ? '_blank' : null">
9791
+ <ng-container *ngTemplateOutlet="body" />
9792
+ </a>
9793
+ } @else {
9794
+ <button
9795
+ class="vp-button"
9796
+ [attr.data-variant]="variant"
9797
+ [attr.data-size]="size"
9798
+ [type]="type"
9799
+ [disabled]="disabled || loading"
9800
+ [attr.aria-busy]="loading ? 'true' : null"
9801
+ [attr.title]="disabled && disabledReason ? disabledReason : null"
9802
+ (click)="pressed.emit($event)">
9803
+ <ng-container *ngTemplateOutlet="body" />
9804
+ </button>
9805
+ }
9806
+
9807
+ <ng-template #body>
9808
+ @if (icon) {
9809
+ <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
9810
+ <use [attr.href]="'#vp-icon-' + icon"></use>
9811
+ </svg>
9812
+ }
9813
+ <span class="vp-button__label">{{ label }}</span>
9814
+ <ng-content />
9815
+ </ng-template>
9816
+ `, isInline: true, styles: [":host{display:inline-flex}.vp-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--vp-space-2);padding:var(--vp-space-2) var(--vp-space-4);border:1px solid var(--vp-border-strong);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;font-weight:500;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.vp-button[data-size=sm]{padding:var(--vp-space-1) var(--vp-space-3);font-size:var(--vp-text-sm)}.vp-button:hover:not(:disabled):not([aria-disabled=true]){background:var(--vp-surface-sunken)}.vp-button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-button:disabled,.vp-button[aria-disabled=true]{opacity:.55;cursor:not-allowed}.vp-button[data-variant=primary]{border-color:transparent;background:var(--vp-brand);color:var(--vp-text-on-accent)}.vp-button[data-variant=primary]:hover:not(:disabled):not([aria-disabled=true]){background:var(--vp-brand-hover)}.vp-button[data-variant=danger]{border-color:transparent;background:var(--vp-danger-600);color:var(--vp-text-on-accent)}.vp-button[data-variant=danger]:hover:not(:disabled):not([aria-disabled=true]){background:var(--vp-danger-700)}.vp-button[data-variant=ghost]{border-color:transparent;background:transparent}.vp-button__icon{width:1em;height:1em;flex:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9817
+ }
9818
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpButtonComponent, decorators: [{
9819
+ type: Component,
9820
+ args: [{ selector: 'vp-button', standalone: true, imports: [NgTemplateOutlet, RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: `
9821
+ @if (routerLink !== null) {
9822
+ <a
9823
+ class="vp-button"
9824
+ [attr.data-variant]="variant"
9825
+ [attr.data-size]="size"
9826
+ [routerLink]="routerLink"
9827
+ [attr.aria-disabled]="disabled ? 'true' : null"
9828
+ [attr.title]="disabled ? disabledReason : null">
9829
+ <ng-container *ngTemplateOutlet="body" />
9830
+ </a>
9831
+ } @else if (href !== null) {
9832
+ <a
9833
+ class="vp-button"
9834
+ [attr.data-variant]="variant"
9835
+ [attr.data-size]="size"
9836
+ [href]="href"
9837
+ [attr.rel]="external ? 'noopener noreferrer' : null"
9838
+ [attr.target]="external ? '_blank' : null">
9839
+ <ng-container *ngTemplateOutlet="body" />
9840
+ </a>
9841
+ } @else {
9842
+ <button
9843
+ class="vp-button"
9844
+ [attr.data-variant]="variant"
9845
+ [attr.data-size]="size"
9846
+ [type]="type"
9847
+ [disabled]="disabled || loading"
9848
+ [attr.aria-busy]="loading ? 'true' : null"
9849
+ [attr.title]="disabled && disabledReason ? disabledReason : null"
9850
+ (click)="pressed.emit($event)">
9851
+ <ng-container *ngTemplateOutlet="body" />
9852
+ </button>
9853
+ }
9854
+
9855
+ <ng-template #body>
9856
+ @if (icon) {
9857
+ <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
9858
+ <use [attr.href]="'#vp-icon-' + icon"></use>
9859
+ </svg>
9860
+ }
9861
+ <span class="vp-button__label">{{ label }}</span>
9862
+ <ng-content />
9863
+ </ng-template>
9864
+ `, styles: [":host{display:inline-flex}.vp-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--vp-space-2);padding:var(--vp-space-2) var(--vp-space-4);border:1px solid var(--vp-border-strong);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;font-weight:500;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.vp-button[data-size=sm]{padding:var(--vp-space-1) var(--vp-space-3);font-size:var(--vp-text-sm)}.vp-button:hover:not(:disabled):not([aria-disabled=true]){background:var(--vp-surface-sunken)}.vp-button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-button:disabled,.vp-button[aria-disabled=true]{opacity:.55;cursor:not-allowed}.vp-button[data-variant=primary]{border-color:transparent;background:var(--vp-brand);color:var(--vp-text-on-accent)}.vp-button[data-variant=primary]:hover:not(:disabled):not([aria-disabled=true]){background:var(--vp-brand-hover)}.vp-button[data-variant=danger]{border-color:transparent;background:var(--vp-danger-600);color:var(--vp-text-on-accent)}.vp-button[data-variant=danger]:hover:not(:disabled):not([aria-disabled=true]){background:var(--vp-danger-700)}.vp-button[data-variant=ghost]{border-color:transparent;background:transparent}.vp-button__icon{width:1em;height:1em;flex:none}\n"] }]
9865
+ }], propDecorators: { label: [{
9866
+ type: Input,
9867
+ args: [{ required: true }]
9868
+ }], variant: [{
9869
+ type: Input
9870
+ }], size: [{
9871
+ type: Input
9872
+ }], icon: [{
9873
+ type: Input
9874
+ }], type: [{
9875
+ type: Input
9876
+ }], disabled: [{
9877
+ type: Input
9878
+ }], loading: [{
9879
+ type: Input
9880
+ }], disabledReason: [{
9881
+ type: Input
9882
+ }], routerLink: [{
9883
+ type: Input
9884
+ }], href: [{
9885
+ type: Input
9886
+ }], external: [{
9887
+ type: Input
9888
+ }], pressed: [{
9889
+ type: Output
9890
+ }] } });
9891
+
8664
9892
  // Paket 06 — durum ekranlari
8665
9893
 
8666
9894
  /**
8667
9895
  * Generated bundle index. Do not edit.
8668
9896
  */
8669
9897
 
8670
- export { CONVERSION_MOMENTS, MAX_CONVERSION_PROMPTS_PER_SESSION, TRIAL_ROUTE_MAP, UTF8_BOM, VP_ANON_ID_HEX_LENGTH, VP_ANON_TOKEN_PORT, VP_API_BASE_URLS, VP_APP_KEY, VP_AUTH_ANON_CHAIN_ORDER, VP_AUTH_CHAIN_ORDER, VP_AUTH_HEALTH_CONFIG, VP_AUTH_SESSION_PORT, VP_AUTH_TOKEN_PORT, VP_CAPTCHA_PORT, VP_CONSOLE_GUARD_ROUTES, VP_CSRF_PORT, VP_DARK_CLASS, VP_DEEP_HEALTH_CONFIG, VP_I18N_NAMESPACE, VP_ICON_SPRITE_ID, VP_MAINTENANCE_PORT, VP_OWNERSHIP_PORT, VP_QUOTA_PORT, VP_REDIRECT_MAX_LENGTH, VP_REQUEST_CONTEXT_PORT, VP_SAVED_VIEW_STORE, VP_SCAN_RANGE_MAX_MONTHS, VP_SHARE_TOKEN_PORT, VP_STATE_VARIANTS, VP_TABLE_PREFS_STORE, VP_THEME_STORAGE_KEY, VP_TRACKING_CACHE_TTL_MS, VP_UNSAVED_CHANGES_CONFIRM, VirusisUiModule, VpAnonTokenInterceptor, VpAppKeyInterceptor, VpAppealFormComponent, VpAuthTokenInterceptor, VpBannerComponent, VpBreadcrumbComponent, VpCaptchaInterceptor, VpCommandPaletteComponent, VpConfirmComponent, VpContextToolbarComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDrawerComponent, VpEngineResultComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpProductSwitcherComponent, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpSearchTriggerComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStateComponent, VpThemeControlComponent, VpThemeService, VpToastComponent, VpToastService, VpTopbarComponent, VpUserMenuComponent, VpVerdictComponent, VpWithCredentialsInterceptor, checkBoth, collectRxBindings, conversionOfferFor, createFocusTrap, createLocalStoragePrefsStore, createLocalStorageViewStore, createScanAnnouncer, createTabSync, currentOrigin, defaultConditionDescriber, defineStaticMenu, findEmptyValues, findMissingKeys, findView, flattenKeys, focusableElements, formatCountdown, formatParityReport, isConditionMet, isPartialFailure, isSameOrigin, isUpStatus, mergeStageUpdate, messageFor, nextPrompt, provideVirusisApiClient, provideVpAuthAnon, provideVpAuthCore, provideVpConsoleGuards, reconcileColumnOrder, registerUnsavedChangesPrompt, removeView, resolveMenuConditions, resolveTrialRedirect, rxServiceKeyOf, shouldSurface, toCsv, toDeepState, toMenuItems, unmatchedRxClasses, upsertView, validateStaticMenu, validateVpRedirectUri, validateVpScanDateRange, verdictFor, visibleColumns, vpAnonIdFrom, vpAuthChainSlotOf, vpAuthGuard, vpAuthHealthGuard, vpAutoDismissMs, vpDeviceFingerprint, vpDeviceRawData, vpEnsureGuid, vpKey, vpOwnershipGuard, vpQuotaGuard, vpResolveTrackingId, vpUnsavedChangesGuard };
9898
+ export { CONVERSION_MOMENTS, MAX_CONVERSION_PROMPTS_PER_SESSION, TRIAL_ROUTE_MAP, UTF8_BOM, VP_ANON_ID_HEX_LENGTH, VP_ANON_TOKEN_PORT, VP_API_BASE_URLS, VP_APP_KEY, VP_AUTH_ANON_CHAIN_ORDER, VP_AUTH_CHAIN_ORDER, VP_AUTH_HEALTH_CONFIG, VP_AUTH_SESSION_PORT, VP_AUTH_TOKEN_PORT, VP_CAPTCHA_PORT, VP_CONSOLE_GUARD_ROUTES, VP_CSRF_PORT, VP_DARK_CLASS, VP_DEEP_HEALTH_CONFIG, VP_I18N_NAMESPACE, VP_ICON_SPRITE_ID, VP_LIGHT_CLASS, VP_MAINTENANCE_PORT, VP_OWNERSHIP_PORT, VP_QUOTA_CRITICAL, VP_QUOTA_PORT, VP_QUOTA_WARN, VP_REDIRECT_MAX_LENGTH, VP_REQUEST_CONTEXT_PORT, VP_SAVED_VIEW_STORE, VP_SCAN_RANGE_MAX_MONTHS, VP_SHARE_TOKEN_PORT, VP_STATE_VARIANTS, VP_TABLE_PREFS_STORE, VP_THEME_STORAGE_KEY, VP_TRACKING_CACHE_TTL_MS, VP_UNSAVED_CHANGES_CONFIRM, VirusisUiModule, VpAnonTokenInterceptor, VpAppKeyInterceptor, VpAppealFormComponent, VpAuthTokenInterceptor, VpBannerComponent, VpBreadcrumbComponent, VpButtonComponent, VpCaptchaInterceptor, VpCommandPaletteComponent, VpConfirmComponent, VpContextToolbarComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDrawerComponent, VpEngineResultComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpProductSwitcherComponent, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpSearchTriggerComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStateComponent, VpThemeControlComponent, VpThemeService, VpToastComponent, VpToastService, VpTopbarComponent, VpUserMenuComponent, VpVerdictComponent, VpWithCredentialsInterceptor, checkBoth, collectRxBindings, conversionOfferFor, createFocusTrap, createLocalStoragePrefsStore, createLocalStorageViewStore, createScanAnnouncer, createTabSync, currentOrigin, defaultConditionDescriber, defineStaticMenu, findEmptyValues, findMissingKeys, findView, flattenKeys, focusableElements, formatCountdown, formatParityReport, isConditionMet, isPartialFailure, isSameOrigin, isUpStatus, mergeStageUpdate, messageFor, nextPrompt, provideVirusisApiClient, provideVpAuthAnon, provideVpAuthCore, provideVpConsoleGuards, reconcileColumnOrder, registerUnsavedChangesPrompt, removeView, resolveMenuConditions, resolveTrialRedirect, rxServiceKeyOf, shouldSurface, toCsv, toDeepState, toMenuItems, unmatchedRxClasses, upsertView, validateStaticMenu, validateVpRedirectUri, validateVpScanDateRange, verdictFor, visibleColumns, vpAnonIdFrom, vpAuthChainSlotOf, vpAuthGuard, vpAuthHealthGuard, vpAutoDismissMs, vpDeviceFingerprint, vpDeviceRawData, vpEnsureGuid, vpKey, vpOwnershipGuard, vpQuotaGuard, vpResolveTrackingId, vpUnsavedChangesGuard };
8671
9899
  //# sourceMappingURL=virusis-angular-ui.mjs.map