@virusis/angular-ui 0.2.1 → 0.2.3

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.
@@ -639,120 +639,120 @@ class VpAppealFormComponent {
639
639
  });
640
640
  }
641
641
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAppealFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
642
- 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: `
643
- @if (submitted) {
644
- <div class="vp-appeal vp-appeal--done" data-vp-appeal-done role="status" aria-live="polite">
645
- <p class="vp-appeal__title">{{ successTitle }}</p>
646
- <p class="vp-appeal__note">{{ successNote }}</p>
647
- <p class="vp-appeal__ref">
648
- {{ referenceLabel }}: <code data-vp-appeal-done-ref>{{ referenceCode }}</code>
649
- </p>
650
- </div>
651
- } @else {
652
- <form class="vp-appeal" data-vp-appeal (submit)="onSubmit($event)">
653
- <p class="vp-appeal__ref">
654
- {{ referenceLabel }}: <code data-vp-appeal-ref>{{ referenceCode }}</code>
655
- </p>
656
-
657
- <label class="vp-appeal__field">
658
- <span class="vp-appeal__label">{{ reasonLabel }}</span>
659
- <textarea
660
- data-vp-appeal-reason
661
- rows="4"
662
- [attr.aria-describedby]="reasonHint ? hintId : null"
663
- [attr.aria-invalid]="showEmptyError ? 'true' : null"
664
- [value]="reason"
665
- [disabled]="submitting"
666
- (input)="reason = asValue($event)"></textarea>
667
- @if (reasonHint) {
668
- <span class="vp-appeal__hint" [id]="hintId">{{ reasonHint }}</span>
669
- }
670
- </label>
671
-
672
- <label class="vp-appeal__field">
673
- <span class="vp-appeal__label">{{ contactLabel }}</span>
674
- <input
675
- type="email"
676
- data-vp-appeal-contact
677
- [value]="contact"
678
- [disabled]="submitting"
679
- (input)="contact = asValue($event)" />
680
- </label>
681
-
682
- @if (showEmptyError) {
683
- <p class="vp-appeal__error" data-vp-appeal-error role="alert">{{ emptyReasonError }}</p>
684
- }
685
-
686
- @if (error) {
687
- <p class="vp-appeal__error" data-vp-appeal-submit-error role="alert">{{ error }}</p>
688
- }
689
-
690
- <button
691
- type="submit"
692
- class="vp-appeal__submit"
693
- data-vp-appeal-submit
694
- [disabled]="submitting">{{ submitting ? submittingLabel : submitLabel }}</button>
695
- </form>
696
- }
642
+ 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: `
643
+ @if (submitted) {
644
+ <div class="vp-appeal vp-appeal--done" data-vp-appeal-done role="status" aria-live="polite">
645
+ <p class="vp-appeal__title">{{ successTitle }}</p>
646
+ <p class="vp-appeal__note">{{ successNote }}</p>
647
+ <p class="vp-appeal__ref">
648
+ {{ referenceLabel }}: <code data-vp-appeal-done-ref>{{ referenceCode }}</code>
649
+ </p>
650
+ </div>
651
+ } @else {
652
+ <form class="vp-appeal" data-vp-appeal (submit)="onSubmit($event)">
653
+ <p class="vp-appeal__ref">
654
+ {{ referenceLabel }}: <code data-vp-appeal-ref>{{ referenceCode }}</code>
655
+ </p>
656
+
657
+ <label class="vp-appeal__field">
658
+ <span class="vp-appeal__label">{{ reasonLabel }}</span>
659
+ <textarea
660
+ data-vp-appeal-reason
661
+ rows="4"
662
+ [attr.aria-describedby]="reasonHint ? hintId : null"
663
+ [attr.aria-invalid]="showEmptyError ? 'true' : null"
664
+ [value]="reason"
665
+ [disabled]="submitting"
666
+ (input)="reason = asValue($event)"></textarea>
667
+ @if (reasonHint) {
668
+ <span class="vp-appeal__hint" [id]="hintId">{{ reasonHint }}</span>
669
+ }
670
+ </label>
671
+
672
+ <label class="vp-appeal__field">
673
+ <span class="vp-appeal__label">{{ contactLabel }}</span>
674
+ <input
675
+ type="email"
676
+ data-vp-appeal-contact
677
+ [value]="contact"
678
+ [disabled]="submitting"
679
+ (input)="contact = asValue($event)" />
680
+ </label>
681
+
682
+ @if (showEmptyError) {
683
+ <p class="vp-appeal__error" data-vp-appeal-error role="alert">{{ emptyReasonError }}</p>
684
+ }
685
+
686
+ @if (error) {
687
+ <p class="vp-appeal__error" data-vp-appeal-submit-error role="alert">{{ error }}</p>
688
+ }
689
+
690
+ <button
691
+ type="submit"
692
+ class="vp-appeal__submit"
693
+ data-vp-appeal-submit
694
+ [disabled]="submitting">{{ submitting ? submittingLabel : submitLabel }}</button>
695
+ </form>
696
+ }
697
697
  `, 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 }); }
698
698
  }
699
699
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpAppealFormComponent, decorators: [{
700
700
  type: Component,
701
- args: [{ selector: 'vp-appeal-form', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
702
- @if (submitted) {
703
- <div class="vp-appeal vp-appeal--done" data-vp-appeal-done role="status" aria-live="polite">
704
- <p class="vp-appeal__title">{{ successTitle }}</p>
705
- <p class="vp-appeal__note">{{ successNote }}</p>
706
- <p class="vp-appeal__ref">
707
- {{ referenceLabel }}: <code data-vp-appeal-done-ref>{{ referenceCode }}</code>
708
- </p>
709
- </div>
710
- } @else {
711
- <form class="vp-appeal" data-vp-appeal (submit)="onSubmit($event)">
712
- <p class="vp-appeal__ref">
713
- {{ referenceLabel }}: <code data-vp-appeal-ref>{{ referenceCode }}</code>
714
- </p>
715
-
716
- <label class="vp-appeal__field">
717
- <span class="vp-appeal__label">{{ reasonLabel }}</span>
718
- <textarea
719
- data-vp-appeal-reason
720
- rows="4"
721
- [attr.aria-describedby]="reasonHint ? hintId : null"
722
- [attr.aria-invalid]="showEmptyError ? 'true' : null"
723
- [value]="reason"
724
- [disabled]="submitting"
725
- (input)="reason = asValue($event)"></textarea>
726
- @if (reasonHint) {
727
- <span class="vp-appeal__hint" [id]="hintId">{{ reasonHint }}</span>
728
- }
729
- </label>
730
-
731
- <label class="vp-appeal__field">
732
- <span class="vp-appeal__label">{{ contactLabel }}</span>
733
- <input
734
- type="email"
735
- data-vp-appeal-contact
736
- [value]="contact"
737
- [disabled]="submitting"
738
- (input)="contact = asValue($event)" />
739
- </label>
740
-
741
- @if (showEmptyError) {
742
- <p class="vp-appeal__error" data-vp-appeal-error role="alert">{{ emptyReasonError }}</p>
743
- }
744
-
745
- @if (error) {
746
- <p class="vp-appeal__error" data-vp-appeal-submit-error role="alert">{{ error }}</p>
747
- }
748
-
749
- <button
750
- type="submit"
751
- class="vp-appeal__submit"
752
- data-vp-appeal-submit
753
- [disabled]="submitting">{{ submitting ? submittingLabel : submitLabel }}</button>
754
- </form>
755
- }
701
+ args: [{ selector: 'vp-appeal-form', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
702
+ @if (submitted) {
703
+ <div class="vp-appeal vp-appeal--done" data-vp-appeal-done role="status" aria-live="polite">
704
+ <p class="vp-appeal__title">{{ successTitle }}</p>
705
+ <p class="vp-appeal__note">{{ successNote }}</p>
706
+ <p class="vp-appeal__ref">
707
+ {{ referenceLabel }}: <code data-vp-appeal-done-ref>{{ referenceCode }}</code>
708
+ </p>
709
+ </div>
710
+ } @else {
711
+ <form class="vp-appeal" data-vp-appeal (submit)="onSubmit($event)">
712
+ <p class="vp-appeal__ref">
713
+ {{ referenceLabel }}: <code data-vp-appeal-ref>{{ referenceCode }}</code>
714
+ </p>
715
+
716
+ <label class="vp-appeal__field">
717
+ <span class="vp-appeal__label">{{ reasonLabel }}</span>
718
+ <textarea
719
+ data-vp-appeal-reason
720
+ rows="4"
721
+ [attr.aria-describedby]="reasonHint ? hintId : null"
722
+ [attr.aria-invalid]="showEmptyError ? 'true' : null"
723
+ [value]="reason"
724
+ [disabled]="submitting"
725
+ (input)="reason = asValue($event)"></textarea>
726
+ @if (reasonHint) {
727
+ <span class="vp-appeal__hint" [id]="hintId">{{ reasonHint }}</span>
728
+ }
729
+ </label>
730
+
731
+ <label class="vp-appeal__field">
732
+ <span class="vp-appeal__label">{{ contactLabel }}</span>
733
+ <input
734
+ type="email"
735
+ data-vp-appeal-contact
736
+ [value]="contact"
737
+ [disabled]="submitting"
738
+ (input)="contact = asValue($event)" />
739
+ </label>
740
+
741
+ @if (showEmptyError) {
742
+ <p class="vp-appeal__error" data-vp-appeal-error role="alert">{{ emptyReasonError }}</p>
743
+ }
744
+
745
+ @if (error) {
746
+ <p class="vp-appeal__error" data-vp-appeal-submit-error role="alert">{{ error }}</p>
747
+ }
748
+
749
+ <button
750
+ type="submit"
751
+ class="vp-appeal__submit"
752
+ data-vp-appeal-submit
753
+ [disabled]="submitting">{{ submitting ? submittingLabel : submitLabel }}</button>
754
+ </form>
755
+ }
756
756
  `, 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"] }]
