@virusis/angular-ui 0.1.7 → 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';
@@ -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. -->
@@ -1101,8 +1544,8 @@ class VpPageHeaderComponent {
1101
1544
  /** Kayit sayisi. 0 da gosterilir — "bos" ile "sifir" farkli bilgidir. */
1102
1545
  this.count = null;
1103
1546
  }
1104
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1105
- 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: `
1106
1549
  <div class="vp-page-header">
1107
1550
  <div class="vp-page-header__bar">
1108
1551
  <div class="vp-page-header__text">
@@ -1137,9 +1580,9 @@ class VpPageHeaderComponent {
1137
1580
  <ng-content select="[tabs]" />
1138
1581
  </div>
1139
1582
  </div>
1140
- `, 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:768px){.vp-page-header__bar{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 }); }
1141
1584
  }
1142
- 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: [{
1143
1586
  type: Component,
1144
1587
  args: [{ selector: 'vp-page-header', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1145
1588
  <div class="vp-page-header">
@@ -1176,7 +1619,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
1176
1619
  <ng-content select="[tabs]" />
1177
1620
  </div>
1178
1621
  </div>
1179
- `, 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:768px){.vp-page-header__bar{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"] }]
1180
1623
  }], propDecorators: { heading: [{
1181
1624
  type: Input,
1182
1625
  args: [{ required: true }]
@@ -1222,8 +1665,8 @@ class VpBannerComponent {
1222
1665
  default: return 'maintenance';
1223
1666
  }
1224
1667
  }
1225
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1226
- 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: `
1227
1670
  <div
1228
1671
  class="vp-banner"
1229
1672
  [attr.data-tone]="tone"
@@ -1255,7 +1698,7 @@ class VpBannerComponent {
1255
1698
  </div>
1256
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 }); }
1257
1700
  }
1258
- 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: [{
1259
1702
  type: Component,
1260
1703
  args: [{ selector: 'vp-banner', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1261
1704
  <div
@@ -1329,8 +1772,8 @@ class VpTopbarComponent {
1329
1772
  this.scrolled = false;
1330
1773
  this.landmarkLabel = 'Üst çubuk';
1331
1774
  }
1332
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpTopbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1333
- 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: `
1334
1777
  <header
1335
1778
  class="vp-topbar"
1336
1779
  [attr.aria-label]="landmarkLabel"
@@ -1356,7 +1799,7 @@ class VpTopbarComponent {
1356
1799
  </header>
1357
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 }); }
1358
1801
  }
1359
- 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: [{
1360
1803
  type: Component,
1361
1804
  args: [{ selector: 'vp-topbar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1362
1805
  <header
@@ -1446,6 +1889,12 @@ class VpSidebarComponent {
1446
1889
  this.collapsed = false;
1447
1890
  this.navLabel = 'Ana menü';
1448
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;
1449
1898
  }
1450
1899
  /** Yetkisiz maddeler hic render edilmez. */
1451
1900
  get visibleItems() {
@@ -1513,298 +1962,527 @@ class VpSidebarComponent {
1513
1962
  hasBadge(item) {
1514
1963
  return item.badge !== undefined && item.badge !== null;
1515
1964
  }
1516
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1517
- 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: `
1518
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
1519
- @for (group of groups; track group.name) {
1520
- @if (group.name) {
1521
- <!--
1522
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
1523
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
1524
- gorulebilir olmali.
1525
- -->
1526
- <p class="vp-sidebar__group" [attr.data-vp-menu-group]="group.name">{{ group.name }}</p>
1527
- }
1528
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
1529
- @for (item of group.items; track item.code) {
1530
- <li class="vp-sidebar__item">
1531
- @if (childrenOf(item).length) {
1532
- <!--
1533
- Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
1534
- DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
1535
- kontroldur. Yol varsa baglanti olarak ciziliyor.
1536
- -->
1537
- @if (item.path) {
1538
- <a
1539
- class="vp-sidebar__link vp-sidebar__link--parent"
1540
- [attr.data-vp-menu-parent]="item.code"
1541
- [attr.href]="item.path"
1542
- [attr.title]="item.titleKey">
1543
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1544
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1545
- </a>
1546
- } @else {
1547
- <span
1548
- class="vp-sidebar__link vp-sidebar__link--parent"
1549
- [attr.data-vp-menu-parent]="item.code"
1550
- [attr.title]="item.titleKey">
1551
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1552
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1553
- </span>
1554
- }
1555
-
1556
- <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
1557
- @for (child of childrenOf(item); track child.code) {
1558
- <li class="vp-sidebar__item">
1559
- @if (child.disabledReason) {
1560
- <span
1561
- class="vp-sidebar__link vp-sidebar__link--disabled"
1562
- [attr.data-vp-menu-item]="child.code"
1563
- aria-disabled="true"
1564
- [attr.title]="child.titleKey + ' — ' + child.disabledReason">
1565
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
1566
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
1567
- </span>
1568
- <span
1569
- class="vp-sidebar__reason"
1570
- [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
1571
- } @else {
1572
- <a
1573
- class="vp-sidebar__link"
1574
- [attr.data-vp-menu-item]="child.code"
1575
- [attr.href]="child.path"
1576
- [attr.title]="child.titleKey">
1577
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
1578
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
1579
- @if (hasBadge(child)) {
1580
- <span
1581
- class="vp-sidebar__badge"
1582
- [attr.data-vp-menu-badge]="child.code"
1583
- [attr.aria-label]="child.badge + ' ' + badgeLabel">{{ child.badge }}</span>
1584
- }
1585
- </a>
1586
- }
1587
- </li>
1588
- }
1589
- </ul>
1590
- } @else if (item.disabledReason) {
1591
- <span
1592
- class="vp-sidebar__link vp-sidebar__link--disabled"
1593
- [attr.data-vp-menu-item]="item.code"
1594
- aria-disabled="true"
1595
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
1596
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1597
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1598
- </span>
1599
- <span
1600
- class="vp-sidebar__reason"
1601
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
1602
- } @else {
1603
- <a
1604
- class="vp-sidebar__link"
1605
- [attr.data-vp-menu-item]="item.code"
1606
- [attr.href]="item.path"
1607
- [attr.title]="item.titleKey">
1608
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1609
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1610
- @if (hasBadge(item)) {
1611
- <span
1612
- class="vp-sidebar__badge"
1613
- [attr.data-vp-menu-badge]="item.code"
1614
- [attr.aria-label]="item.badge + ' ' + badgeLabel">{{ item.badge }}</span>
1615
- }
1616
- </a>
1617
- }
1618
- </li>
1619
- }
1620
- </ul>
1621
- }
1622
- </nav>
1623
- `, 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{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 }); }
1624
- }
1625
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSidebarComponent, decorators: [{
1626
- type: Component,
1627
- args: [{ selector: 'vp-sidebar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1628
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
1629
- @for (group of groups; track group.name) {
1630
- @if (group.name) {
1631
- <!--
1632
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
1633
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
1634
- gorulebilir olmali.
1635
- -->
1636
- <p class="vp-sidebar__group" [attr.data-vp-menu-group]="group.name">{{ group.name }}</p>
1637
- }
1638
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
1639
- @for (item of group.items; track item.code) {
1640
- <li class="vp-sidebar__item">
1641
- @if (childrenOf(item).length) {
1642
- <!--
1643
- Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
1644
- DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
1645
- kontroldur. Yol varsa baglanti olarak ciziliyor.
1646
- -->
1647
- @if (item.path) {
1648
- <a
1649
- class="vp-sidebar__link vp-sidebar__link--parent"
1650
- [attr.data-vp-menu-parent]="item.code"
1651
- [attr.href]="item.path"
1652
- [attr.title]="item.titleKey">
1653
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1654
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1655
- </a>
1656
- } @else {
1657
- <span
1658
- class="vp-sidebar__link vp-sidebar__link--parent"
1659
- [attr.data-vp-menu-parent]="item.code"
1660
- [attr.title]="item.titleKey">
1661
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1662
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1663
- </span>
1664
- }
1665
-
1666
- <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
1667
- @for (child of childrenOf(item); track child.code) {
1668
- <li class="vp-sidebar__item">
1669
- @if (child.disabledReason) {
1670
- <span
1671
- class="vp-sidebar__link vp-sidebar__link--disabled"
1672
- [attr.data-vp-menu-item]="child.code"
1673
- aria-disabled="true"
1674
- [attr.title]="child.titleKey + ' — ' + child.disabledReason">
1675
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
1676
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
1677
- </span>
1678
- <span
1679
- class="vp-sidebar__reason"
1680
- [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
1681
- } @else {
1682
- <a
1683
- class="vp-sidebar__link"
1684
- [attr.data-vp-menu-item]="child.code"
1685
- [attr.href]="child.path"
1686
- [attr.title]="child.titleKey">
1687
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
1688
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
1689
- @if (hasBadge(child)) {
1690
- <span
1691
- class="vp-sidebar__badge"
1692
- [attr.data-vp-menu-badge]="child.code"
1693
- [attr.aria-label]="child.badge + ' ' + badgeLabel">{{ child.badge }}</span>
1694
- }
1695
- </a>
1696
- }
1697
- </li>
1698
- }
1699
- </ul>
1700
- } @else if (item.disabledReason) {
1701
- <span
1702
- class="vp-sidebar__link vp-sidebar__link--disabled"
1703
- [attr.data-vp-menu-item]="item.code"
1704
- aria-disabled="true"
1705
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
1706
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1707
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1708
- </span>
1709
- <span
1710
- class="vp-sidebar__reason"
1711
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
1712
- } @else {
1713
- <a
1714
- class="vp-sidebar__link"
1715
- [attr.data-vp-menu-item]="item.code"
1716
- [attr.href]="item.path"
1717
- [attr.title]="item.titleKey">
1718
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
1719
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
1720
- @if (hasBadge(item)) {
1721
- <span
1722
- class="vp-sidebar__badge"
1723
- [attr.data-vp-menu-badge]="item.code"
1724
- [attr.aria-label]="item.badge + ' ' + badgeLabel">{{ item.badge }}</span>
1725
- }
1726
- </a>
1727
- }
1728
- </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;
1729
1976
  }
1730
- </ul>
1731
- }
1732
- </nav>
1733
- `, 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{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"] }]
1734
- }], propDecorators: { items: [{
1735
- type: Input,
1736
- args: [{ required: true }]
1737
- }], collapsed: [{
1738
- type: Input
1739
- }], navLabel: [{
1740
- type: Input
1741
- }], badgeLabel: [{
1742
- type: Input
1743
- }] } });
1744
-
1745
- /**
1746
- * Kirinti izi — paket 05 · G5.
1747
- *
1748
- * Kurallar:
1749
- * - Adlandirilmis `nav` (sayfada birden fazla nav var: ana menu + kirinti)
1750
- * - SON oge link DEGIL — kullanici zaten orada
1751
- * - Son ogede `aria-current="page"`
1752
- * - Ayiraclar dekoratif; ekran okuyucu okumaz
1753
- */
1754
- class VpBreadcrumbComponent {
1755
- constructor() {
1756
- this.trail = [];
1757
- this.navLabel = 'Kırıntı izi';
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;
1758
1992
  }
1759
1993
  /**
1760
- * Uzun etiket sinirini asinca kisaltiliyor.
1761
- *
1762
- * 🔴 Sozlesme `page-anatomy.md` §14'te yazili: 24 karakter + tek karakterlik
1763
- * ucnokta, tam ad `title` icinde. Kisaltmadan birakmak dar ekranda izin
1764
- * satirini kirar ve kirinti ana navigasyonun onune gecerdi.
1765
- *
1766
- * ⚠️ Kesme **karakter sayisina** gore; kelime siniri aranmiyor. Kirinti
1767
- * etiketleri kisa ad, cumle degil; kelimeye gore kesmek bazi adlarda
1768
- * neredeyse hicbir sey birakmazdi.
1994
+ * Konum tiklanan dugmenin dikdortgeninden; gorunum alanina sikistiriliyor.
1995
+ * Alttaki bir kalem tiklandiginda menu ekranin altindan tasiyordu.
1769
1996
  */
1770
- shortLabel(label) {
1771
- const text = label ?? '';
1772
- return text.length > VpBreadcrumbComponent.MAX_LABEL
1773
- ? `${text.slice(0, VpBreadcrumbComponent.MAX_LABEL)}…`
1774
- : text;
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();
1775
2011
  }
1776
2012
  /**
1777
- * `title` yalniz kisaltilmis etiketlerde veriliyor.
1778
- *
1779
- * ⚠️ Kisaltilmamis etikete de `title` koymak, fare uzerine gelince ekrandaki
1780
- * metnin aynisini tekrarlayan bos bir ipucu gosterirdi.
2013
+ * Disariya tiklamak kapatiyor. `pointerdown` bilerek: `click` kullanilsa
2014
+ * menuyu acan tiklamanin kendisi belgeye kadar kabarip menuyu ayni anda
2015
+ * kapatirdi.
1781
2016
  */
1782
- fullLabel(label) {
1783
- const text = label ?? '';
1784
- return text.length > VpBreadcrumbComponent.MAX_LABEL ? text : null;
2017
+ onPointerDown(event) {
2018
+ const target = event.target;
2019
+ if (target && this.host.nativeElement.contains(target))
2020
+ return;
2021
+ this.closeFlyout();
1785
2022
  }
1786
- static { this.MAX_LABEL = 24; }
1787
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1788
- 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: `
1789
- @if (trail.length > 0) {
1790
- <nav class="vp-breadcrumb" [attr.aria-label]="navLabel">
1791
- <ol class="vp-breadcrumb__list">
1792
- @for (crumb of trail; track crumb.path; let last = $last; let first = $first) {
1793
- <li class="vp-breadcrumb__item">
1794
- @if (!first) {
1795
- <span class="vp-breadcrumb__sep" data-vp-crumb-sep aria-hidden="true">/</span>
1796
- }
1797
- @if (last) {
1798
- <span
1799
- class="vp-breadcrumb__current"
1800
- data-vp-crumb
1801
- aria-current="page"
1802
- [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
1803
- } @else {
1804
- <a
1805
- class="vp-breadcrumb__link"
1806
- data-vp-crumb
1807
- [attr.href]="crumb.path"
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 }); }
2216
+ }
2217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarComponent, decorators: [{
2218
+ type: Component,
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"] }]
2406
+ }], propDecorators: { items: [{
2407
+ type: Input,
2408
+ args: [{ required: true }]
2409
+ }], collapsed: [{
2410
+ type: Input
2411
+ }], navLabel: [{
2412
+ type: Input
2413
+ }], badgeLabel: [{
2414
+ type: Input
2415
+ }], onEscape: [{
2416
+ type: HostListener,
2417
+ args: ['document:keydown.escape']
2418
+ }], onPointerDown: [{
2419
+ type: HostListener,
2420
+ args: ['document:pointerdown', ['$event']]
2421
+ }] } });
2422
+
2423
+ /**
2424
+ * Kirinti izi — paket 05 · G5.
2425
+ *
2426
+ * Kurallar:
2427
+ * - Adlandirilmis `nav` (sayfada birden fazla nav var: ana menu + kirinti)
2428
+ * - SON oge link DEGIL — kullanici zaten orada
2429
+ * - Son ogede `aria-current="page"`
2430
+ * - Ayiraclar dekoratif; ekran okuyucu okumaz
2431
+ */
2432
+ class VpBreadcrumbComponent {
2433
+ constructor() {
2434
+ this.trail = [];
2435
+ this.navLabel = 'Kırıntı izi';
2436
+ }
2437
+ /**
2438
+ * Uzun etiket sinirini asinca kisaltiliyor.
2439
+ *
2440
+ * 🔴 Sozlesme `page-anatomy.md` §14'te yazili: 24 karakter + tek karakterlik
2441
+ * ucnokta, tam ad `title` icinde. Kisaltmadan birakmak dar ekranda izin
2442
+ * satirini kirar ve kirinti ana navigasyonun onune gecerdi.
2443
+ *
2444
+ * ⚠️ Kesme **karakter sayisina** gore; kelime siniri aranmiyor. Kirinti
2445
+ * etiketleri kisa ad, cumle degil; kelimeye gore kesmek bazi adlarda
2446
+ * neredeyse hicbir sey birakmazdi.
2447
+ */
2448
+ shortLabel(label) {
2449
+ const text = label ?? '';
2450
+ return text.length > VpBreadcrumbComponent.MAX_LABEL
2451
+ ? `${text.slice(0, VpBreadcrumbComponent.MAX_LABEL)}…`
2452
+ : text;
2453
+ }
2454
+ /**
2455
+ * `title` yalniz kisaltilmis etiketlerde veriliyor.
2456
+ *
2457
+ * ⚠️ Kisaltilmamis etikete de `title` koymak, fare uzerine gelince ekrandaki
2458
+ * metnin aynisini tekrarlayan bos bir ipucu gosterirdi.
2459
+ */
2460
+ fullLabel(label) {
2461
+ const text = label ?? '';
2462
+ return text.length > VpBreadcrumbComponent.MAX_LABEL ? text : null;
2463
+ }
2464
+ static { this.MAX_LABEL = 24; }
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: `
2467
+ @if (trail.length > 0) {
2468
+ <nav class="vp-breadcrumb" [attr.aria-label]="navLabel">
2469
+ <ol class="vp-breadcrumb__list">
2470
+ @for (crumb of trail; track crumb.path; let last = $last; let first = $first) {
2471
+ <li class="vp-breadcrumb__item">
2472
+ @if (!first) {
2473
+ <span class="vp-breadcrumb__sep" data-vp-crumb-sep aria-hidden="true">/</span>
2474
+ }
2475
+ @if (last) {
2476
+ <span
2477
+ class="vp-breadcrumb__current"
2478
+ data-vp-crumb
2479
+ aria-current="page"
2480
+ [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
2481
+ } @else {
2482
+ <a
2483
+ class="vp-breadcrumb__link"
2484
+ data-vp-crumb
2485
+ [attr.href]="crumb.path"
1808
2486
  [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</a>
1809
2487
  }
1810
2488
  </li>
@@ -1814,7 +2492,7 @@ class VpBreadcrumbComponent {
1814
2492
  }
1815
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 }); }
1816
2494
  }
1817
- 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: [{
1818
2496
  type: Component,
1819
2497
  args: [{ selector: 'vp-breadcrumb', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1820
2498
  @if (trail.length > 0) {
@@ -1898,8 +2576,8 @@ class VpThemeControlComponent {
1898
2576
  get ariaLabel() {
1899
2577
  return `${this.label} — ${this.labelFor(this.nextMode)} moduna geç`;
1900
2578
  }
1901
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpThemeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1902
- 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: `
1903
2581
  <!--
1904
2582
  ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
1905
2583
  ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
@@ -1921,9 +2599,9 @@ class VpThemeControlComponent {
1921
2599
  tooltipPosition="bottom"
1922
2600
  [attr.aria-label]="ariaLabel"
1923
2601
  (click)="cycle.emit()"></button>
1924
- `, 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 }); }
1925
2603
  }
1926
- 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: [{
1927
2605
  type: Component,
1928
2606
  args: [{
1929
2607
  selector: 'vp-theme-control',
@@ -1994,8 +2672,8 @@ class VpSidebarToggleComponent {
1994
2672
  this.expandLabel = 'Menüyü genişlet';
1995
2673
  this.toggle = new EventEmitter();
1996
2674
  }
1997
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSidebarToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1998
- 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: `
1999
2677
  <button
2000
2678
  pButton
2001
2679
  type="button"
@@ -2010,9 +2688,9 @@ class VpSidebarToggleComponent {
2010
2688
  [attr.aria-controls]="controls"
2011
2689
  [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
2012
2690
  (click)="toggle.emit()"></button>
2013
- `, 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 }); }
2014
2692
  }
2015
- 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: [{
2016
2694
  type: Component,
2017
2695
  args: [{
2018
2696
  selector: 'vp-sidebar-toggle',
@@ -2087,8 +2765,8 @@ class VpUserMenuComponent {
2087
2765
  get ariaLabel() {
2088
2766
  return this.subtitle ? `${this.displayName} (${this.subtitle}) — hesap menüsü` : `${this.displayName} — hesap menüsü`;
2089
2767
  }
2090
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpUserMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2091
- 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: `
2092
2770
  <div class="vp-user-menu">
2093
2771
  <button
2094
2772
  pButton
@@ -2111,9 +2789,9 @@ class VpUserMenuComponent {
2111
2789
 
2112
2790
  <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
2113
2791
  </div>
2114
- `, 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: ["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 }); }
2115
2793
  }
2116
- 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: [{
2117
2795
  type: Component,
2118
2796
  args: [{ selector: 'vp-user-menu', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, MenuModule], template: `
2119
2797
  <div class="vp-user-menu">
@@ -2278,10 +2956,10 @@ class VpThemeService {
2278
2956
  root.classList.toggle(VP_DARK_CLASS, dark);
2279
2957
  root.classList.toggle(VP_LIGHT_CLASS, !dark);
2280
2958
  }
2281
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2282
- 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' }); }
2283
2961
  }
2284
- 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: [{
2285
2963
  type: Injectable,
2286
2964
  args: [{ providedIn: 'root' }]
2287
2965
  }], ctorParameters: () => [] });
@@ -2416,10 +3094,10 @@ class VpToastService {
2416
3094
  clearTimeout(timer);
2417
3095
  this.timers.delete(id);
2418
3096
  }
2419
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2420
- 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' }); }
2421
3099
  }
2422
- 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: [{
2423
3101
  type: Injectable,
2424
3102
  args: [{ providedIn: 'root' }]
2425
3103
  }], ctorParameters: () => [] });
@@ -2477,8 +3155,8 @@ class VpToastComponent {
2477
3155
  default: return '#vp-icon-maintenance';
2478
3156
  }
2479
3157
  }
2480
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2481
- 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: `
2482
3160
  <div
2483
3161
  class="vp-toast__region"
2484
3162
  data-vp-toast-region
@@ -2520,7 +3198,7 @@ class VpToastComponent {
2520
3198
  </div>
2521
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 }); }
2522
3200
  }
2523
- 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: [{
2524
3202
  type: Component,
2525
3203
  args: [{ selector: 'vp-toast', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
2526
3204
  <div
@@ -2612,8 +3290,8 @@ class VpGlobalLayersComponent {
2612
3290
  actioned(id) {
2613
3291
  this.action.emit(id);
2614
3292
  }
2615
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpGlobalLayersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2616
- 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: `
2617
3295
  <vp-toast
2618
3296
  [toasts]="toastService.toasts()"
2619
3297
  (dismissed)="toastService.dismiss($event)"
@@ -2631,7 +3309,7 @@ class VpGlobalLayersComponent {
2631
3309
  }
2632
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 }); }
2633
3311
  }
2634
- 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: [{
2635
3313
  type: Component,
2636
3314
  args: [{ selector: 'vp-global-layers', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpToastComponent], template: `
2637
3315
  <vp-toast
@@ -2703,8 +3381,8 @@ class VpNotificationTriggerComponent {
2703
3381
  get ariaLabel() {
2704
3382
  return this.unread > 0 ? `${this.title} — ${this.unread} okunmamış` : `${this.title} — okunmamış yok`;
2705
3383
  }
2706
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpNotificationTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2707
- 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: `
2708
3386
  <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
2709
3387
  <button
2710
3388
  pButton
@@ -2747,9 +3425,9 @@ class VpNotificationTriggerComponent {
2747
3425
  }
2748
3426
  </div>
2749
3427
  </p-popover>
2750
- `, 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 }); }
2751
3429
  }
2752
- 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: [{
2753
3431
  type: Component,
2754
3432
  args: [{ selector: 'vp-notification-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, OverlayBadgeModule, PopoverModule], template: `
2755
3433
  <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
@@ -2864,8 +3542,8 @@ class VpCommandPaletteComponent {
2864
3542
  if (item)
2865
3543
  this.picked.emit(item);
2866
3544
  }
2867
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2868
- 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: `
2869
3547
  <p-dialog
2870
3548
  [visible]="open"
2871
3549
  (visibleChange)="onVisibleChange($event)"
@@ -2908,9 +3586,9 @@ class VpCommandPaletteComponent {
2908
3586
  }
2909
3587
  </div>
2910
3588
  </p-dialog>
2911
- `, 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 }); }
2912
3590
  }
2913
- 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: [{
2914
3592
  type: Component,
2915
3593
  args: [{ selector: 'vp-command-palette', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, DialogModule, IconFieldModule, InputIconModule, InputTextModule, ListboxModule], template: `
2916
3594
  <p-dialog
@@ -3013,8 +3691,8 @@ class VpSearchTriggerComponent {
3013
3691
  this.keyShortcut = 'Control+K';
3014
3692
  this.opened = new EventEmitter();
3015
3693
  }
3016
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSearchTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3017
- 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: `
3018
3696
  <button
3019
3697
  pButton
3020
3698
  type="button"
@@ -3031,9 +3709,9 @@ class VpSearchTriggerComponent {
3031
3709
  <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
3032
3710
  }
3033
3711
  </button>
3034
- `, 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 }); }
3035
3713
  }
3036
- 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: [{
3037
3715
  type: Component,
3038
3716
  args: [{ selector: 'vp-search-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule], template: `
3039
3717
  <button
@@ -3096,8 +3774,8 @@ class VpMenuButtonComponent {
3096
3774
  this.menuId = 'vp-menu-button-popup';
3097
3775
  this.opened = new EventEmitter();
3098
3776
  }
3099
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpMenuButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3100
- 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: `
3101
3779
  <button
3102
3780
  pButton
3103
3781
  type="button"
@@ -3112,9 +3790,9 @@ class VpMenuButtonComponent {
3112
3790
  (click)="menu.toggle($event); opened.emit()"></button>
3113
3791
 
3114
3792
  <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
3115
- `, 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 }); }
3116
3794
  }
3117
- 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: [{
3118
3796
  type: Component,
3119
3797
  args: [{
3120
3798
  selector: 'vp-menu-button',
@@ -3199,8 +3877,8 @@ class VpProductSwitcherComponent {
3199
3877
  return;
3200
3878
  this.selected.emit(product);
3201
3879
  }
3202
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpProductSwitcherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3203
- 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: `
3204
3882
  <button
3205
3883
  pButton
3206
3884
  type="button"
@@ -3234,9 +3912,9 @@ class VpProductSwitcherComponent {
3234
3912
  }
3235
3913
  </ul>
3236
3914
  </p-popover>
3237
- `, 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 }); }
3238
3916
  }
3239
- 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: [{
3240
3918
  type: Component,
3241
3919
  args: [{ selector: 'vp-product-switcher', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, PopoverModule], template: `
3242
3920
  <button
@@ -3317,8 +3995,8 @@ class VpContextToolbarComponent {
3317
3995
  /** 🔴 Ekran okuyucu icin ZORUNLU: sayfada birden fazla arac cubugu olabilir. */
3318
3996
  this.label = 'Sayfa araçları';
3319
3997
  }
3320
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpContextToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3321
- 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: `
3322
4000
  @if (visible) {
3323
4001
  <p-toolbar
3324
4002
  data-vp-context-toolbar
@@ -3339,7 +4017,7 @@ class VpContextToolbarComponent {
3339
4017
  }
3340
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 }); }
3341
4019
  }
3342
- 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: [{
3343
4021
  type: Component,
3344
4022
  args: [{ selector: 'vp-context-toolbar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ToolbarModule], template: `
3345
4023
  @if (visible) {
@@ -3639,6 +4317,22 @@ class VpDataTableComponent {
3639
4317
  this.emptyFilteredLabel = 'Bu filtreye uyan kayıt yok';
3640
4318
  this.clearFiltersLabel = 'Filtreleri temizle';
3641
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';
3642
4336
  this.pagerLabel = 'Sayfalama';
3643
4337
  this.prevLabel = 'Önceki';
3644
4338
  this.nextLabel = 'Sonraki';
@@ -3752,6 +4446,8 @@ class VpDataTableComponent {
3752
4446
  /** Veri istegi. Ust bilesen `rows` + `total` ile yanit verir. */
3753
4447
  this.load = new EventEmitter();
3754
4448
  this.clearFilters = new EventEmitter();
4449
+ /** Arama kutusuna yazilan metin. Bos metin de cikar: kutuyu temizlemek de bir istek. */
4450
+ this.search = new EventEmitter();
3755
4451
  this.page = 1;
3756
4452
  this.sortField = null;
3757
4453
  this.sortOrder = 'asc';
@@ -4024,6 +4720,25 @@ class VpDataTableComponent {
4024
4720
  this.page = 1;
4025
4721
  this.emitLoad();
4026
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
+ }
4027
4742
  emitLoad() {
4028
4743
  const event = { page: this.page, size: this.pageSize };
4029
4744
  if (this.sortField) {
@@ -4057,582 +4772,628 @@ class VpDataTableComponent {
4057
4772
  templateFor(field) {
4058
4773
  return this.cellTemplates[field] ?? null;
4059
4774
  }
4060
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4061
- 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", 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" }, usesOnChanges: true, ngImport: i0, template: `
4062
- <div class="vp-table">
4063
- <div class="vp-table__meta">
4064
- <span class="vp-table__total" data-vp-total>
4065
- {{ total }} {{ totalLabel }}
4066
- </span>
4067
- @if (pageCount > 1) {
4068
- <span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
4069
- }
4070
-
4071
- @if (savedViewsKey) {
4072
- <span class="vp-table__views" data-vp-views>
4073
- <select
4074
- class="vp-table__cols-btn"
4075
- data-vp-view-select
4076
- [attr.aria-label]="viewsLabel"
4077
- [value]="activeView"
4078
- (change)="applyView(asSelectValue($event))">
4079
- <option value="">{{ viewsPlaceholder }}</option>
4080
- @for (view of savedViews; track view.name) {
4081
- <option [value]="view.name">{{ view.name }}</option>
4082
- }
4083
- </select>
4084
-
4085
- <button type="button" class="vp-table__cols-btn" data-vp-view-save
4086
- (click)="saveViewPrompt()">{{ saveViewLabel }}</button>
4087
-
4088
- @if (activeView) {
4089
- <button type="button" class="vp-table__cols-btn" data-vp-view-delete
4090
- (click)="deleteActiveView()">{{ deleteViewLabel }}</button>
4091
- }
4092
- </span>
4093
- }
4094
-
4095
- @if (exportScopes.length > 0) {
4096
- @for (scope of exportScopes; track scope) {
4097
- <button
4098
- type="button"
4099
- class="vp-table__cols-btn"
4100
- [attr.data-vp-export]="scope"
4101
- (click)="requestExport(scope)">{{ exportLabel(scope) }}</button>
4102
- }
4103
- }
4104
-
4105
- @if (columnPicker) {
4106
- <button
4107
- type="button"
4108
- class="vp-table__cols-btn"
4109
- data-vp-cols-toggle
4110
- [attr.aria-expanded]="pickerOpen"
4111
- (click)="pickerOpen = !pickerOpen">{{ columnsLabel }}</button>
4112
- }
4113
- </div>
4114
-
4115
- @if (selectable && selectedKeys.size > 0) {
4116
- <div class="vp-table__bulk" data-vp-bulk role="group" [attr.aria-label]="bulkLabel">
4117
- <span data-vp-bulk-count>{{ selectedKeys.size }} {{ selectedLabel }}</span>
4118
-
4119
- <div class="vp-table__bulk-actions">
4120
- @for (action of bulkActions; track action.code) {
4121
- <button
4122
- type="button"
4123
- [attr.data-vp-bulk-action]="action.code"
4124
- [class.vp-table__bulk-btn--danger]="action.danger"
4125
- class="vp-table__bulk-btn"
4126
- (click)="requestBulkAction(action)">{{ action.label }}</button>
4127
- }
4128
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-clear
4129
- (click)="clearSelection()">{{ clearSelectionLabel }}</button>
4130
- </div>
4131
- </div>
4132
-
4133
- @if (pendingAction) {
4134
- <div class="vp-table__bulk-confirm" data-vp-bulk-confirm role="alertdialog"
4135
- [attr.aria-label]="pendingAction.label">
4136
- <span>{{ confirmPrefix }} {{ selectedKeys.size }} {{ selectedLabel }} — {{ pendingAction.label }}?</span>
4137
- <span class="vp-table__bulk-actions">
4138
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-cancel
4139
- (click)="pendingAction = null">{{ cancelLabel }}</button>
4140
- <button type="button" class="vp-table__bulk-btn vp-table__bulk-btn--danger"
4141
- data-vp-bulk-confirm-ok (click)="confirmBulkAction()">{{ confirmLabel }}</button>
4142
- </span>
4143
- </div>
4144
- }
4145
- }
4146
-
4147
- @if (bulkResult) {
4148
- <div class="vp-table__bulk-report" data-vp-bulk-report role="status" aria-live="polite">
4149
- @if (bulkResult.succeeded.length > 0) {
4150
- <p data-vp-bulk-ok>{{ bulkResult.succeeded.length }} {{ succeededLabel }}</p>
4151
- }
4152
- @if (bulkResult.failed.length > 0) {
4153
- <p data-vp-bulk-failed>{{ bulkResult.failed.length }} {{ failedLabel }}</p>
4154
- <ul class="vp-table__bulk-failures">
4155
- @for (failure of bulkResult.failed; track failure.key) {
4156
- <li [attr.data-vp-bulk-failure]="failure.key">
4157
- <code>{{ failure.key }}</code> — {{ failure.reason }}
4158
- </li>
4159
- }
4160
- </ul>
4161
- }
4162
- </div>
4163
- }
4164
-
4165
- @if (columnPicker && pickerOpen) {
4166
- <div class="vp-table__cols" data-vp-cols role="group" [attr.aria-label]="columnsLabel">
4167
- @for (col of orderedColumns; track col.field; let i = $index) {
4168
- <div class="vp-table__cols-row" [attr.data-vp-cols-row]="col.field">
4169
- <label class="vp-table__cols-label">
4170
- <input
4171
- type="checkbox"
4172
- [attr.data-vp-col-toggle]="col.field"
4173
- [checked]="isVisible(col.field)"
4174
- [disabled]="isVisible(col.field) && visibleCount === 1"
4175
- (change)="setColumnVisible(col.field, !isVisible(col.field))" />
4176
- {{ col.header }}
4177
- </label>
4178
- <span class="vp-table__cols-move">
4179
- <button
4180
- type="button"
4181
- [attr.data-vp-col-up]="col.field"
4182
- [attr.aria-label]="moveUpLabel + ': ' + col.header"
4183
- [disabled]="i === 0"
4184
- (click)="moveColumn(col.field, -1)">↑</button>
4185
- <button
4186
- type="button"
4187
- [attr.data-vp-col-down]="col.field"
4188
- [attr.aria-label]="moveDownLabel + ': ' + col.header"
4189
- [disabled]="i === orderedColumns.length - 1"
4190
- (click)="moveColumn(col.field, 1)">↓</button>
4191
- </span>
4192
- </div>
4193
- }
4194
- </div>
4195
- }
4196
-
4197
- @if (error) {
4198
- <div class="vp-table__error" data-vp-table-error role="alert">
4199
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4200
- <use href="#vp-icon-error"></use>
4201
- </svg>
4202
- <p class="vp-table__state-text">{{ error }}</p>
4203
- <button type="button" class="vp-table__retry" (click)="emitLoad()">{{ retryLabel }}</button>
4204
- </div>
4205
- } @else if (loading) {
4206
- <div class="vp-table__skeleton" data-vp-table-skeleton aria-hidden="true">
4207
- @for (i of skeletonRows; track i) {
4208
- <span class="vp-table__skeleton-row"></span>
4209
- }
4210
- </div>
4211
- <span class="vp-visually-hidden" role="status">{{ loadingLabel }}</span>
4212
- } @else if (rows.length === 0) {
4213
- @if (hasActiveFilter) {
4214
- <div class="vp-table__empty" data-vp-table-empty-filtered role="status">
4215
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4216
- <use href="#vp-icon-filter"></use>
4217
- </svg>
4218
- <p class="vp-table__state-text">{{ emptyFilteredLabel }}</p>
4219
- <button type="button" class="vp-table__retry" (click)="clearFilters.emit()">
4220
- {{ clearFiltersLabel }}
4221
- </button>
4222
- </div>
4223
- } @else {
4224
- <div class="vp-table__empty" data-vp-table-empty role="status">
4225
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4226
- <use href="#vp-icon-empty"></use>
4227
- </svg>
4228
- <p class="vp-table__state-text">{{ emptyLabel }}</p>
4229
- </div>
4230
- }
4231
- } @else {
4232
- <div class="vp-table__scroll">
4233
- <table class="vp-table__table" [attr.aria-label]="caption">
4234
- <thead>
4235
- <tr>
4236
- @if (canExpand) {
4237
- <th scope="col" class="vp-table__select-cell">
4238
- <span class="vp-visually-hidden">{{ expandColumnLabel }}</span>
4239
- </th>
4240
- }
4241
- @if (selectable) {
4242
- <th scope="col" class="vp-table__select-cell">
4243
- <input
4244
- type="checkbox"
4245
- data-vp-select-page
4246
- [attr.aria-label]="selectPageLabel"
4247
- [checked]="allOnPageSelected"
4248
- [indeterminate]="someOnPageSelected"
4249
- (change)="togglePageSelection()" />
4250
- </th>
4251
- }
4252
- @for (col of visibleCols; track col.field) {
4253
- <th
4254
- scope="col"
4255
- [attr.data-vp-col]="col.field"
4256
- [attr.aria-sort]="ariaSort(col)"
4257
- [style.width]="col.width || null">
4258
- @if (col.sortable) {
4259
- <button type="button" class="vp-table__sort" (click)="toggleSort(col.field)">
4260
- {{ col.header }}
4261
- <span class="vp-table__sort-icon" aria-hidden="true">{{ sortGlyph(col.field) }}</span>
4262
- </button>
4263
- } @else {
4264
- {{ col.header }}
4265
- }
4266
- </th>
4267
- }
4268
- @if (rowActions) {
4269
- <th scope="col" class="vp-table__actions-header">{{ rowActionsHeader }}</th>
4270
- }
4271
- </tr>
4272
- </thead>
4273
- <tbody>
4274
- @for (row of rows; track $index) {
4275
- <tr data-vp-row>
4276
- @if (canExpand) {
4277
- <td class="vp-table__select-cell">
4278
- <button
4279
- type="button"
4280
- class="vp-table__expand"
4281
- [attr.data-vp-expand]="keyOf(row)"
4282
- [attr.aria-expanded]="isExpanded(row)"
4283
- [attr.aria-label]="isExpanded(row) ? collapseLabel : expandLabel"
4284
- (click)="toggleExpanded(row)">{{ isExpanded(row) ? '▾' : '▸' }}</button>
4285
- </td>
4286
- }
4287
- @if (selectable) {
4288
- <td class="vp-table__select-cell">
4289
- <input
4290
- type="checkbox"
4291
- [attr.data-vp-select-row]="keyOf(row)"
4292
- [attr.aria-label]="selectRowLabel"
4293
- [checked]="isSelected(row)"
4294
- (change)="toggleRow(row)" />
4295
- </td>
4296
- }
4297
- @for (col of visibleCols; track col.field) {
4298
- <td>
4299
- @if (templateFor(col.field); as tpl) {
4300
- <ng-container
4301
- *ngTemplateOutlet="tpl; context: { $implicit: cell(row, col.field), row: row }" />
4302
- } @else {
4303
- {{ cell(row, col.field) }}
4304
- }
4305
- </td>
4306
- }
4307
- @if (rowActions) {
4308
- <td data-vp-row-actions>
4309
- <ng-container *ngTemplateOutlet="rowActions; context: { $implicit: row }" />
4310
- </td>
4311
- }
4312
- </tr>
4313
-
4314
- @if (canExpand && isExpanded(row)) {
4315
- <tr class="vp-table__detail-row" [attr.data-vp-detail]="keyOf(row)">
4316
- <td [attr.colspan]="columnSpan">
4317
- @if (rowDetail) {
4318
- <ng-container *ngTemplateOutlet="rowDetail; context: { $implicit: row }" />
4319
- } @else {
4320
- <span class="vp-table__detail-empty">{{ noDetailLabel }}</span>
4321
- }
4322
- </td>
4323
- </tr>
4324
- }
4325
- }
4326
- </tbody>
4327
- </table>
4328
- </div>
4329
-
4330
- @if (pageCount > 1) {
4331
- <nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
4332
- <button
4333
- type="button"
4334
- class="vp-table__page-btn"
4335
- [disabled]="page <= 1"
4336
- (click)="goToPage(page - 1)">{{ prevLabel }}</button>
4337
- <button
4338
- type="button"
4339
- class="vp-table__page-btn"
4340
- [disabled]="page >= pageCount"
4341
- (click)="goToPage(page + 1)">{{ nextLabel }}</button>
4342
- </nav>
4343
- }
4344
- }
4345
- </div>
4346
- `, 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 }); }
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 }); }
4347
5085
  }
4348
- 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: [{
4349
5087
  type: Component,
4350
- args: [{ selector: 'vp-data-table', standalone: true, imports: [NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: `
4351
- <div class="vp-table">
4352
- <div class="vp-table__meta">
4353
- <span class="vp-table__total" data-vp-total>
4354
- {{ total }} {{ totalLabel }}
4355
- </span>
4356
- @if (pageCount > 1) {
4357
- <span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
4358
- }
4359
-
4360
- @if (savedViewsKey) {
4361
- <span class="vp-table__views" data-vp-views>
4362
- <select
4363
- class="vp-table__cols-btn"
4364
- data-vp-view-select
4365
- [attr.aria-label]="viewsLabel"
4366
- [value]="activeView"
4367
- (change)="applyView(asSelectValue($event))">
4368
- <option value="">{{ viewsPlaceholder }}</option>
4369
- @for (view of savedViews; track view.name) {
4370
- <option [value]="view.name">{{ view.name }}</option>
4371
- }
4372
- </select>
4373
-
4374
- <button type="button" class="vp-table__cols-btn" data-vp-view-save
4375
- (click)="saveViewPrompt()">{{ saveViewLabel }}</button>
4376
-
4377
- @if (activeView) {
4378
- <button type="button" class="vp-table__cols-btn" data-vp-view-delete
4379
- (click)="deleteActiveView()">{{ deleteViewLabel }}</button>
4380
- }
4381
- </span>
4382
- }
4383
-
4384
- @if (exportScopes.length > 0) {
4385
- @for (scope of exportScopes; track scope) {
4386
- <button
4387
- type="button"
4388
- class="vp-table__cols-btn"
4389
- [attr.data-vp-export]="scope"
4390
- (click)="requestExport(scope)">{{ exportLabel(scope) }}</button>
4391
- }
4392
- }
4393
-
4394
- @if (columnPicker) {
4395
- <button
4396
- type="button"
4397
- class="vp-table__cols-btn"
4398
- data-vp-cols-toggle
4399
- [attr.aria-expanded]="pickerOpen"
4400
- (click)="pickerOpen = !pickerOpen">{{ columnsLabel }}</button>
4401
- }
4402
- </div>
4403
-
4404
- @if (selectable && selectedKeys.size > 0) {
4405
- <div class="vp-table__bulk" data-vp-bulk role="group" [attr.aria-label]="bulkLabel">
4406
- <span data-vp-bulk-count>{{ selectedKeys.size }} {{ selectedLabel }}</span>
4407
-
4408
- <div class="vp-table__bulk-actions">
4409
- @for (action of bulkActions; track action.code) {
4410
- <button
4411
- type="button"
4412
- [attr.data-vp-bulk-action]="action.code"
4413
- [class.vp-table__bulk-btn--danger]="action.danger"
4414
- class="vp-table__bulk-btn"
4415
- (click)="requestBulkAction(action)">{{ action.label }}</button>
4416
- }
4417
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-clear
4418
- (click)="clearSelection()">{{ clearSelectionLabel }}</button>
4419
- </div>
4420
- </div>
4421
-
4422
- @if (pendingAction) {
4423
- <div class="vp-table__bulk-confirm" data-vp-bulk-confirm role="alertdialog"
4424
- [attr.aria-label]="pendingAction.label">
4425
- <span>{{ confirmPrefix }} {{ selectedKeys.size }} {{ selectedLabel }} — {{ pendingAction.label }}?</span>
4426
- <span class="vp-table__bulk-actions">
4427
- <button type="button" class="vp-table__bulk-btn" data-vp-bulk-cancel
4428
- (click)="pendingAction = null">{{ cancelLabel }}</button>
4429
- <button type="button" class="vp-table__bulk-btn vp-table__bulk-btn--danger"
4430
- data-vp-bulk-confirm-ok (click)="confirmBulkAction()">{{ confirmLabel }}</button>
4431
- </span>
4432
- </div>
4433
- }
4434
- }
4435
-
4436
- @if (bulkResult) {
4437
- <div class="vp-table__bulk-report" data-vp-bulk-report role="status" aria-live="polite">
4438
- @if (bulkResult.succeeded.length > 0) {
4439
- <p data-vp-bulk-ok>{{ bulkResult.succeeded.length }} {{ succeededLabel }}</p>
4440
- }
4441
- @if (bulkResult.failed.length > 0) {
4442
- <p data-vp-bulk-failed>{{ bulkResult.failed.length }} {{ failedLabel }}</p>
4443
- <ul class="vp-table__bulk-failures">
4444
- @for (failure of bulkResult.failed; track failure.key) {
4445
- <li [attr.data-vp-bulk-failure]="failure.key">
4446
- <code>{{ failure.key }}</code> — {{ failure.reason }}
4447
- </li>
4448
- }
4449
- </ul>
4450
- }
4451
- </div>
4452
- }
4453
-
4454
- @if (columnPicker && pickerOpen) {
4455
- <div class="vp-table__cols" data-vp-cols role="group" [attr.aria-label]="columnsLabel">
4456
- @for (col of orderedColumns; track col.field; let i = $index) {
4457
- <div class="vp-table__cols-row" [attr.data-vp-cols-row]="col.field">
4458
- <label class="vp-table__cols-label">
4459
- <input
4460
- type="checkbox"
4461
- [attr.data-vp-col-toggle]="col.field"
4462
- [checked]="isVisible(col.field)"
4463
- [disabled]="isVisible(col.field) && visibleCount === 1"
4464
- (change)="setColumnVisible(col.field, !isVisible(col.field))" />
4465
- {{ col.header }}
4466
- </label>
4467
- <span class="vp-table__cols-move">
4468
- <button
4469
- type="button"
4470
- [attr.data-vp-col-up]="col.field"
4471
- [attr.aria-label]="moveUpLabel + ': ' + col.header"
4472
- [disabled]="i === 0"
4473
- (click)="moveColumn(col.field, -1)">↑</button>
4474
- <button
4475
- type="button"
4476
- [attr.data-vp-col-down]="col.field"
4477
- [attr.aria-label]="moveDownLabel + ': ' + col.header"
4478
- [disabled]="i === orderedColumns.length - 1"
4479
- (click)="moveColumn(col.field, 1)">↓</button>
4480
- </span>
4481
- </div>
4482
- }
4483
- </div>
4484
- }
4485
-
4486
- @if (error) {
4487
- <div class="vp-table__error" data-vp-table-error role="alert">
4488
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4489
- <use href="#vp-icon-error"></use>
4490
- </svg>
4491
- <p class="vp-table__state-text">{{ error }}</p>
4492
- <button type="button" class="vp-table__retry" (click)="emitLoad()">{{ retryLabel }}</button>
4493
- </div>
4494
- } @else if (loading) {
4495
- <div class="vp-table__skeleton" data-vp-table-skeleton aria-hidden="true">
4496
- @for (i of skeletonRows; track i) {
4497
- <span class="vp-table__skeleton-row"></span>
4498
- }
4499
- </div>
4500
- <span class="vp-visually-hidden" role="status">{{ loadingLabel }}</span>
4501
- } @else if (rows.length === 0) {
4502
- @if (hasActiveFilter) {
4503
- <div class="vp-table__empty" data-vp-table-empty-filtered role="status">
4504
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4505
- <use href="#vp-icon-filter"></use>
4506
- </svg>
4507
- <p class="vp-table__state-text">{{ emptyFilteredLabel }}</p>
4508
- <button type="button" class="vp-table__retry" (click)="clearFilters.emit()">
4509
- {{ clearFiltersLabel }}
4510
- </button>
4511
- </div>
4512
- } @else {
4513
- <div class="vp-table__empty" data-vp-table-empty role="status">
4514
- <svg class="vp-table__state-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
4515
- <use href="#vp-icon-empty"></use>
4516
- </svg>
4517
- <p class="vp-table__state-text">{{ emptyLabel }}</p>
4518
- </div>
4519
- }
4520
- } @else {
4521
- <div class="vp-table__scroll">
4522
- <table class="vp-table__table" [attr.aria-label]="caption">
4523
- <thead>
4524
- <tr>
4525
- @if (canExpand) {
4526
- <th scope="col" class="vp-table__select-cell">
4527
- <span class="vp-visually-hidden">{{ expandColumnLabel }}</span>
4528
- </th>
4529
- }
4530
- @if (selectable) {
4531
- <th scope="col" class="vp-table__select-cell">
4532
- <input
4533
- type="checkbox"
4534
- data-vp-select-page
4535
- [attr.aria-label]="selectPageLabel"
4536
- [checked]="allOnPageSelected"
4537
- [indeterminate]="someOnPageSelected"
4538
- (change)="togglePageSelection()" />
4539
- </th>
4540
- }
4541
- @for (col of visibleCols; track col.field) {
4542
- <th
4543
- scope="col"
4544
- [attr.data-vp-col]="col.field"
4545
- [attr.aria-sort]="ariaSort(col)"
4546
- [style.width]="col.width || null">
4547
- @if (col.sortable) {
4548
- <button type="button" class="vp-table__sort" (click)="toggleSort(col.field)">
4549
- {{ col.header }}
4550
- <span class="vp-table__sort-icon" aria-hidden="true">{{ sortGlyph(col.field) }}</span>
4551
- </button>
4552
- } @else {
4553
- {{ col.header }}
4554
- }
4555
- </th>
4556
- }
4557
- @if (rowActions) {
4558
- <th scope="col" class="vp-table__actions-header">{{ rowActionsHeader }}</th>
4559
- }
4560
- </tr>
4561
- </thead>
4562
- <tbody>
4563
- @for (row of rows; track $index) {
4564
- <tr data-vp-row>
4565
- @if (canExpand) {
4566
- <td class="vp-table__select-cell">
4567
- <button
4568
- type="button"
4569
- class="vp-table__expand"
4570
- [attr.data-vp-expand]="keyOf(row)"
4571
- [attr.aria-expanded]="isExpanded(row)"
4572
- [attr.aria-label]="isExpanded(row) ? collapseLabel : expandLabel"
4573
- (click)="toggleExpanded(row)">{{ isExpanded(row) ? '▾' : '▸' }}</button>
4574
- </td>
4575
- }
4576
- @if (selectable) {
4577
- <td class="vp-table__select-cell">
4578
- <input
4579
- type="checkbox"
4580
- [attr.data-vp-select-row]="keyOf(row)"
4581
- [attr.aria-label]="selectRowLabel"
4582
- [checked]="isSelected(row)"
4583
- (change)="toggleRow(row)" />
4584
- </td>
4585
- }
4586
- @for (col of visibleCols; track col.field) {
4587
- <td>
4588
- @if (templateFor(col.field); as tpl) {
4589
- <ng-container
4590
- *ngTemplateOutlet="tpl; context: { $implicit: cell(row, col.field), row: row }" />
4591
- } @else {
4592
- {{ cell(row, col.field) }}
4593
- }
4594
- </td>
4595
- }
4596
- @if (rowActions) {
4597
- <td data-vp-row-actions>
4598
- <ng-container *ngTemplateOutlet="rowActions; context: { $implicit: row }" />
4599
- </td>
4600
- }
4601
- </tr>
4602
-
4603
- @if (canExpand && isExpanded(row)) {
4604
- <tr class="vp-table__detail-row" [attr.data-vp-detail]="keyOf(row)">
4605
- <td [attr.colspan]="columnSpan">
4606
- @if (rowDetail) {
4607
- <ng-container *ngTemplateOutlet="rowDetail; context: { $implicit: row }" />
4608
- } @else {
4609
- <span class="vp-table__detail-empty">{{ noDetailLabel }}</span>
4610
- }
4611
- </td>
4612
- </tr>
4613
- }
4614
- }
4615
- </tbody>
4616
- </table>
4617
- </div>
4618
-
4619
- @if (pageCount > 1) {
4620
- <nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
4621
- <button
4622
- type="button"
4623
- class="vp-table__page-btn"
4624
- [disabled]="page <= 1"
4625
- (click)="goToPage(page - 1)">{{ prevLabel }}</button>
4626
- <button
4627
- type="button"
4628
- class="vp-table__page-btn"
4629
- [disabled]="page >= pageCount"
4630
- (click)="goToPage(page + 1)">{{ nextLabel }}</button>
4631
- </nav>
4632
- }
4633
- }
4634
- </div>
4635
- `, 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"] }]
4636
5397
  }], propDecorators: { columns: [{
4637
5398
  type: Input,
4638
5399
  args: [{ required: true }]
@@ -4664,6 +5425,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
4664
5425
  type: Input
4665
5426
  }], retryLabel: [{
4666
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
4667
5440
  }], pagerLabel: [{
4668
5441
  type: Input
4669
5442
  }], prevLabel: [{
@@ -4754,6 +5527,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
4754
5527
  type: Output
4755
5528
  }], clearFilters: [{
4756
5529
  type: Output
5530
+ }], search: [{
5531
+ type: Output
4757
5532
  }] } });
4758
5533
 
4759
5534
  /**
@@ -4935,8 +5710,8 @@ class VpDrawerComponent {
4935
5710
  return;
4936
5711
  target.focus();
4937
5712
  }
4938
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4939
- 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: `
4940
5715
  <p-drawer
4941
5716
  [visible]="open"
4942
5717
  (visibleChange)="onVisibleChange($event)"
@@ -4951,7 +5726,7 @@ class VpDrawerComponent {
4951
5726
  </p-drawer>
4952
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 }); }
4953
5728
  }
4954
- 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: [{
4955
5730
  type: Component,
4956
5731
  args: [{ selector: 'vp-drawer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [DrawerModule], template: `
4957
5732
  <p-drawer
@@ -5214,8 +5989,8 @@ class VpFieldComponent {
5214
5989
  }
5215
5990
  this.cdr.markForCheck();
5216
5991
  }
5217
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5218
- 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: `
5219
5994
  <div class="vp-field">
5220
5995
  <label class="vp-field__label" [attr.for]="controlId">
5221
5996
  {{ label }}
@@ -5238,7 +6013,7 @@ class VpFieldComponent {
5238
6013
  </div>
5239
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 }); }
5240
6015
  }
5241
- 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: [{
5242
6017
  type: Component,
5243
6018
  args: [{ selector: 'vp-field', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5244
6019
  <div class="vp-field">
@@ -5354,8 +6129,8 @@ class VpConfirmComponent {
5354
6129
  onPhraseInput(value) {
5355
6130
  this.typedPhrase = value ?? '';
5356
6131
  }
5357
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5358
- 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: `
5359
6134
  @if (open) {
5360
6135
  <div class="vp-confirm__backdrop" aria-hidden="true" (click)="cancelled.emit()"></div>
5361
6136
 
@@ -5406,7 +6181,7 @@ class VpConfirmComponent {
5406
6181
  }
5407
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 }); }
5408
6183
  }
5409
- 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: [{
5410
6185
  type: Component,
5411
6186
  args: [{ selector: 'vp-confirm', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5412
6187
  @if (open) {
@@ -5543,8 +6318,8 @@ class VpDialogComponent {
5543
6318
  dialogEl() {
5544
6319
  return this.hostRef.nativeElement.querySelector('[role="dialog"]');
5545
6320
  }
5546
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5547
- 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: `
5548
6323
  @if (open) {
5549
6324
  <div class="vp-dialog__backdrop" aria-hidden="true" (click)="closed.emit()"></div>
5550
6325
 
@@ -5581,7 +6356,7 @@ class VpDialogComponent {
5581
6356
  }
5582
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 }); }
5583
6358
  }
5584
- 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: [{
5585
6360
  type: Component,
5586
6361
  args: [{ selector: 'vp-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5587
6362
  @if (open) {
@@ -5674,8 +6449,8 @@ class VpSeverityBadgeComponent {
5674
6449
  get iconRef() {
5675
6450
  return '#vp-icon-' + severityMeta(this.resolved).icon;
5676
6451
  }
5677
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSeverityBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5678
- 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: `
5679
6454
  <span class="vp-sev-badge" data-vp-sev [attr.data-level]="resolved">
5680
6455
  <svg
5681
6456
  class="vp-sev-badge__icon"
@@ -5689,7 +6464,7 @@ class VpSeverityBadgeComponent {
5689
6464
  </span>
5690
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 }); }
5691
6466
  }
5692
- 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: [{
5693
6468
  type: Component,
5694
6469
  args: [{ selector: 'vp-severity-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5695
6470
  <span class="vp-sev-badge" data-vp-sev [attr.data-level]="resolved">
@@ -5756,8 +6531,8 @@ class VpHashValueComponent {
5756
6531
  clip?.writeText(this.value).catch(() => undefined);
5757
6532
  this.copied.emit(this.value);
5758
6533
  }
5759
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpHashValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5760
- 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: `
5761
6536
  <span class="vp-hash">
5762
6537
  <code class="vp-hash__value" data-vp-hash [attr.title]="value">{{ display }}</code>
5763
6538
  <button
@@ -5773,7 +6548,7 @@ class VpHashValueComponent {
5773
6548
  </span>
5774
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 }); }
5775
6550
  }
5776
- 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: [{
5777
6552
  type: Component,
5778
6553
  args: [{ selector: 'vp-hash-value', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5779
6554
  <span class="vp-hash">
@@ -5849,8 +6624,8 @@ class VpIocListComponent {
5849
6624
  default: return '#vp-icon-external';
5850
6625
  }
5851
6626
  }
5852
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpIocListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5853
- 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: `
5854
6629
  @if (items.length > 0) {
5855
6630
  <div class="vp-ioc">
5856
6631
  <p class="vp-ioc__warning" data-vp-ioc-warning role="note">
@@ -5881,7 +6656,7 @@ class VpIocListComponent {
5881
6656
  }
5882
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 }); }
5883
6658
  }
5884
- 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: [{
5885
6660
  type: Component,
5886
6661
  args: [{ selector: 'vp-ioc-list', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
5887
6662
  @if (items.length > 0) {
@@ -5968,8 +6743,8 @@ class VpKpiCardComponent {
5968
6743
  default: return '#vp-icon-check';
5969
6744
  }
5970
6745
  }
5971
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpKpiCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5972
- 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: `
5973
6748
  <div class="vp-kpi">
5974
6749
  <span class="vp-kpi__label">{{ label }}</span>
5975
6750
 
@@ -5997,7 +6772,7 @@ class VpKpiCardComponent {
5997
6772
  </div>
5998
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 }); }
5999
6774
  }
6000
- 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: [{
6001
6776
  type: Component,
6002
6777
  args: [{ selector: 'vp-kpi-card', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6003
6778
  <div class="vp-kpi">
@@ -6086,8 +6861,8 @@ class VpRiskScoreComponent {
6086
6861
  }
6087
6862
  return `${this.ariaPrefix}: ${this.value} / ${this.max} — ${this.levelLabel}`;
6088
6863
  }
6089
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpRiskScoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6090
- 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: `
6091
6866
  <div
6092
6867
  class="vp-score"
6093
6868
  data-vp-score
@@ -6112,7 +6887,7 @@ class VpRiskScoreComponent {
6112
6887
  </div>
6113
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 }); }
6114
6889
  }
6115
- 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: [{
6116
6891
  type: Component,
6117
6892
  args: [{ selector: 'vp-risk-score', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6118
6893
  <div
@@ -6203,8 +6978,8 @@ class VpScoreBreakdownComponent {
6203
6978
  default: return '#vp-icon-scan';
6204
6979
  }
6205
6980
  }
6206
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpScoreBreakdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6207
- 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: `
6208
6983
  <div class="vp-breakdown">
6209
6984
  <h3 class="vp-breakdown__title">{{ title }}</h3>
6210
6985
 
@@ -6235,7 +7010,7 @@ class VpScoreBreakdownComponent {
6235
7010
  </div>
6236
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 }); }
6237
7012
  }
6238
- 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: [{
6239
7014
  type: Component,
6240
7015
  args: [{ selector: 'vp-score-breakdown', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6241
7016
  <div class="vp-breakdown">
@@ -6302,8 +7077,8 @@ class VpSettingsShellComponent {
6302
7077
  iconClass(section) {
6303
7078
  return 'vp-settings__icon ' + primeIconClass(section.icon, 'pi-cog');
6304
7079
  }
6305
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSettingsShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6306
- 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: `
6307
7082
  <div class="vp-settings">
6308
7083
  <nav class="vp-settings__nav" [attr.aria-label]="navLabel">
6309
7084
  <ul class="vp-settings__list">
@@ -6343,7 +7118,7 @@ class VpSettingsShellComponent {
6343
7118
  </div>
6344
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 }); }
6345
7120
  }
6346
- 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: [{
6347
7122
  type: Component,
6348
7123
  args: [{ selector: 'vp-settings-shell', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6349
7124
  <div class="vp-settings">
@@ -6418,8 +7193,8 @@ class VpSaveBarComponent {
6418
7193
  this.save = new EventEmitter();
6419
7194
  this.discard = new EventEmitter();
6420
7195
  }
6421
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpSaveBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6422
- 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: `
6423
7198
  @if (dirty) {
6424
7199
  <div class="vp-savebar" data-vp-savebar role="status" aria-live="polite">
6425
7200
  <span class="vp-savebar__message">{{ message }}</span>
@@ -6443,7 +7218,7 @@ class VpSaveBarComponent {
6443
7218
  }
6444
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 }); }
6445
7220
  }
6446
- 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: [{
6447
7222
  type: Component,
6448
7223
  args: [{ selector: 'vp-save-bar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6449
7224
  @if (dirty) {
@@ -6518,8 +7293,8 @@ class VpDangerZoneComponent {
6518
7293
  // Sayac deseni — `performance.now()` belirsiz ve cakisabilir.
6519
7294
  this.titleId = `vp-danger-${++dangerSeq}-title`;
6520
7295
  }
6521
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDangerZoneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6522
- 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: `
6523
7298
  <section class="vp-danger" data-vp-danger-zone [attr.aria-labelledby]="titleId">
6524
7299
  <h3 class="vp-danger__title" [id]="titleId">{{ title }}</h3>
6525
7300
 
@@ -6544,7 +7319,7 @@ class VpDangerZoneComponent {
6544
7319
  </section>
6545
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 }); }
6546
7321
  }
6547
- 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: [{
6548
7323
  type: Component,
6549
7324
  args: [{ selector: 'vp-danger-zone', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6550
7325
  <section class="vp-danger" data-vp-danger-zone [attr.aria-labelledby]="titleId">
@@ -6619,8 +7394,8 @@ const COMPONENTS = [
6619
7394
  VpDangerZoneComponent,
6620
7395
  ];
6621
7396
  class VirusisUiModule {
6622
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VirusisUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6623
- 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,
6624
7399
  VpShellComponent,
6625
7400
  VpPageHeaderComponent,
6626
7401
  VpBannerComponent,
@@ -6661,9 +7436,9 @@ class VirusisUiModule {
6661
7436
  VpSettingsShellComponent,
6662
7437
  VpSaveBarComponent,
6663
7438
  VpDangerZoneComponent] }); }
6664
- 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 }); }
6665
7440
  }
6666
- 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: [{
6667
7442
  type: NgModule,
6668
7443
  args: [{
6669
7444
  imports: [...COMPONENTS],
@@ -6735,8 +7510,8 @@ class VpVerdictComponent {
6735
7510
  default: return 'unknown';
6736
7511
  }
6737
7512
  }
6738
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpVerdictComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6739
- 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: `
6740
7515
  <section
6741
7516
  class="vp-verdict"
6742
7517
  data-vp-verdict
@@ -6769,7 +7544,7 @@ class VpVerdictComponent {
6769
7544
  </section>
6770
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 }); }
6771
7546
  }
6772
- 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: [{
6773
7548
  type: Component,
6774
7549
  args: [{ selector: 'vp-verdict', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
6775
7550
  <section
@@ -6857,8 +7632,8 @@ class VpEngineResultComponent {
6857
7632
  return 'error';
6858
7633
  return this.detection ? 'detected' : 'clean';
6859
7634
  }
6860
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpEngineResultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6861
- 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: `
6862
7637
  <div class="vp-engine" data-vp-engine [attr.data-state]="state">
6863
7638
  <span class="vp-engine__name" data-vp-engine-name>{{ engine }}</span>
6864
7639
 
@@ -6881,7 +7656,7 @@ class VpEngineResultComponent {
6881
7656
  </div>
6882
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 }); }
6883
7658
  }
6884
- 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: [{
6885
7660
  type: Component,
6886
7661
  args: [{ selector: 'vp-engine-result', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpSeverityBadgeComponent], template: `
6887
7662
  <div class="vp-engine" data-vp-engine [attr.data-state]="state">
@@ -6960,8 +7735,8 @@ class VpDetectionRowComponent {
6960
7735
  get hasConfidence() {
6961
7736
  return this.confidence !== null && this.confidence !== undefined;
6962
7737
  }
6963
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpDetectionRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6964
- 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: `
6965
7740
  <div class="vp-detection" data-vp-detection>
6966
7741
  <div class="vp-detection__main">
6967
7742
  <span class="vp-detection__name" data-vp-detection-name>{{ name }}</span>
@@ -6994,7 +7769,7 @@ class VpDetectionRowComponent {
6994
7769
  </div>
6995
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 }); }
6996
7771
  }
6997
- 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: [{
6998
7773
  type: Component,
6999
7774
  args: [{ selector: 'vp-detection-row', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpSeverityBadgeComponent], template: `
7000
7775
  <div class="vp-detection" data-vp-detection>
@@ -7098,8 +7873,8 @@ class VpScanTimelineComponent {
7098
7873
  const seconds = ms / 1000;
7099
7874
  return seconds < 60 ? `${seconds.toFixed(1)} sn` : `${Math.floor(seconds / 60)} dk ${Math.round(seconds % 60)} sn`;
7100
7875
  }
7101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpScanTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7102
- 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: `
7103
7878
  <ol class="vp-timeline" data-vp-timeline [attr.aria-label]="label">
7104
7879
  @for (stage of stages; track stage.code) {
7105
7880
  <li
@@ -7126,7 +7901,7 @@ class VpScanTimelineComponent {
7126
7901
  </ol>
7127
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 }); }
7128
7903
  }
7129
- 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: [{
7130
7905
  type: Component,
7131
7906
  args: [{ selector: 'vp-scan-timeline', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
7132
7907
  <ol class="vp-timeline" data-vp-timeline [attr.aria-label]="label">
@@ -7764,10 +8539,10 @@ class VpAppKeyInterceptor {
7764
8539
  }
7765
8540
  return next.handle(req.clone({ setHeaders: { [APP_KEY_HEADER]: this.appKey } }));
7766
8541
  }
7767
- 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 }); }
7768
- 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 }); }
7769
8544
  }
7770
- 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: [{
7771
8546
  type: Injectable
7772
8547
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7773
8548
  type: Inject,
@@ -7794,10 +8569,10 @@ class VpCsrfInterceptor {
7794
8569
  }
7795
8570
  return next.handle(req.clone({ setHeaders: { 'X-CSRF-TOKEN': token } }));
7796
8571
  }
7797
- 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 }); }
7798
- 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 }); }
7799
8574
  }
7800
- 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: [{
7801
8576
  type: Injectable
7802
8577
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7803
8578
  type: Inject,
@@ -7821,10 +8596,10 @@ class VpAuthTokenInterceptor {
7821
8596
  }
7822
8597
  return next.handle(req.clone({ setHeaders: { Authorization: `Bearer ${token}` } }));
7823
8598
  }
7824
- 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 }); }
7825
- 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 }); }
7826
8601
  }
7827
- 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: [{
7828
8603
  type: Injectable
7829
8604
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7830
8605
  type: Inject,
@@ -7849,10 +8624,10 @@ class VpHttpIdsInterceptor {
7849
8624
  }
7850
8625
  }));
7851
8626
  }
7852
- 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 }); }
7853
- 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 }); }
7854
8629
  }
7855
- 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: [{
7856
8631
  type: Injectable
7857
8632
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7858
8633
  type: Inject,
@@ -7881,10 +8656,10 @@ class VpMaintenanceInterceptor {
7881
8656
  return throwError(() => error);
7882
8657
  }));
7883
8658
  }
7884
- 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 }); }
7885
- 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 }); }
7886
8661
  }
7887
- 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: [{
7888
8663
  type: Injectable
7889
8664
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7890
8665
  type: Inject,
@@ -7915,10 +8690,10 @@ class VpWithCredentialsInterceptor {
7915
8690
  }
7916
8691
  return next.handle(req.clone({ withCredentials: true }));
7917
8692
  }
7918
- 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 }); }
7919
- 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 }); }
7920
8695
  }
7921
- 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: [{
7922
8697
  type: Injectable
7923
8698
  }], ctorParameters: () => [{ type: undefined, decorators: [{
7924
8699
  type: Inject,
@@ -8150,10 +8925,10 @@ class VpCaptchaInterceptor {
8150
8925
  return next.handle(req);
8151
8926
  return next.handle(req.clone({ setHeaders: { [CAPTCHA_HEADER]: token } }));
8152
8927
  }
8153
- 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 }); }
8154
- 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 }); }
8155
8930
  }
8156
- 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: [{
8157
8932
  type: Injectable
8158
8933
  }], ctorParameters: () => [{ type: undefined, decorators: [{
8159
8934
  type: Inject,
@@ -8178,10 +8953,10 @@ class VpAnonTokenInterceptor {
8178
8953
  return next.handle(req);
8179
8954
  return next.handle(req.clone({ setHeaders: { Authorization: `Bearer ${token}` } }));
8180
8955
  }
8181
- 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 }); }
8182
- 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 }); }
8183
8958
  }
8184
- 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: [{
8185
8960
  type: Injectable
8186
8961
  }], ctorParameters: () => [{ type: undefined, decorators: [{
8187
8962
  type: Inject,
@@ -8205,10 +8980,10 @@ class VpShareTokenInterceptor {
8205
8980
  return next.handle(req);
8206
8981
  return next.handle(req.clone({ headers: req.headers.set('Authorization', `Bearer ${token}`) }));
8207
8982
  }
8208
- 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 }); }
8209
- 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 }); }
8210
8985
  }
8211
- 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: [{
8212
8987
  type: Injectable
8213
8988
  }], ctorParameters: () => [{ type: undefined, decorators: [{
8214
8989
  type: Inject,
@@ -8917,10 +9692,10 @@ class VpDeepHealthService {
8917
9692
  return of({ state, components: [] });
8918
9693
  }));
8919
9694
  }
8920
- 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 }); }
8921
- 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' }); }
8922
9697
  }
8923
- 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: [{
8924
9699
  type: Injectable,
8925
9700
  args: [{ providedIn: 'root' }]
8926
9701
  }], ctorParameters: () => [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
@@ -8993,8 +9768,8 @@ class VpButtonComponent {
8993
9768
  this.external = false;
8994
9769
  this.pressed = new EventEmitter();
8995
9770
  }
8996
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8997
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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: `
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: `
8998
9773
  @if (routerLink !== null) {
8999
9774
  <a
9000
9775
  class="vp-button"
@@ -9040,7 +9815,7 @@ class VpButtonComponent {
9040
9815
  </ng-template>
9041
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 }); }
9042
9817
  }
9043
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VpButtonComponent, decorators: [{
9818
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpButtonComponent, decorators: [{
9044
9819
  type: Component,
9045
9820
  args: [{ selector: 'vp-button', standalone: true, imports: [NgTemplateOutlet, RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: `
9046
9821
  @if (routerLink !== null) {
@@ -9120,5 +9895,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
9120
9895
  * Generated bundle index. Do not edit.
9121
9896
  */
9122
9897
 
9123
- 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_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, 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 };
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 };
9124
9899
  //# sourceMappingURL=virusis-angular-ui.mjs.map