@virusis/angular-ui 0.3.1 → 0.3.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.
@@ -7,7 +7,7 @@ import * as i1 from 'primeng/button';
7
7
  import { ButtonModule } from 'primeng/button';
8
8
  import * as i2 from 'primeng/tooltip';
9
9
  import { TooltipModule } from 'primeng/tooltip';
10
- import { THEME_MODES, createThemeModeController, toSeverity, severityMeta, severityToken } from '@virusis/design-tokens';
10
+ import { THEME_MODES, createThemeModeController, toSeverity, severityMeta, severityColorToken } from '@virusis/design-tokens';
11
11
  export { THEME_MODES } from '@virusis/design-tokens';
12
12
  import * as i2$1 from 'primeng/menu';
13
13
  import { MenuModule } from 'primeng/menu';
@@ -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,
@@ -1145,432 +1145,432 @@ class VpShellComponent {
1145
1145
  });
1146
1146
  }
1147
1147
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1148
- 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", quotaFormat: "quotaFormat", quotaLocale: "quotaLocale", quotaWarnTone: "quotaWarnTone", 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: `
1149
- <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1150
- Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1151
- <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1152
-
1153
- <!--
1154
- Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1155
- cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1156
- -->
1157
- @if (layout === 'topbar' || overlay()) {
1158
- <header class="vp-shell__topbar">
1159
- <!--
1160
- 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1161
- Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1162
- bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1163
- vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1164
- iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1165
- garanti ettigi bir dugme olmali.
1166
-
1167
- Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1168
- ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1169
- -->
1170
- @if (overlay()) {
1171
- <button
1172
- type="button"
1173
- class="vp-shell__drawer-toggle"
1174
- data-vp-drawer-toggle
1175
- [attr.aria-controls]="sidebarId"
1176
- [attr.aria-expanded]="!collapsed"
1177
- [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1178
- (click)="toggleDrawer()">
1179
- <span class="vp-shell__burger" aria-hidden="true"></span>
1180
- </button>
1181
- }
1182
- <ng-content select="[topbar]" />
1183
- </header>
1184
- }
1185
-
1186
- <div class="vp-shell__body">
1187
- <!--
1188
- id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1189
- ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1190
- aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1191
- icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1192
- -->
1193
- <aside
1194
- #sidebar
1195
- [id]="sidebarId"
1196
- class="vp-shell__sidebar"
1197
- [attr.data-collapsed]="collapsed || null"
1198
- [attr.data-overlay]="overlay() || null"
1199
- [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1200
- [attr.inert]="overlay() && collapsed ? '' : null">
1201
- <!--
1202
- Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1203
- sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1204
- ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1205
- -->
1206
- <!--
1207
- Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1208
- kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1209
- -->
1210
- <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1211
-
1212
- <div class="vp-shell__sidebar-scroll">
1213
- <ng-content select="[sidebar]" />
1214
- </div>
1215
-
1216
- <!--
1217
- Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1218
- (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1219
- Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1220
- -->
1221
- <div class="vp-shell__sidebar-foot">
1222
- <ng-content select="[sidebarFoot]" />
1223
- @if (quota) {
1224
- <!--
1225
- B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1226
- Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1227
- kabugun kuralina uyuyor.
1228
-
1229
- Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1230
- basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1231
- demektir.
1232
- -->
1233
- @if (quota.active) {
1234
- <!-- Prototip .scan-badge: suren tarama kotanin USTUNDE; rayda yalniz nokta (metin title'da). -->
1235
- <p
1236
- class="vp-shell__scan-badge"
1237
- data-vp-quota-active
1238
- [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1239
- [attr.title]="collapsed ? quota.active : null">
1240
- <i class="vp-shell__scan-dot" aria-hidden="true"></i>
1241
- <span class="vp-shell__scan-text">{{ quota.active }}</span>
1242
- </p>
1243
- }
1244
- <div
1245
- class="vp-shell__quota"
1246
- data-vp-quota
1247
- [attr.data-vp-quota-level]="quotaLevel"
1248
- [attr.data-vp-quota-warn]="quotaWarnTone === 'medium' ? 'medium' : null"
1249
- [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1250
- [attr.title]="collapsed ? quotaText : null">
1251
- <div class="vp-shell__quota-head">
1252
- <!-- Prototip .quota__h svg: saat ikonu; rayda yalniz bu kaliyor (kutu bos gorunmesin). -->
1253
- <span class="pi pi-clock vp-shell__quota-icon" data-vp-quota-icon aria-hidden="true"></span>
1254
- <span class="vp-shell__quota-label">{{ quota.label }}</span>
1255
- <span class="vp-shell__quota-value">{{ quotaText }}</span>
1256
- </div>
1257
- <!--
1258
- Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1259
- aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1260
- kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1261
- -->
1262
- <div
1263
- class="vp-shell__quota-bar"
1264
- role="progressbar"
1265
- aria-valuemin="0"
1266
- aria-valuemax="100"
1267
- [attr.aria-valuenow]="quotaPercent"
1268
- [attr.aria-valuetext]="quotaText"
1269
- [attr.aria-label]="quota.label">
1270
- @if (quotaSegments.length) {
1271
- @for (segment of quotaSegments; track segment.label) {
1272
- <span
1273
- class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1274
- data-vp-quota-segment
1275
- [attr.data-vp-quota-segment-label]="segment.label"
1276
- [attr.title]="segment.title"
1277
- [style.inline-size.%]="segment.percent"
1278
- [style.background]="segment.color"></span>
1279
- }
1280
- } @else {
1281
- <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1282
- }
1283
- </div>
1284
- @if ((quota.hint || quota.action) && !collapsed) {
1285
- <div class="vp-shell__quota-foot">
1286
- @if (quota.hint) {
1287
- <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1288
- }
1289
- @if (quota.action) {
1290
- <button
1291
- type="button"
1292
- class="vp-shell__quota-action"
1293
- data-vp-quota-action
1294
- (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1295
- }
1296
- </div>
1297
- }
1298
- </div>
1299
- }
1300
-
1301
- @if (languages.length) {
1302
- <!--
1303
- B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1304
- Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1305
- ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1306
- document.lang yazarsa dil mantigi iki yere bolunur.
1307
- -->
1308
- <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1309
- @for (option of languages; track option.code) {
1310
- <button
1311
- type="button"
1312
- class="vp-shell__lang-option"
1313
- data-vp-lang-option
1314
- [attr.data-vp-lang-code]="option.code"
1315
- [attr.aria-pressed]="option.code === language"
1316
- [attr.title]="option.label"
1317
- (click)="languageChange.emit(option.code)">
1318
- {{ collapsed ? option.code.toUpperCase() : option.label }}
1319
- </button>
1320
- }
1321
- </div>
1322
- }
1323
- <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1324
- <ng-content select="[sidebarFootEnd]" />
1325
- </div>
1326
- </aside>
1327
-
1328
- @if (overlay() && !collapsed) {
1329
- <!--
1330
- 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1331
- Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1332
- tiklamalari sessizce yutardi.
1333
-
1334
- ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1335
- duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1336
- vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1337
- -->
1338
- <div
1339
- class="vp-shell__mask"
1340
- data-vp-shell-mask
1341
- data-vp-scrim
1342
- aria-hidden="true"
1343
- (click)="collapsedChange.emit(true)"></div>
1344
- }
1345
-
1346
- <main id="vp-main" class="vp-shell__main" tabindex="-1">
1347
- <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1348
- <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1349
- <ng-content />
1350
- </main>
1351
- </div>
1352
-
1353
- <!--
1354
- Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1355
- main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1356
- contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1357
- -->
1358
- <ng-content select="[footer]" />
1148
+ 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", quotaFormat: "quotaFormat", quotaLocale: "quotaLocale", quotaWarnTone: "quotaWarnTone", 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: `
1149
+ <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1150
+ Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1151
+ <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1152
+
1153
+ <!--
1154
+ Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1155
+ cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1156
+ -->
1157
+ @if (layout === 'topbar' || overlay()) {
1158
+ <header class="vp-shell__topbar">
1159
+ <!--
1160
+ 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1161
+ Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1162
+ bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1163
+ vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1164
+ iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1165
+ garanti ettigi bir dugme olmali.
1166
+
1167
+ Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1168
+ ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1169
+ -->
1170
+ @if (overlay()) {
1171
+ <button
1172
+ type="button"
1173
+ class="vp-shell__drawer-toggle"
1174
+ data-vp-drawer-toggle
1175
+ [attr.aria-controls]="sidebarId"
1176
+ [attr.aria-expanded]="!collapsed"
1177
+ [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1178
+ (click)="toggleDrawer()">
1179
+ <span class="vp-shell__burger" aria-hidden="true"></span>
1180
+ </button>
1181
+ }
1182
+ <ng-content select="[topbar]" />
1183
+ </header>
1184
+ }
1185
+
1186
+ <div class="vp-shell__body">
1187
+ <!--
1188
+ id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1189
+ ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1190
+ aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1191
+ icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1192
+ -->
1193
+ <aside
1194
+ #sidebar
1195
+ [id]="sidebarId"
1196
+ class="vp-shell__sidebar"
1197
+ [attr.data-collapsed]="collapsed || null"
1198
+ [attr.data-overlay]="overlay() || null"
1199
+ [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1200
+ [attr.inert]="overlay() && collapsed ? '' : null">
1201
+ <!--
1202
+ Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1203
+ sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1204
+ ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1205
+ -->
1206
+ <!--
1207
+ Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1208
+ kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1209
+ -->
1210
+ <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1211
+
1212
+ <div class="vp-shell__sidebar-scroll">
1213
+ <ng-content select="[sidebar]" />
1214
+ </div>
1215
+
1216
+ <!--
1217
+ Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1218
+ (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1219
+ Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1220
+ -->
1221
+ <div class="vp-shell__sidebar-foot">
1222
+ <ng-content select="[sidebarFoot]" />
1223
+ @if (quota) {
1224
+ <!--
1225
+ B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1226
+ Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1227
+ kabugun kuralina uyuyor.
1228
+
1229
+ Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1230
+ basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1231
+ demektir.
1232
+ -->
1233
+ @if (quota.active) {
1234
+ <!-- Prototip .scan-badge: suren tarama kotanin USTUNDE; rayda yalniz nokta (metin title'da). -->
1235
+ <p
1236
+ class="vp-shell__scan-badge"
1237
+ data-vp-quota-active
1238
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1239
+ [attr.title]="collapsed ? quota.active : null">
1240
+ <i class="vp-shell__scan-dot" aria-hidden="true"></i>
1241
+ <span class="vp-shell__scan-text">{{ quota.active }}</span>
1242
+ </p>
1243
+ }
1244
+ <div
1245
+ class="vp-shell__quota"
1246
+ data-vp-quota
1247
+ [attr.data-vp-quota-level]="quotaLevel"
1248
+ [attr.data-vp-quota-warn]="quotaWarnTone === 'medium' ? 'medium' : null"
1249
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1250
+ [attr.title]="collapsed ? quotaText : null">
1251
+ <div class="vp-shell__quota-head">
1252
+ <!-- Prototip .quota__h svg: saat ikonu; rayda yalniz bu kaliyor (kutu bos gorunmesin). -->
1253
+ <span class="pi pi-clock vp-shell__quota-icon" data-vp-quota-icon aria-hidden="true"></span>
1254
+ <span class="vp-shell__quota-label">{{ quota.label }}</span>
1255
+ <span class="vp-shell__quota-value">{{ quotaText }}</span>
1256
+ </div>
1257
+ <!--
1258
+ Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1259
+ aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1260
+ kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1261
+ -->
1262
+ <div
1263
+ class="vp-shell__quota-bar"
1264
+ role="progressbar"
1265
+ aria-valuemin="0"
1266
+ aria-valuemax="100"
1267
+ [attr.aria-valuenow]="quotaPercent"
1268
+ [attr.aria-valuetext]="quotaText"
1269
+ [attr.aria-label]="quota.label">
1270
+ @if (quotaSegments.length) {
1271
+ @for (segment of quotaSegments; track segment.label) {
1272
+ <span
1273
+ class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1274
+ data-vp-quota-segment
1275
+ [attr.data-vp-quota-segment-label]="segment.label"
1276
+ [attr.title]="segment.title"
1277
+ [style.inline-size.%]="segment.percent"
1278
+ [style.background]="segment.color"></span>
1279
+ }
1280
+ } @else {
1281
+ <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1282
+ }
1283
+ </div>
1284
+ @if ((quota.hint || quota.action) && !collapsed) {
1285
+ <div class="vp-shell__quota-foot">
1286
+ @if (quota.hint) {
1287
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1288
+ }
1289
+ @if (quota.action) {
1290
+ <button
1291
+ type="button"
1292
+ class="vp-shell__quota-action"
1293
+ data-vp-quota-action
1294
+ (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1295
+ }
1296
+ </div>
1297
+ }
1298
+ </div>
1299
+ }
1300
+
1301
+ @if (languages.length) {
1302
+ <!--
1303
+ B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1304
+ Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1305
+ ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1306
+ document.lang yazarsa dil mantigi iki yere bolunur.
1307
+ -->
1308
+ <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1309
+ @for (option of languages; track option.code) {
1310
+ <button
1311
+ type="button"
1312
+ class="vp-shell__lang-option"
1313
+ data-vp-lang-option
1314
+ [attr.data-vp-lang-code]="option.code"
1315
+ [attr.aria-pressed]="option.code === language"
1316
+ [attr.title]="option.label"
1317
+ (click)="languageChange.emit(option.code)">
1318
+ {{ collapsed ? option.code.toUpperCase() : option.label }}
1319
+ </button>
1320
+ }
1321
+ </div>
1322
+ }
1323
+ <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1324
+ <ng-content select="[sidebarFootEnd]" />
1325
+ </div>
1326
+ </aside>
1327
+
1328
+ @if (overlay() && !collapsed) {
1329
+ <!--
1330
+ 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1331
+ Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1332
+ tiklamalari sessizce yutardi.
1333
+
1334
+ ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1335
+ duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1336
+ vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1337
+ -->
1338
+ <div
1339
+ class="vp-shell__mask"
1340
+ data-vp-shell-mask
1341
+ data-vp-scrim
1342
+ aria-hidden="true"
1343
+ (click)="collapsedChange.emit(true)"></div>
1344
+ }
1345
+
1346
+ <main id="vp-main" class="vp-shell__main" tabindex="-1">
1347
+ <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1348
+ <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1349
+ <ng-content />
1350
+ </main>
1351
+ </div>
1352
+
1353
+ <!--
1354
+ Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1355
+ main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1356
+ contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1357
+ -->
1358
+ <ng-content select="[footer]" />
1359
1359
  `, 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;scrollbar-width:none;-ms-overflow-style:none}.vp-shell__sidebar-scroll::-webkit-scrollbar{width:0;height:0}.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{flex:1;color:var(--vp-text-secondary)}.vp-shell__quota-icon{flex:none;font-size:14px;opacity:.8;color:var(--vp-text-secondary);align-self:center}.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-warn=medium][data-vp-quota-level=warn] .vp-shell__quota-fill{background:var(--vp-sev-medium)}.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{justify-content:center}.vp-shell__quota[data-vp-quota-compact] :is(.vp-shell__quota-label,.vp-shell__quota-value){display:none}.vp-shell__scan-badge{display:flex;align-items:center;gap:8px;margin:0 0 var(--vp-space-2);padding:6px 9px;border-radius:var(--vp-radius-md, 8px);background:var(--vp-brand-subtle);color:var(--vp-text-primary);font-size:var(--vp-text-xs)}.vp-shell__scan-dot{flex:none;inline-size:7px;block-size:7px;border-radius:50%;background:var(--vp-brand-line)}.vp-shell__scan-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vp-shell__scan-badge[data-vp-quota-compact]{justify-content:center;padding:6px 0}.vp-shell__scan-badge[data-vp-quota-compact] .vp-shell__scan-text{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 }); }
1360
1360
  }
1361
1361
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, decorators: [{
1362
1362
  type: Component,
1363
- args: [{ selector: 'vp-shell', standalone: true, host: { '[attr.data-vp-layout]': 'layout' }, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1364
- <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1365
- Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1366
- <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1367
-
1368
- <!--
1369
- Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1370
- cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1371
- -->
1372
- @if (layout === 'topbar' || overlay()) {
1373
- <header class="vp-shell__topbar">
1374
- <!--
1375
- 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1376
- Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1377
- bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1378
- vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1379
- iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1380
- garanti ettigi bir dugme olmali.
1381
-
1382
- Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1383
- ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1384
- -->
1385
- @if (overlay()) {
1386
- <button
1387
- type="button"
1388
- class="vp-shell__drawer-toggle"
1389
- data-vp-drawer-toggle
1390
- [attr.aria-controls]="sidebarId"
1391
- [attr.aria-expanded]="!collapsed"
1392
- [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1393
- (click)="toggleDrawer()">
1394
- <span class="vp-shell__burger" aria-hidden="true"></span>
1395
- </button>
1396
- }
1397
- <ng-content select="[topbar]" />
1398
- </header>
1399
- }
1400
-
1401
- <div class="vp-shell__body">
1402
- <!--
1403
- id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1404
- ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1405
- aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1406
- icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1407
- -->
1408
- <aside
1409
- #sidebar
1410
- [id]="sidebarId"
1411
- class="vp-shell__sidebar"
1412
- [attr.data-collapsed]="collapsed || null"
1413
- [attr.data-overlay]="overlay() || null"
1414
- [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1415
- [attr.inert]="overlay() && collapsed ? '' : null">
1416
- <!--
1417
- Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1418
- sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1419
- ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1420
- -->
1421
- <!--
1422
- Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1423
- kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1424
- -->
1425
- <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1426
-
1427
- <div class="vp-shell__sidebar-scroll">
1428
- <ng-content select="[sidebar]" />
1429
- </div>
1430
-
1431
- <!--
1432
- Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1433
- (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1434
- Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1435
- -->
1436
- <div class="vp-shell__sidebar-foot">
1437
- <ng-content select="[sidebarFoot]" />
1438
- @if (quota) {
1439
- <!--
1440
- B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1441
- Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1442
- kabugun kuralina uyuyor.
1443
-
1444
- Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1445
- basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1446
- demektir.
1447
- -->
1448
- @if (quota.active) {
1449
- <!-- Prototip .scan-badge: suren tarama kotanin USTUNDE; rayda yalniz nokta (metin title'da). -->
1450
- <p
1451
- class="vp-shell__scan-badge"
1452
- data-vp-quota-active
1453
- [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1454
- [attr.title]="collapsed ? quota.active : null">
1455
- <i class="vp-shell__scan-dot" aria-hidden="true"></i>
1456
- <span class="vp-shell__scan-text">{{ quota.active }}</span>
1457
- </p>
1458
- }
1459
- <div
1460
- class="vp-shell__quota"
1461
- data-vp-quota
1462
- [attr.data-vp-quota-level]="quotaLevel"
1463
- [attr.data-vp-quota-warn]="quotaWarnTone === 'medium' ? 'medium' : null"
1464
- [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1465
- [attr.title]="collapsed ? quotaText : null">
1466
- <div class="vp-shell__quota-head">
1467
- <!-- Prototip .quota__h svg: saat ikonu; rayda yalniz bu kaliyor (kutu bos gorunmesin). -->
1468
- <span class="pi pi-clock vp-shell__quota-icon" data-vp-quota-icon aria-hidden="true"></span>
1469
- <span class="vp-shell__quota-label">{{ quota.label }}</span>
1470
- <span class="vp-shell__quota-value">{{ quotaText }}</span>
1471
- </div>
1472
- <!--
1473
- Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1474
- aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1475
- kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1476
- -->
1477
- <div
1478
- class="vp-shell__quota-bar"
1479
- role="progressbar"
1480
- aria-valuemin="0"
1481
- aria-valuemax="100"
1482
- [attr.aria-valuenow]="quotaPercent"
1483
- [attr.aria-valuetext]="quotaText"
1484
- [attr.aria-label]="quota.label">
1485
- @if (quotaSegments.length) {
1486
- @for (segment of quotaSegments; track segment.label) {
1487
- <span
1488
- class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1489
- data-vp-quota-segment
1490
- [attr.data-vp-quota-segment-label]="segment.label"
1491
- [attr.title]="segment.title"
1492
- [style.inline-size.%]="segment.percent"
1493
- [style.background]="segment.color"></span>
1494
- }
1495
- } @else {
1496
- <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1497
- }
1498
- </div>
1499
- @if ((quota.hint || quota.action) && !collapsed) {
1500
- <div class="vp-shell__quota-foot">
1501
- @if (quota.hint) {
1502
- <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1503
- }
1504
- @if (quota.action) {
1505
- <button
1506
- type="button"
1507
- class="vp-shell__quota-action"
1508
- data-vp-quota-action
1509
- (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1510
- }
1511
- </div>
1512
- }
1513
- </div>
1514
- }
1515
-
1516
- @if (languages.length) {
1517
- <!--
1518
- B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1519
- Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1520
- ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1521
- document.lang yazarsa dil mantigi iki yere bolunur.
1522
- -->
1523
- <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1524
- @for (option of languages; track option.code) {
1525
- <button
1526
- type="button"
1527
- class="vp-shell__lang-option"
1528
- data-vp-lang-option
1529
- [attr.data-vp-lang-code]="option.code"
1530
- [attr.aria-pressed]="option.code === language"
1531
- [attr.title]="option.label"
1532
- (click)="languageChange.emit(option.code)">
1533
- {{ collapsed ? option.code.toUpperCase() : option.label }}
1534
- </button>
1535
- }
1536
- </div>
1537
- }
1538
- <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1539
- <ng-content select="[sidebarFootEnd]" />
1540
- </div>
1541
- </aside>
1542
-
1543
- @if (overlay() && !collapsed) {
1544
- <!--
1545
- 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1546
- Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1547
- tiklamalari sessizce yutardi.
1548
-
1549
- ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1550
- duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1551
- vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1552
- -->
1553
- <div
1554
- class="vp-shell__mask"
1555
- data-vp-shell-mask
1556
- data-vp-scrim
1557
- aria-hidden="true"
1558
- (click)="collapsedChange.emit(true)"></div>
1559
- }
1560
-
1561
- <main id="vp-main" class="vp-shell__main" tabindex="-1">
1562
- <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1563
- <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1564
- <ng-content />
1565
- </main>
1566
- </div>
1567
-
1568
- <!--
1569
- Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1570
- main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1571
- contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1572
- -->
1573
- <ng-content select="[footer]" />
1363
+ args: [{ selector: 'vp-shell', standalone: true, host: { '[attr.data-vp-layout]': 'layout' }, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1364
+ <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1365
+ Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1366
+ <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
1367
+
1368
+ <!--
1369
+ Paket 28 · layout="sidebar" (prototip kabugu): genis ekranda UST CUBUK YOK — marka, araclar ve arama kenar
1370
+ cubugunun basinda, kirinti icerigin basinda. Ust cubuk yalniz cekmece kipinde geliyor (cekmece dugmesi + marka).
1371
+ -->
1372
+ @if (layout === 'topbar' || overlay()) {
1373
+ <header class="vp-shell__topbar">
1374
+ <!--
1375
+ 🔴 Cekmece tetikleyicisi KABUGUN kendi ogesi, uygulamanin degil.
1376
+ Olculdu (2026-09-08): dar ekranda kenar cubugu ekran disinda
1377
+ bekliyordu ve onu geri getirecek gorunur bir denetim yoktu —
1378
+ vp-sidebar-toggle uygulamanin ust cubuguna KOYULURSA vardi, ve
1379
+ iki konsol onu koymamisti. Menuye ulasmanin tek yolu, kabugun
1380
+ garanti ettigi bir dugme olmali.
1381
+
1382
+ Yalniz overlay kipinde ciziliyor: genis ekranda menu zaten akista
1383
+ ve ikinci bir daraltma denetimi iki ayri kip demek olurdu.
1384
+ -->
1385
+ @if (overlay()) {
1386
+ <button
1387
+ type="button"
1388
+ class="vp-shell__drawer-toggle"
1389
+ data-vp-drawer-toggle
1390
+ [attr.aria-controls]="sidebarId"
1391
+ [attr.aria-expanded]="!collapsed"
1392
+ [attr.aria-label]="collapsed ? menuOpenLabel : menuCloseLabel"
1393
+ (click)="toggleDrawer()">
1394
+ <span class="vp-shell__burger" aria-hidden="true"></span>
1395
+ </button>
1396
+ }
1397
+ <ng-content select="[topbar]" />
1398
+ </header>
1399
+ }
1400
+
1401
+ <div class="vp-shell__body">
1402
+ <!--
1403
+ id ZORUNLU: vp-sidebar-toggle bunu aria-controls ile isaret
1404
+ ediyor. Olculdu (2026-08-27): dugme eklendiginde bu id yoktu ve
1405
+ aria-controls olmayan bir bolgeyi gosteriyordu — ekran okuyucu
1406
+ icin varmis gibi gorunen, gercekte olmayan bir baglanti.
1407
+ -->
1408
+ <aside
1409
+ #sidebar
1410
+ [id]="sidebarId"
1411
+ class="vp-shell__sidebar"
1412
+ [attr.data-collapsed]="collapsed || null"
1413
+ [attr.data-overlay]="overlay() || null"
1414
+ [attr.data-vp-drawer]="overlay() ? (collapsed ? 'closed' : 'open') : null"
1415
+ [attr.inert]="overlay() && collapsed ? '' : null">
1416
+ <!--
1417
+ Menu kendi kaydirma kutusunda: kota ve dil kenar cubugunun ALTINA
1418
+ sabitleniyor. Ayni kutuda olsalardi uzun menude ekrandan cikarlardi
1419
+ ve kullanici kotayi gormek icin menuyu sonuna kadar kaydirirdi.
1420
+ -->
1421
+ <!--
1422
+ Kenar cubugu basi (paket 28): marka · ray dugmesi · zil · tema; altinda konsol secici ve arama. Menunun
1423
+ kaydirma kutusunun DISINDA: uzun menude marka ve arama ekrandan cikmamali. Bossa gizli (:empty).
1424
+ -->
1425
+ <div class="vp-shell__sidebar-head"><ng-content select="[sidebarHead]" /></div>
1426
+
1427
+ <div class="vp-shell__sidebar-scroll">
1428
+ <ng-content select="[sidebar]" />
1429
+ </div>
1430
+
1431
+ <!--
1432
+ Ayak HER ZAMAN var, bossa CSS ile gizli (:empty). Tuketici yuvasi [sidebarFoot]
1433
+ (2026-09-13): mobil uygulama girisi gibi maddeler once, kota ve dil sonra.
1434
+ Olculdu: yuva yokken giris [sidebar] kutusuna girip uzun menude ekrandan cikiyordu.
1435
+ -->
1436
+ <div class="vp-shell__sidebar-foot">
1437
+ <ng-content select="[sidebarFoot]" />
1438
+ @if (quota) {
1439
+ <!--
1440
+ B1-K2: kota gostergesi KABUGUN parcasi, ayri bir bilesen degil.
1441
+ Kenar cubugunun alti kabugun kendi alani ve ray kipinde de
1442
+ kabugun kuralina uyuyor.
1443
+
1444
+ Esik tek yerde (VP_QUOTA_WARN / VP_QUOTA_CRITICAL): ekran
1445
+ basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1446
+ demektir.
1447
+ -->
1448
+ @if (quota.active) {
1449
+ <!-- Prototip .scan-badge: suren tarama kotanin USTUNDE; rayda yalniz nokta (metin title'da). -->
1450
+ <p
1451
+ class="vp-shell__scan-badge"
1452
+ data-vp-quota-active
1453
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1454
+ [attr.title]="collapsed ? quota.active : null">
1455
+ <i class="vp-shell__scan-dot" aria-hidden="true"></i>
1456
+ <span class="vp-shell__scan-text">{{ quota.active }}</span>
1457
+ </p>
1458
+ }
1459
+ <div
1460
+ class="vp-shell__quota"
1461
+ data-vp-quota
1462
+ [attr.data-vp-quota-level]="quotaLevel"
1463
+ [attr.data-vp-quota-warn]="quotaWarnTone === 'medium' ? 'medium' : null"
1464
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1465
+ [attr.title]="collapsed ? quotaText : null">
1466
+ <div class="vp-shell__quota-head">
1467
+ <!-- Prototip .quota__h svg: saat ikonu; rayda yalniz bu kaliyor (kutu bos gorunmesin). -->
1468
+ <span class="pi pi-clock vp-shell__quota-icon" data-vp-quota-icon aria-hidden="true"></span>
1469
+ <span class="vp-shell__quota-label">{{ quota.label }}</span>
1470
+ <span class="vp-shell__quota-value">{{ quotaText }}</span>
1471
+ </div>
1472
+ <!--
1473
+ Deger yalniz RENKLE anlatilmiyor: role=progressbar ve
1474
+ aria-valuenow ile de duyuruluyor. Renk korfarki olan bir
1475
+ kullanici icin dolu cubuk ile bos cubuk ayni gorunur.
1476
+ -->
1477
+ <div
1478
+ class="vp-shell__quota-bar"
1479
+ role="progressbar"
1480
+ aria-valuemin="0"
1481
+ aria-valuemax="100"
1482
+ [attr.aria-valuenow]="quotaPercent"
1483
+ [attr.aria-valuetext]="quotaText"
1484
+ [attr.aria-label]="quota.label">
1485
+ @if (quotaSegments.length) {
1486
+ @for (segment of quotaSegments; track segment.label) {
1487
+ <span
1488
+ class="vp-shell__quota-fill vp-shell__quota-fill--segment"
1489
+ data-vp-quota-segment
1490
+ [attr.data-vp-quota-segment-label]="segment.label"
1491
+ [attr.title]="segment.title"
1492
+ [style.inline-size.%]="segment.percent"
1493
+ [style.background]="segment.color"></span>
1494
+ }
1495
+ } @else {
1496
+ <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1497
+ }
1498
+ </div>
1499
+ @if ((quota.hint || quota.action) && !collapsed) {
1500
+ <div class="vp-shell__quota-foot">
1501
+ @if (quota.hint) {
1502
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1503
+ }
1504
+ @if (quota.action) {
1505
+ <button
1506
+ type="button"
1507
+ class="vp-shell__quota-action"
1508
+ data-vp-quota-action
1509
+ (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1510
+ }
1511
+ </div>
1512
+ }
1513
+ </div>
1514
+ }
1515
+
1516
+ @if (languages.length) {
1517
+ <!--
1518
+ B1-K3: dil DENETIMI kabukta, MANTIK @virusis/i18n'de.
1519
+ Kabuk secimi gosterip olayi yayiyor; cozumleme, kalicilik ve
1520
+ ?lang= -> kayit -> tarayici sirasi kabugun isi DEGIL. Kabuk
1521
+ document.lang yazarsa dil mantigi iki yere bolunur.
1522
+ -->
1523
+ <div class="vp-shell__lang" data-vp-lang [attr.role]="'group'" [attr.aria-label]="languageLabel">
1524
+ @for (option of languages; track option.code) {
1525
+ <button
1526
+ type="button"
1527
+ class="vp-shell__lang-option"
1528
+ data-vp-lang-option
1529
+ [attr.data-vp-lang-code]="option.code"
1530
+ [attr.aria-pressed]="option.code === language"
1531
+ [attr.title]="option.label"
1532
+ (click)="languageChange.emit(option.code)">
1533
+ {{ collapsed ? option.code.toUpperCase() : option.label }}
1534
+ </button>
1535
+ }
1536
+ </div>
1537
+ }
1538
+ <!-- Ayak sonu (paket 28): prototipte hesap kutusu ve anonim "saklı taramalar" kartı kotanın ALTINDA. -->
1539
+ <ng-content select="[sidebarFootEnd]" />
1540
+ </div>
1541
+ </aside>
1542
+
1543
+ @if (overlay() && !collapsed) {
1544
+ <!--
1545
+ 🔴 Maske YALNIZ dar ekranda ve menu ACIKKEN var.
1546
+ Genis ekranda hic cizilmiyor: gorunmez bir katman, uzerindeki
1547
+ tiklamalari sessizce yutardi.
1548
+
1549
+ ⚠️ button degil div: ekran okuyucu icin ikinci bir "kapat"
1550
+ duragi olusturmuyor — kapatmanin erisilebilir yolu ust cubuktaki
1551
+ vp-sidebar-toggle dugmesi. Maske yalniz isaretleme kolayligi.
1552
+ -->
1553
+ <div
1554
+ class="vp-shell__mask"
1555
+ data-vp-shell-mask
1556
+ data-vp-scrim
1557
+ aria-hidden="true"
1558
+ (click)="collapsedChange.emit(true)"></div>
1559
+ }
1560
+
1561
+ <main id="vp-main" class="vp-shell__main" tabindex="-1">
1562
+ <!-- Kirinti satiri (paket 28 · prototip crumbs-row): ray dugmesi + iz, icerigin basinda. Bossa gizli. -->
1563
+ <div class="vp-shell__crumbs"><ng-content select="[crumbs]" /></div>
1564
+ <ng-content />
1565
+ </main>
1566
+ </div>
1567
+
1568
+ <!--
1569
+ Alt bilgi ana icerigin DISINDA. Varsayilan yuvaya konsaydi footer
1570
+ main ICINDE kalirdi ve HTML kurallarina gore main icindeki footer bir
1571
+ contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1572
+ -->
1573
+ <ng-content select="[footer]" />
1574
1574
  `, 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;scrollbar-width:none;-ms-overflow-style:none}.vp-shell__sidebar-scroll::-webkit-scrollbar{width:0;height:0}.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{flex:1;color:var(--vp-text-secondary)}.vp-shell__quota-icon{flex:none;font-size:14px;opacity:.8;color:var(--vp-text-secondary);align-self:center}.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-warn=medium][data-vp-quota-level=warn] .vp-shell__quota-fill{background:var(--vp-sev-medium)}.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{justify-content:center}.vp-shell__quota[data-vp-quota-compact] :is(.vp-shell__quota-label,.vp-shell__quota-value){display:none}.vp-shell__scan-badge{display:flex;align-items:center;gap:8px;margin:0 0 var(--vp-space-2);padding:6px 9px;border-radius:var(--vp-radius-md, 8px);background:var(--vp-brand-subtle);color:var(--vp-text-primary);font-size:var(--vp-text-xs)}.vp-shell__scan-dot{flex:none;inline-size:7px;block-size:7px;border-radius:50%;background:var(--vp-brand-line)}.vp-shell__scan-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vp-shell__scan-badge[data-vp-quota-compact]{justify-content:center;padding:6px 0}.vp-shell__scan-badge[data-vp-quota-compact] .vp-shell__scan-text{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"] }]
1575
1575
  }], ctorParameters: () => [], propDecorators: { sidebarId: [{
1576
1576
  type: Input
@@ -1701,86 +1701,86 @@ class VpPageHeaderComponent {
1701
1701
  this.countLabel = null;
1702
1702
  }
1703
1703
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1704
- 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", countLabel: "countLabel" }, ngImport: i0, template: `
1705
- <div class="vp-page-header">
1706
- <div class="vp-page-header__bar">
1707
- <div class="vp-page-header__text">
1708
- <div class="vp-page-header__heading-row">
1709
- <h1 class="vp-page-header__heading">{{ heading }}</h1>
1710
- @if (count !== null && count !== undefined) {
1711
- <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1712
- }
1713
- @if (countLabel) {
1714
- <span class="vp-page-header__count" data-vp-count-label>{{ countLabel }}</span>
1715
- }
1716
- <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1717
- <span class="vp-page-header__status" data-vp-status>
1718
- <ng-content select="[status]" />
1719
- </span>
1720
- </div>
1721
- @if (description) {
1722
- <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1723
- }
1724
- <!--
1725
- Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1726
- metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1727
- veri sayfa aciklamasi gibi okunurdu.
1728
- -->
1729
- <div class="vp-page-header__meta" data-vp-meta>
1730
- <ng-content select="[meta]" />
1731
- </div>
1732
- </div>
1733
- <div class="vp-page-header__actions">
1734
- <ng-content select="[actions]" />
1735
- </div>
1736
- </div>
1737
- <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1738
- <div class="vp-page-header__tabs" data-vp-tabs>
1739
- <ng-content select="[tabs]" />
1740
- </div>
1741
- </div>
1704
+ 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", countLabel: "countLabel" }, ngImport: i0, template: `
1705
+ <div class="vp-page-header">
1706
+ <div class="vp-page-header__bar">
1707
+ <div class="vp-page-header__text">
1708
+ <div class="vp-page-header__heading-row">
1709
+ <h1 class="vp-page-header__heading">{{ heading }}</h1>
1710
+ @if (count !== null && count !== undefined) {
1711
+ <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1712
+ }
1713
+ @if (countLabel) {
1714
+ <span class="vp-page-header__count" data-vp-count-label>{{ countLabel }}</span>
1715
+ }
1716
+ <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1717
+ <span class="vp-page-header__status" data-vp-status>
1718
+ <ng-content select="[status]" />
1719
+ </span>
1720
+ </div>
1721
+ @if (description) {
1722
+ <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1723
+ }
1724
+ <!--
1725
+ Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1726
+ metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1727
+ veri sayfa aciklamasi gibi okunurdu.
1728
+ -->
1729
+ <div class="vp-page-header__meta" data-vp-meta>
1730
+ <ng-content select="[meta]" />
1731
+ </div>
1732
+ </div>
1733
+ <div class="vp-page-header__actions">
1734
+ <ng-content select="[actions]" />
1735
+ </div>
1736
+ </div>
1737
+ <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1738
+ <div class="vp-page-header__tabs" data-vp-tabs>
1739
+ <ng-content select="[tabs]" />
1740
+ </div>
1741
+ </div>
1742
1742
  `, 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 }); }
1743
1743
  }
1744
1744
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpPageHeaderComponent, decorators: [{
1745
1745
  type: Component,
1746
- args: [{ selector: 'vp-page-header', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1747
- <div class="vp-page-header">
1748
- <div class="vp-page-header__bar">
1749
- <div class="vp-page-header__text">
1750
- <div class="vp-page-header__heading-row">
1751
- <h1 class="vp-page-header__heading">{{ heading }}</h1>
1752
- @if (count !== null && count !== undefined) {
1753
- <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1754
- }
1755
- @if (countLabel) {
1756
- <span class="vp-page-header__count" data-vp-count-label>{{ countLabel }}</span>
1757
- }
1758
- <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1759
- <span class="vp-page-header__status" data-vp-status>
1760
- <ng-content select="[status]" />
1761
- </span>
1762
- </div>
1763
- @if (description) {
1764
- <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1765
- }
1766
- <!--
1767
- Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1768
- metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1769
- veri sayfa aciklamasi gibi okunurdu.
1770
- -->
1771
- <div class="vp-page-header__meta" data-vp-meta>
1772
- <ng-content select="[meta]" />
1773
- </div>
1774
- </div>
1775
- <div class="vp-page-header__actions">
1776
- <ng-content select="[actions]" />
1777
- </div>
1778
- </div>
1779
- <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1780
- <div class="vp-page-header__tabs" data-vp-tabs>
1781
- <ng-content select="[tabs]" />
1782
- </div>
1783
- </div>
1746
+ args: [{ selector: 'vp-page-header', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1747
+ <div class="vp-page-header">
1748
+ <div class="vp-page-header__bar">
1749
+ <div class="vp-page-header__text">
1750
+ <div class="vp-page-header__heading-row">
1751
+ <h1 class="vp-page-header__heading">{{ heading }}</h1>
1752
+ @if (count !== null && count !== undefined) {
1753
+ <span class="vp-page-header__count" data-vp-count>{{ count }}</span>
1754
+ }
1755
+ @if (countLabel) {
1756
+ <span class="vp-page-header__count" data-vp-count-label>{{ countLabel }}</span>
1757
+ }
1758
+ <!-- Durum basligin YANINDA: rozet baslikla ayni cumlenin parcasi. -->
1759
+ <span class="vp-page-header__status" data-vp-status>
1760
+ <ng-content select="[status]" />
1761
+ </span>
1762
+ </div>
1763
+ @if (description) {
1764
+ <p class="vp-page-header__description" data-vp-subheading>{{ description }}</p>
1765
+ }
1766
+ <!--
1767
+ Metadata satiri aciklamanin ALTINDA: aciklama ekranin ne oldugunu,
1768
+ metadata bu kaydin ne oldugunu soyluyor. Ters sirada, kayda ozel
1769
+ veri sayfa aciklamasi gibi okunurdu.
1770
+ -->
1771
+ <div class="vp-page-header__meta" data-vp-meta>
1772
+ <ng-content select="[meta]" />
1773
+ </div>
1774
+ </div>
1775
+ <div class="vp-page-header__actions">
1776
+ <ng-content select="[actions]" />
1777
+ </div>
1778
+ </div>
1779
+ <!-- Sekmeler basligin ALTINDA ve tam genislikte: sayfa icinde gezinme. -->
1780
+ <div class="vp-page-header__tabs" data-vp-tabs>
1781
+ <ng-content select="[tabs]" />
1782
+ </div>
1783
+ </div>
1784
1784
  `, 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"] }]
1785
1785
  }], propDecorators: { heading: [{
1786
1786
  type: Input,
@@ -1832,92 +1832,92 @@ class VpBannerComponent {
1832
1832
  }
1833
1833
  }
1834
1834
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1835
- 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: `
1836
- <div
1837
- class="vp-banner"
1838
- [attr.data-tone]="tone"
1839
- [attr.role]="isUrgent ? 'alert' : 'status'"
1840
- [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1841
-
1842
- <!--
1843
- Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1844
- dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1845
- -->
1846
- @if (tone !== 'note') {
1847
- <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1848
- <use [attr.href]="'#vp-icon-' + icon"></use>
1849
- </svg>
1850
- }
1851
-
1852
- <span class="vp-banner__message">
1853
- @if (lead) {
1854
- <strong class="vp-banner__lead">{{ lead }}</strong>
1855
- }
1856
- {{ message }}
1857
- </span>
1858
-
1859
- <span class="vp-banner__actions">
1860
- <ng-content select="[actions]" />
1861
- </span>
1862
-
1863
- @if (dismissible) {
1864
- <button
1865
- type="button"
1866
- class="vp-banner__dismiss"
1867
- data-vp-dismiss
1868
- [attr.aria-label]="dismissLabel"
1869
- (click)="dismissed.emit()">
1870
- <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1871
- <use href="#vp-icon-close"></use>
1872
- </svg>
1873
- </button>
1874
- }
1875
- </div>
1835
+ 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: `
1836
+ <div
1837
+ class="vp-banner"
1838
+ [attr.data-tone]="tone"
1839
+ [attr.role]="isUrgent ? 'alert' : 'status'"
1840
+ [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1841
+
1842
+ <!--
1843
+ Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1844
+ dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1845
+ -->
1846
+ @if (tone !== 'note') {
1847
+ <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1848
+ <use [attr.href]="'#vp-icon-' + icon"></use>
1849
+ </svg>
1850
+ }
1851
+
1852
+ <span class="vp-banner__message">
1853
+ @if (lead) {
1854
+ <strong class="vp-banner__lead">{{ lead }}</strong>
1855
+ }
1856
+ {{ message }}
1857
+ </span>
1858
+
1859
+ <span class="vp-banner__actions">
1860
+ <ng-content select="[actions]" />
1861
+ </span>
1862
+
1863
+ @if (dismissible) {
1864
+ <button
1865
+ type="button"
1866
+ class="vp-banner__dismiss"
1867
+ data-vp-dismiss
1868
+ [attr.aria-label]="dismissLabel"
1869
+ (click)="dismissed.emit()">
1870
+ <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1871
+ <use href="#vp-icon-close"></use>
1872
+ </svg>
1873
+ </button>
1874
+ }
1875
+ </div>
1876
1876
  `, 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 }); }
1877
1877
  }
1878
1878
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpBannerComponent, decorators: [{
1879
1879
  type: Component,
1880
- args: [{ selector: 'vp-banner', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1881
- <div
1882
- class="vp-banner"
1883
- [attr.data-tone]="tone"
1884
- [attr.role]="isUrgent ? 'alert' : 'status'"
1885
- [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1886
-
1887
- <!--
1888
- Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1889
- dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1890
- -->
1891
- @if (tone !== 'note') {
1892
- <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1893
- <use [attr.href]="'#vp-icon-' + icon"></use>
1894
- </svg>
1895
- }
1896
-
1897
- <span class="vp-banner__message">
1898
- @if (lead) {
1899
- <strong class="vp-banner__lead">{{ lead }}</strong>
1900
- }
1901
- {{ message }}
1902
- </span>
1903
-
1904
- <span class="vp-banner__actions">
1905
- <ng-content select="[actions]" />
1906
- </span>
1907
-
1908
- @if (dismissible) {
1909
- <button
1910
- type="button"
1911
- class="vp-banner__dismiss"
1912
- data-vp-dismiss
1913
- [attr.aria-label]="dismissLabel"
1914
- (click)="dismissed.emit()">
1915
- <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1916
- <use href="#vp-icon-close"></use>
1917
- </svg>
1918
- </button>
1919
- }
1920
- </div>
1880
+ args: [{ selector: 'vp-banner', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
1881
+ <div
1882
+ class="vp-banner"
1883
+ [attr.data-tone]="tone"
1884
+ [attr.role]="isUrgent ? 'alert' : 'status'"
1885
+ [attr.aria-live]="isUrgent ? 'assertive' : 'polite'">
1886
+
1887
+ <!--
1888
+ Not tonu (paket 28 · prototip .banner): ikon YOK — sol vurgu cizgisi ve kalin bas isaretliyor. Anonim oturum ve
1889
+ dogrulama aciklamasi bir uyari degil, bilgi; ikon onu uyari gibi okuturdu.
1890
+ -->
1891
+ @if (tone !== 'note') {
1892
+ <svg class="vp-banner__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1893
+ <use [attr.href]="'#vp-icon-' + icon"></use>
1894
+ </svg>
1895
+ }
1896
+
1897
+ <span class="vp-banner__message">
1898
+ @if (lead) {
1899
+ <strong class="vp-banner__lead">{{ lead }}</strong>
1900
+ }
1901
+ {{ message }}
1902
+ </span>
1903
+
1904
+ <span class="vp-banner__actions">
1905
+ <ng-content select="[actions]" />
1906
+ </span>
1907
+
1908
+ @if (dismissible) {
1909
+ <button
1910
+ type="button"
1911
+ class="vp-banner__dismiss"
1912
+ data-vp-dismiss
1913
+ [attr.aria-label]="dismissLabel"
1914
+ (click)="dismissed.emit()">
1915
+ <svg class="vp-banner__dismiss-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
1916
+ <use href="#vp-icon-close"></use>
1917
+ </svg>
1918
+ </button>
1919
+ }
1920
+ </div>
1921
1921
  `, 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"] }]
1922
1922
  }], propDecorators: { message: [{
1923
1923
  type: Input,
@@ -2763,510 +2763,510 @@ class VpSidebarComponent {
2763
2763
  this.closeFlyout();
2764
2764
  }
2765
2765
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2766
- 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: `
2767
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2768
- @for (group of groups; track group.name; let firstGroup = $first) {
2769
- <!--
2770
- Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2771
- nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2772
- hangisinin ne oldugu yalnizca ikondan okunuyor.
2773
-
2774
- Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2775
- -->
2776
- @if (collapsed && !firstGroup) {
2777
- <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2778
- }
2779
- @if (group.name) {
2780
- <!--
2781
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2782
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2783
- gorulebilir olmali.
2784
- -->
2785
- <button
2786
- type="button"
2787
- class="vp-sidebar__group"
2788
- [attr.data-vp-menu-group]="group.name"
2789
- [attr.aria-expanded]="isGroupOpen(group.name)"
2790
- (click)="toggleGroup(group.name)">
2791
- <span class="vp-sidebar__group-label">{{ group.name }}</span>
2792
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2793
- </button>
2794
- }
2795
- @if (isGroupOpen(group.name)) {
2796
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
2797
- @for (item of group.items; track item.code) {
2798
- <li class="vp-sidebar__item">
2799
- @if (childrenOf(item).length) {
2800
- <!--
2801
- Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
2802
- DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
2803
- kontroldur. Yol varsa baglanti olarak ciziliyor.
2804
- -->
2805
- @if (collapsed) {
2806
- <!--
2807
- Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
2808
- Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
2809
- akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
2810
- farkli oge tipi bilerek: kontrolun sekli yaptigi isi
2811
- soylemeli.
2812
- -->
2813
- <button
2814
- type="button"
2815
- class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
2816
- [attr.data-vp-menu-parent]="item.code"
2817
- [attr.title]="item.titleKey"
2818
- aria-haspopup="menu"
2819
- [attr.aria-expanded]="flyoutItem?.code === item.code"
2820
- (click)="toggleFlyout(item, $event)">
2821
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2822
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2823
- </button>
2824
- } @else if (item.path) {
2825
- <!--
2826
- Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
2827
- dugme. Tek tiklama hem gidemez hem acamaz.
2828
- -->
2829
- <span class="vp-sidebar__parent-row">
2830
- <a
2831
- class="vp-sidebar__link vp-sidebar__link--parent"
2832
- [attr.data-vp-menu-parent]="item.code"
2833
- [attr.href]="item.path"
2834
- [attr.title]="item.titleKey"
2835
- [attr.aria-current]="isActive(item) ? 'page' : null"
2836
- (click)="navigate($event, item.path)">
2837
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2838
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2839
- </a>
2840
- <button
2841
- type="button"
2842
- class="vp-sidebar__disclosure"
2843
- [attr.data-vp-menu-toggle]="item.code"
2844
- [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
2845
- [attr.aria-expanded]="isParentOpen(item)"
2846
- (click)="toggleParent(item)">
2847
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2848
- </button>
2849
- </span>
2850
- } @else {
2851
- <!--
2852
- Genis kipte ust madde bir ACILIR dugme.
2853
- Cocugu olan her sey acilir kapanir; yonetim panelinde
2854
- Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
2855
- taranabilir olmaktan cikip listeye donuyordu.
2856
-
2857
- ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
2858
- tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
2859
- (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
2860
- yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
2861
- degil.
2862
- -->
2863
- <button
2864
- type="button"
2865
- class="vp-sidebar__link vp-sidebar__link--parent"
2866
- [attr.data-vp-menu-parent]="item.code"
2867
- [attr.title]="item.titleKey"
2868
- [attr.aria-expanded]="isParentOpen(item)"
2869
- (click)="toggleParent(item)">
2870
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2871
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2872
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2873
- </button>
2874
- }
2875
-
2876
- <!--
2877
- Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
2878
- duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
2879
- etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
2880
- anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
2881
- ucan menu aliyor.
2882
- -->
2883
- @if (!collapsed && isParentOpen(item)) {
2884
- <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
2885
- @for (child of childrenOf(item); track child.code) {
2886
- <li class="vp-sidebar__item">
2887
- @if (child.disabledReason) {
2888
- <span
2889
- class="vp-sidebar__link vp-sidebar__link--disabled"
2890
- [attr.data-vp-menu-item]="child.code"
2891
- aria-disabled="true"
2892
- [attr.title]="child.titleKey + ' — ' + child.disabledReason">
2893
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2894
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2895
- </span>
2896
- <span
2897
- class="vp-sidebar__reason"
2898
- [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
2899
- } @else {
2900
- <a
2901
- class="vp-sidebar__link vp-sidebar__link--child"
2902
- [attr.data-vp-menu-item]="child.code"
2903
- [attr.href]="child.path"
2904
- [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
2905
- [attr.aria-current]="isActive(child) ? 'page' : null"
2906
- (click)="navigate($event, child.path)">
2907
- @if (child.icon) {
2908
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2909
- }
2910
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2911
- @if (hasBadge(child)) {
2912
- <span
2913
- class="vp-sidebar__badge"
2914
- [attr.data-vp-menu-badge]="child.code"
2915
- [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
2916
- }
2917
- @if (child.lock) {
2918
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
2919
- }
2920
- </a>
2921
- }
2922
- </li>
2923
- }
2924
- </ul>
2925
- }
2926
- } @else if (item.disabledReason) {
2927
- <span
2928
- class="vp-sidebar__link vp-sidebar__link--disabled"
2929
- [attr.data-vp-menu-item]="item.code"
2930
- aria-disabled="true"
2931
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
2932
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2933
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2934
- </span>
2935
- <span
2936
- class="vp-sidebar__reason"
2937
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
2938
- } @else {
2939
- <a
2940
- class="vp-sidebar__link"
2941
- [attr.data-vp-menu-item]="item.code"
2942
- [attr.href]="item.path"
2943
- [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
2944
- [attr.aria-current]="isActive(item) ? 'page' : null"
2945
- (click)="navigate($event, item.path)">
2946
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2947
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2948
- @if (hasBadge(item)) {
2949
- <span
2950
- class="vp-sidebar__badge"
2951
- [attr.data-vp-menu-badge]="item.code"
2952
- [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
2953
- }
2954
- <!--
2955
- Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
2956
- ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
2957
- eksen: orada gidilecek bir sey yok.
2958
- -->
2959
- @if (item.lock) {
2960
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
2961
- }
2962
- </a>
2963
- }
2964
- </li>
2965
- }
2966
- </ul>
2967
- }
2968
- }
2969
-
2970
- @if (flyoutItem) {
2971
- <!--
2972
- Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
2973
- kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
2974
- dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
2975
- en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
2976
- -->
2977
- <div
2978
- class="vp-sidebar__flyout"
2979
- data-vp-flyout
2980
- role="menu"
2981
- [attr.aria-label]="flyoutItem.titleKey"
2982
- [style.top.px]="flyoutTop"
2983
- [style.left.px]="flyoutLeft">
2984
- <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
2985
- @for (child of childrenOf(flyoutItem); track child.code) {
2986
- @if (child.disabledReason) {
2987
- <span
2988
- class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
2989
- [attr.data-vp-flyout-item]="child.code"
2990
- role="menuitem"
2991
- aria-disabled="true">
2992
- {{ child.titleKey }}
2993
- <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
2994
- </span>
2995
- } @else {
2996
- <a
2997
- class="vp-sidebar__flyout-link"
2998
- [attr.data-vp-flyout-item]="child.code"
2999
- role="menuitem"
3000
- [attr.href]="child.path"
3001
- [attr.aria-current]="isActive(child) ? 'page' : null"
3002
- (click)="navigate($event, child.path); closeFlyout()">
3003
- {{ child.titleKey }}
3004
- @if (hasBadge(child)) {
3005
- <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3006
- }
3007
- @if (child.lock) {
3008
- <span class="vp-sidebar__lock">{{ child.lock }}</span>
3009
- }
3010
- </a>
3011
- }
3012
- }
3013
- </div>
3014
- }
3015
- </nav>
2766
+ 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: `
2767
+ <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
2768
+ @for (group of groups; track group.name; let firstGroup = $first) {
2769
+ <!--
2770
+ Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
2771
+ nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
2772
+ hangisinin ne oldugu yalnizca ikondan okunuyor.
2773
+
2774
+ Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
2775
+ -->
2776
+ @if (collapsed && !firstGroup) {
2777
+ <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
2778
+ }
2779
+ @if (group.name) {
2780
+ <!--
2781
+ Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
2782
+ ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
2783
+ gorulebilir olmali.
2784
+ -->
2785
+ <button
2786
+ type="button"
2787
+ class="vp-sidebar__group"
2788
+ [attr.data-vp-menu-group]="group.name"
2789
+ [attr.aria-expanded]="isGroupOpen(group.name)"
2790
+ (click)="toggleGroup(group.name)">
2791
+ <span class="vp-sidebar__group-label">{{ group.name }}</span>
2792
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2793
+ </button>
2794
+ }
2795
+ @if (isGroupOpen(group.name)) {
2796
+ <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
2797
+ @for (item of group.items; track item.code) {
2798
+ <li class="vp-sidebar__item">
2799
+ @if (childrenOf(item).length) {
2800
+ <!--
2801
+ Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
2802
+ DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
2803
+ kontroldur. Yol varsa baglanti olarak ciziliyor.
2804
+ -->
2805
+ @if (collapsed) {
2806
+ <!--
2807
+ Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
2808
+ Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
2809
+ akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
2810
+ farkli oge tipi bilerek: kontrolun sekli yaptigi isi
2811
+ soylemeli.
2812
+ -->
2813
+ <button
2814
+ type="button"
2815
+ class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
2816
+ [attr.data-vp-menu-parent]="item.code"
2817
+ [attr.title]="item.titleKey"
2818
+ aria-haspopup="menu"
2819
+ [attr.aria-expanded]="flyoutItem?.code === item.code"
2820
+ (click)="toggleFlyout(item, $event)">
2821
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2822
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2823
+ </button>
2824
+ } @else if (item.path) {
2825
+ <!--
2826
+ Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
2827
+ dugme. Tek tiklama hem gidemez hem acamaz.
2828
+ -->
2829
+ <span class="vp-sidebar__parent-row">
2830
+ <a
2831
+ class="vp-sidebar__link vp-sidebar__link--parent"
2832
+ [attr.data-vp-menu-parent]="item.code"
2833
+ [attr.href]="item.path"
2834
+ [attr.title]="item.titleKey"
2835
+ [attr.aria-current]="isActive(item) ? 'page' : null"
2836
+ (click)="navigate($event, item.path)">
2837
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2838
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2839
+ </a>
2840
+ <button
2841
+ type="button"
2842
+ class="vp-sidebar__disclosure"
2843
+ [attr.data-vp-menu-toggle]="item.code"
2844
+ [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
2845
+ [attr.aria-expanded]="isParentOpen(item)"
2846
+ (click)="toggleParent(item)">
2847
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2848
+ </button>
2849
+ </span>
2850
+ } @else {
2851
+ <!--
2852
+ Genis kipte ust madde bir ACILIR dugme.
2853
+ Cocugu olan her sey acilir kapanir; yonetim panelinde
2854
+ Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
2855
+ taranabilir olmaktan cikip listeye donuyordu.
2856
+
2857
+ ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
2858
+ tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
2859
+ (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
2860
+ yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
2861
+ degil.
2862
+ -->
2863
+ <button
2864
+ type="button"
2865
+ class="vp-sidebar__link vp-sidebar__link--parent"
2866
+ [attr.data-vp-menu-parent]="item.code"
2867
+ [attr.title]="item.titleKey"
2868
+ [attr.aria-expanded]="isParentOpen(item)"
2869
+ (click)="toggleParent(item)">
2870
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2871
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2872
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
2873
+ </button>
2874
+ }
2875
+
2876
+ <!--
2877
+ Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
2878
+ duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
2879
+ etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
2880
+ anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
2881
+ ucan menu aliyor.
2882
+ -->
2883
+ @if (!collapsed && isParentOpen(item)) {
2884
+ <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
2885
+ @for (child of childrenOf(item); track child.code) {
2886
+ <li class="vp-sidebar__item">
2887
+ @if (child.disabledReason) {
2888
+ <span
2889
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2890
+ [attr.data-vp-menu-item]="child.code"
2891
+ aria-disabled="true"
2892
+ [attr.title]="child.titleKey + ' — ' + child.disabledReason">
2893
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2894
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2895
+ </span>
2896
+ <span
2897
+ class="vp-sidebar__reason"
2898
+ [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
2899
+ } @else {
2900
+ <a
2901
+ class="vp-sidebar__link vp-sidebar__link--child"
2902
+ [attr.data-vp-menu-item]="child.code"
2903
+ [attr.href]="child.path"
2904
+ [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
2905
+ [attr.aria-current]="isActive(child) ? 'page' : null"
2906
+ (click)="navigate($event, child.path)">
2907
+ @if (child.icon) {
2908
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
2909
+ }
2910
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
2911
+ @if (hasBadge(child)) {
2912
+ <span
2913
+ class="vp-sidebar__badge"
2914
+ [attr.data-vp-menu-badge]="child.code"
2915
+ [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
2916
+ }
2917
+ @if (child.lock) {
2918
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
2919
+ }
2920
+ </a>
2921
+ }
2922
+ </li>
2923
+ }
2924
+ </ul>
2925
+ }
2926
+ } @else if (item.disabledReason) {
2927
+ <span
2928
+ class="vp-sidebar__link vp-sidebar__link--disabled"
2929
+ [attr.data-vp-menu-item]="item.code"
2930
+ aria-disabled="true"
2931
+ [attr.title]="item.titleKey + ' — ' + item.disabledReason">
2932
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2933
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2934
+ </span>
2935
+ <span
2936
+ class="vp-sidebar__reason"
2937
+ [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
2938
+ } @else {
2939
+ <a
2940
+ class="vp-sidebar__link"
2941
+ [attr.data-vp-menu-item]="item.code"
2942
+ [attr.href]="item.path"
2943
+ [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
2944
+ [attr.aria-current]="isActive(item) ? 'page' : null"
2945
+ (click)="navigate($event, item.path)">
2946
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
2947
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
2948
+ @if (hasBadge(item)) {
2949
+ <span
2950
+ class="vp-sidebar__badge"
2951
+ [attr.data-vp-menu-badge]="item.code"
2952
+ [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
2953
+ }
2954
+ <!--
2955
+ Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
2956
+ ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
2957
+ eksen: orada gidilecek bir sey yok.
2958
+ -->
2959
+ @if (item.lock) {
2960
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
2961
+ }
2962
+ </a>
2963
+ }
2964
+ </li>
2965
+ }
2966
+ </ul>
2967
+ }
2968
+ }
2969
+
2970
+ @if (flyoutItem) {
2971
+ <!--
2972
+ Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
2973
+ kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
2974
+ dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
2975
+ en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
2976
+ -->
2977
+ <div
2978
+ class="vp-sidebar__flyout"
2979
+ data-vp-flyout
2980
+ role="menu"
2981
+ [attr.aria-label]="flyoutItem.titleKey"
2982
+ [style.top.px]="flyoutTop"
2983
+ [style.left.px]="flyoutLeft">
2984
+ <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
2985
+ @for (child of childrenOf(flyoutItem); track child.code) {
2986
+ @if (child.disabledReason) {
2987
+ <span
2988
+ class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
2989
+ [attr.data-vp-flyout-item]="child.code"
2990
+ role="menuitem"
2991
+ aria-disabled="true">
2992
+ {{ child.titleKey }}
2993
+ <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
2994
+ </span>
2995
+ } @else {
2996
+ <a
2997
+ class="vp-sidebar__flyout-link"
2998
+ [attr.data-vp-flyout-item]="child.code"
2999
+ role="menuitem"
3000
+ [attr.href]="child.path"
3001
+ [attr.aria-current]="isActive(child) ? 'page' : null"
3002
+ (click)="navigate($event, child.path); closeFlyout()">
3003
+ {{ child.titleKey }}
3004
+ @if (hasBadge(child)) {
3005
+ <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3006
+ }
3007
+ @if (child.lock) {
3008
+ <span class="vp-sidebar__lock">{{ child.lock }}</span>
3009
+ }
3010
+ </a>
3011
+ }
3012
+ }
3013
+ </div>
3014
+ }
3015
+ </nav>
3016
3016
  `, 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 }); }
3017
3017
  }
3018
3018
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarComponent, decorators: [{
3019
3019
  type: Component,
3020
- args: [{ selector: 'vp-sidebar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
3021
- <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
3022
- @for (group of groups; track group.name; let firstGroup = $first) {
3023
- <!--
3024
- Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
3025
- nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
3026
- hangisinin ne oldugu yalnizca ikondan okunuyor.
3027
-
3028
- Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
3029
- -->
3030
- @if (collapsed && !firstGroup) {
3031
- <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
3032
- }
3033
- @if (group.name) {
3034
- <!--
3035
- Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
3036
- ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
3037
- gorulebilir olmali.
3038
- -->
3039
- <button
3040
- type="button"
3041
- class="vp-sidebar__group"
3042
- [attr.data-vp-menu-group]="group.name"
3043
- [attr.aria-expanded]="isGroupOpen(group.name)"
3044
- (click)="toggleGroup(group.name)">
3045
- <span class="vp-sidebar__group-label">{{ group.name }}</span>
3046
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3047
- </button>
3048
- }
3049
- @if (isGroupOpen(group.name)) {
3050
- <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
3051
- @for (item of group.items; track item.code) {
3052
- <li class="vp-sidebar__item">
3053
- @if (childrenOf(item).length) {
3054
- <!--
3055
- Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
3056
- DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
3057
- kontroldur. Yol varsa baglanti olarak ciziliyor.
3058
- -->
3059
- @if (collapsed) {
3060
- <!--
3061
- Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
3062
- Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
3063
- akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
3064
- farkli oge tipi bilerek: kontrolun sekli yaptigi isi
3065
- soylemeli.
3066
- -->
3067
- <button
3068
- type="button"
3069
- class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
3070
- [attr.data-vp-menu-parent]="item.code"
3071
- [attr.title]="item.titleKey"
3072
- aria-haspopup="menu"
3073
- [attr.aria-expanded]="flyoutItem?.code === item.code"
3074
- (click)="toggleFlyout(item, $event)">
3075
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3076
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3077
- </button>
3078
- } @else if (item.path) {
3079
- <!--
3080
- Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
3081
- dugme. Tek tiklama hem gidemez hem acamaz.
3082
- -->
3083
- <span class="vp-sidebar__parent-row">
3084
- <a
3085
- class="vp-sidebar__link vp-sidebar__link--parent"
3086
- [attr.data-vp-menu-parent]="item.code"
3087
- [attr.href]="item.path"
3088
- [attr.title]="item.titleKey"
3089
- [attr.aria-current]="isActive(item) ? 'page' : null"
3090
- (click)="navigate($event, item.path)">
3091
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3092
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3093
- </a>
3094
- <button
3095
- type="button"
3096
- class="vp-sidebar__disclosure"
3097
- [attr.data-vp-menu-toggle]="item.code"
3098
- [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
3099
- [attr.aria-expanded]="isParentOpen(item)"
3100
- (click)="toggleParent(item)">
3101
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3102
- </button>
3103
- </span>
3104
- } @else {
3105
- <!--
3106
- Genis kipte ust madde bir ACILIR dugme.
3107
- Cocugu olan her sey acilir kapanir; yonetim panelinde
3108
- Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
3109
- taranabilir olmaktan cikip listeye donuyordu.
3110
-
3111
- ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
3112
- tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
3113
- (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
3114
- yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
3115
- degil.
3116
- -->
3117
- <button
3118
- type="button"
3119
- class="vp-sidebar__link vp-sidebar__link--parent"
3120
- [attr.data-vp-menu-parent]="item.code"
3121
- [attr.title]="item.titleKey"
3122
- [attr.aria-expanded]="isParentOpen(item)"
3123
- (click)="toggleParent(item)">
3124
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3125
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3126
- <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3127
- </button>
3128
- }
3129
-
3130
- <!--
3131
- Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
3132
- duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
3133
- etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
3134
- anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
3135
- ucan menu aliyor.
3136
- -->
3137
- @if (!collapsed && isParentOpen(item)) {
3138
- <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
3139
- @for (child of childrenOf(item); track child.code) {
3140
- <li class="vp-sidebar__item">
3141
- @if (child.disabledReason) {
3142
- <span
3143
- class="vp-sidebar__link vp-sidebar__link--disabled"
3144
- [attr.data-vp-menu-item]="child.code"
3145
- aria-disabled="true"
3146
- [attr.title]="child.titleKey + ' — ' + child.disabledReason">
3147
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3148
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3149
- </span>
3150
- <span
3151
- class="vp-sidebar__reason"
3152
- [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
3153
- } @else {
3154
- <a
3155
- class="vp-sidebar__link vp-sidebar__link--child"
3156
- [attr.data-vp-menu-item]="child.code"
3157
- [attr.href]="child.path"
3158
- [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
3159
- [attr.aria-current]="isActive(child) ? 'page' : null"
3160
- (click)="navigate($event, child.path)">
3161
- @if (child.icon) {
3162
- <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3163
- }
3164
- <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3165
- @if (hasBadge(child)) {
3166
- <span
3167
- class="vp-sidebar__badge"
3168
- [attr.data-vp-menu-badge]="child.code"
3169
- [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3170
- }
3171
- @if (child.lock) {
3172
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
3173
- }
3174
- </a>
3175
- }
3176
- </li>
3177
- }
3178
- </ul>
3179
- }
3180
- } @else if (item.disabledReason) {
3181
- <span
3182
- class="vp-sidebar__link vp-sidebar__link--disabled"
3183
- [attr.data-vp-menu-item]="item.code"
3184
- aria-disabled="true"
3185
- [attr.title]="item.titleKey + ' — ' + item.disabledReason">
3186
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3187
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3188
- </span>
3189
- <span
3190
- class="vp-sidebar__reason"
3191
- [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
3192
- } @else {
3193
- <a
3194
- class="vp-sidebar__link"
3195
- [attr.data-vp-menu-item]="item.code"
3196
- [attr.href]="item.path"
3197
- [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
3198
- [attr.aria-current]="isActive(item) ? 'page' : null"
3199
- (click)="navigate($event, item.path)">
3200
- <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3201
- <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3202
- @if (hasBadge(item)) {
3203
- <span
3204
- class="vp-sidebar__badge"
3205
- [attr.data-vp-menu-badge]="item.code"
3206
- [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
3207
- }
3208
- <!--
3209
- Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
3210
- ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
3211
- eksen: orada gidilecek bir sey yok.
3212
- -->
3213
- @if (item.lock) {
3214
- <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
3215
- }
3216
- </a>
3217
- }
3218
- </li>
3219
- }
3220
- </ul>
3221
- }
3222
- }
3223
-
3224
- @if (flyoutItem) {
3225
- <!--
3226
- Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
3227
- kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
3228
- dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
3229
- en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
3230
- -->
3231
- <div
3232
- class="vp-sidebar__flyout"
3233
- data-vp-flyout
3234
- role="menu"
3235
- [attr.aria-label]="flyoutItem.titleKey"
3236
- [style.top.px]="flyoutTop"
3237
- [style.left.px]="flyoutLeft">
3238
- <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
3239
- @for (child of childrenOf(flyoutItem); track child.code) {
3240
- @if (child.disabledReason) {
3241
- <span
3242
- class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
3243
- [attr.data-vp-flyout-item]="child.code"
3244
- role="menuitem"
3245
- aria-disabled="true">
3246
- {{ child.titleKey }}
3247
- <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
3248
- </span>
3249
- } @else {
3250
- <a
3251
- class="vp-sidebar__flyout-link"
3252
- [attr.data-vp-flyout-item]="child.code"
3253
- role="menuitem"
3254
- [attr.href]="child.path"
3255
- [attr.aria-current]="isActive(child) ? 'page' : null"
3256
- (click)="navigate($event, child.path); closeFlyout()">
3257
- {{ child.titleKey }}
3258
- @if (hasBadge(child)) {
3259
- <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3260
- }
3261
- @if (child.lock) {
3262
- <span class="vp-sidebar__lock">{{ child.lock }}</span>
3263
- }
3264
- </a>
3265
- }
3266
- }
3267
- </div>
3268
- }
3269
- </nav>
3020
+ args: [{ selector: 'vp-sidebar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
3021
+ <nav class="vp-sidebar" [attr.aria-label]="navLabel" [attr.data-collapsed]="collapsed || null">
3022
+ @for (group of groups; track group.name; let firstGroup = $first) {
3023
+ <!--
3024
+ Ray ayraci. Daraltilmis kipte grup BASLIGI okunmaz, ama kumenin
3025
+ nerede bittigi hala gorulebilir olmali: on ikon tek sutun olunca
3026
+ hangisinin ne oldugu yalnizca ikondan okunuyor.
3027
+
3028
+ Ilk kumenin ustunde ayrac YOK: bolecek bir sey yok.
3029
+ -->
3030
+ @if (collapsed && !firstGroup) {
3031
+ <hr class="vp-sidebar__rail-sep" data-vp-rail-separator aria-hidden="true" />
3032
+ }
3033
+ @if (group.name) {
3034
+ <!--
3035
+ Grup basligi. Daraltilmis kipte GIZLENIYOR ama ayirici kaliyor:
3036
+ ikon-rayinda metin okunmaz, ancak gruplarin nerede bittigi hala
3037
+ gorulebilir olmali.
3038
+ -->
3039
+ <button
3040
+ type="button"
3041
+ class="vp-sidebar__group"
3042
+ [attr.data-vp-menu-group]="group.name"
3043
+ [attr.aria-expanded]="isGroupOpen(group.name)"
3044
+ (click)="toggleGroup(group.name)">
3045
+ <span class="vp-sidebar__group-label">{{ group.name }}</span>
3046
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3047
+ </button>
3048
+ }
3049
+ @if (isGroupOpen(group.name)) {
3050
+ <ul class="vp-sidebar__list" [attr.aria-label]="group.name || null">
3051
+ @for (item of group.items; track item.code) {
3052
+ <li class="vp-sidebar__item">
3053
+ @if (childrenOf(item).length) {
3054
+ <!--
3055
+ Ucuncu seviye (paket 16 - G6). Yol tasimayan ust madde BAGLANTI
3056
+ DEGIL: tiklayinca hicbir yere gitmeyen bir baglanti bozuk bir
3057
+ kontroldur. Yol varsa baglanti olarak ciziliyor.
3058
+ -->
3059
+ @if (collapsed) {
3060
+ <!--
3061
+ Rayda ust madde bir DUGME: tiklayinca ucan menu aciliyor.
3062
+ Genis kipte ayni oge bir BASLIK, cunku cocuklar zaten
3063
+ akista goruluyor ve tiklanacak bir sey yok. Iki kipte iki
3064
+ farkli oge tipi bilerek: kontrolun sekli yaptigi isi
3065
+ soylemeli.
3066
+ -->
3067
+ <button
3068
+ type="button"
3069
+ class="vp-sidebar__link vp-sidebar__link--parent vp-sidebar__link--rail"
3070
+ [attr.data-vp-menu-parent]="item.code"
3071
+ [attr.title]="item.titleKey"
3072
+ aria-haspopup="menu"
3073
+ [attr.aria-expanded]="flyoutItem?.code === item.code"
3074
+ (click)="toggleFlyout(item, $event)">
3075
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3076
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3077
+ </button>
3078
+ } @else if (item.path) {
3079
+ <!--
3080
+ Yol tasiyan ust madde BAGLANTI kaliyor; acmak icin yanindaki
3081
+ dugme. Tek tiklama hem gidemez hem acamaz.
3082
+ -->
3083
+ <span class="vp-sidebar__parent-row">
3084
+ <a
3085
+ class="vp-sidebar__link vp-sidebar__link--parent"
3086
+ [attr.data-vp-menu-parent]="item.code"
3087
+ [attr.href]="item.path"
3088
+ [attr.title]="item.titleKey"
3089
+ [attr.aria-current]="isActive(item) ? 'page' : null"
3090
+ (click)="navigate($event, item.path)">
3091
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3092
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3093
+ </a>
3094
+ <button
3095
+ type="button"
3096
+ class="vp-sidebar__disclosure"
3097
+ [attr.data-vp-menu-toggle]="item.code"
3098
+ [attr.aria-label]="item.titleKey + ' ' + subMenuLabel"
3099
+ [attr.aria-expanded]="isParentOpen(item)"
3100
+ (click)="toggleParent(item)">
3101
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3102
+ </button>
3103
+ </span>
3104
+ } @else {
3105
+ <!--
3106
+ Genis kipte ust madde bir ACILIR dugme.
3107
+ Cocugu olan her sey acilir kapanir; yonetim panelinde
3108
+ Tanımlar 88 tablo tasiyor ve hepsi acik gelince menu
3109
+ taranabilir olmaktan cikip listeye donuyordu.
3110
+
3111
+ ⚠️ Ust maddenin path alani geniz kipte KULLANILMIYOR: ayni
3112
+ tiklama hem gidemez hem acamaz. Sozlesmede zaten yolsuz
3113
+ (buildVpMenu ust maddeye yol vermiyor) ve dosyanin kendi
3114
+ yorumu bunu soyluyor: alt grup bir baslik, gidilecek bir yer
3115
+ degil.
3116
+ -->
3117
+ <button
3118
+ type="button"
3119
+ class="vp-sidebar__link vp-sidebar__link--parent"
3120
+ [attr.data-vp-menu-parent]="item.code"
3121
+ [attr.title]="item.titleKey"
3122
+ [attr.aria-expanded]="isParentOpen(item)"
3123
+ (click)="toggleParent(item)">
3124
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3125
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3126
+ <i class="vp-sidebar__chevron" aria-hidden="true"></i>
3127
+ </button>
3128
+ }
3129
+
3130
+ <!--
3131
+ Rayda cocuk listesi CIZILMIYOR. Onceki halde DOM'da
3132
+ duruyordu ve her cocuk 44px'lik bos bir satir oluyordu:
3133
+ etiket gizli, cocuklarin cogunda ikon yok. Kullanici icin
3134
+ anlamsiz bosluk, ekran okuyucu icin adsiz baglanti. Yerini
3135
+ ucan menu aliyor.
3136
+ -->
3137
+ @if (!collapsed && isParentOpen(item)) {
3138
+ <ul class="vp-sidebar__list vp-sidebar__list--child" [attr.aria-label]="item.titleKey">
3139
+ @for (child of childrenOf(item); track child.code) {
3140
+ <li class="vp-sidebar__item">
3141
+ @if (child.disabledReason) {
3142
+ <span
3143
+ class="vp-sidebar__link vp-sidebar__link--disabled"
3144
+ [attr.data-vp-menu-item]="child.code"
3145
+ aria-disabled="true"
3146
+ [attr.title]="child.titleKey + ' — ' + child.disabledReason">
3147
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3148
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3149
+ </span>
3150
+ <span
3151
+ class="vp-sidebar__reason"
3152
+ [attr.data-vp-menu-reason]="child.code">{{ child.disabledReason }}</span>
3153
+ } @else {
3154
+ <a
3155
+ class="vp-sidebar__link vp-sidebar__link--child"
3156
+ [attr.data-vp-menu-item]="child.code"
3157
+ [attr.href]="child.path"
3158
+ [attr.title]="child.lock ? child.titleKey + ' — ' + child.lock : child.titleKey"
3159
+ [attr.aria-current]="isActive(child) ? 'page' : null"
3160
+ (click)="navigate($event, child.path)">
3161
+ @if (child.icon) {
3162
+ <i [attr.class]="iconClass(child)" aria-hidden="true"></i>
3163
+ }
3164
+ <span class="vp-sidebar__label">{{ child.titleKey }}</span>
3165
+ @if (hasBadge(child)) {
3166
+ <span
3167
+ class="vp-sidebar__badge"
3168
+ [attr.data-vp-menu-badge]="child.code"
3169
+ [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3170
+ }
3171
+ @if (child.lock) {
3172
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="child.code">{{ child.lock }}</span>
3173
+ }
3174
+ </a>
3175
+ }
3176
+ </li>
3177
+ }
3178
+ </ul>
3179
+ }
3180
+ } @else if (item.disabledReason) {
3181
+ <span
3182
+ class="vp-sidebar__link vp-sidebar__link--disabled"
3183
+ [attr.data-vp-menu-item]="item.code"
3184
+ aria-disabled="true"
3185
+ [attr.title]="item.titleKey + ' — ' + item.disabledReason">
3186
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3187
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3188
+ </span>
3189
+ <span
3190
+ class="vp-sidebar__reason"
3191
+ [attr.data-vp-menu-reason]="item.code">{{ item.disabledReason }}</span>
3192
+ } @else {
3193
+ <a
3194
+ class="vp-sidebar__link"
3195
+ [attr.data-vp-menu-item]="item.code"
3196
+ [attr.href]="item.path"
3197
+ [attr.title]="item.lock ? item.titleKey + ' — ' + item.lock : item.titleKey"
3198
+ [attr.aria-current]="isActive(item) ? 'page' : null"
3199
+ (click)="navigate($event, item.path)">
3200
+ <i [attr.class]="iconClass(item)" aria-hidden="true"></i>
3201
+ <span class="vp-sidebar__label">{{ item.titleKey }}</span>
3202
+ @if (hasBadge(item)) {
3203
+ <span
3204
+ class="vp-sidebar__badge"
3205
+ [attr.data-vp-menu-badge]="item.code"
3206
+ [attr.aria-label]="badgeAria(item)">{{ item.badge }}</span>
3207
+ }
3208
+ <!--
3209
+ Kilit cipi (paket 28 · prototip nav-lock): madde GIDILEBILIR kaliyor. Kilit bir kosul; hedef ekran kilidi
3210
+ ve acma yolunu anlatiyor ("Hesap gerekiyor" · "Ozel mod gerekiyor"). Devre disi (disabledReason) ayri
3211
+ eksen: orada gidilecek bir sey yok.
3212
+ -->
3213
+ @if (item.lock) {
3214
+ <span class="vp-sidebar__lock" [attr.data-vp-menu-lock]="item.code">{{ item.lock }}</span>
3215
+ }
3216
+ </a>
3217
+ }
3218
+ </li>
3219
+ }
3220
+ </ul>
3221
+ }
3222
+ }
3223
+
3224
+ @if (flyoutItem) {
3225
+ <!--
3226
+ Ucan menu sabit konumlu (position: fixed): kenar cubugu kendi
3227
+ kaydirma kutusu ve mutlak konumlu bir katman kirpilirdi. Konum tiklanan dugmenin
3228
+ dikdortgeninden hesaplaniyor ve gorunum alanina sikistiriliyor -
3229
+ en alttaki kalem tiklandiginda menu ekranin altindan tasiyordu.
3230
+ -->
3231
+ <div
3232
+ class="vp-sidebar__flyout"
3233
+ data-vp-flyout
3234
+ role="menu"
3235
+ [attr.aria-label]="flyoutItem.titleKey"
3236
+ [style.top.px]="flyoutTop"
3237
+ [style.left.px]="flyoutLeft">
3238
+ <p class="vp-sidebar__flyout-title">{{ flyoutItem.titleKey }}</p>
3239
+ @for (child of childrenOf(flyoutItem); track child.code) {
3240
+ @if (child.disabledReason) {
3241
+ <span
3242
+ class="vp-sidebar__flyout-link vp-sidebar__link--disabled"
3243
+ [attr.data-vp-flyout-item]="child.code"
3244
+ role="menuitem"
3245
+ aria-disabled="true">
3246
+ {{ child.titleKey }}
3247
+ <small class="vp-sidebar__flyout-reason">{{ child.disabledReason }}</small>
3248
+ </span>
3249
+ } @else {
3250
+ <a
3251
+ class="vp-sidebar__flyout-link"
3252
+ [attr.data-vp-flyout-item]="child.code"
3253
+ role="menuitem"
3254
+ [attr.href]="child.path"
3255
+ [attr.aria-current]="isActive(child) ? 'page' : null"
3256
+ (click)="navigate($event, child.path); closeFlyout()">
3257
+ {{ child.titleKey }}
3258
+ @if (hasBadge(child)) {
3259
+ <span class="vp-sidebar__badge" [attr.aria-label]="badgeAria(child)">{{ child.badge }}</span>
3260
+ }
3261
+ @if (child.lock) {
3262
+ <span class="vp-sidebar__lock">{{ child.lock }}</span>
3263
+ }
3264
+ </a>
3265
+ }
3266
+ }
3267
+ </div>
3268
+ }
3269
+ </nav>
3270
3270
  `, 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"] }]
3271
3271
  }], ctorParameters: () => [], propDecorators: { items: [{
3272
3272
  type: Input,
@@ -3482,28 +3482,28 @@ class VpThemeControlComponent {
3482
3482
  return `${this.label} — ${this.labelFor(this.nextMode)} moduna geç`;
3483
3483
  }
3484
3484
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3485
- 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: `
3486
- <!--
3487
- ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3488
- ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3489
- dokundugu bir ayar.
3490
-
3491
- aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3492
- bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3493
- -->
3494
- <button
3495
- pButton
3496
- type="button"
3497
- text
3498
- rounded
3499
- severity="secondary"
3500
- data-vp-theme-control
3501
- [attr.data-vp-theme-mode]="mode"
3502
- [icon]="icon"
3503
- [pTooltip]="label"
3504
- tooltipPosition="bottom"
3505
- [attr.aria-label]="ariaLabel"
3506
- (click)="cycle.emit()"></button>
3485
+ 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: `
3486
+ <!--
3487
+ ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3488
+ ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3489
+ dokundugu bir ayar.
3490
+
3491
+ aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3492
+ bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3493
+ -->
3494
+ <button
3495
+ pButton
3496
+ type="button"
3497
+ text
3498
+ rounded
3499
+ severity="secondary"
3500
+ data-vp-theme-control
3501
+ [attr.data-vp-theme-mode]="mode"
3502
+ [icon]="icon"
3503
+ [pTooltip]="label"
3504
+ tooltipPosition="bottom"
3505
+ [attr.aria-label]="ariaLabel"
3506
+ (click)="cycle.emit()"></button>
3507
3507
  `, 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 }); }
3508
3508
  }
3509
3509
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeControlComponent, decorators: [{
@@ -3513,28 +3513,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
3513
3513
  standalone: true,
3514
3514
  changeDetection: ChangeDetectionStrategy.OnPush,
3515
3515
  imports: [ButtonModule, TooltipModule],
3516
- template: `
3517
- <!--
3518
- ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3519
- ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3520
- dokundugu bir ayar.
3521
-
3522
- aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3523
- bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3524
- -->
3525
- <button
3526
- pButton
3527
- type="button"
3528
- text
3529
- rounded
3530
- severity="secondary"
3531
- data-vp-theme-control
3532
- [attr.data-vp-theme-mode]="mode"
3533
- [icon]="icon"
3534
- [pTooltip]="label"
3535
- tooltipPosition="bottom"
3536
- [attr.aria-label]="ariaLabel"
3537
- (click)="cycle.emit()"></button>
3516
+ template: `
3517
+ <!--
3518
+ ⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
3519
+ ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
3520
+ dokundugu bir ayar.
3521
+
3522
+ aria-label mevcut durumu VE sonraki adimi soyluyor: yalniz ikon degisen
3523
+ bir dugme, ekran okuyucu kullanicisi icin sessizdir.
3524
+ -->
3525
+ <button
3526
+ pButton
3527
+ type="button"
3528
+ text
3529
+ rounded
3530
+ severity="secondary"
3531
+ data-vp-theme-control
3532
+ [attr.data-vp-theme-mode]="mode"
3533
+ [icon]="icon"
3534
+ [pTooltip]="label"
3535
+ tooltipPosition="bottom"
3536
+ [attr.aria-label]="ariaLabel"
3537
+ (click)="cycle.emit()"></button>
3538
3538
  `,
3539
3539
  }]
3540
3540
  }], propDecorators: { mode: [{
@@ -3567,84 +3567,84 @@ class VpSidebarToggleComponent {
3567
3567
  this.toggle = new EventEmitter();
3568
3568
  }
3569
3569
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3570
- 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: `
3571
- @if (icon === 'panel') {
3572
- <!--
3573
- Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3574
- YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3575
- -->
3576
- <button
3577
- type="button"
3578
- class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3579
- data-vp-sidebar-toggle
3580
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3581
- tooltipPosition="bottom"
3582
- [attr.aria-expanded]="!collapsed"
3583
- [attr.aria-controls]="controls"
3584
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3585
- (click)="toggle.emit()">
3586
- <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3587
- <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3588
- <path d="M6.4 3.2v9.6" />
3589
- </svg>
3590
- </button>
3591
- } @else {
3592
- <button
3593
- pButton
3594
- type="button"
3595
- text
3596
- rounded
3597
- severity="secondary"
3598
- data-vp-sidebar-toggle
3599
- icon="pi pi-bars"
3600
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3601
- tooltipPosition="bottom"
3602
- [attr.aria-expanded]="!collapsed"
3603
- [attr.aria-controls]="controls"
3604
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3605
- (click)="toggle.emit()"></button>
3606
- }
3570
+ 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: `
3571
+ @if (icon === 'panel') {
3572
+ <!--
3573
+ Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3574
+ YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3575
+ -->
3576
+ <button
3577
+ type="button"
3578
+ class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3579
+ data-vp-sidebar-toggle
3580
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3581
+ tooltipPosition="bottom"
3582
+ [attr.aria-expanded]="!collapsed"
3583
+ [attr.aria-controls]="controls"
3584
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3585
+ (click)="toggle.emit()">
3586
+ <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3587
+ <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3588
+ <path d="M6.4 3.2v9.6" />
3589
+ </svg>
3590
+ </button>
3591
+ } @else {
3592
+ <button
3593
+ pButton
3594
+ type="button"
3595
+ text
3596
+ rounded
3597
+ severity="secondary"
3598
+ data-vp-sidebar-toggle
3599
+ icon="pi pi-bars"
3600
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3601
+ tooltipPosition="bottom"
3602
+ [attr.aria-expanded]="!collapsed"
3603
+ [attr.aria-controls]="controls"
3604
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3605
+ (click)="toggle.emit()"></button>
3606
+ }
3607
3607
  `, 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 }); }
3608
3608
  }
3609
3609
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSidebarToggleComponent, decorators: [{
3610
3610
  type: Component,
3611
- args: [{ selector: 'vp-sidebar-toggle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, TooltipModule], template: `
3612
- @if (icon === 'panel') {
3613
- <!--
3614
- Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3615
- YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3616
- -->
3617
- <button
3618
- type="button"
3619
- class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3620
- data-vp-sidebar-toggle
3621
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3622
- tooltipPosition="bottom"
3623
- [attr.aria-expanded]="!collapsed"
3624
- [attr.aria-controls]="controls"
3625
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3626
- (click)="toggle.emit()">
3627
- <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3628
- <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3629
- <path d="M6.4 3.2v9.6" />
3630
- </svg>
3631
- </button>
3632
- } @else {
3633
- <button
3634
- pButton
3635
- type="button"
3636
- text
3637
- rounded
3638
- severity="secondary"
3639
- data-vp-sidebar-toggle
3640
- icon="pi pi-bars"
3641
- [pTooltip]="collapsed ? expandLabel : collapseLabel"
3642
- tooltipPosition="bottom"
3643
- [attr.aria-expanded]="!collapsed"
3644
- [attr.aria-controls]="controls"
3645
- [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3646
- (click)="toggle.emit()"></button>
3647
- }
3611
+ args: [{ selector: 'vp-sidebar-toggle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, TooltipModule], template: `
3612
+ @if (icon === 'panel') {
3613
+ <!--
3614
+ Paket 28 · prototip: kenar cubugu ikonu (cerceve + dikey cizgi), menu (hamburger) degil. Ray dugmesi bir
3615
+ YERLESIM denetimi — menuyu acmiyor, kenar cubugunu daraltiyor.
3616
+ -->
3617
+ <button
3618
+ type="button"
3619
+ class="vp-sidebar-toggle vp-sidebar-toggle--panel"
3620
+ data-vp-sidebar-toggle
3621
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3622
+ tooltipPosition="bottom"
3623
+ [attr.aria-expanded]="!collapsed"
3624
+ [attr.aria-controls]="controls"
3625
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3626
+ (click)="toggle.emit()">
3627
+ <svg data-vp-toggle-icon="panel" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3628
+ <rect x="2.2" y="3.2" width="11.6" height="9.6" rx="2" />
3629
+ <path d="M6.4 3.2v9.6" />
3630
+ </svg>
3631
+ </button>
3632
+ } @else {
3633
+ <button
3634
+ pButton
3635
+ type="button"
3636
+ text
3637
+ rounded
3638
+ severity="secondary"
3639
+ data-vp-sidebar-toggle
3640
+ icon="pi pi-bars"
3641
+ [pTooltip]="collapsed ? expandLabel : collapseLabel"
3642
+ tooltipPosition="bottom"
3643
+ [attr.aria-expanded]="!collapsed"
3644
+ [attr.aria-controls]="controls"
3645
+ [attr.aria-label]="collapsed ? expandLabel : collapseLabel"
3646
+ (click)="toggle.emit()"></button>
3647
+ }
3648
3648
  `, 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"] }]
3649
3649
  }], propDecorators: { collapsed: [{
3650
3650
  type: Input
@@ -3704,118 +3704,118 @@ class VpUserMenuComponent {
3704
3704
  return this.subtitle ? `${this.displayName} (${this.subtitle}) — hesap menüsü` : `${this.displayName} — hesap menüsü`;
3705
3705
  }
3706
3706
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3707
- 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: `
3708
- <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3709
- @if (variant === 'sidebar') {
3710
- <!--
3711
- Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3712
- avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3713
- -->
3714
- <button
3715
- type="button"
3716
- class="vp-user-menu__who"
3717
- data-vp-user-menu
3718
- [attr.aria-haspopup]="true"
3719
- [attr.aria-controls]="menuId"
3720
- [attr.aria-label]="ariaLabel"
3721
- [title]="displayName"
3722
- (click)="menu.toggle($event)">
3723
- <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3724
- @if (!compact) {
3725
- <span class="vp-user-menu__text">
3726
- <span class="vp-user-menu__name">{{ displayName }}</span>
3727
- @if (subtitle) {
3728
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3729
- }
3730
- </span>
3731
- <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3732
- <path d="M4 6.5 8 10.5 12 6.5" />
3733
- </svg>
3734
- }
3735
- </button>
3736
- } @else {
3737
- <button
3738
- pButton
3739
- type="button"
3740
- text
3741
- data-vp-user-menu
3742
- [attr.aria-haspopup]="true"
3743
- [attr.aria-controls]="menuId"
3744
- [attr.aria-label]="ariaLabel"
3745
- [title]="displayName"
3746
- (click)="menu.toggle($event)">
3747
- <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3748
- <span class="vp-user-menu__text">
3749
- <span class="vp-user-menu__name">{{ displayName }}</span>
3750
- @if (subtitle) {
3751
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3752
- }
3753
- </span>
3754
- </button>
3755
- }
3756
-
3757
- <p-menu #menu [model]="items" [popup]="true" [id]="menuId">
3758
- <ng-template #end><ng-content select="[menuBlocks]" /></ng-template>
3759
- </p-menu>
3760
- </div>
3707
+ 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: `
3708
+ <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3709
+ @if (variant === 'sidebar') {
3710
+ <!--
3711
+ Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3712
+ avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3713
+ -->
3714
+ <button
3715
+ type="button"
3716
+ class="vp-user-menu__who"
3717
+ data-vp-user-menu
3718
+ [attr.aria-haspopup]="true"
3719
+ [attr.aria-controls]="menuId"
3720
+ [attr.aria-label]="ariaLabel"
3721
+ [title]="displayName"
3722
+ (click)="menu.toggle($event)">
3723
+ <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3724
+ @if (!compact) {
3725
+ <span class="vp-user-menu__text">
3726
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3727
+ @if (subtitle) {
3728
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3729
+ }
3730
+ </span>
3731
+ <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3732
+ <path d="M4 6.5 8 10.5 12 6.5" />
3733
+ </svg>
3734
+ }
3735
+ </button>
3736
+ } @else {
3737
+ <button
3738
+ pButton
3739
+ type="button"
3740
+ text
3741
+ data-vp-user-menu
3742
+ [attr.aria-haspopup]="true"
3743
+ [attr.aria-controls]="menuId"
3744
+ [attr.aria-label]="ariaLabel"
3745
+ [title]="displayName"
3746
+ (click)="menu.toggle($event)">
3747
+ <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3748
+ <span class="vp-user-menu__text">
3749
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3750
+ @if (subtitle) {
3751
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3752
+ }
3753
+ </span>
3754
+ </button>
3755
+ }
3756
+
3757
+ <p-menu #menu [model]="items" [popup]="true" [id]="menuId">
3758
+ <ng-template #end><ng-content select="[menuBlocks]" /></ng-template>
3759
+ </p-menu>
3760
+ </div>
3761
3761
  `, 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 }); }
3762
3762
  }
3763
3763
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, decorators: [{
3764
3764
  type: Component,
3765
- args: [{ selector: 'vp-user-menu', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, MenuModule], template: `
3766
- <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3767
- @if (variant === 'sidebar') {
3768
- <!--
3769
- Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3770
- avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3771
- -->
3772
- <button
3773
- type="button"
3774
- class="vp-user-menu__who"
3775
- data-vp-user-menu
3776
- [attr.aria-haspopup]="true"
3777
- [attr.aria-controls]="menuId"
3778
- [attr.aria-label]="ariaLabel"
3779
- [title]="displayName"
3780
- (click)="menu.toggle($event)">
3781
- <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3782
- @if (!compact) {
3783
- <span class="vp-user-menu__text">
3784
- <span class="vp-user-menu__name">{{ displayName }}</span>
3785
- @if (subtitle) {
3786
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3787
- }
3788
- </span>
3789
- <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3790
- <path d="M4 6.5 8 10.5 12 6.5" />
3791
- </svg>
3792
- }
3793
- </button>
3794
- } @else {
3795
- <button
3796
- pButton
3797
- type="button"
3798
- text
3799
- data-vp-user-menu
3800
- [attr.aria-haspopup]="true"
3801
- [attr.aria-controls]="menuId"
3802
- [attr.aria-label]="ariaLabel"
3803
- [title]="displayName"
3804
- (click)="menu.toggle($event)">
3805
- <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3806
- <span class="vp-user-menu__text">
3807
- <span class="vp-user-menu__name">{{ displayName }}</span>
3808
- @if (subtitle) {
3809
- <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3810
- }
3811
- </span>
3812
- </button>
3813
- }
3814
-
3815
- <p-menu #menu [model]="items" [popup]="true" [id]="menuId">
3816
- <ng-template #end><ng-content select="[menuBlocks]" /></ng-template>
3817
- </p-menu>
3818
- </div>
3765
+ args: [{ selector: 'vp-user-menu', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, MenuModule], template: `
3766
+ <div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
3767
+ @if (variant === 'sidebar') {
3768
+ <!--
3769
+ Paket 28 · prototip .who: kenar cubugu ayaginda tam genislik satir — kare avatar · ad · rol · ok. Rayda yalniz
3770
+ avatar (ad ve rol 64px'e sigmaz; tam hali title ve aria-label'da).
3771
+ -->
3772
+ <button
3773
+ type="button"
3774
+ class="vp-user-menu__who"
3775
+ data-vp-user-menu
3776
+ [attr.aria-haspopup]="true"
3777
+ [attr.aria-controls]="menuId"
3778
+ [attr.aria-label]="ariaLabel"
3779
+ [title]="displayName"
3780
+ (click)="menu.toggle($event)">
3781
+ <span class="vp-user-menu__avatar vp-user-menu__avatar--square" aria-hidden="true">{{ initial }}</span>
3782
+ @if (!compact) {
3783
+ <span class="vp-user-menu__text">
3784
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3785
+ @if (subtitle) {
3786
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3787
+ }
3788
+ </span>
3789
+ <svg class="vp-user-menu__chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
3790
+ <path d="M4 6.5 8 10.5 12 6.5" />
3791
+ </svg>
3792
+ }
3793
+ </button>
3794
+ } @else {
3795
+ <button
3796
+ pButton
3797
+ type="button"
3798
+ text
3799
+ data-vp-user-menu
3800
+ [attr.aria-haspopup]="true"
3801
+ [attr.aria-controls]="menuId"
3802
+ [attr.aria-label]="ariaLabel"
3803
+ [title]="displayName"
3804
+ (click)="menu.toggle($event)">
3805
+ <span class="vp-user-menu__avatar" aria-hidden="true">{{ initial }}</span>
3806
+ <span class="vp-user-menu__text">
3807
+ <span class="vp-user-menu__name">{{ displayName }}</span>
3808
+ @if (subtitle) {
3809
+ <span class="vp-user-menu__subtitle">{{ subtitle }}</span>
3810
+ }
3811
+ </span>
3812
+ </button>
3813
+ }
3814
+
3815
+ <p-menu #menu [model]="items" [popup]="true" [id]="menuId">
3816
+ <ng-template #end><ng-content select="[menuBlocks]" /></ng-template>
3817
+ </p-menu>
3818
+ </div>
3819
3819
  `, 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"] }]
3820
3820
  }], propDecorators: { displayName: [{
3821
3821
  type: Input,
@@ -4619,72 +4619,72 @@ class VpGlobalLayersComponent {
4619
4619
  this.action.emit(id);
4620
4620
  }
4621
4621
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpGlobalLayersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4622
- 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: `
4623
- <vp-toast
4624
- [toasts]="toastService.toasts()"
4625
- (dismissed)="toastService.dismiss($event)"
4626
- (actioned)="actioned($event)" />
4627
-
4628
- <!--
4629
- Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4630
- olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4631
- -->
4632
- <vp-notification-island
4633
- [notice]="islandNotice"
4634
- [pending]="islandPending"
4635
- [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4636
- [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4637
- [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4638
- [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4639
- [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4640
- (opened)="islandOpened.emit($event)"
4641
- (dismissed)="islandDismissed.emit($event)" />
4642
-
4643
- @if (loading) {
4644
- <div
4645
- class="vp-global-layers__overlay"
4646
- data-vp-loading-overlay
4647
- role="status"
4648
- aria-busy="true"
4649
- [attr.aria-label]="loadingLabel">
4650
- <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4651
- </div>
4652
- }
4622
+ 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: `
4623
+ <vp-toast
4624
+ [toasts]="toastService.toasts()"
4625
+ (dismissed)="toastService.dismiss($event)"
4626
+ (actioned)="actioned($event)" />
4627
+
4628
+ <!--
4629
+ Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4630
+ olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4631
+ -->
4632
+ <vp-notification-island
4633
+ [notice]="islandNotice"
4634
+ [pending]="islandPending"
4635
+ [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4636
+ [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4637
+ [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4638
+ [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4639
+ [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4640
+ (opened)="islandOpened.emit($event)"
4641
+ (dismissed)="islandDismissed.emit($event)" />
4642
+
4643
+ @if (loading) {
4644
+ <div
4645
+ class="vp-global-layers__overlay"
4646
+ data-vp-loading-overlay
4647
+ role="status"
4648
+ aria-busy="true"
4649
+ [attr.aria-label]="loadingLabel">
4650
+ <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4651
+ </div>
4652
+ }
4653
4653
  `, 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 }); }
4654
4654
  }
4655
4655
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpGlobalLayersComponent, decorators: [{
4656
4656
  type: Component,
4657
- args: [{ selector: 'vp-global-layers', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpToastComponent, VpNotificationIslandComponent], template: `
4658
- <vp-toast
4659
- [toasts]="toastService.toasts()"
4660
- (dismissed)="toastService.dismiss($event)"
4661
- (actioned)="actioned($event)" />
4662
-
4663
- <!--
4664
- Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4665
- olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4666
- -->
4667
- <vp-notification-island
4668
- [notice]="islandNotice"
4669
- [pending]="islandPending"
4670
- [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4671
- [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4672
- [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4673
- [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4674
- [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4675
- (opened)="islandOpened.emit($event)"
4676
- (dismissed)="islandDismissed.emit($event)" />
4677
-
4678
- @if (loading) {
4679
- <div
4680
- class="vp-global-layers__overlay"
4681
- data-vp-loading-overlay
4682
- role="status"
4683
- aria-busy="true"
4684
- [attr.aria-label]="loadingLabel">
4685
- <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4686
- </div>
4687
- }
4657
+ args: [{ selector: 'vp-global-layers', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpToastComponent, VpNotificationIslandComponent], template: `
4658
+ <vp-toast
4659
+ [toasts]="toastService.toasts()"
4660
+ (dismissed)="toastService.dismiss($event)"
4661
+ (actioned)="actioned($event)" />
4662
+
4663
+ <!--
4664
+ Bildirim adası (paket 28 · B2): tostun yanında AYRI bölge. Tost işlemin sonucunu söyler, ada dışarıdan gelen
4665
+ olayı. Hangi bildirimin gösterileceği uygulamada; katman yalnız çiziyor ve olayları iletiyor.
4666
+ -->
4667
+ <vp-notification-island
4668
+ [notice]="islandNotice"
4669
+ [pending]="islandPending"
4670
+ [closeLabel]="islandLabels.closeLabel ?? islandDefaults.closeLabel"
4671
+ [goLabel]="islandLabels.goLabel ?? islandDefaults.goLabel"
4672
+ [pendingLabel]="islandLabels.pendingLabel ?? islandDefaults.pendingLabel"
4673
+ [remainingLabel]="islandLabels.remainingLabel ?? islandDefaults.remainingLabel"
4674
+ [stickyLabel]="islandLabels.stickyLabel ?? islandDefaults.stickyLabel"
4675
+ (opened)="islandOpened.emit($event)"
4676
+ (dismissed)="islandDismissed.emit($event)" />
4677
+
4678
+ @if (loading) {
4679
+ <div
4680
+ class="vp-global-layers__overlay"
4681
+ data-vp-loading-overlay
4682
+ role="status"
4683
+ aria-busy="true"
4684
+ [attr.aria-label]="loadingLabel">
4685
+ <span class="vp-global-layers__spinner" aria-hidden="true"></span>
4686
+ </div>
4687
+ }
4688
4688
  `, 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"] }]
4689
4689
  }], propDecorators: { loading: [{
4690
4690
  type: Input
@@ -4750,96 +4750,96 @@ class VpNotificationTriggerComponent {
4750
4750
  return this.unread > 0 ? `${this.title} — ${this.unread} okunmamış` : `${this.title} — okunmamış yok`;
4751
4751
  }
4752
4752
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpNotificationTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4753
- 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: `
4754
- <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4755
- <button
4756
- pButton
4757
- type="button"
4758
- text
4759
- rounded
4760
- severity="secondary"
4761
- data-vp-notification-trigger
4762
- icon="pi pi-bell"
4763
- [attr.aria-label]="ariaLabel"
4764
- [attr.aria-haspopup]="true"
4765
- [attr.aria-controls]="panelId"
4766
- (click)="panel.toggle($event); opened.emit()"></button>
4767
- </p-overlaybadge>
4768
-
4769
- <p-popover #panel [id]="panelId">
4770
- <div class="vp-notification-trigger__panel">
4771
- <p class="vp-notification-trigger__title">{{ title }}</p>
4772
-
4773
- @if (items.length === 0) {
4774
- <!--
4775
- Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4776
- yuklenip yuklenmedigini soylemiyor.
4777
- -->
4778
- <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4779
- } @else {
4780
- <ul class="vp-notification-trigger__list">
4781
- @for (item of items; track item.id) {
4782
- <li
4783
- class="vp-notification-trigger__item"
4784
- [attr.data-vp-notification]="item.id"
4785
- [attr.data-unread]="item.unread ? 'true' : null">
4786
- <span class="vp-notification-trigger__message">{{ item.message }}</span>
4787
- @if (item.timeLabel) {
4788
- <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4789
- }
4790
- </li>
4791
- }
4792
- </ul>
4793
- }
4794
- </div>
4795
- </p-popover>
4753
+ 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: `
4754
+ <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4755
+ <button
4756
+ pButton
4757
+ type="button"
4758
+ text
4759
+ rounded
4760
+ severity="secondary"
4761
+ data-vp-notification-trigger
4762
+ icon="pi pi-bell"
4763
+ [attr.aria-label]="ariaLabel"
4764
+ [attr.aria-haspopup]="true"
4765
+ [attr.aria-controls]="panelId"
4766
+ (click)="panel.toggle($event); opened.emit()"></button>
4767
+ </p-overlaybadge>
4768
+
4769
+ <p-popover #panel [id]="panelId">
4770
+ <div class="vp-notification-trigger__panel">
4771
+ <p class="vp-notification-trigger__title">{{ title }}</p>
4772
+
4773
+ @if (items.length === 0) {
4774
+ <!--
4775
+ Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4776
+ yuklenip yuklenmedigini soylemiyor.
4777
+ -->
4778
+ <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4779
+ } @else {
4780
+ <ul class="vp-notification-trigger__list">
4781
+ @for (item of items; track item.id) {
4782
+ <li
4783
+ class="vp-notification-trigger__item"
4784
+ [attr.data-vp-notification]="item.id"
4785
+ [attr.data-unread]="item.unread ? 'true' : null">
4786
+ <span class="vp-notification-trigger__message">{{ item.message }}</span>
4787
+ @if (item.timeLabel) {
4788
+ <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4789
+ }
4790
+ </li>
4791
+ }
4792
+ </ul>
4793
+ }
4794
+ </div>
4795
+ </p-popover>
4796
4796
  `, 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 }); }
4797
4797
  }
4798
4798
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpNotificationTriggerComponent, decorators: [{
4799
4799
  type: Component,
4800
- args: [{ selector: 'vp-notification-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, OverlayBadgeModule, PopoverModule], template: `
4801
- <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4802
- <button
4803
- pButton
4804
- type="button"
4805
- text
4806
- rounded
4807
- severity="secondary"
4808
- data-vp-notification-trigger
4809
- icon="pi pi-bell"
4810
- [attr.aria-label]="ariaLabel"
4811
- [attr.aria-haspopup]="true"
4812
- [attr.aria-controls]="panelId"
4813
- (click)="panel.toggle($event); opened.emit()"></button>
4814
- </p-overlaybadge>
4815
-
4816
- <p-popover #panel [id]="panelId">
4817
- <div class="vp-notification-trigger__panel">
4818
- <p class="vp-notification-trigger__title">{{ title }}</p>
4819
-
4820
- @if (items.length === 0) {
4821
- <!--
4822
- Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4823
- yuklenip yuklenmedigini soylemiyor.
4824
- -->
4825
- <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4826
- } @else {
4827
- <ul class="vp-notification-trigger__list">
4828
- @for (item of items; track item.id) {
4829
- <li
4830
- class="vp-notification-trigger__item"
4831
- [attr.data-vp-notification]="item.id"
4832
- [attr.data-unread]="item.unread ? 'true' : null">
4833
- <span class="vp-notification-trigger__message">{{ item.message }}</span>
4834
- @if (item.timeLabel) {
4835
- <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4836
- }
4837
- </li>
4838
- }
4839
- </ul>
4840
- }
4841
- </div>
4842
- </p-popover>
4800
+ args: [{ selector: 'vp-notification-trigger', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, OverlayBadgeModule, PopoverModule], template: `
4801
+ <p-overlaybadge [value]="badgeValue" [severity]="'danger'" [style]="{ display: unread > 0 ? null : 'none' }">
4802
+ <button
4803
+ pButton
4804
+ type="button"
4805
+ text
4806
+ rounded
4807
+ severity="secondary"
4808
+ data-vp-notification-trigger
4809
+ icon="pi pi-bell"
4810
+ [attr.aria-label]="ariaLabel"
4811
+ [attr.aria-haspopup]="true"
4812
+ [attr.aria-controls]="panelId"
4813
+ (click)="panel.toggle($event); opened.emit()"></button>
4814
+ </p-overlaybadge>
4815
+
4816
+ <p-popover #panel [id]="panelId">
4817
+ <div class="vp-notification-trigger__panel">
4818
+ <p class="vp-notification-trigger__title">{{ title }}</p>
4819
+
4820
+ @if (items.length === 0) {
4821
+ <!--
4822
+ Bos durum bir cumle kurar. "Bildirim yok" tek basina, ekranin
4823
+ yuklenip yuklenmedigini soylemiyor.
4824
+ -->
4825
+ <p class="vp-notification-trigger__empty">{{ emptyLabel }}</p>
4826
+ } @else {
4827
+ <ul class="vp-notification-trigger__list">
4828
+ @for (item of items; track item.id) {
4829
+ <li
4830
+ class="vp-notification-trigger__item"
4831
+ [attr.data-vp-notification]="item.id"
4832
+ [attr.data-unread]="item.unread ? 'true' : null">
4833
+ <span class="vp-notification-trigger__message">{{ item.message }}</span>
4834
+ @if (item.timeLabel) {
4835
+ <span class="vp-notification-trigger__time">{{ item.timeLabel }}</span>
4836
+ }
4837
+ </li>
4838
+ }
4839
+ </ul>
4840
+ }
4841
+ </div>
4842
+ </p-popover>
4843
4843
  `, 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"] }]
4844
4844
  }], propDecorators: { items: [{
4845
4845
  type: Input
@@ -5064,58 +5064,58 @@ class VpSearchTriggerComponent {
5064
5064
  this.opened = new EventEmitter();
5065
5065
  }
5066
5066
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSearchTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5067
- 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: `
5068
- <!--
5069
- Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
5070
- Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
5071
- -->
5072
- <button
5073
- pButton
5074
- type="button"
5075
- text
5076
- severity="secondary"
5077
- data-vp-search-trigger
5078
- class="vp-search-trigger"
5079
- [attr.data-vp-search-variant]="variant"
5080
- [attr.aria-label]="variant === 'rail' ? railLabel : label"
5081
- [attr.aria-keyshortcuts]="keyShortcut"
5082
- (click)="opened.emit()">
5083
- <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
5084
- @if (variant !== 'rail') {
5085
- <span class="vp-search-trigger__label">{{ label }}</span>
5086
- @if (hint) {
5087
- <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
5088
- }
5089
- }
5090
- </button>
5067
+ 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: `
5068
+ <!--
5069
+ Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
5070
+ Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
5071
+ -->
5072
+ <button
5073
+ pButton
5074
+ type="button"
5075
+ text
5076
+ severity="secondary"
5077
+ data-vp-search-trigger
5078
+ class="vp-search-trigger"
5079
+ [attr.data-vp-search-variant]="variant"
5080
+ [attr.aria-label]="variant === 'rail' ? railLabel : label"
5081
+ [attr.aria-keyshortcuts]="keyShortcut"
5082
+ (click)="opened.emit()">
5083
+ <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
5084
+ @if (variant !== 'rail') {
5085
+ <span class="vp-search-trigger__label">{{ label }}</span>
5086
+ @if (hint) {
5087
+ <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
5088
+ }
5089
+ }
5090
+ </button>
5091
5091
  `, 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;justify-content: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)}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail] .vp-search-trigger__icon{font-size:16px}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail]:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}\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 }); }
5092
5092
  }
5093
5093
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSearchTriggerComponent, decorators: [{
5094
5094
  type: Component,
5095
- args: [{ selector: 'vp-search-trigger', standalone: true, host: { '[attr.data-variant]': 'variant' }, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule], template: `
5096
- <!--
5097
- Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
5098
- Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
5099
- -->
5100
- <button
5101
- pButton
5102
- type="button"
5103
- text
5104
- severity="secondary"
5105
- data-vp-search-trigger
5106
- class="vp-search-trigger"
5107
- [attr.data-vp-search-variant]="variant"
5108
- [attr.aria-label]="variant === 'rail' ? railLabel : label"
5109
- [attr.aria-keyshortcuts]="keyShortcut"
5110
- (click)="opened.emit()">
5111
- <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
5112
- @if (variant !== 'rail') {
5113
- <span class="vp-search-trigger__label">{{ label }}</span>
5114
- @if (hint) {
5115
- <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
5116
- }
5117
- }
5118
- </button>
5095
+ args: [{ selector: 'vp-search-trigger', standalone: true, host: { '[attr.data-variant]': 'variant' }, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule], template: `
5096
+ <!--
5097
+ Bicim (paket 28 · prototip): bar = ust cubuk alani · field = kenar cubugunda tam genislik alan ("Konsolda ara" +
5098
+ Ctrl K) · rail = daraltilmis rayda 40x40 ikon dugmesi. Uc bicim AYNI denetim: paleti aciyor, yazma yuzeyi degil.
5099
+ -->
5100
+ <button
5101
+ pButton
5102
+ type="button"
5103
+ text
5104
+ severity="secondary"
5105
+ data-vp-search-trigger
5106
+ class="vp-search-trigger"
5107
+ [attr.data-vp-search-variant]="variant"
5108
+ [attr.aria-label]="variant === 'rail' ? railLabel : label"
5109
+ [attr.aria-keyshortcuts]="keyShortcut"
5110
+ (click)="opened.emit()">
5111
+ <span class="pi pi-search vp-search-trigger__icon" aria-hidden="true"></span>
5112
+ @if (variant !== 'rail') {
5113
+ <span class="vp-search-trigger__label">{{ label }}</span>
5114
+ @if (hint) {
5115
+ <kbd class="vp-search-trigger__hint" aria-hidden="true">{{ hint }}</kbd>
5116
+ }
5117
+ }
5118
+ </button>
5119
5119
  `, 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;justify-content: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)}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail] .vp-search-trigger__icon{font-size:16px}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail]:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}\n"] }]
5120
5120
  }], propDecorators: { label: [{
5121
5121
  type: Input
@@ -5268,78 +5268,78 @@ class VpProductSwitcherComponent {
5268
5268
  this.selected.emit(product);
5269
5269
  }
5270
5270
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpProductSwitcherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5271
- 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: `
5272
- <button
5273
- pButton
5274
- type="button"
5275
- text
5276
- severity="secondary"
5277
- data-vp-product-switcher
5278
- icon="pi pi-th-large"
5279
- iconPos="left"
5280
- [label]="currentLabel"
5281
- [attr.aria-label]="ariaLabel"
5282
- [attr.aria-haspopup]="true"
5283
- [attr.aria-controls]="panelId"
5284
- (click)="panel.toggle($event)"></button>
5285
-
5286
- <p-popover #panel [id]="panelId">
5287
- <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5288
- @for (product of products; track product.id) {
5289
- <li>
5290
- <button
5291
- type="button"
5292
- class="vp-product-switcher__item"
5293
- [attr.data-vp-product]="product.id"
5294
- [attr.aria-current]="product.id === currentId ? 'page' : null"
5295
- (click)="pick(product)">
5296
- <span class="vp-product-switcher__name">{{ product.label }}</span>
5297
- @if (product.description) {
5298
- <span class="vp-product-switcher__desc">{{ product.description }}</span>
5299
- }
5300
- </button>
5301
- </li>
5302
- }
5303
- </ul>
5304
- </p-popover>
5271
+ 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: `
5272
+ <button
5273
+ pButton
5274
+ type="button"
5275
+ text
5276
+ severity="secondary"
5277
+ data-vp-product-switcher
5278
+ icon="pi pi-th-large"
5279
+ iconPos="left"
5280
+ [label]="currentLabel"
5281
+ [attr.aria-label]="ariaLabel"
5282
+ [attr.aria-haspopup]="true"
5283
+ [attr.aria-controls]="panelId"
5284
+ (click)="panel.toggle($event)"></button>
5285
+
5286
+ <p-popover #panel [id]="panelId">
5287
+ <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5288
+ @for (product of products; track product.id) {
5289
+ <li>
5290
+ <button
5291
+ type="button"
5292
+ class="vp-product-switcher__item"
5293
+ [attr.data-vp-product]="product.id"
5294
+ [attr.aria-current]="product.id === currentId ? 'page' : null"
5295
+ (click)="pick(product)">
5296
+ <span class="vp-product-switcher__name">{{ product.label }}</span>
5297
+ @if (product.description) {
5298
+ <span class="vp-product-switcher__desc">{{ product.description }}</span>
5299
+ }
5300
+ </button>
5301
+ </li>
5302
+ }
5303
+ </ul>
5304
+ </p-popover>
5305
5305
  `, 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 }); }
5306
5306
  }
5307
5307
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpProductSwitcherComponent, decorators: [{
5308
5308
  type: Component,
5309
- args: [{ selector: 'vp-product-switcher', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, PopoverModule], template: `
5310
- <button
5311
- pButton
5312
- type="button"
5313
- text
5314
- severity="secondary"
5315
- data-vp-product-switcher
5316
- icon="pi pi-th-large"
5317
- iconPos="left"
5318
- [label]="currentLabel"
5319
- [attr.aria-label]="ariaLabel"
5320
- [attr.aria-haspopup]="true"
5321
- [attr.aria-controls]="panelId"
5322
- (click)="panel.toggle($event)"></button>
5323
-
5324
- <p-popover #panel [id]="panelId">
5325
- <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5326
- @for (product of products; track product.id) {
5327
- <li>
5328
- <button
5329
- type="button"
5330
- class="vp-product-switcher__item"
5331
- [attr.data-vp-product]="product.id"
5332
- [attr.aria-current]="product.id === currentId ? 'page' : null"
5333
- (click)="pick(product)">
5334
- <span class="vp-product-switcher__name">{{ product.label }}</span>
5335
- @if (product.description) {
5336
- <span class="vp-product-switcher__desc">{{ product.description }}</span>
5337
- }
5338
- </button>
5339
- </li>
5340
- }
5341
- </ul>
5342
- </p-popover>
5309
+ args: [{ selector: 'vp-product-switcher', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonModule, PopoverModule], template: `
5310
+ <button
5311
+ pButton
5312
+ type="button"
5313
+ text
5314
+ severity="secondary"
5315
+ data-vp-product-switcher
5316
+ icon="pi pi-th-large"
5317
+ iconPos="left"
5318
+ [label]="currentLabel"
5319
+ [attr.aria-label]="ariaLabel"
5320
+ [attr.aria-haspopup]="true"
5321
+ [attr.aria-controls]="panelId"
5322
+ (click)="panel.toggle($event)"></button>
5323
+
5324
+ <p-popover #panel [id]="panelId">
5325
+ <ul class="vp-product-switcher__list" [attr.aria-label]="title">
5326
+ @for (product of products; track product.id) {
5327
+ <li>
5328
+ <button
5329
+ type="button"
5330
+ class="vp-product-switcher__item"
5331
+ [attr.data-vp-product]="product.id"
5332
+ [attr.aria-current]="product.id === currentId ? 'page' : null"
5333
+ (click)="pick(product)">
5334
+ <span class="vp-product-switcher__name">{{ product.label }}</span>
5335
+ @if (product.description) {
5336
+ <span class="vp-product-switcher__desc">{{ product.description }}</span>
5337
+ }
5338
+ </button>
5339
+ </li>
5340
+ }
5341
+ </ul>
5342
+ </p-popover>
5343
5343
  `, 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"] }]
5344
5344
  }], propDecorators: { products: [{
5345
5345
  type: Input
@@ -5895,6 +5895,8 @@ class VpDataTableComponent {
5895
5895
  /** Aktif filtre var mi — bos durum metnini degistirir. */
5896
5896
  this.hasActiveFilter = false;
5897
5897
  this.caption = '';
5898
+ /** Kayan sarmalayıcının adı; `caption` boşsa kullanılır. */
5899
+ this.scrollLabel = 'Tablo';
5898
5900
  this.totalLabel = 'kayıt';
5899
5901
  /** design-system/006: başlık biçimi ('caps' = büyük harf mono). Verilmezse 0.2.6 görünümü. */
5900
5902
  this.headerStyle = 'normal';
@@ -6369,7 +6371,7 @@ class VpDataTableComponent {
6369
6371
  return this.cellTemplates[field] ?? null;
6370
6372
  }
6371
6373
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6372
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDataTableComponent, isStandalone: true, selector: "vp-data-table", inputs: { columns: "columns", rows: "rows", total: "total", serverSide: "serverSide", pageSize: "pageSize", loading: "loading", error: "error", hasActiveFilter: "hasActiveFilter", caption: "caption", totalLabel: "totalLabel", headerStyle: "headerStyle", showMeta: "showMeta", selectedKey: "selectedKey", rangeLabel: "rangeLabel", bare: "bare", stack: "stack", loadingLabel: "loadingLabel", emptyLabel: "emptyLabel", emptyFilteredLabel: "emptyFilteredLabel", clearFiltersLabel: "clearFiltersLabel", retryLabel: "retryLabel", searchable: "searchable", searchLabel: "searchLabel", searchPlaceholder: "searchPlaceholder", searchTerm: "searchTerm", pageSizeOptions: "pageSizeOptions", pageSizeLabel: "pageSizeLabel", pagerLabel: "pagerLabel", prevLabel: "prevLabel", nextLabel: "nextLabel", storageKey: "storageKey", selectable: "selectable", rowKey: "rowKey", bulkActions: "bulkActions", bulkResult: "bulkResult", bulkLabel: "bulkLabel", selectedLabel: "selectedLabel", clearSelectionLabel: "clearSelectionLabel", selectPageLabel: "selectPageLabel", selectRowLabel: "selectRowLabel", confirmPrefix: "confirmPrefix", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", succeededLabel: "succeededLabel", failedLabel: "failedLabel", expandable: "expandable", rowDetail: "rowDetail", expandLabel: "expandLabel", collapseLabel: "collapseLabel", expandColumnLabel: "expandColumnLabel", noDetailLabel: "noDetailLabel", rowActions: "rowActions", rowActionsHeader: "rowActionsHeader", cellTemplates: "cellTemplates", exportScopes: "exportScopes", exportPageLabel: "exportPageLabel", exportAllLabel: "exportAllLabel", savedViewsKey: "savedViewsKey", viewsLabel: "viewsLabel", viewsEmptyLabel: "viewsEmptyLabel", saveViewLabel: "saveViewLabel", deleteViewLabel: "deleteViewLabel", askViewName: "askViewName", columnPicker: "columnPicker", columnsLabel: "columnsLabel", moveUpLabel: "moveUpLabel", moveDownLabel: "moveDownLabel" }, outputs: { bulkAction: "bulkAction", exportRequest: "exportRequest", viewApplied: "viewApplied", load: "load", clearFilters: "clearFilters", search: "search" }, usesOnChanges: true, ngImport: i0, template: `
6374
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDataTableComponent, isStandalone: true, selector: "vp-data-table", inputs: { columns: "columns", rows: "rows", total: "total", serverSide: "serverSide", pageSize: "pageSize", loading: "loading", error: "error", hasActiveFilter: "hasActiveFilter", caption: "caption", scrollLabel: "scrollLabel", totalLabel: "totalLabel", headerStyle: "headerStyle", showMeta: "showMeta", selectedKey: "selectedKey", rangeLabel: "rangeLabel", bare: "bare", stack: "stack", loadingLabel: "loadingLabel", emptyLabel: "emptyLabel", emptyFilteredLabel: "emptyFilteredLabel", clearFiltersLabel: "clearFiltersLabel", retryLabel: "retryLabel", searchable: "searchable", searchLabel: "searchLabel", searchPlaceholder: "searchPlaceholder", searchTerm: "searchTerm", pageSizeOptions: "pageSizeOptions", pageSizeLabel: "pageSizeLabel", pagerLabel: "pagerLabel", prevLabel: "prevLabel", nextLabel: "nextLabel", storageKey: "storageKey", selectable: "selectable", rowKey: "rowKey", bulkActions: "bulkActions", bulkResult: "bulkResult", bulkLabel: "bulkLabel", selectedLabel: "selectedLabel", clearSelectionLabel: "clearSelectionLabel", selectPageLabel: "selectPageLabel", selectRowLabel: "selectRowLabel", confirmPrefix: "confirmPrefix", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", succeededLabel: "succeededLabel", failedLabel: "failedLabel", expandable: "expandable", rowDetail: "rowDetail", expandLabel: "expandLabel", collapseLabel: "collapseLabel", expandColumnLabel: "expandColumnLabel", noDetailLabel: "noDetailLabel", rowActions: "rowActions", rowActionsHeader: "rowActionsHeader", cellTemplates: "cellTemplates", exportScopes: "exportScopes", exportPageLabel: "exportPageLabel", exportAllLabel: "exportAllLabel", savedViewsKey: "savedViewsKey", viewsLabel: "viewsLabel", viewsEmptyLabel: "viewsEmptyLabel", saveViewLabel: "saveViewLabel", deleteViewLabel: "deleteViewLabel", askViewName: "askViewName", columnPicker: "columnPicker", columnsLabel: "columnsLabel", moveUpLabel: "moveUpLabel", moveDownLabel: "moveDownLabel" }, outputs: { bulkAction: "bulkAction", exportRequest: "exportRequest", viewApplied: "viewApplied", load: "load", clearFilters: "clearFilters", search: "search" }, usesOnChanges: true, ngImport: i0, template: `
6373
6375
  <div class="vp-table" [attr.data-header-style]="headerStyle === 'caps' ? 'caps' : null" [attr.data-bare]="bare ? 'true' : null" [attr.data-stack]="stack ? 'true' : null">
6374
6376
  @if (showMeta) {
6375
6377
  <div class="vp-table__meta">
@@ -6555,7 +6557,7 @@ class VpDataTableComponent {
6555
6557
  </div>
6556
6558
  }
6557
6559
  } @else {
6558
- <div class="vp-table__scroll">
6560
+ <div class="vp-table__scroll" tabindex="0" role="region" [attr.aria-label]="caption || scrollLabel">
6559
6561
  <table class="vp-table__table" [attr.aria-label]="caption">
6560
6562
  <thead>
6561
6563
  <tr>
@@ -6689,7 +6691,7 @@ class VpDataTableComponent {
6689
6691
  }
6690
6692
  }
6691
6693
  </div>
6692
- `, isInline: true, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: VpSavedViewsMenuComponent, selector: "vp-saved-views-menu", inputs: ["views", "active", "saveLabel", "deleteLabel", "menuLabel", "emptyLabel"], outputs: ["saveRequested", "viewChosen", "deleteRequested"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6694
+ `, isInline: true, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__scroll:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: VpSavedViewsMenuComponent, selector: "vp-saved-views-menu", inputs: ["views", "active", "saveLabel", "deleteLabel", "menuLabel", "emptyLabel"], outputs: ["saveRequested", "viewChosen", "deleteRequested"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6693
6695
  }
6694
6696
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDataTableComponent, decorators: [{
6695
6697
  type: Component,
@@ -6879,7 +6881,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
6879
6881
  </div>
6880
6882
  }
6881
6883
  } @else {
6882
- <div class="vp-table__scroll">
6884
+ <div class="vp-table__scroll" tabindex="0" role="region" [attr.aria-label]="caption || scrollLabel">
6883
6885
  <table class="vp-table__table" [attr.aria-label]="caption">
6884
6886
  <thead>
6885
6887
  <tr>
@@ -7013,7 +7015,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
7013
7015
  }
7014
7016
  }
7015
7017
  </div>
7016
- `, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"] }]
7018
+ `, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__scroll:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"] }]
7017
7019
  }], propDecorators: { columns: [{
7018
7020
  type: Input,
7019
7021
  args: [{ required: true }]
@@ -7033,6 +7035,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
7033
7035
  type: Input
7034
7036
  }], caption: [{
7035
7037
  type: Input
7038
+ }], scrollLabel: [{
7039
+ type: Input
7036
7040
  }], totalLabel: [{
7037
7041
  type: Input
7038
7042
  }], headerStyle: [{
@@ -7343,36 +7347,36 @@ class VpDrawerComponent {
7343
7347
  target.focus();
7344
7348
  }
7345
7349
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7346
- 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: `
7347
- <p-drawer
7348
- [visible]="open"
7349
- (visibleChange)="onVisibleChange($event)"
7350
- [position]="position"
7351
- [header]="title"
7352
- [modal]="modal"
7353
- [style]="{ width: width }"
7354
- [ariaCloseLabel]="closeLabel"
7355
- [styleClass]="panelClass"
7356
- (onHide)="closed.emit()">
7357
- <ng-content />
7358
- </p-drawer>
7350
+ 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: `
7351
+ <p-drawer
7352
+ [visible]="open"
7353
+ (visibleChange)="onVisibleChange($event)"
7354
+ [position]="position"
7355
+ [header]="title"
7356
+ [modal]="modal"
7357
+ [style]="{ width: width }"
7358
+ [ariaCloseLabel]="closeLabel"
7359
+ [styleClass]="panelClass"
7360
+ (onHide)="closed.emit()">
7361
+ <ng-content />
7362
+ </p-drawer>
7359
7363
  `, 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 }); }
7360
7364
  }
7361
7365
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDrawerComponent, decorators: [{
7362
7366
  type: Component,
7363
- args: [{ selector: 'vp-drawer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [DrawerModule], template: `
7364
- <p-drawer
7365
- [visible]="open"
7366
- (visibleChange)="onVisibleChange($event)"
7367
- [position]="position"
7368
- [header]="title"
7369
- [modal]="modal"
7370
- [style]="{ width: width }"
7371
- [ariaCloseLabel]="closeLabel"
7372
- [styleClass]="panelClass"
7373
- (onHide)="closed.emit()">
7374
- <ng-content />
7375
- </p-drawer>
7367
+ args: [{ selector: 'vp-drawer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [DrawerModule], template: `
7368
+ <p-drawer
7369
+ [visible]="open"
7370
+ (visibleChange)="onVisibleChange($event)"
7371
+ [position]="position"
7372
+ [header]="title"
7373
+ [modal]="modal"
7374
+ [style]="{ width: width }"
7375
+ [ariaCloseLabel]="closeLabel"
7376
+ [styleClass]="panelClass"
7377
+ (onHide)="closed.emit()">
7378
+ <ng-content />
7379
+ </p-drawer>
7376
7380
  `, 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"] }]
7377
7381
  }], propDecorators: { open: [{
7378
7382
  type: Input
@@ -7624,52 +7628,52 @@ class VpFieldComponent {
7624
7628
  this.cdr.markForCheck();
7625
7629
  }
7626
7630
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7627
- 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: `
7628
- <div class="vp-field">
7629
- <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7630
- {{ label }}
7631
- @if (required) {
7632
- <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7633
- }
7634
- </label>
7635
-
7636
- <div class="vp-field__control">
7637
- <ng-content />
7638
- </div>
7639
-
7640
- @if (hint) {
7641
- <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7642
- }
7643
-
7644
- @if (error) {
7645
- <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7646
- }
7647
- </div>
7631
+ 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: `
7632
+ <div class="vp-field">
7633
+ <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7634
+ {{ label }}
7635
+ @if (required) {
7636
+ <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7637
+ }
7638
+ </label>
7639
+
7640
+ <div class="vp-field__control">
7641
+ <ng-content />
7642
+ </div>
7643
+
7644
+ @if (hint) {
7645
+ <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7646
+ }
7647
+
7648
+ @if (error) {
7649
+ <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7650
+ }
7651
+ </div>
7648
7652
  `, 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 }); }
7649
7653
  }
7650
7654
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFieldComponent, decorators: [{
7651
7655
  type: Component,
7652
- args: [{ selector: 'vp-field', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
7653
- <div class="vp-field">
7654
- <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7655
- {{ label }}
7656
- @if (required) {
7657
- <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7658
- }
7659
- </label>
7660
-
7661
- <div class="vp-field__control">
7662
- <ng-content />
7663
- </div>
7664
-
7665
- @if (hint) {
7666
- <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7667
- }
7668
-
7669
- @if (error) {
7670
- <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7671
- }
7672
- </div>
7656
+ args: [{ selector: 'vp-field', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
7657
+ <div class="vp-field">
7658
+ <label class="vp-field__label" [attr.for]="controlId" [attr.data-vp-label-style]="labelStyle">
7659
+ {{ label }}
7660
+ @if (required) {
7661
+ <span class="vp-field__required" data-vp-required aria-label="zorunlu alan">*</span>
7662
+ }
7663
+ </label>
7664
+
7665
+ <div class="vp-field__control">
7666
+ <ng-content />
7667
+ </div>
7668
+
7669
+ @if (hint) {
7670
+ <p class="vp-field__hint" data-vp-hint [id]="hintId">{{ hint }}</p>
7671
+ }
7672
+
7673
+ @if (error) {
7674
+ <p class="vp-field__error" data-vp-error role="alert" [id]="errorId">{{ error }}</p>
7675
+ }
7676
+ </div>
7673
7677
  `, 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"] }]
7674
7678
  }], propDecorators: { label: [{
7675
7679
  type: Input,
@@ -8151,11 +8155,18 @@ class VpHashValueComponent {
8151
8155
  this.value = '';
8152
8156
  /** Bas ve sonda korunacak karakter sayisi */
8153
8157
  this.edge = 8;
8158
+ /**
8159
+ * `middle`: ilk/son `edge` karakter, ortasi "…" (varsayilan).
8160
+ * `end`: TAM deger yazilir, sigmazsa CSS ile sondan kisaltilir (customer-console/010 R-3).
8161
+ */
8162
+ this.truncate = 'middle';
8154
8163
  this.copyLabel = 'Hash değerini kopyala';
8155
8164
  this.copied = new EventEmitter();
8156
8165
  }
8157
8166
  get display() {
8158
8167
  const v = this.value ?? '';
8168
+ if (this.truncate === 'end')
8169
+ return v;
8159
8170
  // Kisaltma degeri uzatmamali: 2*edge + ayirac
8160
8171
  if (v.length <= this.edge * 2 + 1)
8161
8172
  return v;
@@ -8168,9 +8179,9 @@ class VpHashValueComponent {
8168
8179
  this.copied.emit(this.value);
8169
8180
  }
8170
8181
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpHashValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8171
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpHashValueComponent, isStandalone: true, selector: "vp-hash-value", inputs: { value: "value", edge: "edge", copyLabel: "copyLabel" }, outputs: { copied: "copied" }, ngImport: i0, template: `
8182
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpHashValueComponent, isStandalone: true, selector: "vp-hash-value", inputs: { value: "value", edge: "edge", truncate: "truncate", copyLabel: "copyLabel" }, outputs: { copied: "copied" }, ngImport: i0, template: `
8172
8183
  <span class="vp-hash">
8173
- <code class="vp-hash__value" data-vp-hash [attr.title]="value">{{ display }}</code>
8184
+ <code class="vp-hash__value" data-vp-hash [attr.data-truncate]="truncate" [attr.title]="value">{{ display }}</code>
8174
8185
  <button
8175
8186
  type="button"
8176
8187
  class="vp-hash__copy"
@@ -8182,13 +8193,13 @@ class VpHashValueComponent {
8182
8193
  </svg>
8183
8194
  </button>
8184
8195
  </span>
8185
- `, isInline: true, styles: [":host{display:inline-flex}.vp-hash{display:inline-flex;align-items:center;gap:var(--vp-space-1);max-width:100%}.vp-hash__value{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);color:var(--vp-text-secondary);white-space:nowrap}.vp-hash__copy{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);flex-shrink:0;border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-hash__copy:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-hash__copy:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-hash__copy-icon{width:14px;height:14px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8196
+ `, isInline: true, styles: [":host{display:inline-flex;min-width:0;max-width:100%}.vp-hash{display:inline-flex;align-items:center;gap:var(--vp-space-1);max-width:100%}.vp-hash__value{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);color:var(--vp-text-secondary);white-space:nowrap}.vp-hash__value[data-truncate=end]{min-width:0;overflow:hidden;text-overflow:ellipsis}.vp-hash__copy{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);flex-shrink:0;border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-hash__copy:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-hash__copy:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-hash__copy-icon{width:14px;height:14px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8186
8197
  }
8187
8198
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpHashValueComponent, decorators: [{
8188
8199
  type: Component,
8189
8200
  args: [{ selector: 'vp-hash-value', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8190
8201
  <span class="vp-hash">
8191
- <code class="vp-hash__value" data-vp-hash [attr.title]="value">{{ display }}</code>
8202
+ <code class="vp-hash__value" data-vp-hash [attr.data-truncate]="truncate" [attr.title]="value">{{ display }}</code>
8192
8203
  <button
8193
8204
  type="button"
8194
8205
  class="vp-hash__copy"
@@ -8200,12 +8211,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
8200
8211
  </svg>
8201
8212
  </button>
8202
8213
  </span>
8203
- `, styles: [":host{display:inline-flex}.vp-hash{display:inline-flex;align-items:center;gap:var(--vp-space-1);max-width:100%}.vp-hash__value{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);color:var(--vp-text-secondary);white-space:nowrap}.vp-hash__copy{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);flex-shrink:0;border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-hash__copy:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-hash__copy:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-hash__copy-icon{width:14px;height:14px}\n"] }]
8214
+ `, styles: [":host{display:inline-flex;min-width:0;max-width:100%}.vp-hash{display:inline-flex;align-items:center;gap:var(--vp-space-1);max-width:100%}.vp-hash__value{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);color:var(--vp-text-secondary);white-space:nowrap}.vp-hash__value[data-truncate=end]{min-width:0;overflow:hidden;text-overflow:ellipsis}.vp-hash__copy{display:inline-flex;align-items:center;justify-content:center;width:var(--vp-min-target);height:var(--vp-min-target);flex-shrink:0;border:0;border-radius:var(--vp-radius-sm);background:transparent;color:var(--vp-text-muted);cursor:pointer}.vp-hash__copy:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-hash__copy:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-hash__copy-icon{width:14px;height:14px}\n"] }]
8204
8215
  }], propDecorators: { value: [{
8205
8216
  type: Input,
8206
8217
  args: [{ required: true }]
8207
8218
  }], edge: [{
8208
8219
  type: Input
8220
+ }], truncate: [{
8221
+ type: Input
8209
8222
  }], copyLabel: [{
8210
8223
  type: Input
8211
8224
  }], copied: [{
@@ -8400,110 +8413,110 @@ class VpKpiCardComponent {
8400
8413
  }
8401
8414
  }
8402
8415
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpKpiCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8403
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpKpiCardComponent, isStandalone: true, selector: "vp-kpi-card", inputs: { label: "label", value: "value", change: "change", hint: "hint", progress: "progress", progressTone: "progressTone", emptyLabel: "emptyLabel", unit: "unit", delta: "delta", labelCase: "labelCase", tone: "tone" }, ngImport: i0, template: `
8404
- <div class="vp-kpi">
8405
- <span class="vp-kpi__label" [attr.data-case]="labelCase || null">{{ label }}</span>
8406
-
8407
- @if (value === null || value === undefined) {
8408
- <span class="vp-kpi__empty" data-vp-kpi-empty>{{ emptyLabel }}</span>
8409
- } @else {
8410
- @if (unit) {
8411
- <span class="vp-kpi__row" data-vp-kpi-row>
8412
- <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8413
- <span class="vp-kpi__unit" data-vp-kpi-unit>{{ unit }}</span>
8414
- </span>
8415
- } @else {
8416
- <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8417
- }
8418
-
8419
- @if (change !== null && change !== undefined) {
8420
- <span
8421
- class="vp-kpi__trend"
8422
- data-vp-kpi-trend
8423
- [attr.data-direction]="direction">
8424
- <svg class="vp-kpi__trend-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
8425
- <use [attr.href]="trendIcon"></use>
8426
- </svg>
8427
- {{ changeText }}
8428
- </span>
8429
- }
8430
-
8431
- @if (delta) {
8432
- <span class="vp-kpi__delta" data-vp-kpi-delta [attr.data-direction]="delta.direction || 'flat'" [attr.data-tone]="delta.tone || null">{{ delta.text }}</span>
8433
- }
8434
-
8435
- @if (progressPercent !== null) {
8436
- <span
8437
- class="vp-kpi__progress"
8438
- data-vp-kpi-progress
8439
- role="progressbar"
8440
- aria-valuemin="0"
8441
- aria-valuemax="100"
8442
- [attr.aria-valuenow]="progressPercent"
8443
- [attr.aria-label]="label">
8444
- <span class="vp-kpi__progress-fill" data-vp-kpi-progress-fill [attr.data-tone]="progressTone" [style.width.%]="progressPercent"></span>
8445
- </span>
8446
- }
8447
- }
8448
-
8449
- @if (hint) {
8450
- <span class="vp-kpi__hint">{{ hint }}</span>
8451
- }
8452
- </div>
8416
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpKpiCardComponent, isStandalone: true, selector: "vp-kpi-card", inputs: { label: "label", value: "value", change: "change", hint: "hint", progress: "progress", progressTone: "progressTone", emptyLabel: "emptyLabel", unit: "unit", delta: "delta", labelCase: "labelCase", tone: "tone" }, ngImport: i0, template: `
8417
+ <div class="vp-kpi">
8418
+ <span class="vp-kpi__label" [attr.data-case]="labelCase || null">{{ label }}</span>
8419
+
8420
+ @if (value === null || value === undefined) {
8421
+ <span class="vp-kpi__empty" data-vp-kpi-empty>{{ emptyLabel }}</span>
8422
+ } @else {
8423
+ @if (unit) {
8424
+ <span class="vp-kpi__row" data-vp-kpi-row>
8425
+ <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8426
+ <span class="vp-kpi__unit" data-vp-kpi-unit>{{ unit }}</span>
8427
+ </span>
8428
+ } @else {
8429
+ <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8430
+ }
8431
+
8432
+ @if (change !== null && change !== undefined) {
8433
+ <span
8434
+ class="vp-kpi__trend"
8435
+ data-vp-kpi-trend
8436
+ [attr.data-direction]="direction">
8437
+ <svg class="vp-kpi__trend-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
8438
+ <use [attr.href]="trendIcon"></use>
8439
+ </svg>
8440
+ {{ changeText }}
8441
+ </span>
8442
+ }
8443
+
8444
+ @if (delta) {
8445
+ <span class="vp-kpi__delta" data-vp-kpi-delta [attr.data-direction]="delta.direction || 'flat'" [attr.data-tone]="delta.tone || null">{{ delta.text }}</span>
8446
+ }
8447
+
8448
+ @if (progressPercent !== null) {
8449
+ <span
8450
+ class="vp-kpi__progress"
8451
+ data-vp-kpi-progress
8452
+ role="progressbar"
8453
+ aria-valuemin="0"
8454
+ aria-valuemax="100"
8455
+ [attr.aria-valuenow]="progressPercent"
8456
+ [attr.aria-label]="label">
8457
+ <span class="vp-kpi__progress-fill" data-vp-kpi-progress-fill [attr.data-tone]="progressTone" [style.width.%]="progressPercent"></span>
8458
+ </span>
8459
+ }
8460
+ }
8461
+
8462
+ @if (hint) {
8463
+ <span class="vp-kpi__hint">{{ hint }}</span>
8464
+ }
8465
+ </div>
8453
8466
  `, isInline: true, styles: [":host{display:block;height:100%}.vp-kpi{display:flex;flex-direction:column;gap:var(--vp-space-1);padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-kpi__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-kpi__value{color:var(--vp-text-primary);font-size:var(--vp-text-3xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);font-variant-numeric:tabular-nums}.vp-kpi__empty{color:var(--vp-text-muted);font-size:var(--vp-text-base)}.vp-kpi__trend{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-kpi__trend[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__trend[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__trend[data-direction=flat]{color:var(--vp-text-muted)}.vp-kpi__trend-icon{width:14px;height:14px}.vp-kpi__progress{display:block;height:6px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-kpi__progress-fill{display:block;height:100%;border-radius:inherit;background:var(--vp-sev-clean)}.vp-kpi__progress-fill[data-tone=warn]{background:var(--vp-sev-high)}.vp-kpi__progress-fill[data-tone=critical]{background:var(--vp-sev-critical)}.vp-kpi__row{display:flex;align-items:baseline;gap:var(--vp-space-2);min-width:0}.vp-kpi__unit{color:var(--vp-text-muted);font-size:var(--vp-text-sm);white-space:nowrap}.vp-kpi__label[data-case=upper]{font-size:var(--vp-text-xs);letter-spacing:.04em;text-transform:uppercase}.vp-kpi__value[data-tone=warn]{color:var(--vp-sev-high)}.vp-kpi__value[data-tone=critical]{color:var(--vp-sev-critical)}.vp-kpi__delta{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums;color:var(--vp-text-muted)}.vp-kpi__delta[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__delta[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__delta[data-tone=warn]{color:var(--vp-sev-high)}.vp-kpi__delta[data-tone=critical]{color:var(--vp-sev-critical)}.vp-kpi__hint{color:var(--vp-text-muted);font-size:var(--vp-text-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8454
8467
  }
8455
8468
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpKpiCardComponent, decorators: [{
8456
8469
  type: Component,
8457
- args: [{ selector: 'vp-kpi-card', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8458
- <div class="vp-kpi">
8459
- <span class="vp-kpi__label" [attr.data-case]="labelCase || null">{{ label }}</span>
8460
-
8461
- @if (value === null || value === undefined) {
8462
- <span class="vp-kpi__empty" data-vp-kpi-empty>{{ emptyLabel }}</span>
8463
- } @else {
8464
- @if (unit) {
8465
- <span class="vp-kpi__row" data-vp-kpi-row>
8466
- <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8467
- <span class="vp-kpi__unit" data-vp-kpi-unit>{{ unit }}</span>
8468
- </span>
8469
- } @else {
8470
- <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8471
- }
8472
-
8473
- @if (change !== null && change !== undefined) {
8474
- <span
8475
- class="vp-kpi__trend"
8476
- data-vp-kpi-trend
8477
- [attr.data-direction]="direction">
8478
- <svg class="vp-kpi__trend-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
8479
- <use [attr.href]="trendIcon"></use>
8480
- </svg>
8481
- {{ changeText }}
8482
- </span>
8483
- }
8484
-
8485
- @if (delta) {
8486
- <span class="vp-kpi__delta" data-vp-kpi-delta [attr.data-direction]="delta.direction || 'flat'" [attr.data-tone]="delta.tone || null">{{ delta.text }}</span>
8487
- }
8488
-
8489
- @if (progressPercent !== null) {
8490
- <span
8491
- class="vp-kpi__progress"
8492
- data-vp-kpi-progress
8493
- role="progressbar"
8494
- aria-valuemin="0"
8495
- aria-valuemax="100"
8496
- [attr.aria-valuenow]="progressPercent"
8497
- [attr.aria-label]="label">
8498
- <span class="vp-kpi__progress-fill" data-vp-kpi-progress-fill [attr.data-tone]="progressTone" [style.width.%]="progressPercent"></span>
8499
- </span>
8500
- }
8501
- }
8502
-
8503
- @if (hint) {
8504
- <span class="vp-kpi__hint">{{ hint }}</span>
8505
- }
8506
- </div>
8470
+ args: [{ selector: 'vp-kpi-card', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8471
+ <div class="vp-kpi">
8472
+ <span class="vp-kpi__label" [attr.data-case]="labelCase || null">{{ label }}</span>
8473
+
8474
+ @if (value === null || value === undefined) {
8475
+ <span class="vp-kpi__empty" data-vp-kpi-empty>{{ emptyLabel }}</span>
8476
+ } @else {
8477
+ @if (unit) {
8478
+ <span class="vp-kpi__row" data-vp-kpi-row>
8479
+ <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8480
+ <span class="vp-kpi__unit" data-vp-kpi-unit>{{ unit }}</span>
8481
+ </span>
8482
+ } @else {
8483
+ <span class="vp-kpi__value" data-vp-kpi-value [attr.data-tone]="tone || null">{{ value }}</span>
8484
+ }
8485
+
8486
+ @if (change !== null && change !== undefined) {
8487
+ <span
8488
+ class="vp-kpi__trend"
8489
+ data-vp-kpi-trend
8490
+ [attr.data-direction]="direction">
8491
+ <svg class="vp-kpi__trend-icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
8492
+ <use [attr.href]="trendIcon"></use>
8493
+ </svg>
8494
+ {{ changeText }}
8495
+ </span>
8496
+ }
8497
+
8498
+ @if (delta) {
8499
+ <span class="vp-kpi__delta" data-vp-kpi-delta [attr.data-direction]="delta.direction || 'flat'" [attr.data-tone]="delta.tone || null">{{ delta.text }}</span>
8500
+ }
8501
+
8502
+ @if (progressPercent !== null) {
8503
+ <span
8504
+ class="vp-kpi__progress"
8505
+ data-vp-kpi-progress
8506
+ role="progressbar"
8507
+ aria-valuemin="0"
8508
+ aria-valuemax="100"
8509
+ [attr.aria-valuenow]="progressPercent"
8510
+ [attr.aria-label]="label">
8511
+ <span class="vp-kpi__progress-fill" data-vp-kpi-progress-fill [attr.data-tone]="progressTone" [style.width.%]="progressPercent"></span>
8512
+ </span>
8513
+ }
8514
+ }
8515
+
8516
+ @if (hint) {
8517
+ <span class="vp-kpi__hint">{{ hint }}</span>
8518
+ }
8519
+ </div>
8507
8520
  `, styles: [":host{display:block;height:100%}.vp-kpi{display:flex;flex-direction:column;gap:var(--vp-space-1);padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-kpi__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-kpi__value{color:var(--vp-text-primary);font-size:var(--vp-text-3xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);font-variant-numeric:tabular-nums}.vp-kpi__empty{color:var(--vp-text-muted);font-size:var(--vp-text-base)}.vp-kpi__trend{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-kpi__trend[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__trend[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__trend[data-direction=flat]{color:var(--vp-text-muted)}.vp-kpi__trend-icon{width:14px;height:14px}.vp-kpi__progress{display:block;height:6px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-kpi__progress-fill{display:block;height:100%;border-radius:inherit;background:var(--vp-sev-clean)}.vp-kpi__progress-fill[data-tone=warn]{background:var(--vp-sev-high)}.vp-kpi__progress-fill[data-tone=critical]{background:var(--vp-sev-critical)}.vp-kpi__row{display:flex;align-items:baseline;gap:var(--vp-space-2);min-width:0}.vp-kpi__unit{color:var(--vp-text-muted);font-size:var(--vp-text-sm);white-space:nowrap}.vp-kpi__label[data-case=upper]{font-size:var(--vp-text-xs);letter-spacing:.04em;text-transform:uppercase}.vp-kpi__value[data-tone=warn]{color:var(--vp-sev-high)}.vp-kpi__value[data-tone=critical]{color:var(--vp-sev-critical)}.vp-kpi__delta{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums;color:var(--vp-text-muted)}.vp-kpi__delta[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__delta[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__delta[data-tone=warn]{color:var(--vp-sev-high)}.vp-kpi__delta[data-tone=critical]{color:var(--vp-sev-critical)}.vp-kpi__hint{color:var(--vp-text-muted);font-size:var(--vp-text-xs)}\n"] }]
8508
8521
  }], propDecorators: { label: [{
8509
8522
  type: Input,
@@ -8907,86 +8920,86 @@ class VpStackedBarsComponent {
8907
8920
  return Number.isFinite(n) && n > 0 ? n : 0;
8908
8921
  }
8909
8922
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpStackedBarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8910
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpStackedBarsComponent, isStandalone: true, selector: "vp-stacked-bars", inputs: { points: "points", limit: "limit", ariaLabel: "ariaLabel", emptyLabel: "emptyLabel", labelEvery: "labelEvery", grid: "grid", yAxis: "yAxis", merge: "merge" }, ngImport: i0, template: `
8911
- @if (shown.length) {
8912
- <div class="vp-stacked" data-vp-stacked role="img" [attr.aria-label]="ariaLabel">
8913
- @if (yAxis) {
8914
- <div class="vp-stacked__yaxis" aria-hidden="true">
8915
- @for (label of yLabels; track $index) {
8916
- <span data-vp-stacked-ylabel>{{ label }}</span>
8917
- }
8918
- </div>
8919
- }
8920
- <svg class="vp-stacked__svg" aria-hidden="true" focusable="false" preserveAspectRatio="none" viewBox="0 0 320 120">
8921
- @if (grid) {
8922
- @for (y of gridYs; track $index) {
8923
- <line class="vp-stacked__grid" data-vp-stacked-grid [attr.x1]="3" [attr.x2]="317" [attr.y1]="y" [attr.y2]="y" />
8924
- }
8925
- }
8926
- <line class="vp-stacked__axis" [attr.x1]="3" [attr.x2]="317" [attr.y1]="114" [attr.y2]="114" />
8927
- @for (bar of bars; track $index) {
8928
- <rect class="vp-stacked__ok" data-vp-bar-ok [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.okY" [attr.height]="bar.okHeight" />
8929
- <rect class="vp-stacked__error" data-vp-bar-error [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.errorY" [attr.height]="bar.errorHeight" />
8930
- }
8931
- @if (limitY !== null) {
8932
- <line class="vp-stacked__limit" data-vp-stacked-limit stroke-dasharray="4 4" [attr.x1]="3" [attr.x2]="317" [attr.y1]="limitY" [attr.y2]="limitY" />
8933
- }
8934
- </svg>
8935
- <div class="vp-stacked__labels" aria-hidden="true" [style.grid-template-columns]="'repeat(' + shown.length + ', 1fr)'">
8936
- @for (p of shown; track $index; let i = $index) {
8937
- @if (i % step === 0) {
8938
- <span class="vp-stacked__label" data-vp-stacked-label>{{ p.label }}</span>
8939
- } @else {
8940
- <span></span>
8941
- }
8942
- }
8943
- </div>
8944
- </div>
8945
- } @else {
8946
- <span class="vp-stacked__empty" data-vp-stacked-empty>{{ emptyLabel }}</span>
8947
- }
8923
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpStackedBarsComponent, isStandalone: true, selector: "vp-stacked-bars", inputs: { points: "points", limit: "limit", ariaLabel: "ariaLabel", emptyLabel: "emptyLabel", labelEvery: "labelEvery", grid: "grid", yAxis: "yAxis", merge: "merge" }, ngImport: i0, template: `
8924
+ @if (shown.length) {
8925
+ <div class="vp-stacked" data-vp-stacked role="img" [attr.aria-label]="ariaLabel">
8926
+ @if (yAxis) {
8927
+ <div class="vp-stacked__yaxis" aria-hidden="true">
8928
+ @for (label of yLabels; track $index) {
8929
+ <span data-vp-stacked-ylabel>{{ label }}</span>
8930
+ }
8931
+ </div>
8932
+ }
8933
+ <svg class="vp-stacked__svg" aria-hidden="true" focusable="false" preserveAspectRatio="none" viewBox="0 0 320 120">
8934
+ @if (grid) {
8935
+ @for (y of gridYs; track $index) {
8936
+ <line class="vp-stacked__grid" data-vp-stacked-grid [attr.x1]="3" [attr.x2]="317" [attr.y1]="y" [attr.y2]="y" />
8937
+ }
8938
+ }
8939
+ <line class="vp-stacked__axis" [attr.x1]="3" [attr.x2]="317" [attr.y1]="114" [attr.y2]="114" />
8940
+ @for (bar of bars; track $index) {
8941
+ <rect class="vp-stacked__ok" data-vp-bar-ok [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.okY" [attr.height]="bar.okHeight" />
8942
+ <rect class="vp-stacked__error" data-vp-bar-error [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.errorY" [attr.height]="bar.errorHeight" />
8943
+ }
8944
+ @if (limitY !== null) {
8945
+ <line class="vp-stacked__limit" data-vp-stacked-limit stroke-dasharray="4 4" [attr.x1]="3" [attr.x2]="317" [attr.y1]="limitY" [attr.y2]="limitY" />
8946
+ }
8947
+ </svg>
8948
+ <div class="vp-stacked__labels" aria-hidden="true" [style.grid-template-columns]="'repeat(' + shown.length + ', 1fr)'">
8949
+ @for (p of shown; track $index; let i = $index) {
8950
+ @if (i % step === 0) {
8951
+ <span class="vp-stacked__label" data-vp-stacked-label>{{ p.label }}</span>
8952
+ } @else {
8953
+ <span></span>
8954
+ }
8955
+ }
8956
+ </div>
8957
+ </div>
8958
+ } @else {
8959
+ <span class="vp-stacked__empty" data-vp-stacked-empty>{{ emptyLabel }}</span>
8960
+ }
8948
8961
  `, isInline: true, styles: [":host{display:block}.vp-stacked{width:100%;font-family:var(--vp-font-sans)}.vp-stacked__svg{display:block;width:100%;height:160px}.vp-stacked__axis,.vp-stacked__grid{stroke:var(--vp-border-subtle);stroke-width:1;vector-effect:non-scaling-stroke}.vp-stacked{position:relative}.vp-stacked__yaxis{position:absolute;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;height:160px;color:var(--vp-text-muted);font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums;pointer-events:none}.vp-stacked__ok{fill:var(--vp-brand)}.vp-stacked__error{fill:var(--vp-sev-critical)}.vp-stacked__limit{stroke:var(--vp-sev-medium);stroke-width:1;vector-effect:non-scaling-stroke}.vp-stacked__labels{display:grid;margin-top:var(--vp-space-1)}.vp-stacked__label{overflow:visible;color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums;white-space:nowrap}.vp-stacked__empty{display:grid;place-items:center;min-height:120px;color:var(--vp-text-muted);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8949
8962
  }
8950
8963
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpStackedBarsComponent, decorators: [{
8951
8964
  type: Component,
8952
- args: [{ selector: 'vp-stacked-bars', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8953
- @if (shown.length) {
8954
- <div class="vp-stacked" data-vp-stacked role="img" [attr.aria-label]="ariaLabel">
8955
- @if (yAxis) {
8956
- <div class="vp-stacked__yaxis" aria-hidden="true">
8957
- @for (label of yLabels; track $index) {
8958
- <span data-vp-stacked-ylabel>{{ label }}</span>
8959
- }
8960
- </div>
8961
- }
8962
- <svg class="vp-stacked__svg" aria-hidden="true" focusable="false" preserveAspectRatio="none" viewBox="0 0 320 120">
8963
- @if (grid) {
8964
- @for (y of gridYs; track $index) {
8965
- <line class="vp-stacked__grid" data-vp-stacked-grid [attr.x1]="3" [attr.x2]="317" [attr.y1]="y" [attr.y2]="y" />
8966
- }
8967
- }
8968
- <line class="vp-stacked__axis" [attr.x1]="3" [attr.x2]="317" [attr.y1]="114" [attr.y2]="114" />
8969
- @for (bar of bars; track $index) {
8970
- <rect class="vp-stacked__ok" data-vp-bar-ok [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.okY" [attr.height]="bar.okHeight" />
8971
- <rect class="vp-stacked__error" data-vp-bar-error [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.errorY" [attr.height]="bar.errorHeight" />
8972
- }
8973
- @if (limitY !== null) {
8974
- <line class="vp-stacked__limit" data-vp-stacked-limit stroke-dasharray="4 4" [attr.x1]="3" [attr.x2]="317" [attr.y1]="limitY" [attr.y2]="limitY" />
8975
- }
8976
- </svg>
8977
- <div class="vp-stacked__labels" aria-hidden="true" [style.grid-template-columns]="'repeat(' + shown.length + ', 1fr)'">
8978
- @for (p of shown; track $index; let i = $index) {
8979
- @if (i % step === 0) {
8980
- <span class="vp-stacked__label" data-vp-stacked-label>{{ p.label }}</span>
8981
- } @else {
8982
- <span></span>
8983
- }
8984
- }
8985
- </div>
8986
- </div>
8987
- } @else {
8988
- <span class="vp-stacked__empty" data-vp-stacked-empty>{{ emptyLabel }}</span>
8989
- }
8965
+ args: [{ selector: 'vp-stacked-bars', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8966
+ @if (shown.length) {
8967
+ <div class="vp-stacked" data-vp-stacked role="img" [attr.aria-label]="ariaLabel">
8968
+ @if (yAxis) {
8969
+ <div class="vp-stacked__yaxis" aria-hidden="true">
8970
+ @for (label of yLabels; track $index) {
8971
+ <span data-vp-stacked-ylabel>{{ label }}</span>
8972
+ }
8973
+ </div>
8974
+ }
8975
+ <svg class="vp-stacked__svg" aria-hidden="true" focusable="false" preserveAspectRatio="none" viewBox="0 0 320 120">
8976
+ @if (grid) {
8977
+ @for (y of gridYs; track $index) {
8978
+ <line class="vp-stacked__grid" data-vp-stacked-grid [attr.x1]="3" [attr.x2]="317" [attr.y1]="y" [attr.y2]="y" />
8979
+ }
8980
+ }
8981
+ <line class="vp-stacked__axis" [attr.x1]="3" [attr.x2]="317" [attr.y1]="114" [attr.y2]="114" />
8982
+ @for (bar of bars; track $index) {
8983
+ <rect class="vp-stacked__ok" data-vp-bar-ok [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.okY" [attr.height]="bar.okHeight" />
8984
+ <rect class="vp-stacked__error" data-vp-bar-error [attr.x]="bar.x" [attr.width]="bar.width" [attr.y]="bar.errorY" [attr.height]="bar.errorHeight" />
8985
+ }
8986
+ @if (limitY !== null) {
8987
+ <line class="vp-stacked__limit" data-vp-stacked-limit stroke-dasharray="4 4" [attr.x1]="3" [attr.x2]="317" [attr.y1]="limitY" [attr.y2]="limitY" />
8988
+ }
8989
+ </svg>
8990
+ <div class="vp-stacked__labels" aria-hidden="true" [style.grid-template-columns]="'repeat(' + shown.length + ', 1fr)'">
8991
+ @for (p of shown; track $index; let i = $index) {
8992
+ @if (i % step === 0) {
8993
+ <span class="vp-stacked__label" data-vp-stacked-label>{{ p.label }}</span>
8994
+ } @else {
8995
+ <span></span>
8996
+ }
8997
+ }
8998
+ </div>
8999
+ </div>
9000
+ } @else {
9001
+ <span class="vp-stacked__empty" data-vp-stacked-empty>{{ emptyLabel }}</span>
9002
+ }
8990
9003
  `, styles: [":host{display:block}.vp-stacked{width:100%;font-family:var(--vp-font-sans)}.vp-stacked__svg{display:block;width:100%;height:160px}.vp-stacked__axis,.vp-stacked__grid{stroke:var(--vp-border-subtle);stroke-width:1;vector-effect:non-scaling-stroke}.vp-stacked{position:relative}.vp-stacked__yaxis{position:absolute;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;height:160px;color:var(--vp-text-muted);font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums;pointer-events:none}.vp-stacked__ok{fill:var(--vp-brand)}.vp-stacked__error{fill:var(--vp-sev-critical)}.vp-stacked__limit{stroke:var(--vp-sev-medium);stroke-width:1;vector-effect:non-scaling-stroke}.vp-stacked__labels{display:grid;margin-top:var(--vp-space-1)}.vp-stacked__label{overflow:visible;color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums;white-space:nowrap}.vp-stacked__empty{display:grid;place-items:center;min-height:120px;color:var(--vp-text-muted);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm)}\n"] }]
8991
9004
  }], propDecorators: { points: [{
8992
9005
  type: Input
@@ -9032,42 +9045,42 @@ class VpRankedBarsComponent {
9032
9045
  }));
9033
9046
  }
9034
9047
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpRankedBarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9035
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpRankedBarsComponent, isStandalone: true, selector: "vp-ranked-bars", inputs: { rows: "rows", max: "max", warnAt: "warnAt", criticalAt: "criticalAt", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
9036
- @if (views.length) {
9037
- <ul class="vp-ranked">
9038
- @for (v of views; track $index) {
9039
- <li class="vp-ranked__row">
9040
- <span class="vp-ranked__label" data-vp-ranked-label>{{ v.row.label }}</span>
9041
- <span class="vp-ranked__track" aria-hidden="true">
9042
- <span class="vp-ranked__fill" data-vp-ranked-fill [attr.data-tone]="v.tone" [style.width.%]="v.width"></span>
9043
- </span>
9044
- <span class="vp-ranked__value" data-vp-ranked-value>{{ v.text }}</span>
9045
- </li>
9046
- }
9047
- </ul>
9048
- } @else {
9049
- <span class="vp-ranked__empty" data-vp-ranked-empty>{{ emptyLabel }}</span>
9050
- }
9048
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpRankedBarsComponent, isStandalone: true, selector: "vp-ranked-bars", inputs: { rows: "rows", max: "max", warnAt: "warnAt", criticalAt: "criticalAt", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
9049
+ @if (views.length) {
9050
+ <ul class="vp-ranked">
9051
+ @for (v of views; track $index) {
9052
+ <li class="vp-ranked__row">
9053
+ <span class="vp-ranked__label" data-vp-ranked-label>{{ v.row.label }}</span>
9054
+ <span class="vp-ranked__track" aria-hidden="true">
9055
+ <span class="vp-ranked__fill" data-vp-ranked-fill [attr.data-tone]="v.tone" [style.width.%]="v.width"></span>
9056
+ </span>
9057
+ <span class="vp-ranked__value" data-vp-ranked-value>{{ v.text }}</span>
9058
+ </li>
9059
+ }
9060
+ </ul>
9061
+ } @else {
9062
+ <span class="vp-ranked__empty" data-vp-ranked-empty>{{ emptyLabel }}</span>
9063
+ }
9051
9064
  `, isInline: true, styles: [":host{display:block}.vp-ranked{display:flex;flex-direction:column;gap:var(--vp-space-2);margin:0;padding:0;list-style:none;font-family:var(--vp-font-sans)}.vp-ranked__row{display:grid;grid-template-columns:3.5rem 1fr auto;align-items:center;gap:var(--vp-space-3)}.vp-ranked__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-ranked__track{height:8px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-ranked__fill{display:block;height:100%;border-radius:inherit;background:var(--vp-brand)}.vp-ranked__fill[data-tone=warn]{background:var(--vp-sev-high)}.vp-ranked__fill[data-tone=critical]{background:var(--vp-sev-critical)}.vp-ranked__value{color:var(--vp-text-primary);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums;text-align:right}.vp-ranked__empty{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9052
9065
  }
9053
9066
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpRankedBarsComponent, decorators: [{
9054
9067
  type: Component,
9055
- args: [{ selector: 'vp-ranked-bars', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9056
- @if (views.length) {
9057
- <ul class="vp-ranked">
9058
- @for (v of views; track $index) {
9059
- <li class="vp-ranked__row">
9060
- <span class="vp-ranked__label" data-vp-ranked-label>{{ v.row.label }}</span>
9061
- <span class="vp-ranked__track" aria-hidden="true">
9062
- <span class="vp-ranked__fill" data-vp-ranked-fill [attr.data-tone]="v.tone" [style.width.%]="v.width"></span>
9063
- </span>
9064
- <span class="vp-ranked__value" data-vp-ranked-value>{{ v.text }}</span>
9065
- </li>
9066
- }
9067
- </ul>
9068
- } @else {
9069
- <span class="vp-ranked__empty" data-vp-ranked-empty>{{ emptyLabel }}</span>
9070
- }
9068
+ args: [{ selector: 'vp-ranked-bars', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9069
+ @if (views.length) {
9070
+ <ul class="vp-ranked">
9071
+ @for (v of views; track $index) {
9072
+ <li class="vp-ranked__row">
9073
+ <span class="vp-ranked__label" data-vp-ranked-label>{{ v.row.label }}</span>
9074
+ <span class="vp-ranked__track" aria-hidden="true">
9075
+ <span class="vp-ranked__fill" data-vp-ranked-fill [attr.data-tone]="v.tone" [style.width.%]="v.width"></span>
9076
+ </span>
9077
+ <span class="vp-ranked__value" data-vp-ranked-value>{{ v.text }}</span>
9078
+ </li>
9079
+ }
9080
+ </ul>
9081
+ } @else {
9082
+ <span class="vp-ranked__empty" data-vp-ranked-empty>{{ emptyLabel }}</span>
9083
+ }
9071
9084
  `, styles: [":host{display:block}.vp-ranked{display:flex;flex-direction:column;gap:var(--vp-space-2);margin:0;padding:0;list-style:none;font-family:var(--vp-font-sans)}.vp-ranked__row{display:grid;grid-template-columns:3.5rem 1fr auto;align-items:center;gap:var(--vp-space-3)}.vp-ranked__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-ranked__track{height:8px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-ranked__fill{display:block;height:100%;border-radius:inherit;background:var(--vp-brand)}.vp-ranked__fill[data-tone=warn]{background:var(--vp-sev-high)}.vp-ranked__fill[data-tone=critical]{background:var(--vp-sev-critical)}.vp-ranked__value{color:var(--vp-text-primary);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums;text-align:right}.vp-ranked__empty{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}\n"] }]
9072
9085
  }], propDecorators: { rows: [{
9073
9086
  type: Input
@@ -9102,28 +9115,28 @@ class VpShareBarComponent {
9102
9115
  return Math.min(100, v);
9103
9116
  }
9104
9117
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShareBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9105
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpShareBarComponent, isStandalone: true, selector: "vp-share-bar", inputs: { value: "value", label: "label", tone: "tone" }, ngImport: i0, template: `
9106
- <span class="vp-share">
9107
- <span class="vp-share__track" aria-hidden="true">
9108
- <span class="vp-share__fill" data-vp-share-fill [attr.data-tone]="tone" [style.width.%]="percent"></span>
9109
- </span>
9110
- @if (label) {
9111
- <span class="vp-share__label" data-vp-share-label>{{ label }}</span>
9112
- }
9113
- </span>
9118
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpShareBarComponent, isStandalone: true, selector: "vp-share-bar", inputs: { value: "value", label: "label", tone: "tone" }, ngImport: i0, template: `
9119
+ <span class="vp-share">
9120
+ <span class="vp-share__track" aria-hidden="true">
9121
+ <span class="vp-share__fill" data-vp-share-fill [attr.data-tone]="tone" [style.width.%]="percent"></span>
9122
+ </span>
9123
+ @if (label) {
9124
+ <span class="vp-share__label" data-vp-share-label>{{ label }}</span>
9125
+ }
9126
+ </span>
9114
9127
  `, isInline: true, styles: [":host{display:block}.vp-share{display:flex;align-items:center;gap:var(--vp-space-2);font-family:var(--vp-font-sans)}.vp-share__track{flex:1 1 auto;min-width:48px;height:6px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-share__fill{display:block;height:100%;border-radius:inherit;background:var(--vp-brand)}.vp-share__fill[data-tone=warn]{background:var(--vp-sev-high)}.vp-share__fill[data-tone=critical]{background:var(--vp-sev-critical)}.vp-share__label{flex:0 0 auto;color:var(--vp-text-secondary);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9115
9128
  }
9116
9129
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShareBarComponent, decorators: [{
9117
9130
  type: Component,
9118
- args: [{ selector: 'vp-share-bar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9119
- <span class="vp-share">
9120
- <span class="vp-share__track" aria-hidden="true">
9121
- <span class="vp-share__fill" data-vp-share-fill [attr.data-tone]="tone" [style.width.%]="percent"></span>
9122
- </span>
9123
- @if (label) {
9124
- <span class="vp-share__label" data-vp-share-label>{{ label }}</span>
9125
- }
9126
- </span>
9131
+ args: [{ selector: 'vp-share-bar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9132
+ <span class="vp-share">
9133
+ <span class="vp-share__track" aria-hidden="true">
9134
+ <span class="vp-share__fill" data-vp-share-fill [attr.data-tone]="tone" [style.width.%]="percent"></span>
9135
+ </span>
9136
+ @if (label) {
9137
+ <span class="vp-share__label" data-vp-share-label>{{ label }}</span>
9138
+ }
9139
+ </span>
9127
9140
  `, styles: [":host{display:block}.vp-share{display:flex;align-items:center;gap:var(--vp-space-2);font-family:var(--vp-font-sans)}.vp-share__track{flex:1 1 auto;min-width:48px;height:6px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-share__fill{display:block;height:100%;border-radius:inherit;background:var(--vp-brand)}.vp-share__fill[data-tone=warn]{background:var(--vp-sev-high)}.vp-share__fill[data-tone=critical]{background:var(--vp-sev-critical)}.vp-share__label{flex:0 0 auto;color:var(--vp-text-secondary);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}\n"] }]
9128
9141
  }], propDecorators: { value: [{
9129
9142
  type: Input
@@ -9157,52 +9170,52 @@ class VpMixMeterComponent {
9157
9170
  return this.segments.map((s) => `${s.part.label} ${s.text}`).join(', ');
9158
9171
  }
9159
9172
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMixMeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9160
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpMixMeterComponent, isStandalone: true, selector: "vp-mix-meter", inputs: { parts: "parts", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
9161
- @if (hasData) {
9162
- <div class="vp-mix" role="img" [attr.aria-label]="summary">
9163
- <div class="vp-mix__bar" aria-hidden="true">
9164
- @for (seg of segments; track seg.part.key) {
9165
- <span class="vp-mix__seg" data-vp-mix-seg [attr.data-tone]="seg.part.tone" [style.width.%]="seg.share"></span>
9166
- }
9167
- </div>
9168
- <ul class="vp-mix__legend" aria-hidden="true">
9169
- @for (seg of segments; track seg.part.key) {
9170
- <li class="vp-mix__item" data-vp-mix-legend>
9171
- <span class="vp-mix__dot" [attr.data-tone]="seg.part.tone"></span>
9172
- <span class="vp-mix__name">{{ seg.part.label }}</span>
9173
- <span class="vp-mix__value">{{ seg.text }}</span>
9174
- </li>
9175
- }
9176
- </ul>
9177
- </div>
9178
- } @else {
9179
- <span class="vp-mix__empty" data-vp-mix-empty>{{ emptyLabel }}</span>
9180
- }
9173
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpMixMeterComponent, isStandalone: true, selector: "vp-mix-meter", inputs: { parts: "parts", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
9174
+ @if (hasData) {
9175
+ <div class="vp-mix" role="img" [attr.aria-label]="summary">
9176
+ <div class="vp-mix__bar" aria-hidden="true">
9177
+ @for (seg of segments; track seg.part.key) {
9178
+ <span class="vp-mix__seg" data-vp-mix-seg [attr.data-tone]="seg.part.tone" [style.width.%]="seg.share"></span>
9179
+ }
9180
+ </div>
9181
+ <ul class="vp-mix__legend" aria-hidden="true">
9182
+ @for (seg of segments; track seg.part.key) {
9183
+ <li class="vp-mix__item" data-vp-mix-legend>
9184
+ <span class="vp-mix__dot" [attr.data-tone]="seg.part.tone"></span>
9185
+ <span class="vp-mix__name">{{ seg.part.label }}</span>
9186
+ <span class="vp-mix__value">{{ seg.text }}</span>
9187
+ </li>
9188
+ }
9189
+ </ul>
9190
+ </div>
9191
+ } @else {
9192
+ <span class="vp-mix__empty" data-vp-mix-empty>{{ emptyLabel }}</span>
9193
+ }
9181
9194
  `, isInline: true, styles: [":host{display:block}.vp-mix{display:flex;flex-direction:column;gap:var(--vp-space-2);font-family:var(--vp-font-sans)}.vp-mix__bar{display:flex;height:10px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-mix__seg{display:block;height:100%}.vp-mix__seg[data-tone=ok],.vp-mix__dot[data-tone=ok]{background:var(--vp-sev-clean)}.vp-mix__seg[data-tone=warn],.vp-mix__dot[data-tone=warn]{background:var(--vp-sev-medium)}.vp-mix__seg[data-tone=critical],.vp-mix__dot[data-tone=critical]{background:var(--vp-sev-critical)}.vp-mix__legend{display:flex;flex-wrap:wrap;gap:var(--vp-space-1) var(--vp-space-4);margin:0;padding:0;list-style:none}.vp-mix__item{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs)}.vp-mix__dot{width:8px;height:8px;border-radius:var(--vp-radius-sm)}.vp-mix__name{color:var(--vp-text-muted)}.vp-mix__value{color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-mix__empty{color:var(--vp-text-muted);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9182
9195
  }
9183
9196
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMixMeterComponent, decorators: [{
9184
9197
  type: Component,
9185
- args: [{ selector: 'vp-mix-meter', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9186
- @if (hasData) {
9187
- <div class="vp-mix" role="img" [attr.aria-label]="summary">
9188
- <div class="vp-mix__bar" aria-hidden="true">
9189
- @for (seg of segments; track seg.part.key) {
9190
- <span class="vp-mix__seg" data-vp-mix-seg [attr.data-tone]="seg.part.tone" [style.width.%]="seg.share"></span>
9191
- }
9192
- </div>
9193
- <ul class="vp-mix__legend" aria-hidden="true">
9194
- @for (seg of segments; track seg.part.key) {
9195
- <li class="vp-mix__item" data-vp-mix-legend>
9196
- <span class="vp-mix__dot" [attr.data-tone]="seg.part.tone"></span>
9197
- <span class="vp-mix__name">{{ seg.part.label }}</span>
9198
- <span class="vp-mix__value">{{ seg.text }}</span>
9199
- </li>
9200
- }
9201
- </ul>
9202
- </div>
9203
- } @else {
9204
- <span class="vp-mix__empty" data-vp-mix-empty>{{ emptyLabel }}</span>
9205
- }
9198
+ args: [{ selector: 'vp-mix-meter', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9199
+ @if (hasData) {
9200
+ <div class="vp-mix" role="img" [attr.aria-label]="summary">
9201
+ <div class="vp-mix__bar" aria-hidden="true">
9202
+ @for (seg of segments; track seg.part.key) {
9203
+ <span class="vp-mix__seg" data-vp-mix-seg [attr.data-tone]="seg.part.tone" [style.width.%]="seg.share"></span>
9204
+ }
9205
+ </div>
9206
+ <ul class="vp-mix__legend" aria-hidden="true">
9207
+ @for (seg of segments; track seg.part.key) {
9208
+ <li class="vp-mix__item" data-vp-mix-legend>
9209
+ <span class="vp-mix__dot" [attr.data-tone]="seg.part.tone"></span>
9210
+ <span class="vp-mix__name">{{ seg.part.label }}</span>
9211
+ <span class="vp-mix__value">{{ seg.text }}</span>
9212
+ </li>
9213
+ }
9214
+ </ul>
9215
+ </div>
9216
+ } @else {
9217
+ <span class="vp-mix__empty" data-vp-mix-empty>{{ emptyLabel }}</span>
9218
+ }
9206
9219
  `, styles: [":host{display:block}.vp-mix{display:flex;flex-direction:column;gap:var(--vp-space-2);font-family:var(--vp-font-sans)}.vp-mix__bar{display:flex;height:10px;overflow:hidden;border-radius:var(--vp-radius-full);background:var(--vp-surface-sunken)}.vp-mix__seg{display:block;height:100%}.vp-mix__seg[data-tone=ok],.vp-mix__dot[data-tone=ok]{background:var(--vp-sev-clean)}.vp-mix__seg[data-tone=warn],.vp-mix__dot[data-tone=warn]{background:var(--vp-sev-medium)}.vp-mix__seg[data-tone=critical],.vp-mix__dot[data-tone=critical]{background:var(--vp-sev-critical)}.vp-mix__legend{display:flex;flex-wrap:wrap;gap:var(--vp-space-1) var(--vp-space-4);margin:0;padding:0;list-style:none}.vp-mix__item{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs)}.vp-mix__dot{width:8px;height:8px;border-radius:var(--vp-radius-sm)}.vp-mix__name{color:var(--vp-text-muted)}.vp-mix__value{color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-mix__empty{color:var(--vp-text-muted);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm)}\n"] }]
9207
9220
  }], propDecorators: { parts: [{
9208
9221
  type: Input
@@ -9261,38 +9274,38 @@ class VpSegmentedComponent {
9261
9274
  }
9262
9275
  }
9263
9276
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSegmentedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9264
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSegmentedComponent, isStandalone: true, selector: "vp-segmented", inputs: { options: "options", value: "value", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
9265
- <div class="vp-segmented" role="group" [attr.aria-label]="ariaLabel">
9266
- @for (option of options; track option.value; let i = $index) {
9267
- <button
9268
- type="button"
9269
- class="vp-segmented__item"
9270
- [attr.aria-pressed]="option.value === value"
9271
- [attr.tabindex]="tabStop(i)"
9272
- (click)="select(option.value)"
9273
- (keydown)="onKey($event, i)">
9274
- {{ option.label }}
9275
- </button>
9276
- }
9277
- </div>
9277
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpSegmentedComponent, isStandalone: true, selector: "vp-segmented", inputs: { options: "options", value: "value", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
9278
+ <div class="vp-segmented" role="group" [attr.aria-label]="ariaLabel">
9279
+ @for (option of options; track option.value; let i = $index) {
9280
+ <button
9281
+ type="button"
9282
+ class="vp-segmented__item"
9283
+ [attr.aria-pressed]="option.value === value"
9284
+ [attr.tabindex]="tabStop(i)"
9285
+ (click)="select(option.value)"
9286
+ (keydown)="onKey($event, i)">
9287
+ {{ option.label }}
9288
+ </button>
9289
+ }
9290
+ </div>
9278
9291
  `, isInline: true, styles: [":host{display:inline-block;max-width:100%}.vp-segmented{display:inline-flex;max-width:100%;overflow-x:auto;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-md);background:var(--vp-surface-sunken)}.vp-segmented__item{min-height:32px;padding:0 var(--vp-space-3);border:0;background:transparent;color:var(--vp-text-secondary);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);white-space:nowrap;cursor:pointer}.vp-segmented__item[aria-pressed=true]{background:var(--vp-surface-raised);color:var(--vp-text-primary);font-weight:var(--vp-weight-semibold)}.vp-segmented__item:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:calc(var(--vp-focus-offset) * -1)}@media(pointer:coarse),(max-width:640px){.vp-segmented__item{min-height:var(--vp-touch-target)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9279
9292
  }
9280
9293
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSegmentedComponent, decorators: [{
9281
9294
  type: Component,
9282
- args: [{ selector: 'vp-segmented', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9283
- <div class="vp-segmented" role="group" [attr.aria-label]="ariaLabel">
9284
- @for (option of options; track option.value; let i = $index) {
9285
- <button
9286
- type="button"
9287
- class="vp-segmented__item"
9288
- [attr.aria-pressed]="option.value === value"
9289
- [attr.tabindex]="tabStop(i)"
9290
- (click)="select(option.value)"
9291
- (keydown)="onKey($event, i)">
9292
- {{ option.label }}
9293
- </button>
9294
- }
9295
- </div>
9295
+ args: [{ selector: 'vp-segmented', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9296
+ <div class="vp-segmented" role="group" [attr.aria-label]="ariaLabel">
9297
+ @for (option of options; track option.value; let i = $index) {
9298
+ <button
9299
+ type="button"
9300
+ class="vp-segmented__item"
9301
+ [attr.aria-pressed]="option.value === value"
9302
+ [attr.tabindex]="tabStop(i)"
9303
+ (click)="select(option.value)"
9304
+ (keydown)="onKey($event, i)">
9305
+ {{ option.label }}
9306
+ </button>
9307
+ }
9308
+ </div>
9296
9309
  `, styles: [":host{display:inline-block;max-width:100%}.vp-segmented{display:inline-flex;max-width:100%;overflow-x:auto;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-md);background:var(--vp-surface-sunken)}.vp-segmented__item{min-height:32px;padding:0 var(--vp-space-3);border:0;background:transparent;color:var(--vp-text-secondary);font-family:var(--vp-font-sans);font-size:var(--vp-text-sm);white-space:nowrap;cursor:pointer}.vp-segmented__item[aria-pressed=true]{background:var(--vp-surface-raised);color:var(--vp-text-primary);font-weight:var(--vp-weight-semibold)}.vp-segmented__item:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:calc(var(--vp-focus-offset) * -1)}@media(pointer:coarse),(max-width:640px){.vp-segmented__item{min-height:var(--vp-touch-target)}}\n"] }]
9297
9310
  }], propDecorators: { options: [{
9298
9311
  type: Input
@@ -9318,18 +9331,18 @@ class VpVerbBadgeComponent {
9318
9331
  this.tone = 'neutral';
9319
9332
  }
9320
9333
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpVerbBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9321
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpVerbBadgeComponent, isStandalone: true, selector: "vp-verb-badge", inputs: { verb: "verb", tone: "tone" }, ngImport: i0, template: `
9322
- @if (verb) {
9323
- <span class="vp-verb" data-vp-verb [attr.data-tone]="tone">{{ verb }}</span>
9324
- }
9334
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpVerbBadgeComponent, isStandalone: true, selector: "vp-verb-badge", inputs: { verb: "verb", tone: "tone" }, ngImport: i0, template: `
9335
+ @if (verb) {
9336
+ <span class="vp-verb" data-vp-verb [attr.data-tone]="tone">{{ verb }}</span>
9337
+ }
9325
9338
  `, isInline: true, styles: [":host{display:inline-flex}.vp-verb{display:inline-block;padding:0 var(--vp-space-2);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);color:var(--vp-text-secondary);font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);letter-spacing:.02em;font-variant-numeric:tabular-nums}.vp-verb[data-tone=ok]{color:var(--vp-sev-clean);border-color:var(--vp-sev-clean)}.vp-verb[data-tone=warn]{color:var(--vp-sev-high);border-color:var(--vp-sev-high)}.vp-verb[data-tone=critical]{color:var(--vp-sev-critical);border-color:var(--vp-sev-critical)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9326
9339
  }
9327
9340
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpVerbBadgeComponent, decorators: [{
9328
9341
  type: Component,
9329
- args: [{ selector: 'vp-verb-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9330
- @if (verb) {
9331
- <span class="vp-verb" data-vp-verb [attr.data-tone]="tone">{{ verb }}</span>
9332
- }
9342
+ args: [{ selector: 'vp-verb-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
9343
+ @if (verb) {
9344
+ <span class="vp-verb" data-vp-verb [attr.data-tone]="tone">{{ verb }}</span>
9345
+ }
9333
9346
  `, styles: [":host{display:inline-flex}.vp-verb{display:inline-block;padding:0 var(--vp-space-2);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);color:var(--vp-text-secondary);font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);letter-spacing:.02em;font-variant-numeric:tabular-nums}.vp-verb[data-tone=ok]{color:var(--vp-sev-clean);border-color:var(--vp-sev-clean)}.vp-verb[data-tone=warn]{color:var(--vp-sev-high);border-color:var(--vp-sev-high)}.vp-verb[data-tone=critical]{color:var(--vp-sev-critical);border-color:var(--vp-sev-critical)}\n"] }]
9334
9347
  }], propDecorators: { verb: [{
9335
9348
  type: Input
@@ -9354,38 +9367,38 @@ class VpChipPickerComponent {
9354
9367
  this.valueChange = new EventEmitter();
9355
9368
  }
9356
9369
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpChipPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9357
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpChipPickerComponent, isStandalone: true, selector: "vp-chip-picker", inputs: { chips: "chips", value: "value", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
9358
- <div class="vp-chips" role="group" [attr.aria-label]="ariaLabel">
9359
- @for (chip of chips; track chip.value) {
9360
- <button type="button" class="vp-chip" [attr.aria-pressed]="chip.value === value" (click)="valueChange.emit(chip.value)">
9361
- @if (chip.verb) {
9362
- <vp-verb-badge [verb]="chip.verb" />
9363
- }
9364
- <span class="vp-chip__label" data-vp-chip-label>{{ chip.label }}</span>
9365
- @if (chip.count) {
9366
- <span class="vp-chip__count" data-vp-chip-count>{{ chip.count }}</span>
9367
- }
9368
- </button>
9369
- }
9370
- </div>
9370
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpChipPickerComponent, isStandalone: true, selector: "vp-chip-picker", inputs: { chips: "chips", value: "value", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
9371
+ <div class="vp-chips" role="group" [attr.aria-label]="ariaLabel">
9372
+ @for (chip of chips; track chip.value) {
9373
+ <button type="button" class="vp-chip" [attr.aria-pressed]="chip.value === value" (click)="valueChange.emit(chip.value)">
9374
+ @if (chip.verb) {
9375
+ <vp-verb-badge [verb]="chip.verb" />
9376
+ }
9377
+ <span class="vp-chip__label" data-vp-chip-label>{{ chip.label }}</span>
9378
+ @if (chip.count) {
9379
+ <span class="vp-chip__count" data-vp-chip-count>{{ chip.count }}</span>
9380
+ }
9381
+ </button>
9382
+ }
9383
+ </div>
9371
9384
  `, isInline: true, styles: [":host{display:block;min-width:0;max-width:100%}.vp-chips{display:flex;gap:var(--vp-space-2);min-width:0;max-width:100%;overflow-x:auto;padding-bottom:var(--vp-space-1);font-family:var(--vp-font-sans)}.vp-chip{display:inline-flex;flex:0 0 auto;align-items:center;gap:var(--vp-space-2);min-height:32px;padding:0 var(--vp-space-3);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-full);background:transparent;color:var(--vp-text-secondary);font-size:var(--vp-text-sm);white-space:nowrap;cursor:pointer}.vp-chip[aria-pressed=true]{border-color:var(--vp-border-strong);background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-chip:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-chip__count{color:var(--vp-text-muted);font-variant-numeric:tabular-nums}@media(pointer:coarse),(max-width:640px){.vp-chip{min-height:var(--vp-touch-target)}}\n"], dependencies: [{ kind: "component", type: VpVerbBadgeComponent, selector: "vp-verb-badge", inputs: ["verb", "tone"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9372
9385
  }
9373
9386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpChipPickerComponent, decorators: [{
9374
9387
  type: Component,
9375
- args: [{ selector: 'vp-chip-picker', standalone: true, imports: [VpVerbBadgeComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
9376
- <div class="vp-chips" role="group" [attr.aria-label]="ariaLabel">
9377
- @for (chip of chips; track chip.value) {
9378
- <button type="button" class="vp-chip" [attr.aria-pressed]="chip.value === value" (click)="valueChange.emit(chip.value)">
9379
- @if (chip.verb) {
9380
- <vp-verb-badge [verb]="chip.verb" />
9381
- }
9382
- <span class="vp-chip__label" data-vp-chip-label>{{ chip.label }}</span>
9383
- @if (chip.count) {
9384
- <span class="vp-chip__count" data-vp-chip-count>{{ chip.count }}</span>
9385
- }
9386
- </button>
9387
- }
9388
- </div>
9388
+ args: [{ selector: 'vp-chip-picker', standalone: true, imports: [VpVerbBadgeComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
9389
+ <div class="vp-chips" role="group" [attr.aria-label]="ariaLabel">
9390
+ @for (chip of chips; track chip.value) {
9391
+ <button type="button" class="vp-chip" [attr.aria-pressed]="chip.value === value" (click)="valueChange.emit(chip.value)">
9392
+ @if (chip.verb) {
9393
+ <vp-verb-badge [verb]="chip.verb" />
9394
+ }
9395
+ <span class="vp-chip__label" data-vp-chip-label>{{ chip.label }}</span>
9396
+ @if (chip.count) {
9397
+ <span class="vp-chip__count" data-vp-chip-count>{{ chip.count }}</span>
9398
+ }
9399
+ </button>
9400
+ }
9401
+ </div>
9389
9402
  `, styles: [":host{display:block;min-width:0;max-width:100%}.vp-chips{display:flex;gap:var(--vp-space-2);min-width:0;max-width:100%;overflow-x:auto;padding-bottom:var(--vp-space-1);font-family:var(--vp-font-sans)}.vp-chip{display:inline-flex;flex:0 0 auto;align-items:center;gap:var(--vp-space-2);min-height:32px;padding:0 var(--vp-space-3);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-full);background:transparent;color:var(--vp-text-secondary);font-size:var(--vp-text-sm);white-space:nowrap;cursor:pointer}.vp-chip[aria-pressed=true]{border-color:var(--vp-border-strong);background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-chip:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-chip__count{color:var(--vp-text-muted);font-variant-numeric:tabular-nums}@media(pointer:coarse),(max-width:640px){.vp-chip{min-height:var(--vp-touch-target)}}\n"] }]
9390
9403
  }], propDecorators: { chips: [{
9391
9404
  type: Input
@@ -11176,7 +11189,7 @@ class VpScoreRingComponent {
11176
11189
  return toSeverity(this.hasValue ? this.value : null, this.scale);
11177
11190
  }
11178
11191
  get color() {
11179
- return severityToken(this.level);
11192
+ return severityColorToken(this.level, this.scale);
11180
11193
  }
11181
11194
  get displayValue() {
11182
11195
  return Math.round(this.value);
@@ -13484,98 +13497,98 @@ class VpButtonComponent {
13484
13497
  this.pressed = new EventEmitter();
13485
13498
  }
13486
13499
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13487
- 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: `
13488
- @if (routerLink !== null) {
13489
- <a
13490
- class="vp-button"
13491
- [attr.data-variant]="variant"
13492
- [attr.data-size]="size"
13493
- [routerLink]="routerLink"
13494
- [attr.aria-disabled]="disabled ? 'true' : null"
13495
- [attr.title]="disabled ? disabledReason : null">
13496
- <ng-container *ngTemplateOutlet="body" />
13497
- </a>
13498
- } @else if (href !== null) {
13499
- <a
13500
- class="vp-button"
13501
- [attr.data-variant]="variant"
13502
- [attr.data-size]="size"
13503
- [href]="href"
13504
- [attr.rel]="external ? 'noopener noreferrer' : null"
13505
- [attr.target]="external ? '_blank' : null">
13506
- <ng-container *ngTemplateOutlet="body" />
13507
- </a>
13508
- } @else {
13509
- <button
13510
- class="vp-button"
13511
- [attr.data-variant]="variant"
13512
- [attr.data-size]="size"
13513
- [type]="type"
13514
- [disabled]="disabled || loading"
13515
- [attr.aria-busy]="loading ? 'true' : null"
13516
- [attr.title]="disabled && disabledReason ? disabledReason : null"
13517
- (click)="pressed.emit($event)">
13518
- <ng-container *ngTemplateOutlet="body" />
13519
- </button>
13520
- }
13521
-
13522
- <ng-template #body>
13523
- @if (icon) {
13524
- <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
13525
- <use [attr.href]="'#vp-icon-' + icon"></use>
13526
- </svg>
13527
- }
13528
- <span class="vp-button__label">{{ label }}</span>
13529
- <ng-content />
13530
- </ng-template>
13500
+ 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: `
13501
+ @if (routerLink !== null) {
13502
+ <a
13503
+ class="vp-button"
13504
+ [attr.data-variant]="variant"
13505
+ [attr.data-size]="size"
13506
+ [routerLink]="routerLink"
13507
+ [attr.aria-disabled]="disabled ? 'true' : null"
13508
+ [attr.title]="disabled ? disabledReason : null">
13509
+ <ng-container *ngTemplateOutlet="body" />
13510
+ </a>
13511
+ } @else if (href !== null) {
13512
+ <a
13513
+ class="vp-button"
13514
+ [attr.data-variant]="variant"
13515
+ [attr.data-size]="size"
13516
+ [href]="href"
13517
+ [attr.rel]="external ? 'noopener noreferrer' : null"
13518
+ [attr.target]="external ? '_blank' : null">
13519
+ <ng-container *ngTemplateOutlet="body" />
13520
+ </a>
13521
+ } @else {
13522
+ <button
13523
+ class="vp-button"
13524
+ [attr.data-variant]="variant"
13525
+ [attr.data-size]="size"
13526
+ [type]="type"
13527
+ [disabled]="disabled || loading"
13528
+ [attr.aria-busy]="loading ? 'true' : null"
13529
+ [attr.title]="disabled && disabledReason ? disabledReason : null"
13530
+ (click)="pressed.emit($event)">
13531
+ <ng-container *ngTemplateOutlet="body" />
13532
+ </button>
13533
+ }
13534
+
13535
+ <ng-template #body>
13536
+ @if (icon) {
13537
+ <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
13538
+ <use [attr.href]="'#vp-icon-' + icon"></use>
13539
+ </svg>
13540
+ }
13541
+ <span class="vp-button__label">{{ label }}</span>
13542
+ <ng-content />
13543
+ </ng-template>
13531
13544
  `, 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 }); }
13532
13545
  }
13533
13546
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpButtonComponent, decorators: [{
13534
13547
  type: Component,
13535
- args: [{ selector: 'vp-button', standalone: true, imports: [NgTemplateOutlet, RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: `
13536
- @if (routerLink !== null) {
13537
- <a
13538
- class="vp-button"
13539
- [attr.data-variant]="variant"
13540
- [attr.data-size]="size"
13541
- [routerLink]="routerLink"
13542
- [attr.aria-disabled]="disabled ? 'true' : null"
13543
- [attr.title]="disabled ? disabledReason : null">
13544
- <ng-container *ngTemplateOutlet="body" />
13545
- </a>
13546
- } @else if (href !== null) {
13547
- <a
13548
- class="vp-button"
13549
- [attr.data-variant]="variant"
13550
- [attr.data-size]="size"
13551
- [href]="href"
13552
- [attr.rel]="external ? 'noopener noreferrer' : null"
13553
- [attr.target]="external ? '_blank' : null">
13554
- <ng-container *ngTemplateOutlet="body" />
13555
- </a>
13556
- } @else {
13557
- <button
13558
- class="vp-button"
13559
- [attr.data-variant]="variant"
13560
- [attr.data-size]="size"
13561
- [type]="type"
13562
- [disabled]="disabled || loading"
13563
- [attr.aria-busy]="loading ? 'true' : null"
13564
- [attr.title]="disabled && disabledReason ? disabledReason : null"
13565
- (click)="pressed.emit($event)">
13566
- <ng-container *ngTemplateOutlet="body" />
13567
- </button>
13568
- }
13569
-
13570
- <ng-template #body>
13571
- @if (icon) {
13572
- <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
13573
- <use [attr.href]="'#vp-icon-' + icon"></use>
13574
- </svg>
13575
- }
13576
- <span class="vp-button__label">{{ label }}</span>
13577
- <ng-content />
13578
- </ng-template>
13548
+ args: [{ selector: 'vp-button', standalone: true, imports: [NgTemplateOutlet, RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: `
13549
+ @if (routerLink !== null) {
13550
+ <a
13551
+ class="vp-button"
13552
+ [attr.data-variant]="variant"
13553
+ [attr.data-size]="size"
13554
+ [routerLink]="routerLink"
13555
+ [attr.aria-disabled]="disabled ? 'true' : null"
13556
+ [attr.title]="disabled ? disabledReason : null">
13557
+ <ng-container *ngTemplateOutlet="body" />
13558
+ </a>
13559
+ } @else if (href !== null) {
13560
+ <a
13561
+ class="vp-button"
13562
+ [attr.data-variant]="variant"
13563
+ [attr.data-size]="size"
13564
+ [href]="href"
13565
+ [attr.rel]="external ? 'noopener noreferrer' : null"
13566
+ [attr.target]="external ? '_blank' : null">
13567
+ <ng-container *ngTemplateOutlet="body" />
13568
+ </a>
13569
+ } @else {
13570
+ <button
13571
+ class="vp-button"
13572
+ [attr.data-variant]="variant"
13573
+ [attr.data-size]="size"
13574
+ [type]="type"
13575
+ [disabled]="disabled || loading"
13576
+ [attr.aria-busy]="loading ? 'true' : null"
13577
+ [attr.title]="disabled && disabledReason ? disabledReason : null"
13578
+ (click)="pressed.emit($event)">
13579
+ <ng-container *ngTemplateOutlet="body" />
13580
+ </button>
13581
+ }
13582
+
13583
+ <ng-template #body>
13584
+ @if (icon) {
13585
+ <svg class="vp-button__icon" aria-hidden="true" viewBox="0 0 24 24" focusable="false">
13586
+ <use [attr.href]="'#vp-icon-' + icon"></use>
13587
+ </svg>
13588
+ }
13589
+ <span class="vp-button__label">{{ label }}</span>
13590
+ <ng-content />
13591
+ </ng-template>
13579
13592
  `, 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"] }]
13580
13593
  }], propDecorators: { label: [{
13581
13594
  type: Input,