757
757
  }], propDecorators: { referenceCode: [{
758
758
  type: Input,
@@ -1041,6 +1041,8 @@ class VpShellComponent {
1041
1041
  */
1042
1042
  this.menuMode = 'static';
1043
1043
  this.collapsedChange = new EventEmitter();
1044
+ /** Kota kartindaki eylem (`quota.action`, ornegin "Yukselt") tiklandi; hedefe konsol gider - kabuk Router bilmiyor. */
1045
+ this.quotaAction = new EventEmitter();
1044
1046
  /** Dil secenekleri - bos birakilirsa denetim cizilmiyor. */
1045
1047
  this.languages = [];
1046
1048
  this.languageLabel = 'Dil';
@@ -1136,383 +1138,405 @@ class VpShellComponent {
1136
1138
  });
1137
1139
  }
1138
1140
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1139
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpShellComponent, isStandalone: true, selector: "vp-shell", inputs: { sidebarId: "sidebarId", layout: "layout", 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()" }, properties: { "attr.data-vp-layout": "layout" } }, viewQueries: [{ propertyName: "sidebarRef", first: true, predicate: ["sidebar"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
1140
- <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1141
- Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1142
- <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1143
-
1144
- <!--
1145
- Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1146
- cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1147
- -->
1148
- @if (layout === 'topbar' || overlay()) {
1149
- <header class="vp-shell__topbar">
1150
- <!--
1151
- 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1152
- Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1153
- bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1154
- vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1155
- iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1156
- garanti ettigi bir dugme olmali.
1157
-
1158
- Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1159
- ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1160
- -->
1161
- @if (overlay()) {
1162
- <button
1163
- type="button"
1164
- class="vp-shell__drawer-toggle"
1165
- data-vp-drawer-toggle
1166
- [attr.aria-controls]="sidebarId"
1167
- [attr.aria-expanded]="!collapsed"
1168
- [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1169
- (click)="toggleDrawer()">
1170
- <span class="vp-shell__burger" aria-hidden="true"></span>
1171
- </button>
1172
- }
1173
- <ng-content select="[topbar]" />
1174
- </header>
1175
- }
1176
-
1177
- <div class="vp-shell__body">
1178
- <!--
1179
- id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1180
- ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1181
- aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1182
- icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1183
- -->
1184
- <aside
1185
- #sidebar
1186
- [id]="sidebarId"
1187
- class="vp-shell__sidebar"
1188
- [attr.data-collapsed]="collapsed || null"
1189
- [attr.data-overlay]="overlay() || null"
1190
- [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1191
- [attr.inert]="overlay() && collapsed ? '' : null">
1192
- <!--
1193
- Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1194
- sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1195
- ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1196
- -->
1197
- <!--
1198
- Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1199
- kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1200
- -->
1201
- <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1202
-
1203
- <div class="vp-shell__sidebar-scroll">
1204
- <ng-content select="[sidebar]" />
1205
- </div>
1206
-
1207
- <!--
1208
- Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1209
- (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1210
- Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1211
- -->
1212
- <div class="vp-shell__sidebar-foot">
1213
- <ng-content select="[sidebarFoot]" />
1214
- @if (quota) {
1215
- <!--
1216
- B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1217
- Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1218
- kabugun kuralina uyuyor.
1219
-
1220
- Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1221
- basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1222
- demektir.
1223
- -->
1224
- <div
1225
- class="vp-shell__quota"
1226
- data-vp-quota
1227
- [attr.data-vp-quota-level]="quotaLevel"
1228
- [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1229
- [attr.title]="collapsed ? quotaText : null">
1230
- <div class="vp-shell__quota-head">
1231
- <span class="vp-shell__quota-label">{{ quota.label }}</span>
1232
- <span class="vp-shell__quota-value">{{ quotaText }}</span>
1233
- </div>
1234
- <!--
1235
- Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1236
- aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1237
- kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1238
- -->
1239
- <div
1240
- class="vp-shell__quota-bar"
1241
- role="progressbar"
1242
- aria-valuemin="0"
1243
- aria-valuemax="100"
1244
- [attr.aria-valuenow]="quotaPercent"
1245
- [attr.aria-valuetext]="quotaText"
1246
- [attr.aria-label]="quota.label">
1247
- @if (quotaSegments.length) {
1248
- @for (segment of quotaSegments; track segment.label) {
1249
- <span
1250
- class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1251
- data-vp-quota-segment
1252
- [attr.data-vp-quota-segment-label]="segment.label"
1253
- [attr.title]="segment.title"
1254
- [style.inline-size.%]="segment.percent"
1255
- [style.background]="segment.color"></span>
1256
- }
1257
- } @else {
1258
- <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1259
- }
1260
- </div>
1261
- @if (quota.hint && !collapsed) {
1262
- <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1263
- }
1264
- </div>
1265
- }
1266
-
1267
- @if (languages.length) {
1268
- <!--
1269
- B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1270
- Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1271
- ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1272
- document.lang yazarsa dil mantigi iki yere bolunur.
1273
- -->
1274
- <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1275
- @for (option of languages; track option.code) {
1276
- <button
1277
- type="button"
1278
- class="vp-shell__lang-option"
1279
- data-vp-lang-option
1280
- [attr.data-vp-lang-code]="option.code"
1281
- [attr.aria-pressed]="option.code === language"
1282
- [attr.title]="option.label"
1283
- (click)="languageChange.emit(option.code)">
1284
- {{ collapsed ? option.code.toUpperCase() : option.label }}
1285
- </button>
1286
- }
1287
- </div>
1288
- }
1289
- <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1290
- <ng-content select="[sidebarFootEnd]" />
1291
- </div>
1292
- </aside>
1293
-
1294
- @if (overlay() && !collapsed) {
1295
- <!--
1296
- 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1297
- Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1298
- tiklamalari sessizce yutardi.
1299
-
1300
- ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1301
- duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1302
- vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1303
- -->
1304
- <div
1305
- class="vp-shell__mask"
1306
- data-vp-shell-mask
1307
- data-vp-scrim
1308
- aria-hidden="true"
1309
- (click)="collapsedChange.emit(true)"></div>
1310
- }
1311
-
1312
- <main id="vp-main" class="vp-shell__main" tabindex="-1">
1313
- <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1314
- <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1315
- <ng-content />
1316
- </main>
1317
- </div>
1318
-
1319
- <!--
1320
- Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1321
- main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1322
- contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1323
- -->
1324
- <ng-content select="[footer]" />
1325
- `, 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__sidebar-foot:empty{display:none}.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}}.vp-shell__sidebar-head:empty,.vp-shell__crumbs:empty{display:none}.vp-shell__sidebar-head{display:flex;flex-direction:column;gap:12px;padding:14px 12px 0}.vp-shell__crumbs{display:flex;align-items:center;gap:8px;margin-bottom:6px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar:not([data-overlay]){position:sticky;top:0;align-self:flex-start;height:100dvh}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-scroll{padding-top:12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay][data-collapsed]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__main{padding:18px 24px 44px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__topbar{height:52px;gap:10px;padding-inline:10px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-foot{gap:2px;padding:8px 12px 12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota{display:grid;gap:7px;margin-block:4px;padding:9px 10px;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-head{margin-bottom:0;font-size:var(--vp-text-sm)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-value{font-family:var(--vp-font-mono)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-bar{background:var(--vp-surface-sunken)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-fill{background:var(--vp-brand-line)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-hint{margin:0}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-head{padding:14px 9px;align-items:center}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-scroll{border-top:1px solid var(--vp-border-subtle);padding-top:9px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__quota{padding:7px 5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1141
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpShellComponent, isStandalone: true, selector: "vp-shell", inputs: { sidebarId: "sidebarId", layout: "layout", menuMode: "menuMode", quota: "quota", languages: "languages", language: "language", languageLabel: "languageLabel", menuOpenLabel: "menuOpenLabel", menuCloseLabel: "menuCloseLabel", collapsed: "collapsed", skipLabel: "skipLabel" }, outputs: { collapsedChange: "collapsedChange", quotaAction: "quotaAction", languageChange: "languageChange" }, host: { listeners: { "document:keydown.escape": "onEscape()" }, properties: { "attr.data-vp-layout": "layout" } }, viewQueries: [{ propertyName: "sidebarRef", first: true, predicate: ["sidebar"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
1142
+ <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1143
+ Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1144
+ <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1145
+
1146
+ <!--
1147
+ Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1148
+ cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1149
+ -->
1150
+ @if (layout === 'topbar' || overlay()) {
1151
+ <header class="vp-shell__topbar">
1152
+ <!--
1153
+ 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1154
+ Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1155
+ bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1156
+ vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1157
+ iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1158
+ garanti ettigi bir dugme olmali.
1159
+
1160
+ Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1161
+ ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1162
+ -->
1163
+ @if (overlay()) {
1164
+ <button
1165
+ type="button"
1166
+ class="vp-shell__drawer-toggle"
1167
+ data-vp-drawer-toggle
1168
+ [attr.aria-controls]="sidebarId"
1169
+ [attr.aria-expanded]="!collapsed"
1170
+ [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1171
+ (click)="toggleDrawer()">
1172
+ <span class="vp-shell__burger" aria-hidden="true"></span>
1173
+ </button>
1174
+ }
1175
+ <ng-content select="[topbar]" />
1176
+ </header>
1177
+ }
1178
+
1179
+ <div class="vp-shell__body">
1180
+ <!--
1181
+ id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1182
+ ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1183
+ aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1184
+ icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1185
+ -->
1186
+ <aside
1187
+ #sidebar
1188
+ [id]="sidebarId"
1189
+ class="vp-shell__sidebar"
1190
+ [attr.data-collapsed]="collapsed || null"
1191
+ [attr.data-overlay]="overlay() || null"
1192
+ [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1193
+ [attr.inert]="overlay() && collapsed ? '' : null">
1194
+ <!--
1195
+ Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1196
+ sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1197
+ ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1198
+ -->
1199
+ <!--
1200
+ Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1201
+ kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1202
+ -->
1203
+ <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1204
+
1205
+ <div class="vp-shell__sidebar-scroll">
1206
+ <ng-content select="[sidebar]" />
1207
+ </div>
1208
+
1209
+ <!--
1210
+ Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1211
+ (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1212
+ Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1213
+ -->
1214
+ <div class="vp-shell__sidebar-foot">
1215
+ <ng-content select="[sidebarFoot]" />
1216
+ @if (quota) {
1217
+ <!--
1218
+ B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1219
+ Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1220
+ kabugun kuralina uyuyor.
1221
+
1222
+ Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1223
+ basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1224
+ demektir.
1225
+ -->
1226
+ <div
1227
+ class="vp-shell__quota"
1228
+ data-vp-quota
1229
+ [attr.data-vp-quota-level]="quotaLevel"
1230
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1231
+ [attr.title]="collapsed ? quotaText : null">
1232
+ <div class="vp-shell__quota-head">
1233
+ <span class="vp-shell__quota-label">{{ quota.label }}</span>
1234
+ <span class="vp-shell__quota-value">{{ quotaText }}</span>
1235
+ </div>
1236
+ <!--
1237
+ Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1238
+ aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1239
+ kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1240
+ -->
1241
+ <div
1242
+ class="vp-shell__quota-bar"
1243
+ role="progressbar"
1244
+ aria-valuemin="0"
1245
+ aria-valuemax="100"
1246
+ [attr.aria-valuenow]="quotaPercent"
1247
+ [attr.aria-valuetext]="quotaText"
1248
+ [attr.aria-label]="quota.label">
1249
+ @if (quotaSegments.length) {
1250
+ @for (segment of quotaSegments; track segment.label) {
1251
+ <span
1252
+ class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1253
+ data-vp-quota-segment
1254
+ [attr.data-vp-quota-segment-label]="segment.label"
1255
+ [attr.title]="segment.title"
1256
+ [style.inline-size.%]="segment.percent"
1257
+ [style.background]="segment.color"></span>
1258
+ }
1259
+ } @else {
1260
+ <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1261
+ }
1262
+ </div>
1263
+ @if ((quota.hint || quota.action) && !collapsed) {
1264
+ <div class="vp-shell__quota-foot">
1265
+ @if (quota.hint) {
1266
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1267
+ }
1268
+ @if (quota.action) {
1269
+ <button
1270
+ type="button"
1271
+ class="vp-shell__quota-action"
1272
+ data-vp-quota-action
1273
+ (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1274
+ }
1275
+ </div>
1276
+ }
1277
+ </div>
1278
+ }
1279
+
1280
+ @if (languages.length) {
1281
+ <!--
1282
+ B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1283
+ Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1284
+ ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1285
+ document.lang yazarsa dil mantigi iki yere bolunur.
1286
+ -->
1287
+ <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1288
+ @for (option of languages; track option.code) {
1289
+ <button
1290
+ type="button"
1291
+ class="vp-shell__lang-option"
1292
+ data-vp-lang-option
1293
+ [attr.data-vp-lang-code]="option.code"
1294
+ [attr.aria-pressed]="option.code === language"
1295
+ [attr.title]="option.label"
1296
+ (click)="languageChange.emit(option.code)">
1297
+ {{ collapsed ? option.code.toUpperCase() : option.label }}
1298
+ </button>
1299
+ }
1300
+ </div>
1301
+ }
1302
+ <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1303
+ <ng-content select="[sidebarFootEnd]" />
1304
+ </div>
1305
+ </aside>
1306
+
1307
+ @if (overlay() && !collapsed) {
1308
+ <!--
1309
+ 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1310
+ Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1311
+ tiklamalari sessizce yutardi.
1312
+
1313
+ ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1314
+ duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1315
+ vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1316
+ -->
1317
+ <div
1318
+ class="vp-shell__mask"
1319
+ data-vp-shell-mask
1320
+ data-vp-scrim
1321
+ aria-hidden="true"
1322
+ (click)="collapsedChange.emit(true)"></div>
1323
+ }
1324
+
1325
+ <main id="vp-main" class="vp-shell__main" tabindex="-1">
1326
+ <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1327
+ <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1328
+ <ng-content />
1329
+ </main>
1330
+ </div>
1331
+
1332
+ <!--
1333
+ Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1334
+ main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1335
+ contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1336
+ -->
1337
+ <ng-content select="[footer]" />
1338
+ `, 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__sidebar-foot:empty{display:none}.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-foot{display:flex;align-items:center;gap:var(--vp-space-2)}.vp-shell__quota-action{margin-inline-start:auto;padding:0;border:0;background:none;color:var(--vp-brand-line);font:inherit;font-size:var(--vp-text-xs);text-decoration:underline;text-underline-offset:2px;cursor:pointer}.vp-shell__quota-action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.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}}.vp-shell__sidebar-head:empty,.vp-shell__crumbs:empty{display:none}.vp-shell__sidebar-head{display:flex;flex-direction:column;gap:12px;padding:14px 12px 0}.vp-shell__crumbs{display:flex;align-items:center;gap:8px;margin-bottom:6px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar:not([data-overlay]){position:sticky;top:0;align-self:flex-start;height:100dvh}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-scroll{padding-top:12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay][data-collapsed]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__main{padding:18px 24px 44px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__topbar{height:52px;gap:10px;padding-inline:10px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-foot{gap:2px;padding:8px 12px 12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota{display:grid;gap:7px;margin-block:4px;padding:9px 10px;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-head{margin-bottom:0;font-size:var(--vp-text-sm)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-value{font-family:var(--vp-font-mono)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-bar{background:var(--vp-surface-sunken)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-fill{background:var(--vp-brand-line)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-hint{margin:0}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-head{padding:14px 9px;align-items:center}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-scroll{border-top:1px solid var(--vp-border-subtle);padding-top:9px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__quota{padding:7px 5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1326
1339
  }
1327
1340
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, decorators: [{
1328
1341
  type: Component,
1329
- args: [{ selector: 'vp-shell', standalone: true, host: { '[attr.data-vp-layout]': 'layout' }, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1330
- <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1331
- Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1332
- <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1333
-
1334
- <!--
1335
- Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1336
- cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1337
- -->
1338
- @if (layout === 'topbar' || overlay()) {
1339
- <header class="vp-shell__topbar">
1340
- <!--
1341
- 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1342
- Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1343
- bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1344
- vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1345
- iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1346
- garanti ettigi bir dugme olmali.
1347
-
1348
- Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1349
- ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1350
- -->
1351
- @if (overlay()) {
1352
- <button
1353
- type="button"
1354
- class="vp-shell__drawer-toggle"
1355
- data-vp-drawer-toggle
1356
- [attr.aria-controls]="sidebarId"
1357
- [attr.aria-expanded]="!collapsed"
1358
- [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1359
- (click)="toggleDrawer()">
1360
- <span class="vp-shell__burger" aria-hidden="true"></span>
1361
- </button>
1362
- }
1363
- <ng-content select="[topbar]" />
1364
- </header>
1365
- }
1366
-
1367
- <div class="vp-shell__body">
1368
- <!--
1369
- id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1370
- ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1371
- aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1372
- icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1373
- -->
1374
- <aside
1375
- #sidebar
1376
- [id]="sidebarId"
1377
- class="vp-shell__sidebar"
1378
- [attr.data-collapsed]="collapsed || null"
1379
- [attr.data-overlay]="overlay() || null"
1380
- [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1381
- [attr.inert]="overlay() && collapsed ? '' : null">
1382
- <!--
1383
- Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1384
- sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1385
- ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1386
- -->
1387
- <!--
1388
- Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1389
- kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1390
- -->
1391
- <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1392
-
1393
- <div class="vp-shell__sidebar-scroll">
1394
- <ng-content select="[sidebar]" />
1395
- </div>
1396
-
1397
- <!--
1398
- Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1399
- (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1400
- Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1401
- -->
1402
- <div class="vp-shell__sidebar-foot">
1403
- <ng-content select="[sidebarFoot]" />
1404
- @if (quota) {
1405
- <!--
1406
- B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1407
- Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1408
- kabugun kuralina uyuyor.
1409
-
1410
- Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1411
- basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1412
- demektir.
1413
- -->
1414
- <div
1415
- class="vp-shell__quota"
1416
- data-vp-quota
1417
- [attr.data-vp-quota-level]="quotaLevel"
1418
- [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1419
- [attr.title]="collapsed ? quotaText : null">
1420
- <div class="vp-shell__quota-head">
1421
- <span class="vp-shell__quota-label">{{ quota.label }}</span>
1422
- <span class="vp-shell__quota-value">{{ quotaText }}</span>
1423
- </div>
1424
- <!--
1425
- Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1426
- aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1427
- kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1428
- -->
1429
- <div
1430
- class="vp-shell__quota-bar"
1431
- role="progressbar"
1432
- aria-valuemin="0"
1433
- aria-valuemax="100"
1434
- [attr.aria-valuenow]="quotaPercent"
1435
- [attr.aria-valuetext]="quotaText"
1436
- [attr.aria-label]="quota.label">
1437
- @if (quotaSegments.length) {
1438
- @for (segment of quotaSegments; track segment.label) {
1439
- <span
1440
- class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1441
- data-vp-quota-segment
1442
- [attr.data-vp-quota-segment-label]="segment.label"
1443
- [attr.title]="segment.title"
1444
- [style.inline-size.%]="segment.percent"
1445
- [style.background]="segment.color"></span>
1446
- }
1447
- } @else {
1448
- <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1449
- }
1450
- </div>
1451
- @if (quota.hint && !collapsed) {
1452
- <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1453
- }
1454
- </div>
1455
- }
1456
-
1457
- @if (languages.length) {
1458
- <!--
1459
- B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1460
- Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1461
- ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1462
- document.lang yazarsa dil mantigi iki yere bolunur.
1463
- -->
1464
- <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1465
- @for (option of languages; track option.code) {
1466
- <button
1467
- type="button"
1468
- class="vp-shell__lang-option"
1469
- data-vp-lang-option
1470
- [attr.data-vp-lang-code]="option.code"
1471
- [attr.aria-pressed]="option.code === language"
1472
- [attr.title]="option.label"
1473
- (click)="languageChange.emit(option.code)">
1474
- {{ collapsed ? option.code.toUpperCase() : option.label }}
1475
- </button>
1476
- }
1477
- </div>
1478
- }
1479
- <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1480
- <ng-content select="[sidebarFootEnd]" />
1481
- </div>
1482
- </aside>
1483
-
1484
- @if (overlay() && !collapsed) {
1485
- <!--
1486
- 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1487
- Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1488
- tiklamalari sessizce yutardi.
1489
-
1490
- ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1491
- duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1492
- vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1493
- -->
1494
- <div
1495
- class="vp-shell__mask"
1496
- data-vp-shell-mask
1497
- data-vp-scrim
1498
- aria-hidden="true"
1499
- (click)="collapsedChange.emit(true)"></div>
1500
- }
1501
-
1502
- <main id="vp-main" class="vp-shell__main" tabindex="-1">
1503
- <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1504
- <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1505
- <ng-content />
1506
- </main>
1507
- </div>
1508
-
1509
- <!--
1510
- Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1511
- main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1512
- contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1513
- -->
1514
- <ng-content select="[footer]" />
1515
- `, 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__sidebar-foot:empty{display:none}.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}}.vp-shell__sidebar-head:empty,.vp-shell__crumbs:empty{display:none}.vp-shell__sidebar-head{display:flex;flex-direction:column;gap:12px;padding:14px 12px 0}.vp-shell__crumbs{display:flex;align-items:center;gap:8px;margin-bottom:6px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar:not([data-overlay]){position:sticky;top:0;align-self:flex-start;height:100dvh}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-scroll{padding-top:12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay][data-collapsed]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__main{padding:18px 24px 44px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__topbar{height:52px;gap:10px;padding-inline:10px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-foot{gap:2px;padding:8px 12px 12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota{display:grid;gap:7px;margin-block:4px;padding:9px 10px;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-head{margin-bottom:0;font-size:var(--vp-text-sm)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-value{font-family:var(--vp-font-mono)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-bar{background:var(--vp-surface-sunken)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-fill{background:var(--vp-brand-line)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-hint{margin:0}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-head{padding:14px 9px;align-items:center}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-scroll{border-top:1px solid var(--vp-border-subtle);padding-top:9px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__quota{padding:7px 5px}\n"] }]
1342
+ args: [{ selector: 'vp-shell', standalone: true, host: { '[attr.data-vp-layout]': 'layout' }, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1343
+ <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1344
+ Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1345
+ <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1346
+
1347
+ <!--
1348
+ Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1349
+ cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1350
+ -->
1351
+ @if (layout === 'topbar' || overlay()) {
1352
+ <header class="vp-shell__topbar">
1353
+ <!--
1354
+ 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1355
+ Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1356
+ bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1357
+ vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1358
+ iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1359
+ garanti ettigi bir dugme olmali.
1360
+
1361
+ Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1362
+ ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1363
+ -->
1364
+ @if (overlay()) {
1365
+ <button
1366
+ type="button"
1367
+ class="vp-shell__drawer-toggle"
1368
+ data-vp-drawer-toggle
1369
+ [attr.aria-controls]="sidebarId"
1370
+ [attr.aria-expanded]="!collapsed"
1371
+ [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1372
+ (click)="toggleDrawer()">
1373
+ <span class="vp-shell__burger" aria-hidden="true"></span>
1374
+ </button>
1375
+ }
1376
+ <ng-content select="[topbar]" />
1377
+ </header>
1378
+ }
1379
+
1380
+ <div class="vp-shell__body">
1381
+ <!--
1382
+ id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1383
+ ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1384
+ aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1385
+ icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1386
+ -->
1387
+ <aside
1388
+ #sidebar
1389
+ [id]="sidebarId"
1390
+ class="vp-shell__sidebar"
1391
+ [attr.data-collapsed]="collapsed || null"
1392
+ [attr.data-overlay]="overlay() || null"
1393
+ [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1394
+ [attr.inert]="overlay() && collapsed ? '' : null">
1395
+ <!--
1396
+ Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1397
+ sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1398
+ ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1399
+ -->
1400
+ <!--
1401
+ Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1402
+ kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1403
+ -->
1404
+ <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1405
+
1406
+ <div class="vp-shell__sidebar-scroll">
1407
+ <ng-content select="[sidebar]" />
1408
+ </div>
1409
+
1410
+ <!--
1411
+ Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1412
+ (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1413
+ Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1414
+ -->
1415
+ <div class="vp-shell__sidebar-foot">
1416
+ <ng-content select="[sidebarFoot]" />
1417
+ @if (quota) {
1418
+ <!--
1419
+ B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1420
+ Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1421
+ kabugun kuralina uyuyor.
1422
+
1423
+ Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1424
+ basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1425
+ demektir.
1426
+ -->
1427
+ <div
1428
+ class="vp-shell__quota"
1429
+ data-vp-quota
1430
+ [attr.data-vp-quota-level]="quotaLevel"
1431
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1432
+ [attr.title]="collapsed ? quotaText : null">
1433
+ <div class="vp-shell__quota-head">
1434
+ <span class="vp-shell__quota-label">{{ quota.label }}</span>
1435
+ <span class="vp-shell__quota-value">{{ quotaText }}</span>
1436
+ </div>
1437
+ <!--
1438
+ Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1439
+ aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1440
+ kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1441
+ -->
1442
+ <div
1443
+ class="vp-shell__quota-bar"
1444
+ role="progressbar"
1445
+ aria-valuemin="0"
1446
+ aria-valuemax="100"
1447
+ [attr.aria-valuenow]="quotaPercent"
1448
+ [attr.aria-valuetext]="quotaText"
1449
+ [attr.aria-label]="quota.label">
1450
+ @if (quotaSegments.length) {
1451
+ @for (segment of quotaSegments; track segment.label) {
1452
+ <span
1453
+ class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1454
+ data-vp-quota-segment
1455
+ [attr.data-vp-quota-segment-label]="segment.label"
1456
+ [attr.title]="segment.title"
1457
+ [style.inline-size.%]="segment.percent"
1458
+ [style.background]="segment.color"></span>
1459
+ }
1460
+ } @else {
1461
+ <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1462
+ }
1463
+ </div>
1464
+ @if ((quota.hint || quota.action) && !collapsed) {
1465
+ <div class="vp-shell__quota-foot">
1466
+ @if (quota.hint) {
1467
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1468
+ }
1469
+ @if (quota.action) {
1470
+ <button
1471
+ type="button"
1472
+ class="vp-shell__quota-action"
1473
+ data-vp-quota-action
1474
+ (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1475
+ }
1476
+ </div>
1477
+ }
1478
+ </div>
1479
+ }
1480
+
1481
+ @if (languages.length) {
1482
+ <!--
1483
+ B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1484
+ Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1485
+ ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1486
+ document.lang yazarsa dil mantigi iki yere bolunur.
1487
+ -->
1488
+ <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1489
+ @for (option of languages; track option.code) {
1490
+ <button
1491
+ type="button"
1492
+ class="vp-shell__lang-option"
1493
+ data-vp-lang-option
1494
+ [attr.data-vp-lang-code]="option.code"
1495
+ [attr.aria-pressed]="option.code === language"
1496
+ [attr.title]="option.label"
1497
+ (click)="languageChange.emit(option.code)">
1498
+ {{ collapsed ? option.code.toUpperCase() : option.label }}
1499
+ </button>
1500
+ }
1501
+ </div>
1502
+ }
1503
+ <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1504
+ <ng-content select="[sidebarFootEnd]" />
1505
+ </div>
1506
+ </aside>
1507
+
1508
+ @if (overlay() && !collapsed) {
1509
+ <!--
1510
+ 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1511
+ Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1512
+ tiklamalari sessizce yutardi.
1513
+
1514
+ ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1515
+ duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1516
+ vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1517
+ -->
1518
+ <div
1519
+ class="vp-shell__mask"
1520
+ data-vp-shell-mask
1521
+ data-vp-scrim
1522
+ aria-hidden="true"
1523
+ (click)="collapsedChange.emit(true)"></div>
1524
+ }
1525
+
1526
+ <main id="vp-main" class="vp-shell__main" tabindex="-1">
1527
+ <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1528
+ <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1529
+ <ng-content />
1530
+ </main>
1531
+ </div>
1532
+
1533
+ <!--
1534
+ Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1535
+ main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1536
+ contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1537
+ -->
1538
+ <ng-content select="[footer]" />
1539
+ `, 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__sidebar-foot:empty{display:none}.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-foot{display:flex;align-items:center;gap:var(--vp-space-2)}.vp-shell__quota-action{margin-inline-start:auto;padding:0;border:0;background:none;color:var(--vp-brand-line);font:inherit;font-size:var(--vp-text-xs);text-decoration:underline;text-underline-offset:2px;cursor:pointer}.vp-shell__quota-action:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.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}}.vp-shell__sidebar-head:empty,.vp-shell__crumbs:empty{display:none}.vp-shell__sidebar-head{display:flex;flex-direction:column;gap:12px;padding:14px 12px 0}.vp-shell__crumbs{display:flex;align-items:center;gap:8px;margin-bottom:6px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar:not([data-overlay]){position:sticky;top:0;align-self:flex-start;height:100dvh}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-scroll{padding-top:12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay][data-collapsed]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__main{padding:18px 24px 44px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__topbar{height:52px;gap:10px;padding-inline:10px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-foot{gap:2px;padding:8px 12px 12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota{display:grid;gap:7px;margin-block:4px;padding:9px 10px;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-head{margin-bottom:0;font-size:var(--vp-text-sm)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-value{font-family:var(--vp-font-mono)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-bar{background:var(--vp-surface-sunken)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-fill{background:var(--vp-brand-line)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-hint{margin:0}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-head{padding:14px 9px;align-items:center}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-scroll{border-top:1px solid var(--vp-border-subtle);padding-top:9px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__quota{padding:7px 5px}\n"] }]
1516
1540
  }], ctorParameters: () => [], propDecorators: { sidebarId: [{
1517
1541
  type: Input
1518
1542
  }], layout: [{
@@ -1521,6 +1545,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1521
1545
  type: Input
1522
1546
  }], collapsedChange: [{
1523
1547
  type: Output
1548
+ }], quotaAction: [{
1549
+ type: Output
1524
1550
  }], quota: [{
1525
1551
  type: Input
1526
1552
  }], languages: [{
@@ -1632,80 +1658,80 @@ class VpPageHeaderComponent {
1632
1658
  this.count = null;
1633
1659
  }
1634
1660
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1635
- 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: `
1636
- <div class="vp-page-header">
1637
- <div class="vp-page-header__bar">
1638
- <div class="vp-page-header__text">
1639
- <div class="vp-page-header__heading-row">
1640
- <h1 class="vp-page-header__heading">{{ heading }}</h1>
1641
- @if (count !== null && count !== undefined) {
1642
- <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1643
- }
1644
- <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1645
- <span class="vp-page-header__status" data-vp-status>
1646
- <ng-content select="[status]" />
1647
- </span>
1648
- </div>
1649
- @if (description) {
1650
- <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1651
- }
1652
- <!--
1653
- Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1654
- metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1655
- veri sayfa aciklamasi gibi okunurdu.
1656
- -->
1657
- <div class="vp-page-header__meta" data-vp-meta>
1658
- <ng-content select="[meta]" />
1659
- </div>
1660
- </div>
1661
- <div class="vp-page-header__actions">
1662
- <ng-content select="[actions]" />
1663
- </div>
1664
- </div>
1665
- <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1666
- <div class="vp-page-header__tabs" data-vp-tabs>
1667
- <ng-content select="[tabs]" />
1668
- </div>
1669
- </div>
1661
+ 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: `
1662
+ <div class="vp-page-header">
1663
+ <div class="vp-page-header__bar">
1664
+ <div class="vp-page-header__text">
1665
+ <div class="vp-page-header__heading-row">
1666
+ <h1 class="vp-page-header__heading">{{ heading }}</h1>
1667
+ @if (count !== null && count !== undefined) {
1668
+ <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1669
+ }
1670
+ <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1671
+ <span class="vp-page-header__status" data-vp-status>
1672
+ <ng-content select="[status]" />
1673
+ </span>
1674
+ </div>
1675
+ @if (description) {
1676
+ <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1677
+ }
1678
+ <!--
1679
+ Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1680
+ metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1681
+ veri sayfa aciklamasi gibi okunurdu.
1682
+ -->
1683
+ <div class="vp-page-header__meta" data-vp-meta>
1684
+ <ng-content select="[meta]" />
1685
+ </div>
1686
+ </div>
1687
+ <div class="vp-page-header__actions">
1688
+ <ng-content select="[actions]" />
1689
+ </div>
1690
+ </div>
1691
+ <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1692
+ <div class="vp-page-header__tabs" data-vp-tabs>
1693
+ <ng-content select="[tabs]" />
1694
+ </div>
1695
+ </div>
1670
1696
  `, 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-title);font-weight:var(--vp-weight-semibold);letter-spacing:-.01em;line-height:var(--vp-leading-tight);color:var(--vp-text-primary);text-wrap:balance}.vp-page-header__count{color:var(--vp-text-muted);font-family:var(--vp-font-mono);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-page-header__description{margin:2px 0 0;color:var(--vp-text-secondary);font-size:var(--vp-text-sm)}.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 }); }
1671
1697
  }
1672
1698
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpPageHeaderComponent, decorators: [{
1673
1699
  type: Component,
1674
- args: [{ selector: 'vp-page-header', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1675
- <div class="vp-page-header">
1676
- <div class="vp-page-header__bar">
1677
- <div class="vp-page-header__text">
1678
- <div class="vp-page-header__heading-row">
1679
- <h1 class="vp-page-header__heading">{{ heading }}</h1>
1680
- @if (count !== null && count !== undefined) {
1681
- <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1682
- }
1683
- <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1684
- <span class="vp-page-header__status" data-vp-status>
1685
- <ng-content select="[status]" />
1686
- </span>
1687
- </div>
1688
- @if (description) {
1689
- <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1690
- }
1691
- <!--
1692
- Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1693
- metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1694
- veri sayfa aciklamasi gibi okunurdu.
1695
- -->
1696
- <div class="vp-page-header__meta" data-vp-meta>
1697
- <ng-content select="[meta]" />
1698
- </div>
1699
- </div>
1700
- <div class="vp-page-header__actions">
1701
- <ng-content select="[actions]" />
1702
- </div>
1703
- </div>
1704
- <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1705
- <div class="vp-page-header__tabs" data-vp-tabs>
1706
- <ng-content select="[tabs]" />
1707
- </div>
1708
- </div>
1700
+ args: [{ selector: 'vp-page-header', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1701
+ <div class="vp-page-header">
1702
+ <div class="vp-page-header__bar">
1703
+ <div class="vp-page-header__text">
1704
+ <div class="vp-page-header__heading-row">
1705
+ <h1 class="vp-page-header__heading">{{ heading }}</h1>
1706
+ @if (count !== null && count !== undefined) {
1707
+ <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1708
+ }
1709
+ <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1710
+ <span class="vp-page-header__status" data-vp-status>
1711
+ <ng-content select="[status]" />
1712
+ </span>
1713
+ </div>
1714
+ @if (description) {
1715
+ <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1716
+ }
1717
+ <!--
1718
+ Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1719
+ metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1720
+ veri sayfa aciklamasi gibi okunurdu.
1721
+ -->
1722
+ <div class="vp-page-header__meta" data-vp-meta>
1723
+ <ng-content select="[meta]" />
1724
+ </div>
1725
+ </div>
1726
+ <div class="vp-page-header__actions">
1727
+ <ng-content select="[actions]" />
1728
+ </div>
1729
+ </div>
1730
+ <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1731
+ <div class="vp-page-header__tabs" data-vp-tabs>
1732
+ <ng-content select="[tabs]" />
1733
+ </div>
1734
+ </div>
1709
1735
  `, 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-title);font-weight:var(--vp-weight-semibold);letter-spacing:-.01em;line-height:var(--vp-leading-tight);color:var(--vp-text-primary);text-wrap:balance}.vp-page-header__count{color:var(--vp-text-muted);font-family:var(--vp-font-mono);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-page-header__description{margin:2px 0 0;color:var(--vp-text-secondary);font-size:var(--vp-text-sm)}.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"] }]
1710
1736
  }], propDecorators: { heading: [{
1711
1737
  type: Input,
@@ -1755,92 +1781,92 @@ class VpBannerComponent {
1755
1781
  }
1756
1782
  }
1757
1783
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1758
- 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", lead: "lead", dismissible: "dismissible", dismissLabel: "dismissLabel" }, outputs: { dismissed: "dismissed" }, ngImport: i0, template: `
1759
- <div
1760
- class="vp-banner"
1761
- [attr.data-tone]="tone"
1762
- [attr.role]="isUrgent ? 'alert' : 'status'"
1763
- [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1764
-
1765
- <!--
1766
- Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1767
- dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1768
- -->
1769
- @if (tone !== 'note') {
1770
- <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1771
- <use [attr.href]="'#vp-icon-' + icon"></use>
1772
- </svg>
1773
- }
1774
-
1775
- <span class="vp-banner__message">
1776
- @if (lead) {
1777
- <strong class="vp-banner__lead">{{ lead }}</strong>
1778
- }
1779
- {{ message }}
1780
- </span>
1781
-
1782
- <span class="vp-banner__actions">
1783
- <ng-content select="[actions]" />
1784
- </span>
1785
-
1786
- @if (dismissible) {
1787
- <button
1788
- type="button"
1789
- class="vp-banner__dismiss"
1790
- data-vp-dismiss
1791
- [attr.aria-label]="dismissLabel"
1792
- (click)="dismissed.emit()">
1793
- <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1794
- <use href="#vp-icon-close"></use>
1795
- </svg>
1796
- </button>
1797
- }
1798
- </div>
1784
+ 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", lead: "lead", dismissible: "dismissible", dismissLabel: "dismissLabel" }, outputs: { dismissed: "dismissed" }, ngImport: i0, template: `
1785
+ <div
1786
+ class="vp-banner"
1787
+ [attr.data-tone]="tone"
1788
+ [attr.role]="isUrgent ? 'alert' : 'status'"
1789
+ [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1790
+
1791
+ <!--
1792
+ Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1793
+ dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1794
+ -->
1795
+ @if (tone !== 'note') {
1796
+ <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1797
+ <use [attr.href]="'#vp-icon-' + icon"></use>
1798
+ </svg>
1799
+ }
1800
+
1801
+ <span class="vp-banner__message">
1802
+ @if (lead) {
1803
+ <strong class="vp-banner__lead">{{ lead }}</strong>
1804
+ }
1805
+ {{ message }}
1806
+ </span>
1807
+
1808
+ <span class="vp-banner__actions">
1809
+ <ng-content select="[actions]" />
1810
+ </span>
1811
+
1812
+ @if (dismissible) {
1813
+ <button
1814
+ type="button"
1815
+ class="vp-banner__dismiss"
1816
+ data-vp-dismiss
1817
+ [attr.aria-label]="dismissLabel"
1818
+ (click)="dismissed.emit()">
1819
+ <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1820
+ <use href="#vp-icon-close"></use>
1821
+ </svg>
1822
+ </button>
1823
+ }
1824
+ </div>
1799
1825
  `, 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[data-tone=note]{flex-wrap:wrap;justify-content:space-between;gap:10px;padding:11px 14px;border:1px solid var(--vp-border-default);border-left:2px solid var(--vp-brand-line);border-radius:0 var(--vp-radius-md) var(--vp-radius-md) 0;background:var(--vp-surface-raised);color:var(--vp-text-secondary);font-size:var(--vp-text-sm)}.vp-banner__lead{color:var(--vp-text-primary);font-weight:var(--vp-weight-semibold)}.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 }); }
1800
1826
  }
1801
1827
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBannerComponent, decorators: [{
1802
1828
  type: Component,
1803
- args: [{ selector: 'vp-banner', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1804
- <div
1805
- class="vp-banner"
1806
- [attr.data-tone]="tone"
1807
- [attr.role]="isUrgent ? 'alert' : 'status'"
1808
- [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1809
-
1810
- <!--
1811
- Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1812
- dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1813
- -->
1814
- @if (tone !== 'note') {
1815
- <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1816
- <use [attr.href]="'#vp-icon-' + icon"></use>
1817
- </svg>
1818
- }
1819
-
1820
- <span class="vp-banner__message">
1821
- @if (lead) {
1822
- <strong class="vp-banner__lead">{{ lead }}</strong>
1823
- }
1824
- {{ message }}
1825
- </span>
1826
-
1827
- <span class="vp-banner__actions">
1828
- <ng-content select="[actions]" />
1829
- </span>
1830
-
1831
- @if (dismissible) {
1832
- <button
1833
- type="button"
1834
- class="vp-banner__dismiss"
1835
- data-vp-dismiss
1836
- [attr.aria-label]="dismissLabel"
1837
- (click)="dismissed.emit()">
1838
- <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1839
- <use href="#vp-icon-close"></use>
1840
- </svg>
1841
- </button>
1842
- }
1843
- </div>
1829
+ args: [{ selector: 'vp-banner', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1830
+ <div
1831
+ class="vp-banner"
1832
+ [attr.data-tone]="tone"
1833
+ [attr.role]="isUrgent ? 'alert' : 'status'"
1834
+ [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1835
+
1836
+ <!--
1837
+ Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1838
+ dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1839
+ -->
1840
+ @if (tone !== 'note') {
1841
+ <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1842
+ <use [attr.href]="'#vp-icon-' + icon"></use>
1843
+ </svg>
1844
+ }
1845
+
1846
+ <span class="vp-banner__message">
1847
+ @if (lead) {
1848
+ <strong class="vp-banner__lead">{{ lead }}</strong>
1849
+ }
1850
+ {{ message }}
1851
+ </span>
1852
+
1853
+ <span class="vp-banner__actions">
1854
+ <ng-content select="[actions]" />
1855
+ </span>
1856
+
1857
+ @if (dismissible) {
1858
+ <button
1859
+ type="button"
1860
+ class="vp-banner__dismiss"
1861
+ data-vp-dismiss
1862
+ [attr.aria-label]="dismissLabel"
1863
+ (click)="dismissed.emit()">
1864
+ <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1865
+ <use href="#vp-icon-close"></use>
1866
+ </svg>
1867
+ </button>
1868
+ }
1869
+ </div>
1844
1870
  `, 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[data-tone=note]{flex-wrap:wrap;justify-content:space-between;gap:10px;padding:11px 14px;border:1px solid var(--vp-border-default);border-left:2px solid var(--vp-brand-line);border-radius:0 var(--vp-radius-md) var(--vp-radius-md) 0;background:var(--vp-surface-raised);color:var(--vp-text-secondary);font-size:var(--vp-text-sm)}.vp-banner__lead{color:var(--vp-text-primary);font-weight:var(--vp-weight-semibold)}.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"] }]
1845
1871
  }], propDecorators: { message: [{
1846
1872
  type: Input,
@@ -2686,510 +2712,510 @@ class VpSidebarComponent {
2686
2712
  this.closeFlyout();
2687
2713
  }
2688
2714
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2689
- 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", subMenuLabel: "subMenuLabel", activePath: "activePath" }, host: { listeners: { "document:keydown.escape": "onEscape()", "document:pointerdown": "onPointerDown($event)" } }, usesOnChanges: true, ngImport: i0, template: `
2690
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2691
- @for (group of groups; track group.name; let firstGroup = $first) {
2692
- <!--
2693
- Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2694
- nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2695
- hangisinin ne oldugu yalnizca ikondan okunuyor.
2696
-
2697
- Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2698
- -->
2699
- @if (collapsed && !firstGroup) {
2700
- <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2701
- }
2702
- @if (group.name) {
2703
- <!--
2704
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2705
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2706
- gorulebilir olmali.
2707
- -->
2708
- <button
2709
- type="button"
2710
- class="vp-sidebar__group"
2711
- [attr.data-vp-menu-group]="group.name"
2712
- [attr.aria-expanded]="isGroupOpen(group.name)"
2713
- (click)="toggleGroup(group.name)">
2714
- <span class="vp-sidebar__group-label">{{ group.name }}</span>
2715
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2716
- </button>
2717
- }
2718
- @if (isGroupOpen(group.name)) {
2719
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
2720
- @for (item of group.items; track item.code) {
2721
- <li class="vp-sidebar__item">
2722
- @if (childrenOf(item).length) {
2723
- <!--
2724
- Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
2725
- DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
2726
- kontroldur. Yol varsa baglanti olarak ciziliyor.
2727
- -->
2728
- @if (collapsed) {
2729
- <!--
2730
- Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
2731
- Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
2732
- akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
2733
- farkli oge tipi bilerek: kontrolun sekli yaptigi isi
2734
- soylemeli.
2735
- -->
2736
- <button
2737
- type="button"
2738
- class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
2739
- [attr.data-vp-menu-parent]="item.code"
2740
- [attr.title]="item.titleKey"
2741
- aria-haspopup="menu"
2742
- [attr.aria-expanded]="flyoutItem?.code === item.code"
2743
- (click)="toggleFlyout(item, $event)">
2744
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2745
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2746
- </button>
2747
- } @else if (item.path) {
2748
- <!--
2749
- Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
2750
- dugme. Tek tiklama hem gidemez hem acamaz.
2751
- -->
2752
- <span class="vp-sidebar__parent-row">
2753
- <a
2754
- class="vp-sidebar__link vp-sidebar__link--parent"
2755
- [attr.data-vp-menu-parent]="item.code"
2756
- [attr.href]="item.path"
2757
- [attr.title]="item.titleKey"
2758
- [attr.aria-current]="isActive(item) ? 'page' : null"
2759
- (click)="navigate($event, item.path)">
2760
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2761
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2762
- </a>
2763
- <button
2764
- type="button"
2765
- class="vp-sidebar__disclosure"
2766
- [attr.data-vp-menu-toggle]="item.code"
2767
- [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
2768
- [attr.aria-expanded]="isParentOpen(item)"
2769
- (click)="toggleParent(item)">
2770
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2771
- </button>
2772
- </span>
2773
- } @else {
2774
- <!--
2775
- Genis kipte ust madde bir ACILIR dugme.
2776
- Cocugu olan her sey acilir kapanir; yonetim panelinde
2777
- Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
2778
- taranabilir olmaktan cikip listeye donuyordu.
2779
-
2780
- ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
2781
- tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
2782
- (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
2783
- yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
2784
- degil.
2785
- -->
2786
- <button
2787
- type="button"
2788
- class="vp-sidebar__link vp-sidebar__link--parent"
2789
- [attr.data-vp-menu-parent]="item.code"
2790
- [attr.title]="item.titleKey"
2791
- [attr.aria-expanded]="isParentOpen(item)"
2792
- (click)="toggleParent(item)">
2793
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2794
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2795
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2796
- </button>
2797
- }
2798
-
2799
- <!--
2800
- Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
2801
- duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
2802
- etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
2803
- anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
2804
- ucan menu aliyor.
2805
- -->
2806
- @if (!collapsed && isParentOpen(item)) {
2807
- <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
2808
- @for (child of childrenOf(item); track child.code) {
2809
- <li class="vp-sidebar__item">
2810
- @if (child.disabledReason) {
2811
- <span
2812
- class="vp-sidebar__link vp-sidebar__link--disabled"
2813
- [attr.data-vp-menu-item]="child.code"
2814
- aria-disabled="true"
2815
- [attr.title]="child.titleKey + ' — ' + child.disabledReason">
2816
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2817
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2818
- </span>
2819
- <span
2820
- class="vp-sidebar__reason"
2821
- [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
2822
- } @else {
2823
- <a
2824
- class="vp-sidebar__link vp-sidebar__link--child"
2825
- [attr.data-vp-menu-item]="child.code"
2826
- [attr.href]="child.path"
2827
- [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
2828
- [attr.aria-current]="isActive(child) ? 'page' : null"
2829
- (click)="navigate($event, child.path)">
2830
- @if (child.icon) {
2831
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2832
- }
2833
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2834
- @if (hasBadge(child)) {
2835
- <span
2836
- class="vp-sidebar__badge"
2837
- [attr.data-vp-menu-badge]="child.code"
2838
- [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
2839
- }
2840
- @if (child.lock) {
2841
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
2842
- }
2843
- </a>
2844
- }
2845
- </li>
2846
- }
2847
- </ul>
2848
- }
2849
- } @else if (item.disabledReason) {
2850
- <span
2851
- class="vp-sidebar__link vp-sidebar__link--disabled"
2852
- [attr.data-vp-menu-item]="item.code"
2853
- aria-disabled="true"
2854
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
2855
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2856
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2857
- </span>
2858
- <span
2859
- class="vp-sidebar__reason"
2860
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
2861
- } @else {
2862
- <a
2863
- class="vp-sidebar__link"
2864
- [attr.data-vp-menu-item]="item.code"
2865
- [attr.href]="item.path"
2866
- [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
2867
- [attr.aria-current]="isActive(item) ? 'page' : null"
2868
- (click)="navigate($event, item.path)">
2869
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2870
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2871
- @if (hasBadge(item)) {
2872
- <span
2873
- class="vp-sidebar__badge"
2874
- [attr.data-vp-menu-badge]="item.code"
2875
- [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
2876
- }
2877
- <!--
2878
- Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
2879
- ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
2880
- eksen: orada gidilecek bir sey yok.
2881
- -->
2882
- @if (item.lock) {
2883
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
2884
- }
2885
- </a>
2886
- }
2887
- </li>
2888
- }
2889
- </ul>
2890
- }
2891
- }
2892
-
2893
- @if (flyoutItem) {
2894
- <!--
2895
- Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
2896
- kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
2897
- dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
2898
- en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
2899
- -->
2900
- <div
2901
- class="vp-sidebar__flyout"
2902
- data-vp-flyout
2903
- role="menu"
2904
- [attr.aria-label]="flyoutItem.titleKey"
2905
- [style.top.px]="flyoutTop"
2906
- [style.left.px]="flyoutLeft">
2907
- <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
2908
- @for (child of childrenOf(flyoutItem); track child.code) {
2909
- @if (child.disabledReason) {
2910
- <span
2911
- class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
2912
- [attr.data-vp-flyout-item]="child.code"
2913
- role="menuitem"
2914
- aria-disabled="true">
2915
- {{ child.titleKey }}
2916
- <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
2917
- </span>
2918
- } @else {
2919
- <a
2920
- class="vp-sidebar__flyout-link"
2921
- [attr.data-vp-flyout-item]="child.code"
2922
- role="menuitem"
2923
- [attr.href]="child.path"
2924
- [attr.aria-current]="isActive(child) ? 'page' : null"
2925
- (click)="navigate($event, child.path); closeFlyout()">
2926
- {{ child.titleKey }}
2927
- @if (hasBadge(child)) {
2928
- <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
2929
- }
2930
- @if (child.lock) {
2931
- <span class="vp-sidebar__lock">{{ child.lock }}</span>
2932
- }
2933
- </a>
2934
- }
2935
- }
2936
- </div>
2937
- }
2938
- </nav>
2715
+ 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", subMenuLabel: "subMenuLabel", activePath: "activePath" }, host: { listeners: { "document:keydown.escape": "onEscape()", "document:pointerdown": "onPointerDown($event)" } }, usesOnChanges: true, ngImport: i0, template: `
2716
+ <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2717
+ @for (group of groups; track group.name; let firstGroup = $first) {
2718
+ <!--
2719
+ Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2720
+ nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2721
+ hangisinin ne oldugu yalnizca ikondan okunuyor.
2722
+
2723
+ Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2724
+ -->
2725
+ @if (collapsed && !firstGroup) {
2726
+ <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2727
+ }
2728
+ @if (group.name) {
2729
+ <!--
2730
+ Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2731
+ ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2732
+ gorulebilir olmali.
2733
+ -->
2734
+ <button
2735
+ type="button"
2736
+ class="vp-sidebar__group"
2737
+ [attr.data-vp-menu-group]="group.name"
2738
+ [attr.aria-expanded]="isGroupOpen(group.name)"
2739
+ (click)="toggleGroup(group.name)">
2740
+ <span class="vp-sidebar__group-label">{{ group.name }}</span>
2741
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2742
+ </button>
2743
+ }
2744
+ @if (isGroupOpen(group.name)) {
2745
+ <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
2746
+ @for (item of group.items; track item.code) {
2747
+ <li class="vp-sidebar__item">
2748
+ @if (childrenOf(item).length) {
2749
+ <!--
2750
+ Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
2751
+ DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
2752
+ kontroldur. Yol varsa baglanti olarak ciziliyor.
2753
+ -->
2754
+ @if (collapsed) {
2755
+ <!--
2756
+ Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
2757
+ Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
2758
+ akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
2759
+ farkli oge tipi bilerek: kontrolun sekli yaptigi isi
2760
+ soylemeli.
2761
+ -->
2762
+ <button
2763
+ type="button"
2764
+ class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
2765
+ [attr.data-vp-menu-parent]="item.code"
2766
+ [attr.title]="item.titleKey"
2767
+ aria-haspopup="menu"
2768
+ [attr.aria-expanded]="flyoutItem?.code === item.code"
2769
+ (click)="toggleFlyout(item, $event)">
2770
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2771
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2772
+ </button>
2773
+ } @else if (item.path) {
2774
+ <!--
2775
+ Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
2776
+ dugme. Tek tiklama hem gidemez hem acamaz.
2777
+ -->
2778
+ <span class="vp-sidebar__parent-row">
2779
+ <a
2780
+ class="vp-sidebar__link vp-sidebar__link--parent"
2781
+ [attr.data-vp-menu-parent]="item.code"
2782
+ [attr.href]="item.path"
2783
+ [attr.title]="item.titleKey"
2784
+ [attr.aria-current]="isActive(item) ? 'page' : null"
2785
+ (click)="navigate($event, item.path)">
2786
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2787
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2788
+ </a>
2789
+ <button
2790
+ type="button"
2791
+ class="vp-sidebar__disclosure"
2792
+ [attr.data-vp-menu-toggle]="item.code"
2793
+ [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
2794
+ [attr.aria-expanded]="isParentOpen(item)"
2795
+ (click)="toggleParent(item)">
2796
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2797
+ </button>
2798
+ </span>
2799
+ } @else {
2800
+ <!--
2801
+ Genis kipte ust madde bir ACILIR dugme.
2802
+ Cocugu olan her sey acilir kapanir; yonetim panelinde
2803
+ Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
2804
+ taranabilir olmaktan cikip listeye donuyordu.
2805
+
2806
+ ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
2807
+ tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
2808
+ (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
2809
+ yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
2810
+ degil.
2811
+ -->
2812
+ <button
2813
+ type="button"
2814
+ class="vp-sidebar__link vp-sidebar__link--parent"
2815
+ [attr.data-vp-menu-parent]="item.code"
2816
+ [attr.title]="item.titleKey"
2817
+ [attr.aria-expanded]="isParentOpen(item)"
2818
+ (click)="toggleParent(item)">
2819
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2820
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2821
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2822
+ </button>
2823
+ }
2824
+
2825
+ <!--
2826
+ Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
2827
+ duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
2828
+ etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
2829
+ anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
2830
+ ucan menu aliyor.
2831
+ -->
2832
+ @if (!collapsed && isParentOpen(item)) {
2833
+ <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
2834
+ @for (child of childrenOf(item); track child.code) {
2835
+ <li class="vp-sidebar__item">
2836
+ @if (child.disabledReason) {
2837
+ <span
2838
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2839
+ [attr.data-vp-menu-item]="child.code"
2840
+ aria-disabled="true"
2841
+ [attr.title]="child.titleKey + ' — ' + child.disabledReason">
2842
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2843
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2844
+ </span>
2845
+ <span
2846
+ class="vp-sidebar__reason"
2847
+ [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
2848
+ } @else {
2849
+ <a
2850
+ class="vp-sidebar__link vp-sidebar__link--child"
2851
+ [attr.data-vp-menu-item]="child.code"
2852
+ [attr.href]="child.path"
2853
+ [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
2854
+ [attr.aria-current]="isActive(child) ? 'page' : null"
2855
+ (click)="navigate($event, child.path)">
2856
+ @if (child.icon) {
2857
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2858
+ }
2859
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2860
+ @if (hasBadge(child)) {
2861
+ <span
2862
+ class="vp-sidebar__badge"
2863
+ [attr.data-vp-menu-badge]="child.code"
2864
+ [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
2865
+ }
2866
+ @if (child.lock) {
2867
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
2868
+ }
2869
+ </a>
2870
+ }
2871
+ </li>
2872
+ }
2873
+ </ul>
2874
+ }
2875
+ } @else if (item.disabledReason) {
2876
+ <span
2877
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2878
+ [attr.data-vp-menu-item]="item.code"
2879
+ aria-disabled="true"
2880
+ [attr.title]="item.titleKey + ' — ' + item.disabledReason">
2881
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2882
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2883
+ </span>
2884
+ <span
2885
+ class="vp-sidebar__reason"
2886
+ [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
2887
+ } @else {
2888
+ <a
2889
+ class="vp-sidebar__link"
2890
+ [attr.data-vp-menu-item]="item.code"
2891
+ [attr.href]="item.path"
2892
+ [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
2893
+ [attr.aria-current]="isActive(item) ? 'page' : null"
2894
+ (click)="navigate($event, item.path)">
2895
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2896
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2897
+ @if (hasBadge(item)) {
2898
+ <span
2899
+ class="vp-sidebar__badge"
2900
+ [attr.data-vp-menu-badge]="item.code"
2901
+ [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
2902
+ }
2903
+ <!--
2904
+ Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
2905
+ ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
2906
+ eksen: orada gidilecek bir sey yok.
2907
+ -->
2908
+ @if (item.lock) {
2909
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
2910
+ }
2911
+ </a>
2912
+ }
2913
+ </li>
2914
+ }
2915
+ </ul>
2916
+ }
2917
+ }
2918
+
2919
+ @if (flyoutItem) {
2920
+ <!--
2921
+ Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
2922
+ kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
2923
+ dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
2924
+ en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
2925
+ -->
2926
+ <div
2927
+ class="vp-sidebar__flyout"
2928
+ data-vp-flyout
2929
+ role="menu"
2930
+ [attr.aria-label]="flyoutItem.titleKey"
2931
+ [style.top.px]="flyoutTop"
2932
+ [style.left.px]="flyoutLeft">
2933
+ <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
2934
+ @for (child of childrenOf(flyoutItem); track child.code) {
2935
+ @if (child.disabledReason) {
2936
+ <span
2937
+ class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
2938
+ [attr.data-vp-flyout-item]="child.code"
2939
+ role="menuitem"
2940
+ aria-disabled="true">
2941
+ {{ child.titleKey }}
2942
+ <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
2943
+ </span>
2944
+ } @else {
2945
+ <a
2946
+ class="vp-sidebar__flyout-link"
2947
+ [attr.data-vp-flyout-item]="child.code"
2948
+ role="menuitem"
2949
+ [attr.href]="child.path"
2950
+ [attr.aria-current]="isActive(child) ? 'page' : null"
2951
+ (click)="navigate($event, child.path); closeFlyout()">
2952
+ {{ child.titleKey }}
2953
+ @if (hasBadge(child)) {
2954
+ <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
2955
+ }
2956
+ @if (child.lock) {
2957
+ <span class="vp-sidebar__lock">{{ child.lock }}</span>
2958
+ }
2959
+ </a>
2960
+ }
2961
+ }
2962
+ </div>
2963
+ }
2964
+ </nav>
2939
2965
  `, isInline: true, styles: [".vp-sidebar__group{display:flex;align-items:center;gap:var(--vp-space-2, .5rem);width:100%;min-height:var(--vp-space-6, 1.5rem);margin:var(--vp-space-4, 1rem) 0 var(--vp-space-1, .25rem);padding:var(--vp-space-1, .25rem) var(--vp-space-3, .75rem);border:0;border-radius:var(--vp-radius-sm, .25rem);background:none;font:inherit;font-size:var(--vp-font-size-xs, .75rem);font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-align:left;color:var(--vp-text-muted, #8b949e);cursor:pointer}.vp-sidebar__group:hover{color:var(--vp-text-secondary, #c9d1d9)}.vp-sidebar__group-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vp-sidebar__chevron{flex:none;width:.5rem;height:.5rem;margin-left:auto;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-135deg);opacity:.55}[aria-expanded=false]>.vp-sidebar__chevron{transform:rotate(45deg)}.vp-sidebar__parent-row{display:flex;align-items:center;gap:var(--vp-space-1, .25rem)}.vp-sidebar__parent-row>.vp-sidebar__link{flex:1 1 auto;min-width:0}.vp-sidebar__disclosure{display:grid;place-items:center;flex:none;width:var(--vp-space-6, 1.5rem);height:var(--vp-space-6, 1.5rem);padding:0;border:0;border-radius:var(--vp-radius-sm, .25rem);background:none;color:inherit;cursor:pointer}button.vp-sidebar__link--parent{width:100%;border:0;background:none;font:inherit;text-align:left;cursor:pointer}.vp-sidebar__link--parent{color:var(--vp-text-secondary);cursor:default}a.vp-sidebar__link--parent{cursor:pointer}.vp-sidebar__list--child{margin:2px 0 0;padding-left:0;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:2px}.vp-sidebar__item{margin:0}.vp-sidebar__link{display:flex;align-items:center;gap:10px;min-height:31px;padding:7px 10px;border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base);white-space:nowrap;overflow:hidden}.vp-sidebar__link:hover,.vp-sidebar__link[aria-current=page]{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__link--child{min-height:29px;padding-left:36px}@media(max-width:900px){.vp-sidebar__link,.vp-sidebar__link--child{min-height:var(--vp-touch-target, 44px)}}.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:16px;font-size:16px;line-height:1;opacity:.75}.vp-sidebar__label{flex:1;min-width:0}.vp-sidebar__badge{flex:0 0 auto;margin-left:auto;padding:1px 7px;border-radius:var(--vp-radius-md);background:var(--vp-brand-subtle);color:var(--vp-brand-line);font-size:var(--vp-text-xs);line-height:var(--vp-leading-normal);text-align:center;font-variant-numeric:tabular-nums}.vp-sidebar__lock{flex:0 0 auto;margin-left:auto;padding:1px 7px;border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-normal)}.vp-sidebar__badge+.vp-sidebar__lock{margin-left:0}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__link .vp-sidebar__lock,.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 }); }
2940
2966
  }
2941
2967
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarComponent, decorators: [{
2942
2968
  type: Component,
2943
- args: [{ selector: 'vp-sidebar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
2944
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2945
- @for (group of groups; track group.name; let firstGroup = $first) {
2946
- <!--
2947
- Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2948
- nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2949
- hangisinin ne oldugu yalnizca ikondan okunuyor.
2950
-
2951
- Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2952
- -->
2953
- @if (collapsed && !firstGroup) {
2954
- <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2955
- }
2956
- @if (group.name) {
2957
- <!--
2958
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2959
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2960
- gorulebilir olmali.
2961
- -->
2962
- <button
2963
- type="button"
2964
- class="vp-sidebar__group"
2965
- [attr.data-vp-menu-group]="group.name"
2966
- [attr.aria-expanded]="isGroupOpen(group.name)"
2967
- (click)="toggleGroup(group.name)">
2968
- <span class="vp-sidebar__group-label">{{ group.name }}</span>
2969
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2970
- </button>
2971
- }
2972
- @if (isGroupOpen(group.name)) {
2973
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
2974
- @for (item of group.items; track item.code) {
2975
- <li class="vp-sidebar__item">
2976
- @if (childrenOf(item).length) {
2977
- <!--
2978
- Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
2979
- DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
2980
- kontroldur. Yol varsa baglanti olarak ciziliyor.
2981
- -->
2982
- @if (collapsed) {
2983
- <!--
2984
- Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
2985
- Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
2986
- akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
2987
- farkli oge tipi bilerek: kontrolun sekli yaptigi isi
2988
- soylemeli.
2989
- -->
2990
- <button
2991
- type="button"
2992
- class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
2993
- [attr.data-vp-menu-parent]="item.code"
2994
- [attr.title]="item.titleKey"
2995
- aria-haspopup="menu"
2996
- [attr.aria-expanded]="flyoutItem?.code === item.code"
2997
- (click)="toggleFlyout(item, $event)">
2998
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2999
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3000
- </button>
3001
- } @else if (item.path) {
3002
- <!--
3003
- Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
3004
- dugme. Tek tiklama hem gidemez hem acamaz.
3005
- -->
3006
- <span class="vp-sidebar__parent-row">
3007
- <a
3008
- class="vp-sidebar__link vp-sidebar__link--parent"
3009
- [attr.data-vp-menu-parent]="item.code"
3010
- [attr.href]="item.path"
3011
- [attr.title]="item.titleKey"
3012
- [attr.aria-current]="isActive(item) ? 'page' : null"
3013
- (click)="navigate($event, item.path)">
3014
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3015
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3016
- </a>
3017
- <button
3018
- type="button"
3019
- class="vp-sidebar__disclosure"
3020
- [attr.data-vp-menu-toggle]="item.code"
3021
- [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
3022
- [attr.aria-expanded]="isParentOpen(item)"
3023
- (click)="toggleParent(item)">
3024
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3025
- </button>
3026
- </span>
3027
- } @else {
3028
- <!--
3029
- Genis kipte ust madde bir ACILIR dugme.
3030
- Cocugu olan her sey acilir kapanir; yonetim panelinde
3031
- Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
3032
- taranabilir olmaktan cikip listeye donuyordu.
3033
-
3034
- ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
3035
- tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
3036
- (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
3037
- yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
3038
- degil.
3039
- -->
3040
- <button
3041
- type="button"
3042
- class="vp-sidebar__link vp-sidebar__link--parent"
3043
- [attr.data-vp-menu-parent]="item.code"
3044
- [attr.title]="item.titleKey"
3045
- [attr.aria-expanded]="isParentOpen(item)"
3046
- (click)="toggleParent(item)">
3047
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3048
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3049
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3050
- </button>
3051
- }
3052
-
3053
- <!--
3054
- Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
3055
- duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
3056
- etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
3057
- anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
3058
- ucan menu aliyor.
3059
- -->
3060
- @if (!collapsed && isParentOpen(item)) {
3061
- <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
3062
- @for (child of childrenOf(item); track child.code) {
3063
- <li class="vp-sidebar__item">
3064
- @if (child.disabledReason) {
3065
- <span
3066
- class="vp-sidebar__link vp-sidebar__link--disabled"
3067
- [attr.data-vp-menu-item]="child.code"
3068
- aria-disabled="true"
3069
- [attr.title]="child.titleKey + ' — ' + child.disabledReason">
3070
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3071
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3072
- </span>
3073
- <span
3074
- class="vp-sidebar__reason"
3075
- [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
3076
- } @else {
3077
- <a
3078
- class="vp-sidebar__link vp-sidebar__link--child"
3079
- [attr.data-vp-menu-item]="child.code"
3080
- [attr.href]="child.path"
3081
- [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
3082
- [attr.aria-current]="isActive(child) ? 'page' : null"
3083
- (click)="navigate($event, child.path)">
3084
- @if (child.icon) {
3085
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3086
- }
3087
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3088
- @if (hasBadge(child)) {
3089
- <span
3090
- class="vp-sidebar__badge"
3091
- [attr.data-vp-menu-badge]="child.code"
3092
- [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3093
- }
3094
- @if (child.lock) {
3095
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
3096
- }
3097
- </a>
3098
- }
3099
- </li>
3100
- }
3101
- </ul>
3102
- }
3103
- } @else if (item.disabledReason) {
3104
- <span
3105
- class="vp-sidebar__link vp-sidebar__link--disabled"
3106
- [attr.data-vp-menu-item]="item.code"
3107
- aria-disabled="true"
3108
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
3109
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3110
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3111
- </span>
3112
- <span
3113
- class="vp-sidebar__reason"
3114
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
3115
- } @else {
3116
- <a
3117
- class="vp-sidebar__link"
3118
- [attr.data-vp-menu-item]="item.code"
3119
- [attr.href]="item.path"
3120
- [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
3121
- [attr.aria-current]="isActive(item) ? 'page' : null"
3122
- (click)="navigate($event, item.path)">
3123
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3124
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3125
- @if (hasBadge(item)) {
3126
- <span
3127
- class="vp-sidebar__badge"
3128
- [attr.data-vp-menu-badge]="item.code"
3129
- [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
3130
- }
3131
- <!--
3132
- Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
3133
- ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
3134
- eksen: orada gidilecek bir sey yok.
3135
- -->
3136
- @if (item.lock) {
3137
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
3138
- }
3139
- </a>
3140
- }
3141
- </li>
3142
- }
3143
- </ul>
3144
- }
3145
- }
3146
-
3147
- @if (flyoutItem) {
3148
- <!--
3149
- Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
3150
- kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
3151
- dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
3152
- en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
3153
- -->
3154
- <div
3155
- class="vp-sidebar__flyout"
3156
- data-vp-flyout
3157
- role="menu"
3158
- [attr.aria-label]="flyoutItem.titleKey"
3159
- [style.top.px]="flyoutTop"
3160
- [style.left.px]="flyoutLeft">
3161
- <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
3162
- @for (child of childrenOf(flyoutItem); track child.code) {
3163
- @if (child.disabledReason) {
3164
- <span
3165
- class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
3166
- [attr.data-vp-flyout-item]="child.code"
3167
- role="menuitem"
3168
- aria-disabled="true">
3169
- {{ child.titleKey }}
3170
- <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
3171
- </span>
3172
- } @else {
3173
- <a
3174
- class="vp-sidebar__flyout-link"
3175
- [attr.data-vp-flyout-item]="child.code"
3176
- role="menuitem"
3177
- [attr.href]="child.path"
3178
- [attr.aria-current]="isActive(child) ? 'page' : null"
3179
- (click)="navigate($event, child.path); closeFlyout()">
3180
- {{ child.titleKey }}
3181
- @if (hasBadge(child)) {
3182
- <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3183
- }
3184
- @if (child.lock) {
3185
- <span class="vp-sidebar__lock">{{ child.lock }}</span>
3186
- }
3187
- </a>
3188
- }
3189
- }
3190
- </div>
3191
- }
3192
- </nav>
2969
+ args: [{ selector: 'vp-sidebar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
2970
+ <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2971
+ @for (group of groups; track group.name; let firstGroup = $first) {
2972
+ <!--
2973
+ Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2974
+ nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2975
+ hangisinin ne oldugu yalnizca ikondan okunuyor.
2976
+
2977
+ Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2978
+ -->
2979
+ @if (collapsed && !firstGroup) {
2980
+ <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2981
+ }
2982
+ @if (group.name) {
2983
+ <!--
2984
+ Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2985
+ ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2986
+ gorulebilir olmali.
2987
+ -->
2988
+ <button
2989
+ type="button"
2990
+ class="vp-sidebar__group"
2991
+ [attr.data-vp-menu-group]="group.name"
2992
+ [attr.aria-expanded]="isGroupOpen(group.name)"
2993
+ (click)="toggleGroup(group.name)">
2994
+ <span class="vp-sidebar__group-label">{{ group.name }}</span>
2995
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2996
+ </button>
2997
+ }
2998
+ @if (isGroupOpen(group.name)) {
2999
+ <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
3000
+ @for (item of group.items; track item.code) {
3001
+ <li class="vp-sidebar__item">
3002
+ @if (childrenOf(item).length) {
3003
+ <!--
3004
+ Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
3005
+ DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
3006
+ kontroldur. Yol varsa baglanti olarak ciziliyor.
3007
+ -->
3008
+ @if (collapsed) {
3009
+ <!--
3010
+ Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
3011
+ Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
3012
+ akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
3013
+ farkli oge tipi bilerek: kontrolun sekli yaptigi isi
3014
+ soylemeli.
3015
+ -->
3016
+ <button
3017
+ type="button"
3018
+ class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
3019
+ [attr.data-vp-menu-parent]="item.code"
3020
+ [attr.title]="item.titleKey"
3021
+ aria-haspopup="menu"
3022
+ [attr.aria-expanded]="flyoutItem?.code === item.code"
3023
+ (click)="toggleFlyout(item, $event)">
3024
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3025
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3026
+ </button>
3027
+ } @else if (item.path) {
3028
+ <!--
3029
+ Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
3030
+ dugme. Tek tiklama hem gidemez hem acamaz.
3031
+ -->
3032
+ <span class="vp-sidebar__parent-row">
3033
+ <a
3034
+ class="vp-sidebar__link vp-sidebar__link--parent"
3035
+ [attr.data-vp-menu-parent]="item.code"
3036
+ [attr.href]="item.path"
3037
+ [attr.title]="item.titleKey"
3038
+ [attr.aria-current]="isActive(item) ? 'page' : null"
3039
+ (click)="navigate($event, item.path)">
3040
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3041
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3042
+ </a>
3043
+ <button
3044
+ type="button"
3045
+ class="vp-sidebar__disclosure"
3046
+ [attr.data-vp-menu-toggle]="item.code"
3047
+ [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
3048
+ [attr.aria-expanded]="isParentOpen(item)"
3049
+ (click)="toggleParent(item)">
3050
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3051
+ </button>
3052
+ </span>
3053
+ } @else {
3054
+ <!--
3055
+ Genis kipte ust madde bir ACILIR dugme.
3056
+ Cocugu olan her sey acilir kapanir; yonetim panelinde
3057
+ Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
3058
+ taranabilir olmaktan cikip listeye donuyordu.
3059
+
3060
+ ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
3061
+ tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
3062
+ (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
3063
+ yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
3064
+ degil.
3065
+ -->
3066
+ <button
3067
+ type="button"
3068
+ class="vp-sidebar__link vp-sidebar__link--parent"
3069
+ [attr.data-vp-menu-parent]="item.code"
3070
+ [attr.title]="item.titleKey"
3071
+ [attr.aria-expanded]="isParentOpen(item)"
3072
+ (click)="toggleParent(item)">
3073
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3074
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3075
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3076
+ </button>
3077
+ }
3078
+
3079
+ <!--
3080
+ Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
3081
+ duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
3082
+ etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
3083
+ anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
3084
+ ucan menu aliyor.
3085
+ -->
3086
+ @if (!collapsed && isParentOpen(item)) {
3087
+ <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
3088
+ @for (child of childrenOf(item); track child.code) {
3089
+ <li class="vp-sidebar__item">
3090
+ @if (child.disabledReason) {
3091
+ <span
3092
+ class="vp-sidebar__link vp-sidebar__link--disabled"
3093
+ [attr.data-vp-menu-item]="child.code"
3094
+ aria-disabled="true"
3095
+ [attr.title]="child.titleKey + ' — ' + child.disabledReason">
3096
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3097
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3098
+ </span>
3099
+ <span
3100
+ class="vp-sidebar__reason"
3101
+ [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
3102
+ } @else {
3103
+ <a
3104
+ class="vp-sidebar__link vp-sidebar__link--child"
3105
+ [attr.data-vp-menu-item]="child.code"
3106
+ [attr.href]="child.path"
3107
+ [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
3108
+ [attr.aria-current]="isActive(child) ? 'page' : null"
3109
+ (click)="navigate($event, child.path)">
3110
+ @if (child.icon) {
3111
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3112
+ }
3113
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3114
+ @if (hasBadge(child)) {
3115
+ <span
3116
+ class="vp-sidebar__badge"
3117
+ [attr.data-vp-menu-badge]="child.code"
3118
+ [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3119
+ }
3120
+ @if (child.lock) {
3121
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
3122
+ }
3123
+ </a>
3124
+ }
3125
+ </li>
3126
+ }
3127
+ </ul>
3128
+ }
3129
+ } @else if (item.disabledReason) {
3130
+ <span
3131
+ class="vp-sidebar__link vp-sidebar__link--disabled"
3132
+ [attr.data-vp-menu-item]="item.code"
3133
+ aria-disabled="true"
3134
+ [attr.title]="item.titleKey + ' — ' + item.disabledReason">
3135
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3136
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3137
+ </span>
3138
+ <span
3139
+ class="vp-sidebar__reason"
3140
+ [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
3141
+ } @else {
3142
+ <a
3143
+ class="vp-sidebar__link"
3144
+ [attr.data-vp-menu-item]="item.code"
3145
+ [attr.href]="item.path"
3146
+ [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
3147
+ [attr.aria-current]="isActive(item) ? 'page' : null"
3148
+ (click)="navigate($event, item.path)">
3149
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3150
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3151
+ @if (hasBadge(item)) {
3152
+ <span
3153
+ class="vp-sidebar__badge"
3154
+ [attr.data-vp-menu-badge]="item.code"
3155
+ [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
3156
+ }
3157
+ <!--
3158
+ Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
3159
+ ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
3160
+ eksen: orada gidilecek bir sey yok.
3161
+ -->
3162
+ @if (item.lock) {
3163
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
3164
+ }
3165
+ </a>
3166
+ }
3167
+ </li>
3168
+ }
3169
+ </ul>
3170
+ }
3171
+ }
3172
+
3173
+ @if (flyoutItem) {
3174
+ <!--
3175
+ Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
3176
+ kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
3177
+ dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
3178
+ en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
3179
+ -->
3180
+ <div
3181
+ class="vp-sidebar__flyout"
3182
+ data-vp-flyout
3183
+ role="menu"
3184
+ [attr.aria-label]="flyoutItem.titleKey"
3185
+ [style.top.px]="flyoutTop"
3186
+ [style.left.px]="flyoutLeft">
3187
+ <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
3188
+ @for (child of childrenOf(flyoutItem); track child.code) {
3189
+ @if (child.disabledReason) {
3190
+ <span
3191
+ class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
3192
+ [attr.data-vp-flyout-item]="child.code"
3193
+ role="menuitem"
3194
+ aria-disabled="true">
3195
+ {{ child.titleKey }}
3196
+ <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
3197
+ </span>
3198
+ } @else {
3199
+ <a
3200
+ class="vp-sidebar__flyout-link"
3201
+ [attr.data-vp-flyout-item]="child.code"
3202
+ role="menuitem"
3203
+ [attr.href]="child.path"
3204
+ [attr.aria-current]="isActive(child) ? 'page' : null"
3205
+ (click)="navigate($event, child.path); closeFlyout()">
3206
+ {{ child.titleKey }}
3207
+ @if (hasBadge(child)) {
3208
+ <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3209
+ }
3210
+ @if (child.lock) {
3211
+ <span class="vp-sidebar__lock">{{ child.lock }}</span>
3212
+ }
3213
+ </a>
3214
+ }
3215
+ }
3216
+ </div>
3217
+ }
3218
+ </nav>
3193
3219
  `, styles: [".vp-sidebar__group{display:flex;align-items:center;gap:var(--vp-space-2, .5rem);width:100%;min-height:var(--vp-space-6, 1.5rem);margin:var(--vp-space-4, 1rem) 0 var(--vp-space-1, .25rem);padding:var(--vp-space-1, .25rem) var(--vp-space-3, .75rem);border:0;border-radius:var(--vp-radius-sm, .25rem);background:none;font:inherit;font-size:var(--vp-font-size-xs, .75rem);font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-align:left;color:var(--vp-text-muted, #8b949e);cursor:pointer}.vp-sidebar__group:hover{color:var(--vp-text-secondary, #c9d1d9)}.vp-sidebar__group-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vp-sidebar__chevron{flex:none;width:.5rem;height:.5rem;margin-left:auto;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-135deg);opacity:.55}[aria-expanded=false]>.vp-sidebar__chevron{transform:rotate(45deg)}.vp-sidebar__parent-row{display:flex;align-items:center;gap:var(--vp-space-1, .25rem)}.vp-sidebar__parent-row>.vp-sidebar__link{flex:1 1 auto;min-width:0}.vp-sidebar__disclosure{display:grid;place-items:center;flex:none;width:var(--vp-space-6, 1.5rem);height:var(--vp-space-6, 1.5rem);padding:0;border:0;border-radius:var(--vp-radius-sm, .25rem);background:none;color:inherit;cursor:pointer}button.vp-sidebar__link--parent{width:100%;border:0;background:none;font:inherit;text-align:left;cursor:pointer}.vp-sidebar__link--parent{color:var(--vp-text-secondary);cursor:default}a.vp-sidebar__link--parent{cursor:pointer}.vp-sidebar__list--child{margin:2px 0 0;padding-left:0;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:2px}.vp-sidebar__item{margin:0}.vp-sidebar__link{display:flex;align-items:center;gap:10px;min-height:31px;padding:7px 10px;border-radius:var(--vp-radius-md);color:var(--vp-text-secondary);text-decoration:none;font-size:var(--vp-text-base);white-space:nowrap;overflow:hidden}.vp-sidebar__link:hover,.vp-sidebar__link[aria-current=page]{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar__link--child{min-height:29px;padding-left:36px}@media(max-width:900px){.vp-sidebar__link,.vp-sidebar__link--child{min-height:var(--vp-touch-target, 44px)}}.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:16px;font-size:16px;line-height:1;opacity:.75}.vp-sidebar__label{flex:1;min-width:0}.vp-sidebar__badge{flex:0 0 auto;margin-left:auto;padding:1px 7px;border-radius:var(--vp-radius-md);background:var(--vp-brand-subtle);color:var(--vp-brand-line);font-size:var(--vp-text-xs);line-height:var(--vp-leading-normal);text-align:center;font-variant-numeric:tabular-nums}.vp-sidebar__lock{flex:0 0 auto;margin-left:auto;padding:1px 7px;border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-normal)}.vp-sidebar__badge+.vp-sidebar__lock{margin-left:0}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__link .vp-sidebar__lock,.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"] }]
3194
3220
  }], ctorParameters: () => [], propDecorators: { items: [{
3195
3221
  type: Input,
@@ -3255,76 +3281,76 @@ class VpBreadcrumbComponent {
3255
3281
  }
3256
3282
  static { this.MAX_LABEL = 24; }
3257
3283
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3258
- 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: `
3259
- @if (trail.length > 0) {
3260
- <nav class="vp-breadcrumb" [attr.aria-label]="navLabel">
3261
- <ol class="vp-breadcrumb__list">
3262
- <!-- Indeksle izleniyor: yolsuz kirintinin ("Anonim oturum") anahtari yok. -->
3263
- @for (crumb of trail; track $index; let last = $last; let first = $first) {
3264
- <li class="vp-breadcrumb__item">
3265
- @if (!first) {
3266
- <span class="vp-breadcrumb__sep" data-vp-crumb-sep aria-hidden="true">/</span>
3267
- }
3268
- @if (last) {
3269
- <span
3270
- class="vp-breadcrumb__current"
3271
- data-vp-crumb
3272
- aria-current="page"
3273
- [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3274
- } @else if (!crumb.path) {
3275
- <span
3276
- class="vp-breadcrumb__text"
3277
- data-vp-crumb
3278
- [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3279
- } @else {
3280
- <a
3281
- class="vp-breadcrumb__link"
3282
- data-vp-crumb
3283
- [attr.href]="crumb.path"
3284
- [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</a>
3285
- }
3286
- </li>
3287
- }
3288
- </ol>
3289
- </nav>
3290
- }
3284
+ 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: `
3285
+ @if (trail.length > 0) {
3286
+ <nav class="vp-breadcrumb" [attr.aria-label]="navLabel">
3287
+ <ol class="vp-breadcrumb__list">
3288
+ <!-- Indeksle izleniyor: yolsuz kirintinin ("Anonim oturum") anahtari yok. -->
3289
+ @for (crumb of trail; track $index; let last = $last; let first = $first) {
3290
+ <li class="vp-breadcrumb__item">
3291
+ @if (!first) {
3292
+ <span class="vp-breadcrumb__sep" data-vp-crumb-sep aria-hidden="true">/</span>
3293
+ }
3294
+ @if (last) {
3295
+ <span
3296
+ class="vp-breadcrumb__current"
3297
+ data-vp-crumb
3298
+ aria-current="page"
3299
+ [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3300
+ } @else if (!crumb.path) {
3301
+ <span
3302
+ class="vp-breadcrumb__text"
3303
+ data-vp-crumb
3304
+ [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3305
+ } @else {
3306
+ <a
3307
+ class="vp-breadcrumb__link"
3308
+ data-vp-crumb
3309
+ [attr.href]="crumb.path"
3310
+ [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</a>
3311
+ }
3312
+ </li>
3313
+ }
3314
+ </ol>
3315
+ </nav>
3316
+ }
3291
3317
  `, isInline: true, styles: [":host{display:block}.vp-breadcrumb__list{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0;font-size:var(--vp-text-sm)}.vp-breadcrumb__item{display:flex;align-items:center;gap:7px;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__text{color:var(--vp-text-muted)}.vp-breadcrumb__current{color:var(--vp-text-secondary)}.vp-breadcrumb__sep{color:var(--vp-text-muted);opacity:.55}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3292
3318
  }
3293
3319
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBreadcrumbComponent, decorators: [{
3294
3320
  type: Component,
3295
- args: [{ selector: 'vp-breadcrumb', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
3296
- @if (trail.length > 0) {
3297
- <nav class="vp-breadcrumb" [attr.aria-label]="navLabel">
3298
- <ol class="vp-breadcrumb__list">
3299
- <!-- Indeksle izleniyor: yolsuz kirintinin ("Anonim oturum") anahtari yok. -->
3300
- @for (crumb of trail; track $index; let last = $last; let first = $first) {
3301
- <li class="vp-breadcrumb__item">
3302
- @if (!first) {
3303
- <span class="vp-breadcrumb__sep" data-vp-crumb-sep aria-hidden="true">/</span>
3304
- }
3305
- @if (last) {
3306
- <span
3307
- class="vp-breadcrumb__current"
3308
- data-vp-crumb
3309
- aria-current="page"
3310
- [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3311
- } @else if (!crumb.path) {
3312
- <span
3313
- class="vp-breadcrumb__text"
3314
- data-vp-crumb
3315
- [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3316
- } @else {
3317
- <a
3318
- class="vp-breadcrumb__link"
3319
- data-vp-crumb
3320
- [attr.href]="crumb.path"
3321
- [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</a>
3322
- }
3323
- </li>
3324
- }
3325
- </ol>
3326
- </nav>
3327
- }
3321
+ args: [{ selector: 'vp-breadcrumb', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
3322
+ @if (trail.length > 0) {
3323
+ <nav class="vp-breadcrumb" [attr.aria-label]="navLabel">
3324
+ <ol class="vp-breadcrumb__list">
3325
+ <!-- Indeksle izleniyor: yolsuz kirintinin ("Anonim oturum") anahtari yok. -->
3326
+ @for (crumb of trail; track $index; let last = $last; let first = $first) {
3327
+ <li class="vp-breadcrumb__item">
3328
+ @if (!first) {
3329
+ <span class="vp-breadcrumb__sep" data-vp-crumb-sep aria-hidden="true">/</span>
3330
+ }
3331
+ @if (last) {
3332
+ <span
3333
+ class="vp-breadcrumb__current"
3334
+ data-vp-crumb
3335
+ aria-current="page"
3336
+ [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3337
+ } @else if (!crumb.path) {
3338
+ <span
3339
+ class="vp-breadcrumb__text"
3340
+ data-vp-crumb
3341
+ [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</span>
3342
+ } @else {
3343
+ <a
3344
+ class="vp-breadcrumb__link"
3345
+ data-vp-crumb
3346
+ [attr.href]="crumb.path"
3347
+ [attr.title]="fullLabel(crumb.label)">{{ shortLabel(crumb.label) }}</a>
3348
+ }
3349
+ </li>
3350
+ }
3351
+ </ol>
3352
+ </nav>
3353
+ }
3328
3354
  `, styles: [":host{display:block}.vp-breadcrumb__list{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0;font-size:var(--vp-text-sm)}.vp-breadcrumb__item{display:flex;align-items:center;gap:7px;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__text{color:var(--vp-text-muted)}.vp-breadcrumb__current{color:var(--vp-text-secondary)}.vp-breadcrumb__sep{color:var(--vp-text-muted);opacity:.55}\n"] }]
3329
3355
  }], propDecorators: { trail: [{
3330
3356
  type: Input,
@@ -3381,28 +3407,28 @@ class VpThemeControlComponent {
3381
3407
  return `${this.label} — ${this.labelFor(this.nextMode)} moduna geç`;
3382
3408
  }
3383
3409
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3384
- 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: `
3385
- <!--
3386
- ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3387
- ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3388
- dokundugu bir ayar.
3389
-
3390
- aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3391
- bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3392
- -->
3393
- <button
3394
- pButton
3395
- type="button"
3396
- text
3397
- rounded
3398
- severity="secondary"
3399
- data-vp-theme-control
3400
- [attr.data-vp-theme-mode]="mode"
3401
- [icon]="icon"
3402
- [pTooltip]="label"
3403
- tooltipPosition="bottom"
3404
- [attr.aria-label]="ariaLabel"
3405
- (click)="cycle.emit()"></button>
3410
+ 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: `
3411
+ <!--
3412
+ ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3413
+ ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3414
+ dokundugu bir ayar.
3415
+
3416
+ aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3417
+ bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3418
+ -->
3419
+ <button
3420
+ pButton
3421
+ type="button"
3422
+ text
3423
+ rounded
3424
+ severity="secondary"
3425
+ data-vp-theme-control
3426
+ [attr.data-vp-theme-mode]="mode"
3427
+ [icon]="icon"
3428
+ [pTooltip]="label"
3429
+ tooltipPosition="bottom"
3430
+ [attr.aria-label]="ariaLabel"
3431
+ (click)="cycle.emit()"></button>
3406
3432
  `, 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 }); }
3407
3433
  }
3408
3434
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeControlComponent, decorators: [{
@@ -3412,28 +3438,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
3412
3438
  standalone: true,
3413
3439
  changeDetection: ChangeDetectionStrategy.OnPush,
3414
3440
  imports: [ButtonModule, TooltipModule],
3415
- template: `
3416
- <!--
3417
- ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3418
- ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3419
- dokundugu bir ayar.
3420
-
3421
- aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3422
- bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3423
- -->
3424
- <button
3425
- pButton
3426
- type="button"
3427
- text
3428
- rounded
3429
- severity="secondary"
3430
- data-vp-theme-control
3431
- [attr.data-vp-theme-mode]="mode"
3432
- [icon]="icon"
3433
- [pTooltip]="label"
3434
- tooltipPosition="bottom"
3435
- [attr.aria-label]="ariaLabel"
3436
- (click)="cycle.emit()"></button>
3441
+ template: `
3442
+ <!--
3443
+ ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3444
+ ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3445
+ dokundugu bir ayar.
3446
+
3447
+ aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3448
+ bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3449
+ -->
3450
+ <button
3451
+ pButton
3452
+ type="button"
3453
+ text
3454
+ rounded
3455
+ severity="secondary"
3456
+ data-vp-theme-control
3457
+ [attr.data-vp-theme-mode]="mode"
3458
+ [icon]="icon"
3459
+ [pTooltip]="label"
3460
+ tooltipPosition="bottom"
3461
+ [attr.aria-label]="ariaLabel"
3462
+ (click)="cycle.emit()"></button>
3437
3463
  `,
3438
3464
  }]
3439
3465
  }], propDecorators: { mode: [{
@@ -3466,84 +3492,84 @@ class VpSidebarToggleComponent {
3466
3492
  this.toggle = new EventEmitter();
3467
3493
  }
3468
3494
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3469
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSidebarToggleComponent, isStandalone: true, selector: "vp-sidebar-toggle", inputs: { collapsed: "collapsed", icon: "icon", controls: "controls", collapseLabel: "collapseLabel", expandLabel: "expandLabel" }, outputs: { toggle: "toggle" }, ngImport: i0, template: `
3470
- @if (icon === 'panel') {
3471
- <!--
3472
- Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3473
- YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3474
- -->
3475
- <button
3476
- type="button"
3477
- class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3478
- data-vp-sidebar-toggle
3479
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3480
- tooltipPosition="bottom"
3481
- [attr.aria-expanded]="!collapsed"
3482
- [attr.aria-controls]="controls"
3483
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3484
- (click)="toggle.emit()">
3485
- <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3486
- <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3487
- <path d="M6.4 3.2v9.6" />
3488
- </svg>
3489
- </button>
3490
- } @else {
3491
- <button
3492
- pButton
3493
- type="button"
3494
- text
3495
- rounded
3496
- severity="secondary"
3497
- data-vp-sidebar-toggle
3498
- icon="pi pi-bars"
3499
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3500
- tooltipPosition="bottom"
3501
- [attr.aria-expanded]="!collapsed"
3502
- [attr.aria-controls]="controls"
3503
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3504
- (click)="toggle.emit()"></button>
3505
- }
3495
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSidebarToggleComponent, isStandalone: true, selector: "vp-sidebar-toggle", inputs: { collapsed: "collapsed", icon: "icon", controls: "controls", collapseLabel: "collapseLabel", expandLabel: "expandLabel" }, outputs: { toggle: "toggle" }, ngImport: i0, template: `
3496
+ @if (icon === 'panel') {
3497
+ <!--
3498
+ Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3499
+ YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3500
+ -->
3501
+ <button
3502
+ type="button"
3503
+ class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3504
+ data-vp-sidebar-toggle
3505
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3506
+ tooltipPosition="bottom"
3507
+ [attr.aria-expanded]="!collapsed"
3508
+ [attr.aria-controls]="controls"
3509
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3510
+ (click)="toggle.emit()">
3511
+ <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3512
+ <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3513
+ <path d="M6.4 3.2v9.6" />
3514
+ </svg>
3515
+ </button>
3516
+ } @else {
3517
+ <button
3518
+ pButton
3519
+ type="button"
3520
+ text
3521
+ rounded
3522
+ severity="secondary"
3523
+ data-vp-sidebar-toggle
3524
+ icon="pi pi-bars"
3525
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3526
+ tooltipPosition="bottom"
3527
+ [attr.aria-expanded]="!collapsed"
3528
+ [attr.aria-controls]="controls"
3529
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3530
+ (click)="toggle.emit()"></button>
3531
+ }
3506
3532
  `, isInline: true, styles: [".vp-sidebar-toggle--panel{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:var(--vp-radius-md);background:none;color:var(--vp-text-secondary);cursor:pointer}.vp-sidebar-toggle--panel:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar-toggle--panel:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar-toggle--panel svg{width:16px;height:16px}@media(max-width:900px){.vp-sidebar-toggle--panel{width:var(--vp-touch-target, 44px);height:var(--vp-touch-target, 44px)}}\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: 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 }); }
3507
3533
  }
3508
3534
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarToggleComponent, decorators: [{
3509
3535
  type: Component,
3510
- args: [{ selector: 'vp-sidebar-toggle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, TooltipModule], template: `
3511
- @if (icon === 'panel') {
3512
- <!--
3513
- Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3514
- YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3515
- -->
3516
- <button
3517
- type="button"
3518
- class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3519
- data-vp-sidebar-toggle
3520
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3521
- tooltipPosition="bottom"
3522
- [attr.aria-expanded]="!collapsed"
3523
- [attr.aria-controls]="controls"
3524
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3525
- (click)="toggle.emit()">
3526
- <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3527
- <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3528
- <path d="M6.4 3.2v9.6" />
3529
- </svg>
3530
- </button>
3531
- } @else {
3532
- <button
3533
- pButton
3534
- type="button"
3535
- text
3536
- rounded
3537
- severity="secondary"
3538
- data-vp-sidebar-toggle
3539
- icon="pi pi-bars"
3540
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3541
- tooltipPosition="bottom"
3542
- [attr.aria-expanded]="!collapsed"
3543
- [attr.aria-controls]="controls"
3544
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3545
- (click)="toggle.emit()"></button>
3546
- }
3536
+ args: [{ selector: 'vp-sidebar-toggle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, TooltipModule], template: `
3537
+ @if (icon === 'panel') {
3538
+ <!--
3539
+ Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3540
+ YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3541
+ -->
3542
+ <button
3543
+ type="button"
3544
+ class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3545
+ data-vp-sidebar-toggle
3546
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3547
+ tooltipPosition="bottom"
3548
+ [attr.aria-expanded]="!collapsed"
3549
+ [attr.aria-controls]="controls"
3550
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3551
+ (click)="toggle.emit()">
3552
+ <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3553
+ <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3554
+ <path d="M6.4 3.2v9.6" />
3555
+ </svg>
3556
+ </button>
3557
+ } @else {
3558
+ <button
3559
+ pButton
3560
+ type="button"
3561
+ text
3562
+ rounded
3563
+ severity="secondary"
3564
+ data-vp-sidebar-toggle
3565
+ icon="pi pi-bars"
3566
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3567
+ tooltipPosition="bottom"
3568
+ [attr.aria-expanded]="!collapsed"
3569
+ [attr.aria-controls]="controls"
3570
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3571
+ (click)="toggle.emit()"></button>
3572
+ }
3547
3573
  `, styles: [".vp-sidebar-toggle--panel{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:var(--vp-radius-md);background:none;color:var(--vp-text-secondary);cursor:pointer}.vp-sidebar-toggle--panel:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-sidebar-toggle--panel:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-sidebar-toggle--panel svg{width:16px;height:16px}@media(max-width:900px){.vp-sidebar-toggle--panel{width:var(--vp-touch-target, 44px);height:var(--vp-touch-target, 44px)}}\n"] }]
3548
3574
  }], propDecorators: { collapsed: [{
3549
3575
  type: Input
@@ -3603,114 +3629,114 @@ class VpUserMenuComponent {
3603
3629
  return this.subtitle ? `${this.displayName} (${this.subtitle}) — hesap menüsü` : `${this.displayName} — hesap menüsü`;
3604
3630
  }
3605
3631
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3606
- 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", variant: "variant", compact: "compact" }, outputs: { opened: "opened" }, ngImport: i0, template: `
3607
- <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3608
- @if (variant === 'sidebar') {
3609
- <!--
3610
- Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3611
- avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3612
- -->
3613
- <button
3614
- type="button"
3615
- class="vp-user-menu__who"
3616
- data-vp-user-menu
3617
- [attr.aria-haspopup]="true"
3618
- [attr.aria-controls]="menuId"
3619
- [attr.aria-label]="ariaLabel"
3620
- [title]="displayName"
3621
- (click)="menu.toggle($event)">
3622
- <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3623
- @if (!compact) {
3624
- <span class="vp-user-menu__text">
3625
- <span class="vp-user-menu__name">{{ displayName }}</span>
3626
- @if (subtitle) {
3627
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3628
- }
3629
- </span>
3630
- <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3631
- <path d="M4 6.5 8 10.5 12 6.5" />
3632
- </svg>
3633
- }
3634
- </button>
3635
- } @else {
3636
- <button
3637
- pButton
3638
- type="button"
3639
- text
3640
- data-vp-user-menu
3641
- [attr.aria-haspopup]="true"
3642
- [attr.aria-controls]="menuId"
3643
- [attr.aria-label]="ariaLabel"
3644
- [title]="displayName"
3645
- (click)="menu.toggle($event)">
3646
- <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3647
- <span class="vp-user-menu__text">
3648
- <span class="vp-user-menu__name">{{ displayName }}</span>
3649
- @if (subtitle) {
3650
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3651
- }
3652
- </span>
3653
- </button>
3654
- }
3655
-
3656
- <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
3657
- </div>
3632
+ 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", variant: "variant", compact: "compact" }, outputs: { opened: "opened" }, ngImport: i0, template: `
3633
+ <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3634
+ @if (variant === 'sidebar') {
3635
+ <!--
3636
+ Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3637
+ avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3638
+ -->
3639
+ <button
3640
+ type="button"
3641
+ class="vp-user-menu__who"
3642
+ data-vp-user-menu
3643
+ [attr.aria-haspopup]="true"
3644
+ [attr.aria-controls]="menuId"
3645
+ [attr.aria-label]="ariaLabel"
3646
+ [title]="displayName"
3647
+ (click)="menu.toggle($event)">
3648
+ <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3649
+ @if (!compact) {
3650
+ <span class="vp-user-menu__text">
3651
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3652
+ @if (subtitle) {
3653
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3654
+ }
3655
+ </span>
3656
+ <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3657
+ <path d="M4 6.5 8 10.5 12 6.5" />
3658
+ </svg>
3659
+ }
3660
+ </button>
3661
+ } @else {
3662
+ <button
3663
+ pButton
3664
+ type="button"
3665
+ text
3666
+ data-vp-user-menu
3667
+ [attr.aria-haspopup]="true"
3668
+ [attr.aria-controls]="menuId"
3669
+ [attr.aria-label]="ariaLabel"
3670
+ [title]="displayName"
3671
+ (click)="menu.toggle($event)">
3672
+ <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3673
+ <span class="vp-user-menu__text">
3674
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3675
+ @if (subtitle) {
3676
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3677
+ }
3678
+ </span>
3679
+ </button>
3680
+ }
3681
+
3682
+ <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
3683
+ </div>
3658
3684
  `, 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[data-variant=sidebar]{display:block}.vp-user-menu__who{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:var(--vp-radius-md);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.vp-user-menu__who:hover{border-color:var(--vp-border-default);background:var(--vp-surface-sunken)}.vp-user-menu__who:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-compact] .vp-user-menu__who{justify-content:center;padding:5px 0}.vp-user-menu__avatar--square{flex:none;width:28px;height:28px;margin-right:0;border-radius:var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-text-sm)}.vp-user-menu[data-compact] .vp-user-menu__avatar--square{width:26px;height:26px;font-size:11px}.vp-user-menu__who .vp-user-menu__text{flex:1;min-width:0}.vp-user-menu__who .vp-user-menu__name{display:block;overflow:hidden;font-size:var(--vp-text-sm);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__who .vp-user-menu__subtitle{display:block}.vp-user-menu__who .vp-user-menu__subtitle{color:var(--vp-text-muted)}.vp-user-menu__chevron{flex:none;width:12px;height:12px;color:var(--vp-text-muted)}.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 }); }
3659
3685
  }
3660
3686
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, decorators: [{
3661
3687
  type: Component,
3662
- args: [{ selector: 'vp-user-menu', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, MenuModule], template: `
3663
- <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3664
- @if (variant === 'sidebar') {
3665
- <!--
3666
- Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3667
- avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3668
- -->
3669
- <button
3670
- type="button"
3671
- class="vp-user-menu__who"
3672
- data-vp-user-menu
3673
- [attr.aria-haspopup]="true"
3674
- [attr.aria-controls]="menuId"
3675
- [attr.aria-label]="ariaLabel"
3676
- [title]="displayName"
3677
- (click)="menu.toggle($event)">
3678
- <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3679
- @if (!compact) {
3680
- <span class="vp-user-menu__text">
3681
- <span class="vp-user-menu__name">{{ displayName }}</span>
3682
- @if (subtitle) {
3683
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3684
- }
3685
- </span>
3686
- <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3687
- <path d="M4 6.5 8 10.5 12 6.5" />
3688
- </svg>
3689
- }
3690
- </button>
3691
- } @else {
3692
- <button
3693
- pButton
3694
- type="button"
3695
- text
3696
- data-vp-user-menu
3697
- [attr.aria-haspopup]="true"
3698
- [attr.aria-controls]="menuId"
3699
- [attr.aria-label]="ariaLabel"
3700
- [title]="displayName"
3701
- (click)="menu.toggle($event)">
3702
- <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3703
- <span class="vp-user-menu__text">
3704
- <span class="vp-user-menu__name">{{ displayName }}</span>
3705
- @if (subtitle) {
3706
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3707
- }
3708
- </span>
3709
- </button>
3710
- }
3711
-
3712
- <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
3713
- </div>
3688
+ args: [{ selector: 'vp-user-menu', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, MenuModule], template: `
3689
+ <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3690
+ @if (variant === 'sidebar') {
3691
+ <!--
3692
+ Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3693
+ avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3694
+ -->
3695
+ <button
3696
+ type="button"
3697
+ class="vp-user-menu__who"
3698
+ data-vp-user-menu
3699
+ [attr.aria-haspopup]="true"
3700
+ [attr.aria-controls]="menuId"
3701
+ [attr.aria-label]="ariaLabel"
3702
+ [title]="displayName"
3703
+ (click)="menu.toggle($event)">
3704
+ <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3705
+ @if (!compact) {
3706
+ <span class="vp-user-menu__text">
3707
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3708
+ @if (subtitle) {
3709
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3710
+ }
3711
+ </span>
3712
+ <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3713
+ <path d="M4 6.5 8 10.5 12 6.5" />
3714
+ </svg>
3715
+ }
3716
+ </button>
3717
+ } @else {
3718
+ <button
3719
+ pButton
3720
+ type="button"
3721
+ text
3722
+ data-vp-user-menu
3723
+ [attr.aria-haspopup]="true"
3724
+ [attr.aria-controls]="menuId"
3725
+ [attr.aria-label]="ariaLabel"
3726
+ [title]="displayName"
3727
+ (click)="menu.toggle($event)">
3728
+ <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3729
+ <span class="vp-user-menu__text">
3730
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3731
+ @if (subtitle) {
3732
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3733
+ }
3734
+ </span>
3735
+ </button>
3736
+ }
3737
+
3738
+ <p-menu #menu [model]="items" [popup]="true" [id]="menuId" />
3739
+ </div>
3714
3740
  `, 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[data-variant=sidebar]{display:block}.vp-user-menu__who{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:var(--vp-radius-md);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.vp-user-menu__who:hover{border-color:var(--vp-border-default);background:var(--vp-surface-sunken)}.vp-user-menu__who:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-compact] .vp-user-menu__who{justify-content:center;padding:5px 0}.vp-user-menu__avatar--square{flex:none;width:28px;height:28px;margin-right:0;border-radius:var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-text-sm)}.vp-user-menu[data-compact] .vp-user-menu__avatar--square{width:26px;height:26px;font-size:11px}.vp-user-menu__who .vp-user-menu__text{flex:1;min-width:0}.vp-user-menu__who .vp-user-menu__name{display:block;overflow:hidden;font-size:var(--vp-text-sm);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__who .vp-user-menu__subtitle{display:block}.vp-user-menu__who .vp-user-menu__subtitle{color:var(--vp-text-muted)}.vp-user-menu__chevron{flex:none;width:12px;height:12px;color:var(--vp-text-muted)}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"] }]
3715
3741
  }], propDecorators: { displayName: [{
3716
3742
  type: Input,
@@ -4514,72 +4540,72 @@ class VpGlobalLayersComponent {
4514
4540
  this.action.emit(id);
4515
4541
  }
4516
4542
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpGlobalLayersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4517
- 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", islandNotice: "islandNotice", islandPending: "islandPending", islandLabels: "islandLabels" }, outputs: { islandOpened: "islandOpened", islandDismissed: "islandDismissed", action: "action" }, ngImport: i0, template: `
4518
- <vp-toast
4519
- [toasts]="toastService.toasts()"
4520
- (dismissed)="toastService.dismiss($event)"
4521
- (actioned)="actioned($event)" />
4522
-
4523
- <!--
4524
- Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4525
- olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4526
- -->
4527
- <vp-notification-island
4528
- [notice]="islandNotice"
4529
- [pending]="islandPending"
4530
- [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4531
- [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4532
- [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4533
- [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4534
- [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4535
- (opened)="islandOpened.emit($event)"
4536
- (dismissed)="islandDismissed.emit($event)" />
4537
-
4538
- @if (loading) {
4539
- <div
4540
- class="vp-global-layers__overlay"
4541
- data-vp-loading-overlay
4542
- role="status"
4543
- aria-busy="true"
4544
- [attr.aria-label]="loadingLabel">
4545
- <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4546
- </div>
4547
- }
4543
+ 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", islandNotice: "islandNotice", islandPending: "islandPending", islandLabels: "islandLabels" }, outputs: { islandOpened: "islandOpened", islandDismissed: "islandDismissed", action: "action" }, ngImport: i0, template: `
4544
+ <vp-toast
4545
+ [toasts]="toastService.toasts()"
4546
+ (dismissed)="toastService.dismiss($event)"
4547
+ (actioned)="actioned($event)" />
4548
+
4549
+ <!--
4550
+ Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4551
+ olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4552
+ -->
4553
+ <vp-notification-island
4554
+ [notice]="islandNotice"
4555
+ [pending]="islandPending"
4556
+ [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4557
+ [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4558
+ [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4559
+ [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4560
+ [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4561
+ (opened)="islandOpened.emit($event)"
4562
+ (dismissed)="islandDismissed.emit($event)" />
4563
+
4564
+ @if (loading) {
4565
+ <div
4566
+ class="vp-global-layers__overlay"
4567
+ data-vp-loading-overlay
4568
+ role="status"
4569
+ aria-busy="true"
4570
+ [attr.aria-label]="loadingLabel">
4571
+ <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4572
+ </div>
4573
+ }
4548
4574
  `, 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"] }, { kind: "component", type: VpNotificationIslandComponent, selector: "vp-notification-island", inputs: ["notice", "pending", "duration", "closeLabel", "goLabel", "pendingLabel", "remainingLabel", "stickyLabel"], outputs: ["opened", "dismissed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4549
4575
  }
4550
4576
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpGlobalLayersComponent, decorators: [{
4551
4577
  type: Component,
4552
- args: [{ selector: 'vp-global-layers', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpToastComponent, VpNotificationIslandComponent], template: `
4553
- <vp-toast
4554
- [toasts]="toastService.toasts()"
4555
- (dismissed)="toastService.dismiss($event)"
4556
- (actioned)="actioned($event)" />
4557
-
4558
- <!--
4559
- Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4560
- olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4561
- -->
4562
- <vp-notification-island
4563
- [notice]="islandNotice"
4564
- [pending]="islandPending"
4565
- [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4566
- [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4567
- [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4568
- [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4569
- [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4570
- (opened)="islandOpened.emit($event)"
4571
- (dismissed)="islandDismissed.emit($event)" />
4572
-
4573
- @if (loading) {
4574
- <div
4575
- class="vp-global-layers__overlay"
4576
- data-vp-loading-overlay
4577
- role="status"
4578
- aria-busy="true"
4579
- [attr.aria-label]="loadingLabel">
4580
- <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4581
- </div>
4582
- }
4578
+ args: [{ selector: 'vp-global-layers', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpToastComponent, VpNotificationIslandComponent], template: `
4579
+ <vp-toast
4580
+ [toasts]="toastService.toasts()"
4581
+ (dismissed)="toastService.dismiss($event)"
4582
+ (actioned)="actioned($event)" />
4583
+
4584
+ <!--
4585
+ Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4586
+ olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4587
+ -->
4588
+ <vp-notification-island
4589
+ [notice]="islandNotice"
4590
+ [pending]="islandPending"
4591
+ [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4592
+ [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4593
+ [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4594
+ [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4595
+ [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4596
+ (opened)="islandOpened.emit($event)"
4597
+ (dismissed)="islandDismissed.emit($event)" />
4598
+
4599
+ @if (loading) {
4600
+ <div
4601
+ class="vp-global-layers__overlay"
4602
+ data-vp-loading-overlay
4603
+ role="status"
4604
+ aria-busy="true"
4605
+ [attr.aria-label]="loadingLabel">
4606
+ <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4607
+ </div>
4608
+ }
4583
4609
  `, 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"] }]
4584
4610
  }], propDecorators: { loading: [{
4585
4611
  type: Input
@@ -4645,96 +4671,96 @@ class VpNotificationTriggerComponent {
4645
4671
  return this.unread > 0 ? `${this.title} — ${this.unread} okunmamış` : `${this.title} — okunmamış yok`;
4646
4672
  }
4647
4673
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpNotificationTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4648
- 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: `
4649
- <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4650
- <button
4651
- pButton
4652
- type="button"
4653
- text
4654
- rounded
4655
- severity="secondary"
4656
- data-vp-notification-trigger
4657
- icon="pi pi-bell"
4658
- [attr.aria-label]="ariaLabel"
4659
- [attr.aria-haspopup]="true"
4660
- [attr.aria-controls]="panelId"
4661
- (click)="panel.toggle($event); opened.emit()"></button>
4662
- </p-overlaybadge>
4663
-
4664
- <p-popover #panel [id]="panelId">
4665
- <div class="vp-notification-trigger__panel">
4666
- <p class="vp-notification-trigger__title">{{ title }}</p>
4667
-
4668
- @if (items.length === 0) {
4669
- <!--
4670
- Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4671
- yuklenip yuklenmedigini soylemiyor.
4672
- -->
4673
- <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4674
- } @else {
4675
- <ul class="vp-notification-trigger__list">
4676
- @for (item of items; track item.id) {
4677
- <li
4678
- class="vp-notification-trigger__item"
4679
- [attr.data-vp-notification]="item.id"
4680
- [attr.data-unread]="item.unread ? 'true' : null">
4681
- <span class="vp-notification-trigger__message">{{ item.message }}</span>
4682
- @if (item.timeLabel) {
4683
- <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4684
- }
4685
- </li>
4686
- }
4687
- </ul>
4688
- }
4689
- </div>
4690
- </p-popover>
4674
+ 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: `
4675
+ <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4676
+ <button
4677
+ pButton
4678
+ type="button"
4679
+ text
4680
+ rounded
4681
+ severity="secondary"
4682
+ data-vp-notification-trigger
4683
+ icon="pi pi-bell"
4684
+ [attr.aria-label]="ariaLabel"
4685
+ [attr.aria-haspopup]="true"
4686
+ [attr.aria-controls]="panelId"
4687
+ (click)="panel.toggle($event); opened.emit()"></button>
4688
+ </p-overlaybadge>
4689
+
4690
+ <p-popover #panel [id]="panelId">
4691
+ <div class="vp-notification-trigger__panel">
4692
+ <p class="vp-notification-trigger__title">{{ title }}</p>
4693
+
4694
+ @if (items.length === 0) {
4695
+ <!--
4696
+ Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4697
+ yuklenip yuklenmedigini soylemiyor.
4698
+ -->
4699
+ <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4700
+ } @else {
4701
+ <ul class="vp-notification-trigger__list">
4702
+ @for (item of items; track item.id) {
4703
+ <li
4704
+ class="vp-notification-trigger__item"
4705
+ [attr.data-vp-notification]="item.id"
4706
+ [attr.data-unread]="item.unread ? 'true' : null">
4707
+ <span class="vp-notification-trigger__message">{{ item.message }}</span>
4708
+ @if (item.timeLabel) {
4709
+ <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4710
+ }
4711
+ </li>
4712
+ }
4713
+ </ul>
4714
+ }
4715
+ </div>
4716
+ </p-popover>
4691
4717
  `, 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 }); }
4692
4718
  }
4693
4719
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpNotificationTriggerComponent, decorators: [{
4694
4720
  type: Component,
4695
- args: [{ selector: 'vp-notification-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, OverlayBadgeModule, PopoverModule], template: `
4696
- <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4697
- <button
4698
- pButton
4699
- type="button"
4700
- text
4701
- rounded
4702
- severity="secondary"
4703
- data-vp-notification-trigger
4704
- icon="pi pi-bell"
4705
- [attr.aria-label]="ariaLabel"
4706
- [attr.aria-haspopup]="true"
4707
- [attr.aria-controls]="panelId"
4708
- (click)="panel.toggle($event); opened.emit()"></button>
4709
- </p-overlaybadge>
4710
-
4711
- <p-popover #panel [id]="panelId">
4712
- <div class="vp-notification-trigger__panel">
4713
- <p class="vp-notification-trigger__title">{{ title }}</p>
4714
-
4715
- @if (items.length === 0) {
4716
- <!--
4717
- Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4718
- yuklenip yuklenmedigini soylemiyor.
4719
- -->
4720
- <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4721
- } @else {
4722
- <ul class="vp-notification-trigger__list">
4723
- @for (item of items; track item.id) {
4724
- <li
4725
- class="vp-notification-trigger__item"
4726
- [attr.data-vp-notification]="item.id"
4727
- [attr.data-unread]="item.unread ? 'true' : null">
4728
- <span class="vp-notification-trigger__message">{{ item.message }}</span>
4729
- @if (item.timeLabel) {
4730
- <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4731
- }
4732
- </li>
4733
- }
4734
- </ul>
4735
- }
4736
- </div>
4737
- </p-popover>
4721
+ args: [{ selector: 'vp-notification-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, OverlayBadgeModule, PopoverModule], template: `
4722
+ <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4723
+ <button
4724
+ pButton
4725
+ type="button"
4726
+ text
4727
+ rounded
4728
+ severity="secondary"
4729
+ data-vp-notification-trigger
4730
+ icon="pi pi-bell"
4731
+ [attr.aria-label]="ariaLabel"
4732
+ [attr.aria-haspopup]="true"
4733
+ [attr.aria-controls]="panelId"
4734
+ (click)="panel.toggle($event); opened.emit()"></button>
4735
+ </p-overlaybadge>
4736
+
4737
+ <p-popover #panel [id]="panelId">
4738
+ <div class="vp-notification-trigger__panel">
4739
+ <p class="vp-notification-trigger__title">{{ title }}</p>
4740
+
4741
+ @if (items.length === 0) {
4742
+ <!--
4743
+ Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4744
+ yuklenip yuklenmedigini soylemiyor.
4745
+ -->
4746
+ <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4747
+ } @else {
4748
+ <ul class="vp-notification-trigger__list">
4749
+ @for (item of items; track item.id) {
4750
+ <li
4751
+ class="vp-notification-trigger__item"
4752
+ [attr.data-vp-notification]="item.id"
4753
+ [attr.data-unread]="item.unread ? 'true' : null">
4754
+ <span class="vp-notification-trigger__message">{{ item.message }}</span>
4755
+ @if (item.timeLabel) {
4756
+ <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4757
+ }
4758
+ </li>
4759
+ }
4760
+ </ul>
4761
+ }
4762
+ </div>
4763
+ </p-popover>
4738
4764
  `, 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"] }]
4739
4765
  }], propDecorators: { items: [{
4740
4766
  type: Input
@@ -4959,58 +4985,58 @@ class VpSearchTriggerComponent {
4959
4985
  this.opened = new EventEmitter();
4960
4986
  }
4961
4987
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSearchTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4962
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSearchTriggerComponent, isStandalone: true, selector: "vp-search-trigger", inputs: { label: "label", variant: "variant", railLabel: "railLabel", hint: "hint", keyShortcut: "keyShortcut" }, outputs: { opened: "opened" }, host: { properties: { "attr.data-variant": "variant" } }, ngImport: i0, template: `
4963
- <!--
4964
- Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
4965
- Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
4966
- -->
4967
- <button
4968
- pButton
4969
- type="button"
4970
- text
4971
- severity="secondary"
4972
- data-vp-search-trigger
4973
- class="vp-search-trigger"
4974
- [attr.data-vp-search-variant]="variant"
4975
- [attr.aria-label]="variant === 'rail' ? railLabel : label"
4976
- [attr.aria-keyshortcuts]="keyShortcut"
4977
- (click)="opened.emit()">
4978
- <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
4979
- @if (variant !== 'rail') {
4980
- <span class="vp-search-trigger__label">{{ label }}</span>
4981
- @if (hint) {
4982
- <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
4983
- }
4984
- }
4985
- </button>
4988
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSearchTriggerComponent, isStandalone: true, selector: "vp-search-trigger", inputs: { label: "label", variant: "variant", railLabel: "railLabel", hint: "hint", keyShortcut: "keyShortcut" }, outputs: { opened: "opened" }, host: { properties: { "attr.data-variant": "variant" } }, ngImport: i0, template: `
4989
+ <!--
4990
+ Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
4991
+ Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
4992
+ -->
4993
+ <button
4994
+ pButton
4995
+ type="button"
4996
+ text
4997
+ severity="secondary"
4998
+ data-vp-search-trigger
4999
+ class="vp-search-trigger"
5000
+ [attr.data-vp-search-variant]="variant"
5001
+ [attr.aria-label]="variant === 'rail' ? railLabel : label"
5002
+ [attr.aria-keyshortcuts]="keyShortcut"
5003
+ (click)="opened.emit()">
5004
+ <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
5005
+ @if (variant !== 'rail') {
5006
+ <span class="vp-search-trigger__label">{{ label }}</span>
5007
+ @if (hint) {
5008
+ <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
5009
+ }
5010
+ }
5011
+ </button>
4986
5012
  `, 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[data-vp-search-variant=bar]{min-width:0}[data-vp-search-variant=bar] .vp-search-trigger__label,[data-vp-search-variant=bar] .vp-search-trigger__hint{display:none}}:host([data-variant=\"field\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=field]{width:100%;min-width:0;min-height:32px;padding:6px 10px;gap:8px;border-color:var(--vp-border-subtle);border-radius:var(--vp-radius-md);background:var(--vp-surface-base);font-size:var(--vp-text-sm)}:host([data-variant=\"rail\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail]{display:grid;place-items:center;width:40px;min-width:0;height:40px;margin:0 auto;padding:0;border:0;border-radius:var(--vp-radius-xl);color:var(--vp-text-secondary)}\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 }); }
4987
5013
  }
4988
5014
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSearchTriggerComponent, decorators: [{
4989
5015
  type: Component,
4990
- args: [{ selector: 'vp-search-trigger', standalone: true, host: { '[attr.data-variant]': 'variant' }, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule], template: `
4991
- <!--
4992
- Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
4993
- Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
4994
- -->
4995
- <button
4996
- pButton
4997
- type="button"
4998
- text
4999
- severity="secondary"
5000
- data-vp-search-trigger
5001
- class="vp-search-trigger"
5002
- [attr.data-vp-search-variant]="variant"
5003
- [attr.aria-label]="variant === 'rail' ? railLabel : label"
5004
- [attr.aria-keyshortcuts]="keyShortcut"
5005
- (click)="opened.emit()">
5006
- <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
5007
- @if (variant !== 'rail') {
5008
- <span class="vp-search-trigger__label">{{ label }}</span>
5009
- @if (hint) {
5010
- <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
5011
- }
5012
- }
5013
- </button>
5016
+ args: [{ selector: 'vp-search-trigger', standalone: true, host: { '[attr.data-variant]': 'variant' }, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule], template: `
5017
+ <!--
5018
+ Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
5019
+ Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
5020
+ -->
5021
+ <button
5022
+ pButton
5023
+ type="button"
5024
+ text
5025
+ severity="secondary"
5026
+ data-vp-search-trigger
5027
+ class="vp-search-trigger"
5028
+ [attr.data-vp-search-variant]="variant"
5029
+ [attr.aria-label]="variant === 'rail' ? railLabel : label"
5030
+ [attr.aria-keyshortcuts]="keyShortcut"
5031
+ (click)="opened.emit()">
5032
+ <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
5033
+ @if (variant !== 'rail') {
5034
+ <span class="vp-search-trigger__label">{{ label }}</span>
5035
+ @if (hint) {
5036
+ <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
5037
+ }
5038
+ }
5039
+ </button>
5014
5040
  `, 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[data-vp-search-variant=bar]{min-width:0}[data-vp-search-variant=bar] .vp-search-trigger__label,[data-vp-search-variant=bar] .vp-search-trigger__hint{display:none}}:host([data-variant=\"field\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=field]{width:100%;min-width:0;min-height:32px;padding:6px 10px;gap:8px;border-color:var(--vp-border-subtle);border-radius:var(--vp-radius-md);background:var(--vp-surface-base);font-size:var(--vp-text-sm)}:host([data-variant=\"rail\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail]{display:grid;place-items:center;width:40px;min-width:0;height:40px;margin:0 auto;padding:0;border:0;border-radius:var(--vp-radius-xl);color:var(--vp-text-secondary)}\n"] }]
5015
5041
  }], propDecorators: { label: [{
5016
5042
  type: Input
@@ -5163,78 +5189,78 @@ class VpProductSwitcherComponent {
5163
5189
  this.selected.emit(product);
5164
5190
  }
5165
5191
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpProductSwitcherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5166
- 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: `
5167
- <button
5168
- pButton
5169
- type="button"
5170
- text
5171
- severity="secondary"
5172
- data-vp-product-switcher
5173
- icon="pi pi-th-large"
5174
- iconPos="left"
5175
- [label]="currentLabel"
5176
- [attr.aria-label]="ariaLabel"
5177
- [attr.aria-haspopup]="true"
5178
- [attr.aria-controls]="panelId"
5179
- (click)="panel.toggle($event)"></button>
5180
-
5181
- <p-popover #panel [id]="panelId">
5182
- <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5183
- @for (product of products; track product.id) {
5184
- <li>
5185
- <button
5186
- type="button"
5187
- class="vp-product-switcher__item"
5188
- [attr.data-vp-product]="product.id"
5189
- [attr.aria-current]="product.id === currentId ? 'page' : null"
5190
- (click)="pick(product)">
5191
- <span class="vp-product-switcher__name">{{ product.label }}</span>
5192
- @if (product.description) {
5193
- <span class="vp-product-switcher__desc">{{ product.description }}</span>
5194
- }
5195
- </button>
5196
- </li>
5197
- }
5198
- </ul>
5199
- </p-popover>
5192
+ 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: `
5193
+ <button
5194
+ pButton
5195
+ type="button"
5196
+ text
5197
+ severity="secondary"
5198
+ data-vp-product-switcher
5199
+ icon="pi pi-th-large"
5200
+ iconPos="left"
5201
+ [label]="currentLabel"
5202
+ [attr.aria-label]="ariaLabel"
5203
+ [attr.aria-haspopup]="true"
5204
+ [attr.aria-controls]="panelId"
5205
+ (click)="panel.toggle($event)"></button>
5206
+
5207
+ <p-popover #panel [id]="panelId">
5208
+ <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5209
+ @for (product of products; track product.id) {
5210
+ <li>
5211
+ <button
5212
+ type="button"
5213
+ class="vp-product-switcher__item"
5214
+ [attr.data-vp-product]="product.id"
5215
+ [attr.aria-current]="product.id === currentId ? 'page' : null"
5216
+ (click)="pick(product)">
5217
+ <span class="vp-product-switcher__name">{{ product.label }}</span>
5218
+ @if (product.description) {
5219
+ <span class="vp-product-switcher__desc">{{ product.description }}</span>
5220
+ }
5221
+ </button>
5222
+ </li>
5223
+ }
5224
+ </ul>
5225
+ </p-popover>
5200
5226
  `, 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 }); }
5201
5227
  }
5202
5228
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpProductSwitcherComponent, decorators: [{
5203
5229
  type: Component,
5204
- args: [{ selector: 'vp-product-switcher', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, PopoverModule], template: `
5205
- <button
5206
- pButton
5207
- type="button"
5208
- text
5209
- severity="secondary"
5210
- data-vp-product-switcher
5211
- icon="pi pi-th-large"
5212
- iconPos="left"
5213
- [label]="currentLabel"
5214
- [attr.aria-label]="ariaLabel"
5215
- [attr.aria-haspopup]="true"
5216
- [attr.aria-controls]="panelId"
5217
- (click)="panel.toggle($event)"></button>
5218
-
5219
- <p-popover #panel [id]="panelId">
5220
- <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5221
- @for (product of products; track product.id) {
5222
- <li>
5223
- <button
5224
- type="button"
5225
- class="vp-product-switcher__item"
5226
- [attr.data-vp-product]="product.id"
5227
- [attr.aria-current]="product.id === currentId ? 'page' : null"
5228
- (click)="pick(product)">
5229
- <span class="vp-product-switcher__name">{{ product.label }}</span>
5230
- @if (product.description) {
5231
- <span class="vp-product-switcher__desc">{{ product.description }}</span>
5232
- }
5233
- </button>
5234
- </li>
5235
- }
5236
- </ul>
5237
- </p-popover>
5230
+ args: [{ selector: 'vp-product-switcher', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, PopoverModule], template: `
5231
+ <button
5232
+ pButton
5233
+ type="button"
5234
+ text
5235
+ severity="secondary"
5236
+ data-vp-product-switcher
5237
+ icon="pi pi-th-large"
5238
+ iconPos="left"
5239
+ [label]="currentLabel"
5240
+ [attr.aria-label]="ariaLabel"
5241
+ [attr.aria-haspopup]="true"
5242
+ [attr.aria-controls]="panelId"
5243
+ (click)="panel.toggle($event)"></button>
5244
+
5245
+ <p-popover #panel [id]="panelId">
5246
+ <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5247
+ @for (product of products; track product.id) {
5248
+ <li>
5249
+ <button
5250
+ type="button"
5251
+ class="vp-product-switcher__item"
5252
+ [attr.data-vp-product]="product.id"
5253
+ [attr.aria-current]="product.id === currentId ? 'page' : null"
5254
+ (click)="pick(product)">
5255
+ <span class="vp-product-switcher__name">{{ product.label }}</span>
5256
+ @if (product.description) {
5257
+ <span class="vp-product-switcher__desc">{{ product.description }}</span>
5258
+ }
5259
+ </button>
5260
+ </li>
5261
+ }
5262
+ </ul>
5263
+ </p-popover>
5238
5264
  `, 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"] }]
5239
5265
  }], propDecorators: { products: [{
5240
5266
  type: Input
@@ -7022,36 +7048,36 @@ class VpDrawerComponent {
7022
7048
  target.focus();
7023
7049
  }
7024
7050
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7025
- 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: `
7026
- <p-drawer
7027
- [visible]="open"
7028
- (visibleChange)="onVisibleChange($event)"
7029
- [position]="position"
7030
- [header]="title"
7031
- [modal]="modal"
7032
- [style]="{ width: width }"
7033
- [ariaCloseLabel]="closeLabel"
7034
- [styleClass]="panelClass"
7035
- (onHide)="closed.emit()">
7036
- <ng-content />
7037
- </p-drawer>
7051
+ 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: `
7052
+ <p-drawer
7053
+ [visible]="open"
7054
+ (visibleChange)="onVisibleChange($event)"
7055
+ [position]="position"
7056
+ [header]="title"
7057
+ [modal]="modal"
7058
+ [style]="{ width: width }"
7059
+ [ariaCloseLabel]="closeLabel"
7060
+ [styleClass]="panelClass"
7061
+ (onHide)="closed.emit()">
7062
+ <ng-content />
7063
+ </p-drawer>
7038
7064
  `, 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 }); }
7039
7065
  }
7040
7066
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDrawerComponent, decorators: [{
7041
7067
  type: Component,
7042
- args: [{ selector: 'vp-drawer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [DrawerModule], template: `
7043
- <p-drawer
7044
- [visible]="open"
7045
- (visibleChange)="onVisibleChange($event)"
7046
- [position]="position"
7047
- [header]="title"
7048
- [modal]="modal"
7049
- [style]="{ width: width }"
7050
- [ariaCloseLabel]="closeLabel"
7051
- [styleClass]="panelClass"
7052
- (onHide)="closed.emit()">
7053
- <ng-content />
7054
- </p-drawer>
7068
+ args: [{ selector: 'vp-drawer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [DrawerModule], template: `
7069
+ <p-drawer
7070
+ [visible]="open"
7071
+ (visibleChange)="onVisibleChange($event)"
7072
+ [position]="position"
7073
+ [header]="title"
7074
+ [modal]="modal"
7075
+ [style]="{ width: width }"
7076
+ [ariaCloseLabel]="closeLabel"
7077
+ [styleClass]="panelClass"
7078
+ (onHide)="closed.emit()">
7079
+ <ng-content />
7080
+ </p-drawer>
7055
7081
  `, 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"] }]
7056
7082
  }], propDecorators: { open: [{
7057
7083
  type: Input
@@ -7303,52 +7329,52 @@ class VpFieldComponent {
7303
7329
  this.cdr.markForCheck();
7304
7330
  }
7305
7331
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7306
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpFieldComponent, isStandalone: true, selector: "vp-field", inputs: { label: "label", labelStyle: "labelStyle", hint: "hint", error: "error", required: "required" }, usesOnChanges: true, ngImport: i0, template: `
7307
- <div class="vp-field">
7308
- <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7309
- {{ label }}
7310
- @if (required) {
7311
- <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7312
- }
7313
- </label>
7314
-
7315
- <div class="vp-field__control">
7316
- <ng-content />
7317
- </div>
7318
-
7319
- @if (hint) {
7320
- <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7321
- }
7322
-
7323
- @if (error) {
7324
- <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7325
- }
7326
- </div>
7332
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpFieldComponent, isStandalone: true, selector: "vp-field", inputs: { label: "label", labelStyle: "labelStyle", hint: "hint", error: "error", required: "required" }, usesOnChanges: true, ngImport: i0, template: `
7333
+ <div class="vp-field">
7334
+ <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7335
+ {{ label }}
7336
+ @if (required) {
7337
+ <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7338
+ }
7339
+ </label>
7340
+
7341
+ <div class="vp-field__control">
7342
+ <ng-content />
7343
+ </div>
7344
+
7345
+ @if (hint) {
7346
+ <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7347
+ }
7348
+
7349
+ @if (error) {
7350
+ <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7351
+ }
7352
+ </div>
7327
7353
  `, 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__label[data-vp-label-style=caps]{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-weight:var(--vp-weight-normal);letter-spacing:.05em;text-transform:uppercase}.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 }); }
7328
7354
  }
7329
7355
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFieldComponent, decorators: [{
7330
7356
  type: Component,
7331
- args: [{ selector: 'vp-field', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
7332
- <div class="vp-field">
7333
- <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7334
- {{ label }}
7335
- @if (required) {
7336
- <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7337
- }
7338
- </label>
7339
-
7340
- <div class="vp-field__control">
7341
- <ng-content />
7342
- </div>
7343
-
7344
- @if (hint) {
7345
- <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7346
- }
7347
-
7348
- @if (error) {
7349
- <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7350
- }
7351
- </div>
7357
+ args: [{ selector: 'vp-field', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
7358
+ <div class="vp-field">
7359
+ <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7360
+ {{ label }}
7361
+ @if (required) {
7362
+ <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7363
+ }
7364
+ </label>
7365
+
7366
+ <div class="vp-field__control">
7367
+ <ng-content />
7368
+ </div>
7369
+
7370
+ @if (hint) {
7371
+ <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7372
+ }
7373
+
7374
+ @if (error) {
7375
+ <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7376
+ }
7377
+ </div>
7352
7378
  `, 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__label[data-vp-label-style=caps]{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-weight:var(--vp-weight-normal);letter-spacing:.05em;text-transform:uppercase}.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"] }]
7353
7379
  }], propDecorators: { label: [{
7354
7380
  type: Input,
@@ -9485,6 +9511,181 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
9485
9511
  type: Input
9486
9512
  }] } });
9487
9513
 
9514
+ const VIEW = { w: 320, h: 120, padL: 3, padR: 3, padT: 8, padB: 6 };
9515
+ /**
9516
+ * Kullanım alan grafiği — PRG-38 / design-system 003 (Claude Design `konsol-prototip.html`
9517
+ * "KULLANIM VE LİMİT" bloğu). Zaman serisi alanı + kesikli günlük-limit çizgisi + uç etiketi.
9518
+ *
9519
+ * Kurallar:
9520
+ * - Token renk (`--vp-brand` çizgi · `--vp-brand-subtle` alan · `--vp-sev-medium` kesikli limit);
9521
+ * ham renk yok. Renk tek başına anlam taşımaz — limit metni tüketiciden (`note`).
9522
+ * - DOM ölçümü YOK: viewBox tabanlı SVG (jsdom yerleşim ölçmez, tüketiciler zoneless).
9523
+ * - < 2 nokta → alan çizilmez, boş-durum placeholder; ölçemediğimiz seri "sıfır" değil.
9524
+ * - Limit çizgisi her zaman çizim sınırları içinde (clamp); veri üstünde/altında kalsa da taşmaz.
9525
+ * - Uç etiketi (`note`) HTML katmanda — SVG viewBox metni kırpmasın diye.
9526
+ */
9527
+ class VpUsageChartComponent {
9528
+ constructor() {
9529
+ /** Zaman serisi değerleri (eşit aralıklı). < 2 ise boş durum. */
9530
+ this.points = [];
9531
+ /** Günlük/dönemsel limit; `null` → limit çizgisi yok. */
9532
+ this.limit = null;
9533
+ /** Uç etiketi ("6 gün sonra tavana vurur"); boşsa çizilmez. */
9534
+ this.note = '';
9535
+ /** Ekran okuyucu cümlesinin öznesi. */
9536
+ this.label = 'Kullanım';
9537
+ /** Limit biriminin kısa adı (aria cümlesinde). */
9538
+ this.unit = '';
9539
+ this.emptyLabel = 'Veri yok';
9540
+ this.view = VIEW;
9541
+ }
9542
+ get geo() { return VIEW; }
9543
+ get hasSeries() {
9544
+ return Array.isArray(this.points) && this.points.length >= 2;
9545
+ }
9546
+ get hasLimit() {
9547
+ return this.limit !== null && this.limit !== undefined && !Number.isNaN(this.limit);
9548
+ }
9549
+ get viewBox() {
9550
+ return `0 0 ${VIEW.w} ${VIEW.h}`;
9551
+ }
9552
+ get innerW() {
9553
+ return VIEW.w - VIEW.padL - VIEW.padR;
9554
+ }
9555
+ get innerH() {
9556
+ return VIEW.h - VIEW.padT - VIEW.padB;
9557
+ }
9558
+ get baseline() {
9559
+ return VIEW.padT + this.innerH;
9560
+ }
9561
+ /** Ölçek tavanı: seri + limit en büyüğü, %10 pay. */
9562
+ get yMax() {
9563
+ const top = Math.max(...this.points, this.hasLimit ? this.limit : 0);
9564
+ return top > 0 ? top * 1.1 : 1;
9565
+ }
9566
+ x(i) {
9567
+ const n = this.points.length;
9568
+ return VIEW.padL + (n <= 1 ? 0 : (i / (n - 1)) * this.innerW);
9569
+ }
9570
+ y(value) {
9571
+ const ratio = Math.min(1, Math.max(0, value / this.yMax));
9572
+ return Number((VIEW.padT + this.innerH - ratio * this.innerH).toFixed(2));
9573
+ }
9574
+ get linePath() {
9575
+ return this.points
9576
+ .map((v, i) => `${i === 0 ? 'M' : 'L'} ${this.x(i).toFixed(2)} ${this.y(v)}`)
9577
+ .join(' ');
9578
+ }
9579
+ get areaPath() {
9580
+ if (!this.hasSeries)
9581
+ return '';
9582
+ const first = this.x(0).toFixed(2);
9583
+ const last = this.x(this.points.length - 1).toFixed(2);
9584
+ const base = this.baseline.toFixed(2);
9585
+ return `M ${first} ${base} ${this.points
9586
+ .map((v, i) => `L ${this.x(i).toFixed(2)} ${this.y(v)}`)
9587
+ .join(' ')} L ${last} ${base} Z`;
9588
+ }
9589
+ get limitY() {
9590
+ // clamp: limit veri üstünde/altında da çizim sınırları içinde kalsın
9591
+ const raw = this.y(this.hasLimit ? this.limit : 0);
9592
+ return Number(Math.min(this.baseline, Math.max(VIEW.padT, raw)).toFixed(2));
9593
+ }
9594
+ get ariaLabel() {
9595
+ if (!this.hasSeries)
9596
+ return `${this.label}: ${this.emptyLabel}`;
9597
+ const current = Math.round(this.points[this.points.length - 1]);
9598
+ const unit = this.unit ? ` ${this.unit}` : '';
9599
+ const limit = this.hasLimit ? ` / ${Math.round(this.limit)}${unit}` : '';
9600
+ const note = this.note ? ` — ${this.note}` : '';
9601
+ return `${this.label}: ${current}${limit}${note}`;
9602
+ }
9603
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUsageChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9604
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpUsageChartComponent, isStandalone: true, selector: "vp-usage-chart", inputs: { points: "points", limit: "limit", note: "note", label: "label", unit: "unit", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
9605
+ <div
9606
+ class="vp-usage-chart"
9607
+ data-vp-usage-chart
9608
+ role="img"
9609
+ [attr.aria-label]="ariaLabel">
9610
+ @if (hasSeries) {
9611
+ <svg
9612
+ class="vp-usage-chart__svg"
9613
+ aria-hidden="true"
9614
+ focusable="false"
9615
+ preserveAspectRatio="none"
9616
+ [attr.viewBox]="viewBox">
9617
+ <path class="vp-usage-chart__area" data-vp-usage-area [attr.d]="areaPath" />
9618
+ <path class="vp-usage-chart__line" data-vp-usage-line fill="none" [attr.d]="linePath" />
9619
+ @if (hasLimit) {
9620
+ <line
9621
+ class="vp-usage-chart__limit"
9622
+ data-vp-usage-limit
9623
+ stroke-dasharray="4 4"
9624
+ [attr.x1]="geo.padL"
9625
+ [attr.x2]="view.w - geo.padR"
9626
+ [attr.y1]="limitY"
9627
+ [attr.y2]="limitY" />
9628
+ }
9629
+ </svg>
9630
+ @if (note) {
9631
+ <span class="vp-usage-chart__note" data-vp-usage-note>{{ note }}</span>
9632
+ }
9633
+ } @else {
9634
+ <span class="vp-usage-chart__empty" data-vp-usage-empty>{{ emptyLabel }}</span>
9635
+ }
9636
+ </div>
9637
+ `, isInline: true, styles: [":host{display:block}.vp-usage-chart{position:relative;width:100%;min-height:120px}.vp-usage-chart__svg{display:block;width:100%;height:160px}.vp-usage-chart__area{fill:var(--vp-brand-subtle);stroke:none}.vp-usage-chart__line{stroke:var(--vp-brand);stroke-width:2;vector-effect:non-scaling-stroke}.vp-usage-chart__limit{stroke:var(--vp-sev-medium);stroke-width:1;vector-effect:non-scaling-stroke}.vp-usage-chart__note{position:absolute;right:0;bottom:0;font-family:var(--vp-font-sans);font-size:var(--vp-text-xs);color:var(--vp-text-muted)}.vp-usage-chart__empty{display:grid;place-items:center;min-height:120px;font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);color:var(--vp-text-muted)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9638
+ }
9639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUsageChartComponent, decorators: [{
9640
+ type: Component,
9641
+ args: [{ selector: 'vp-usage-chart', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9642
+ <div
9643
+ class="vp-usage-chart"
9644
+ data-vp-usage-chart
9645
+ role="img"
9646
+ [attr.aria-label]="ariaLabel">
9647
+ @if (hasSeries) {
9648
+ <svg
9649
+ class="vp-usage-chart__svg"
9650
+ aria-hidden="true"
9651
+ focusable="false"
9652
+ preserveAspectRatio="none"
9653
+ [attr.viewBox]="viewBox">
9654
+ <path class="vp-usage-chart__area" data-vp-usage-area [attr.d]="areaPath" />
9655
+ <path class="vp-usage-chart__line" data-vp-usage-line fill="none" [attr.d]="linePath" />
9656
+ @if (hasLimit) {
9657
+ <line
9658
+ class="vp-usage-chart__limit"
9659
+ data-vp-usage-limit
9660
+ stroke-dasharray="4 4"
9661
+ [attr.x1]="geo.padL"
9662
+ [attr.x2]="view.w - geo.padR"
9663
+ [attr.y1]="limitY"
9664
+ [attr.y2]="limitY" />
9665
+ }
9666
+ </svg>
9667
+ @if (note) {
9668
+ <span class="vp-usage-chart__note" data-vp-usage-note>{{ note }}</span>
9669
+ }
9670
+ } @else {
9671
+ <span class="vp-usage-chart__empty" data-vp-usage-empty>{{ emptyLabel }}</span>
9672
+ }
9673
+ </div>
9674
+ `, styles: [":host{display:block}.vp-usage-chart{position:relative;width:100%;min-height:120px}.vp-usage-chart__svg{display:block;width:100%;height:160px}.vp-usage-chart__area{fill:var(--vp-brand-subtle);stroke:none}.vp-usage-chart__line{stroke:var(--vp-brand);stroke-width:2;vector-effect:non-scaling-stroke}.vp-usage-chart__limit{stroke:var(--vp-sev-medium);stroke-width:1;vector-effect:non-scaling-stroke}.vp-usage-chart__note{position:absolute;right:0;bottom:0;font-family:var(--vp-font-sans);font-size:var(--vp-text-xs);color:var(--vp-text-muted)}.vp-usage-chart__empty{display:grid;place-items:center;min-height:120px;font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);color:var(--vp-text-muted)}\n"] }]
9675
+ }], propDecorators: { points: [{
9676
+ type: Input
9677
+ }], limit: [{
9678
+ type: Input
9679
+ }], note: [{
9680
+ type: Input
9681
+ }], label: [{
9682
+ type: Input
9683
+ }], unit: [{
9684
+ type: Input
9685
+ }], emptyLabel: [{
9686
+ type: Input
9687
+ }] } });
9688
+
9488
9689
  /**
9489
9690
  * Onay diyalogunu **uygulama** saglar.
9490
9691
  *
@@ -11461,98 +11662,98 @@ class VpButtonComponent {
11461
11662
  this.pressed = new EventEmitter();
11462
11663
  }
11463
11664
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11464
- 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: `
11465
- @if (routerLink !== null) {
11466
- <a
11467
- class="vp-button"
11468
- [attr.data-variant]="variant"
11469
- [attr.data-size]="size"
11470
- [routerLink]="routerLink"
11471
- [attr.aria-disabled]="disabled ? 'true' : null"
11472
- [attr.title]="disabled ? disabledReason : null">
11473
- <ng-container *ngTemplateOutlet="body" />
11474
- </a>
11475
- } @else if (href !== null) {
11476
- <a
11477
- class="vp-button"
11478
- [attr.data-variant]="variant"
11479
- [attr.data-size]="size"
11480
- [href]="href"
11481
- [attr.rel]="external ? 'noopener noreferrer' : null"
11482
- [attr.target]="external ? '_blank' : null">
11483
- <ng-container *ngTemplateOutlet="body" />
11484
- </a>
11485
- } @else {
11486
- <button
11487
- class="vp-button"
11488
- [attr.data-variant]="variant"
11489
- [attr.data-size]="size"
11490
- [type]="type"
11491
- [disabled]="disabled || loading"
11492
- [attr.aria-busy]="loading ? 'true' : null"
11493
- [attr.title]="disabled && disabledReason ? disabledReason : null"
11494
- (click)="pressed.emit($event)">
11495
- <ng-container *ngTemplateOutlet="body" />
11496
- </button>
11497
- }
11498
-
11499
- <ng-template #body>
11500
- @if (icon) {
11501
- <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
11502
- <use [attr.href]="'#vp-icon-' + icon"></use>
11503
- </svg>
11504
- }
11505
- <span class="vp-button__label">{{ label }}</span>
11506
- <ng-content />
11507
- </ng-template>
11665
+ 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: `
11666
+ @if (routerLink !== null) {
11667
+ <a
11668
+ class="vp-button"
11669
+ [attr.data-variant]="variant"
11670
+ [attr.data-size]="size"
11671
+ [routerLink]="routerLink"
11672
+ [attr.aria-disabled]="disabled ? 'true' : null"
11673
+ [attr.title]="disabled ? disabledReason : null">
11674
+ <ng-container *ngTemplateOutlet="body" />
11675
+ </a>
11676
+ } @else if (href !== null) {
11677
+ <a
11678
+ class="vp-button"
11679
+ [attr.data-variant]="variant"
11680
+ [attr.data-size]="size"
11681
+ [href]="href"
11682
+ [attr.rel]="external ? 'noopener noreferrer' : null"
11683
+ [attr.target]="external ? '_blank' : null">
11684
+ <ng-container *ngTemplateOutlet="body" />
11685
+ </a>
11686
+ } @else {
11687
+ <button
11688
+ class="vp-button"
11689
+ [attr.data-variant]="variant"
11690
+ [attr.data-size]="size"
11691
+ [type]="type"
11692
+ [disabled]="disabled || loading"
11693
+ [attr.aria-busy]="loading ? 'true' : null"
11694
+ [attr.title]="disabled && disabledReason ? disabledReason : null"
11695
+ (click)="pressed.emit($event)">
11696
+ <ng-container *ngTemplateOutlet="body" />
11697
+ </button>
11698
+ }
11699
+
11700
+ <ng-template #body>
11701
+ @if (icon) {
11702
+ <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
11703
+ <use [attr.href]="'#vp-icon-' + icon"></use>
11704
+ </svg>
11705
+ }
11706
+ <span class="vp-button__label">{{ label }}</span>
11707
+ <ng-content />
11708
+ </ng-template>
11508
11709
  `, 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 }); }
11509
11710
  }
11510
11711
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpButtonComponent, decorators: [{
11511
11712
  type: Component,
11512
- args: [{ selector: 'vp-button', standalone: true, imports: [NgTemplateOutlet, RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: `
11513
- @if (routerLink !== null) {
11514
- <a
11515
- class="vp-button"
11516
- [attr.data-variant]="variant"
11517
- [attr.data-size]="size"
11518
- [routerLink]="routerLink"
11519
- [attr.aria-disabled]="disabled ? 'true' : null"
11520
- [attr.title]="disabled ? disabledReason : null">
11521
- <ng-container *ngTemplateOutlet="body" />
11522
- </a>
11523
- } @else if (href !== null) {
11524
- <a
11525
- class="vp-button"
11526
- [attr.data-variant]="variant"
11527
- [attr.data-size]="size"
11528
- [href]="href"
11529
- [attr.rel]="external ? 'noopener noreferrer' : null"
11530
- [attr.target]="external ? '_blank' : null">
11531
- <ng-container *ngTemplateOutlet="body" />
11532
- </a>
11533
- } @else {
11534
- <button
11535
- class="vp-button"
11536
- [attr.data-variant]="variant"
11537
- [attr.data-size]="size"
11538
- [type]="type"
11539
- [disabled]="disabled || loading"
11540
- [attr.aria-busy]="loading ? 'true' : null"
11541
- [attr.title]="disabled && disabledReason ? disabledReason : null"
11542
- (click)="pressed.emit($event)">
11543
- <ng-container *ngTemplateOutlet="body" />
11544
- </button>
11545
- }
11546
-
11547
- <ng-template #body>
11548
- @if (icon) {
11549
- <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
11550
- <use [attr.href]="'#vp-icon-' + icon"></use>
11551
- </svg>
11552
- }
11553
- <span class="vp-button__label">{{ label }}</span>
11554
- <ng-content />
11555
- </ng-template>
11713
+ args: [{ selector: 'vp-button', standalone: true, imports: [NgTemplateOutlet, RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: `
11714
+ @if (routerLink !== null) {
11715
+ <a
11716
+ class="vp-button"
11717
+ [attr.data-variant]="variant"
11718
+ [attr.data-size]="size"
11719
+ [routerLink]="routerLink"
11720
+ [attr.aria-disabled]="disabled ? 'true' : null"
11721
+ [attr.title]="disabled ? disabledReason : null">
11722
+ <ng-container *ngTemplateOutlet="body" />
11723
+ </a>
11724
+ } @else if (href !== null) {
11725
+ <a
11726
+ class="vp-button"
11727
+ [attr.data-variant]="variant"
11728
+ [attr.data-size]="size"
11729
+ [href]="href"
11730
+ [attr.rel]="external ? 'noopener noreferrer' : null"
11731
+ [attr.target]="external ? '_blank' : null">
11732
+ <ng-container *ngTemplateOutlet="body" />
11733
+ </a>
11734
+ } @else {
11735
+ <button
11736
+ class="vp-button"
11737
+ [attr.data-variant]="variant"
11738
+ [attr.data-size]="size"
11739
+ [type]="type"
11740
+ [disabled]="disabled || loading"
11741
+ [attr.aria-busy]="loading ? 'true' : null"
11742
+ [attr.title]="disabled && disabledReason ? disabledReason : null"
11743
+ (click)="pressed.emit($event)">
11744
+ <ng-container *ngTemplateOutlet="body" />
11745
+ </button>
11746
+ }
11747
+
11748
+ <ng-template #body>
11749
+ @if (icon) {
11750
+ <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
11751
+ <use [attr.href]="'#vp-icon-' + icon"></use>
11752
+ </svg>
11753
+ }
11754
+ <span class="vp-button__label">{{ label }}</span>
11755
+ <ng-content />
11756
+ </ng-template>
11556
11757
  `, 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"] }]
11557
11758
  }], propDecorators: { label: [{
11558
11759
  type: Input,
@@ -11587,5 +11788,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
11587
11788
  * Generated bundle index. Do not edit.
11588
11789
  */
11589
11790
 
11590
- 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_APP_PROMO_DAYS, VP_APP_PROMO_ENV, VP_APP_PROMO_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_DEFAULT_RETRY_AFTER_SECONDS, VP_I18N_NAMESPACE, VP_ICON_SPRITE_ID, VP_ISLAND_LABELS, VP_LIGHT_CLASS, VP_MAINTENANCE_PORT, VP_NAVIGATOR_ONLINE, 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, VpAppPromoComponent, VpAppStoreEntryComponent, VpAppealFormComponent, VpAuthTokenInterceptor, VpBannerComponent, VpBreadcrumbComponent, VpButtonComponent, VpCaptchaInterceptor, VpCommandPaletteComponent, VpConfirmComponent, VpConnectivityService, VpContextToolbarComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDrawerComponent, VpEngineResultComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpNotificationIslandComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpProductSwitcherComponent, VpRateLimitInterceptor, VpRateLimitService, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpScoreRingComponent, 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, vpIsIosSafari, vpIslandIsCritical, vpKey, vpOwnershipGuard, vpParseRetryAfter, vpQuotaGuard, vpResolveTrackingId, vpStoreUrlFor, vpUnsavedChangesGuard };
11791
+ 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_APP_PROMO_DAYS, VP_APP_PROMO_ENV, VP_APP_PROMO_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_DEFAULT_RETRY_AFTER_SECONDS, VP_I18N_NAMESPACE, VP_ICON_SPRITE_ID, VP_ISLAND_LABELS, VP_LIGHT_CLASS, VP_MAINTENANCE_PORT, VP_NAVIGATOR_ONLINE, 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, VpAppPromoComponent, VpAppStoreEntryComponent, VpAppealFormComponent, VpAuthTokenInterceptor, VpBannerComponent, VpBreadcrumbComponent, VpButtonComponent, VpCaptchaInterceptor, VpCommandPaletteComponent, VpConfirmComponent, VpConnectivityService, VpContextToolbarComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDrawerComponent, VpEngineResultComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpNotificationIslandComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpProductSwitcherComponent, VpRateLimitInterceptor, VpRateLimitService, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpScoreRingComponent, VpSearchTriggerComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStateComponent, VpThemeControlComponent, VpThemeService, VpToastComponent, VpToastService, VpTopbarComponent, VpUsageChartComponent, 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, vpIsIosSafari, vpIslandIsCritical, vpKey, vpOwnershipGuard, vpParseRetryAfter, vpQuotaGuard, vpResolveTrackingId, vpStoreUrlFor, vpUnsavedChangesGuard };
11591
11792
  //# sourceMappingURL=virusis-angular-ui.mjs.map