@virusis/angular-ui 0.2.2 → 0.2.4

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.
@@ -1041,6 +1041,8 @@ class VpShellComponent {
1041
1041
  */
1042
1042
  this.menuMode = 'static';
1043
1043
  this.collapsedChange = new EventEmitter();
1044
+ /** Kota kartindaki eylem (`quota.action`, ornegin "Yukselt") tiklandi; hedefe konsol gider - kabuk Router bilmiyor. */
1045
+ this.quotaAction = new EventEmitter();
1044
1046
  /** Dil secenekleri - bos birakilirsa denetim cizilmiyor. */
1045
1047
  this.languages = [];
1046
1048
  this.languageLabel = 'Dil';
@@ -1136,7 +1138,7 @@ class VpShellComponent {
1136
1138
  });
1137
1139
  }
1138
1140
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1139
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpShellComponent, isStandalone: true, selector: "vp-shell", inputs: { sidebarId: "sidebarId", layout: "layout", menuMode: "menuMode", quota: "quota", languages: "languages", language: "language", languageLabel: "languageLabel", menuOpenLabel: "menuOpenLabel", menuCloseLabel: "menuCloseLabel", collapsed: "collapsed", skipLabel: "skipLabel" }, outputs: { collapsedChange: "collapsedChange", languageChange: "languageChange" }, host: { listeners: { "document:keydown.escape": "onEscape()" }, properties: { "attr.data-vp-layout": "layout" } }, viewQueries: [{ propertyName: "sidebarRef", first: true, predicate: ["sidebar"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
1141
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpShellComponent, isStandalone: true, selector: "vp-shell", inputs: { sidebarId: "sidebarId", layout: "layout", menuMode: "menuMode", quota: "quota", languages: "languages", language: "language", languageLabel: "languageLabel", menuOpenLabel: "menuOpenLabel", menuCloseLabel: "menuCloseLabel", collapsed: "collapsed", skipLabel: "skipLabel" }, outputs: { collapsedChange: "collapsedChange", quotaAction: "quotaAction", languageChange: "languageChange" }, host: { listeners: { "document:keydown.escape": "onEscape()" }, properties: { "attr.data-vp-layout": "layout" } }, viewQueries: [{ propertyName: "sidebarRef", first: true, predicate: ["sidebar"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
1140
1142
  <!-- Atlama baglantisi DOM'da ILK odaklanabilir oge olmali.
1141
1143
  Klavye kullanicisi her sayfada menuyu bastan gecmek zorunda kalmasin. -->
1142
1144
  <a class="vp-skip" data-vp-skip href="#vp-main">{{ skipLabel }}</a>
@@ -1221,6 +1223,17 @@ class VpShellComponent {
1221
1223
  basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1222
1224
  demektir.
1223
1225
  -->
1226
+ @if (quota.active) {
1227
+ <!-- Prototip .scan-badge: suren tarama kotanin USTUNDE; rayda yalniz nokta (metin title'da). -->
1228
+ <p
1229
+ class="vp-shell__scan-badge"
1230
+ data-vp-quota-active
1231
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1232
+ [attr.title]="collapsed ? quota.active : null">
1233
+ <i class="vp-shell__scan-dot" aria-hidden="true"></i>
1234
+ <span class="vp-shell__scan-text">{{ quota.active }}</span>
1235
+ </p>
1236
+ }
1224
1237
  <div
1225
1238
  class="vp-shell__quota"
1226
1239
  data-vp-quota
@@ -1228,6 +1241,8 @@ class VpShellComponent {
1228
1241
  [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1229
1242
  [attr.title]="collapsed ? quotaText : null">
1230
1243
  <div class="vp-shell__quota-head">
1244
+ <!-- Prototip .quota__h svg: saat ikonu; rayda yalniz bu kaliyor (kutu bos gorunmesin). -->
1245
+ <span class="pi pi-clock vp-shell__quota-icon" data-vp-quota-icon aria-hidden="true"></span>
1231
1246
  <span class="vp-shell__quota-label">{{ quota.label }}</span>
1232
1247
  <span class="vp-shell__quota-value">{{ quotaText }}</span>
1233
1248
  </div>
@@ -1258,8 +1273,19 @@ class VpShellComponent {
1258
1273
  <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1259
1274
  }
1260
1275
  </div>
1261
- @if (quota.hint && !collapsed) {
1262
- <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1276
+ @if ((quota.hint || quota.action) && !collapsed) {
1277
+ <div class="vp-shell__quota-foot">
1278
+ @if (quota.hint) {
1279
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1280
+ }
1281
+ @if (quota.action) {
1282
+ <button
1283
+ type="button"
1284
+ class="vp-shell__quota-action"
1285
+ data-vp-quota-action
1286
+ (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1287
+ }
1288
+ </div>
1263
1289
  }
1264
1290
  </div>
1265
1291
  }
@@ -1322,7 +1348,7 @@ class VpShellComponent {
1322
1348
  contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1323
1349
  -->
1324
1350
  <ng-content select="[footer]" />
1325
- `, isInline: true, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__sidebar{display:flex;flex-direction:column}.vp-shell__sidebar-scroll{flex:1;min-height:0;overflow-y:auto}.vp-shell__sidebar-foot{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--vp-space-3);padding:var(--vp-space-3);border-top:1px solid var(--vp-border-subtle)}.vp-shell__sidebar-foot:empty{display:none}.vp-shell__quota-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--vp-space-2);margin-bottom:var(--vp-space-2);font-size:var(--vp-text-xs)}.vp-shell__quota-label{color:var(--vp-text-secondary)}.vp-shell__quota-value{color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-shell__quota-bar{display:flex;block-size:6px;border-radius:var(--vp-radius-full, 999px);background:var(--vp-surface-sunken);overflow:hidden}.vp-shell__quota-fill{display:block;block-size:100%;border-radius:inherit;background:var(--vp-brand-500, var(--vp-focus-ring));transition:inline-size var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__quota[data-vp-quota-level=warn] .vp-shell__quota-fill{background:var(--vp-sev-high)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-fill{background:var(--vp-sev-critical)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-value{color:var(--vp-sev-critical)}.vp-shell__quota-hint{margin:var(--vp-space-2) 0 0;color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-shell__quota-fill--segment{border-radius:0}.vp-shell__quota-fill--segment+.vp-shell__quota-fill--segment{border-inline-start:1px solid var(--vp-surface-raised)}.vp-shell__quota[data-vp-quota-compact] .vp-shell__quota-head{display:none}.vp-shell__lang{display:flex;flex-wrap:wrap;gap:var(--vp-space-1)}.vp-shell__lang-option{flex:1 1 auto;min-height:var(--vp-control-height);padding:0 var(--vp-space-2);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-xs);cursor:pointer}.vp-shell__lang-option:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option[aria-pressed=true]{border-color:var(--vp-border-default);background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__main{flex:1;min-width:0;padding:var(--vp-space-6);outline:none}.vp-shell__sidebar[data-overlay]{position:fixed;inset-block:0;left:0;z-index:30;width:min(var(--vp-sidebar-width),82vw);flex-basis:auto;transform:translate(0);transition:transform var(--vp-duration-base) var(--vp-ease-standard);box-shadow:var(--vp-shadow-lg)}.vp-shell__sidebar[data-overlay][data-collapsed]{transform:translate(-100%);width:min(var(--vp-sidebar-width),82vw);box-shadow:none}@media(max-width:900px){.vp-shell__main{padding:var(--vp-space-4)}}.vp-shell__drawer-toggle{display:inline-grid;place-items:center;width:44px;height:44px;margin-inline-end:var(--vp-space-2);border:0;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-shell__drawer-toggle:hover{background:var(--vp-surface-sunken, rgb(255 255 255 / 6%))}.vp-shell__drawer-toggle:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__burger,.vp-shell__burger:before,.vp-shell__burger:after{display:block;width:18px;height:2px;border-radius:1px;background:currentColor}.vp-shell__burger{position:relative}.vp-shell__burger:before,.vp-shell__burger:after{content:\"\";position:absolute;left:0}.vp-shell__burger:before{top:-6px}.vp-shell__burger:after{top:6px}.vp-shell__mask{position:fixed;inset:0;z-index:29;background:var(--vp-scrim, rgb(0 0 0 / 45%))}@media(prefers-reduced-motion:reduce){.vp-skip,.vp-shell__sidebar{transition:none}}.vp-shell__sidebar-head:empty,.vp-shell__crumbs:empty{display:none}.vp-shell__sidebar-head{display:flex;flex-direction:column;gap:12px;padding:14px 12px 0}.vp-shell__crumbs{display:flex;align-items:center;gap:8px;margin-bottom:6px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar:not([data-overlay]){position:sticky;top:0;align-self:flex-start;height:100dvh}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-scroll{padding-top:12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay][data-collapsed]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__main{padding:18px 24px 44px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__topbar{height:52px;gap:10px;padding-inline:10px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-foot{gap:2px;padding:8px 12px 12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota{display:grid;gap:7px;margin-block:4px;padding:9px 10px;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-head{margin-bottom:0;font-size:var(--vp-text-sm)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-value{font-family:var(--vp-font-mono)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-bar{background:var(--vp-surface-sunken)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-fill{background:var(--vp-brand-line)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-hint{margin:0}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-head{padding:14px 9px;align-items:center}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-scroll{border-top:1px solid var(--vp-border-subtle);padding-top:9px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__quota{padding:7px 5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1351
+ `, isInline: true, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__sidebar{display:flex;flex-direction:column}.vp-shell__sidebar-scroll{flex:1;min-height:0;overflow-y:auto}.vp-shell__sidebar-foot{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--vp-space-3);padding:var(--vp-space-3);border-top:1px solid var(--vp-border-subtle)}.vp-shell__sidebar-foot:empty{display:none}.vp-shell__quota-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--vp-space-2);margin-bottom:var(--vp-space-2);font-size:var(--vp-text-xs)}.vp-shell__quota-label{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-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 }); }
1326
1352
  }
1327
1353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, decorators: [{
1328
1354
  type: Component,
@@ -1411,6 +1437,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1411
1437
  basina esik tanimlamak, iki ekranda iki farkli "dolmak uzere"
1412
1438
  demektir.
1413
1439
  -->
1440
+ @if (quota.active) {
1441
+ <!-- Prototip .scan-badge: suren tarama kotanin USTUNDE; rayda yalniz nokta (metin title'da). -->
1442
+ <p
1443
+ class="vp-shell__scan-badge"
1444
+ data-vp-quota-active
1445
+ [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1446
+ [attr.title]="collapsed ? quota.active : null">
1447
+ <i class="vp-shell__scan-dot" aria-hidden="true"></i>
1448
+ <span class="vp-shell__scan-text">{{ quota.active }}</span>
1449
+ </p>
1450
+ }
1414
1451
  <div
1415
1452
  class="vp-shell__quota"
1416
1453
  data-vp-quota
@@ -1418,6 +1455,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1418
1455
  [attr.data-vp-quota-compact]="collapsed ? 'true' : null"
1419
1456
  [attr.title]="collapsed ? quotaText : null">
1420
1457
  <div class="vp-shell__quota-head">
1458
+ <!-- Prototip .quota__h svg: saat ikonu; rayda yalniz bu kaliyor (kutu bos gorunmesin). -->
1459
+ <span class="pi pi-clock vp-shell__quota-icon" data-vp-quota-icon aria-hidden="true"></span>
1421
1460
  <span class="vp-shell__quota-label">{{ quota.label }}</span>
1422
1461
  <span class="vp-shell__quota-value">{{ quotaText }}</span>
1423
1462
  </div>
@@ -1448,8 +1487,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1448
1487
  <span class="vp-shell__quota-fill" [style.inline-size.%]="quotaPercent"></span>
1449
1488
  }
1450
1489
  </div>
1451
- @if (quota.hint && !collapsed) {
1452
- <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1490
+ @if ((quota.hint || quota.action) && !collapsed) {
1491
+ <div class="vp-shell__quota-foot">
1492
+ @if (quota.hint) {
1493
+ <p class="vp-shell__quota-hint">{{ quota.hint }}</p>
1494
+ }
1495
+ @if (quota.action) {
1496
+ <button
1497
+ type="button"
1498
+ class="vp-shell__quota-action"
1499
+ data-vp-quota-action
1500
+ (click)="quotaAction.emit()">{{ quota.action.label }}</button>
1501
+ }
1502
+ </div>
1453
1503
  }
1454
1504
  </div>
1455
1505
  }
@@ -1512,7 +1562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1512
1562
  contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1513
1563
  -->
1514
1564
  <ng-content select="[footer]" />
1515
- `, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__sidebar{display:flex;flex-direction:column}.vp-shell__sidebar-scroll{flex:1;min-height:0;overflow-y:auto}.vp-shell__sidebar-foot{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--vp-space-3);padding:var(--vp-space-3);border-top:1px solid var(--vp-border-subtle)}.vp-shell__sidebar-foot:empty{display:none}.vp-shell__quota-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--vp-space-2);margin-bottom:var(--vp-space-2);font-size:var(--vp-text-xs)}.vp-shell__quota-label{color:var(--vp-text-secondary)}.vp-shell__quota-value{color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-shell__quota-bar{display:flex;block-size:6px;border-radius:var(--vp-radius-full, 999px);background:var(--vp-surface-sunken);overflow:hidden}.vp-shell__quota-fill{display:block;block-size:100%;border-radius:inherit;background:var(--vp-brand-500, var(--vp-focus-ring));transition:inline-size var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__quota[data-vp-quota-level=warn] .vp-shell__quota-fill{background:var(--vp-sev-high)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-fill{background:var(--vp-sev-critical)}.vp-shell__quota[data-vp-quota-level=critical] .vp-shell__quota-value{color:var(--vp-sev-critical)}.vp-shell__quota-hint{margin:var(--vp-space-2) 0 0;color:var(--vp-text-muted);font-size:var(--vp-text-xs);line-height:var(--vp-leading-tight)}.vp-shell__quota-fill--segment{border-radius:0}.vp-shell__quota-fill--segment+.vp-shell__quota-fill--segment{border-inline-start:1px solid var(--vp-surface-raised)}.vp-shell__quota[data-vp-quota-compact] .vp-shell__quota-head{display:none}.vp-shell__lang{display:flex;flex-wrap:wrap;gap:var(--vp-space-1)}.vp-shell__lang-option{flex:1 1 auto;min-height:var(--vp-control-height);padding:0 var(--vp-space-2);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-xs);cursor:pointer}.vp-shell__lang-option:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option[aria-pressed=true]{border-color:var(--vp-border-default);background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-shell__lang-option:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__main{flex:1;min-width:0;padding:var(--vp-space-6);outline:none}.vp-shell__sidebar[data-overlay]{position:fixed;inset-block:0;left:0;z-index:30;width:min(var(--vp-sidebar-width),82vw);flex-basis:auto;transform:translate(0);transition:transform var(--vp-duration-base) var(--vp-ease-standard);box-shadow:var(--vp-shadow-lg)}.vp-shell__sidebar[data-overlay][data-collapsed]{transform:translate(-100%);width:min(var(--vp-sidebar-width),82vw);box-shadow:none}@media(max-width:900px){.vp-shell__main{padding:var(--vp-space-4)}}.vp-shell__drawer-toggle{display:inline-grid;place-items:center;width:44px;height:44px;margin-inline-end:var(--vp-space-2);border:0;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-shell__drawer-toggle:hover{background:var(--vp-surface-sunken, rgb(255 255 255 / 6%))}.vp-shell__drawer-toggle:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__burger,.vp-shell__burger:before,.vp-shell__burger:after{display:block;width:18px;height:2px;border-radius:1px;background:currentColor}.vp-shell__burger{position:relative}.vp-shell__burger:before,.vp-shell__burger:after{content:\"\";position:absolute;left:0}.vp-shell__burger:before{top:-6px}.vp-shell__burger:after{top:6px}.vp-shell__mask{position:fixed;inset:0;z-index:29;background:var(--vp-scrim, rgb(0 0 0 / 45%))}@media(prefers-reduced-motion:reduce){.vp-skip,.vp-shell__sidebar{transition:none}}.vp-shell__sidebar-head:empty,.vp-shell__crumbs:empty{display:none}.vp-shell__sidebar-head{display:flex;flex-direction:column;gap:12px;padding:14px 12px 0}.vp-shell__crumbs{display:flex;align-items:center;gap:8px;margin-bottom:6px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar:not([data-overlay]){position:sticky;top:0;align-self:flex-start;height:100dvh}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-scroll{padding-top:12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-overlay][data-collapsed]{width:min(272px,82vw)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__main{padding:18px 24px 44px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__topbar{height:52px;gap:10px;padding-inline:10px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar-foot{gap:2px;padding:8px 12px 12px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota{display:grid;gap:7px;margin-block:4px;padding:9px 10px;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-head{margin-bottom:0;font-size:var(--vp-text-sm)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-value{font-family:var(--vp-font-mono)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-bar{background:var(--vp-surface-sunken)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-fill{background:var(--vp-brand-line)}:host([data-vp-layout=\"sidebar\"]) .vp-shell__quota-hint{margin:0}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-head{padding:14px 9px;align-items:center}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__sidebar-scroll{border-top:1px solid var(--vp-border-subtle);padding-top:9px}:host([data-vp-layout=\"sidebar\"]) .vp-shell__sidebar[data-collapsed]:not([data-overlay]) .vp-shell__quota{padding:7px 5px}\n"] }]
1565
+ `, styles: [":host{display:flex;flex-direction:column;min-height:100dvh;background:var(--vp-surface-base);color:var(--vp-text-primary);font-family:var(--vp-font-sans);font-size:var(--vp-text-base)}.vp-skip{position:absolute;top:0;left:var(--vp-space-4);z-index:100;transform:translateY(-120%);padding:var(--vp-space-2) var(--vp-space-4);border-radius:0 0 var(--vp-radius-md) var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);text-decoration:none;transition:transform var(--vp-duration-fast) var(--vp-ease-standard)}.vp-skip:focus-visible{transform:translateY(0);outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-shell__topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;height:var(--vp-header-height);padding-inline:var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised)}.vp-shell__body{display:flex;flex:1;min-height:0}.vp-shell__sidebar{flex:0 0 var(--vp-sidebar-width);width:var(--vp-sidebar-width);border-right:1px solid var(--vp-border-subtle);background:var(--vp-surface-raised);overflow-y:auto;transition:flex-basis var(--vp-duration-base) var(--vp-ease-standard),width var(--vp-duration-base) var(--vp-ease-standard)}.vp-shell__sidebar[data-collapsed]{flex-basis:var(--vp-sidebar-collapsed);width:var(--vp-sidebar-collapsed)}.vp-shell__sidebar{display:flex;flex-direction:column}.vp-shell__sidebar-scroll{flex:1;min-height:0;overflow-y:auto}.vp-shell__sidebar-foot{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--vp-space-3);padding:var(--vp-space-3);border-top:1px solid var(--vp-border-subtle)}.vp-shell__sidebar-foot:empty{display:none}.vp-shell__quota-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--vp-space-2);margin-bottom:var(--vp-space-2);font-size:var(--vp-text-xs)}.vp-shell__quota-label{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-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"] }]
1516
1566
  }], ctorParameters: () => [], propDecorators: { sidebarId: [{
1517
1567
  type: Input
1518
1568
  }], layout: [{
@@ -1521,6 +1571,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1521
1571
  type: Input
1522
1572
  }], collapsedChange: [{
1523
1573
  type: Output
1574
+ }], quotaAction: [{
1575
+ type: Output
1524
1576
  }], quota: [{
1525
1577
  type: Input
1526
1578
  }], languages: [{
@@ -4983,7 +5035,7 @@ class VpSearchTriggerComponent {
4983
5035
  }
4984
5036
  }
4985
5037
  </button>
4986
- `, isInline: true, styles: [":host ::ng-deep .vp-search-trigger{display:inline-flex;align-items:center;gap:var(--vp-space-2, .5rem);min-width:14rem;justify-content:flex-start;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-md, 6px);color:var(--vp-text-muted, #8b949e)}.vp-search-trigger__label{flex:1;text-align:left;font-weight:400}.vp-search-trigger__hint{padding:.05rem .35rem;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-sm, 4px);font-family:var(--vp-font-mono, ui-monospace, monospace);font-size:var(--vp-font-size-xs, .75rem);line-height:1.4}@media(max-width:900px){:host ::ng-deep .vp-search-trigger[data-vp-search-variant=bar]{min-width:0}[data-vp-search-variant=bar] .vp-search-trigger__label,[data-vp-search-variant=bar] .vp-search-trigger__hint{display:none}}:host([data-variant=\"field\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=field]{width:100%;min-width:0;min-height:32px;padding:6px 10px;gap:8px;border-color:var(--vp-border-subtle);border-radius:var(--vp-radius-md);background:var(--vp-surface-base);font-size:var(--vp-text-sm)}:host([data-variant=\"rail\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail]{display:grid;place-items:center;width:40px;min-width:0;height:40px;margin:0 auto;padding:0;border:0;border-radius:var(--vp-radius-xl);color:var(--vp-text-secondary)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5038
+ `, 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 }); }
4987
5039
  }
4988
5040
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSearchTriggerComponent, decorators: [{
4989
5041
  type: Component,
@@ -5011,7 +5063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
5011
5063
  }
5012
5064
  }
5013
5065
  </button>
5014
- `, styles: [":host ::ng-deep .vp-search-trigger{display:inline-flex;align-items:center;gap:var(--vp-space-2, .5rem);min-width:14rem;justify-content:flex-start;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-md, 6px);color:var(--vp-text-muted, #8b949e)}.vp-search-trigger__label{flex:1;text-align:left;font-weight:400}.vp-search-trigger__hint{padding:.05rem .35rem;border:1px solid var(--vp-border-subtle, #30363d);border-radius:var(--vp-radius-sm, 4px);font-family:var(--vp-font-mono, ui-monospace, monospace);font-size:var(--vp-font-size-xs, .75rem);line-height:1.4}@media(max-width:900px){:host ::ng-deep .vp-search-trigger[data-vp-search-variant=bar]{min-width:0}[data-vp-search-variant=bar] .vp-search-trigger__label,[data-vp-search-variant=bar] .vp-search-trigger__hint{display:none}}:host([data-variant=\"field\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=field]{width:100%;min-width:0;min-height:32px;padding:6px 10px;gap:8px;border-color:var(--vp-border-subtle);border-radius:var(--vp-radius-md);background:var(--vp-surface-base);font-size:var(--vp-text-sm)}:host([data-variant=\"rail\"]){display:block}:host ::ng-deep .vp-search-trigger[data-vp-search-variant=rail]{display:grid;place-items:center;width:40px;min-width:0;height:40px;margin:0 auto;padding:0;border:0;border-radius:var(--vp-radius-xl);color:var(--vp-text-secondary)}\n"] }]
5066
+ `, 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"] }]
5015
5067
  }], propDecorators: { label: [{
5016
5068
  type: Input
5017
5069
  }], variant: [{
@@ -11756,11 +11808,327 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
11756
11808
  type: Output
11757
11809
  }] } });
11758
11810
 
11811
+ /**
11812
+ * Geri bildirim altyapısı — mobil uygulamayla BİREBİR (spec design-system/004).
11813
+ *
11814
+ * Mobil (`VirusProofUI-Mobile-Flutter/docs/FEEDBACK.md`) Userback'in resmi JS embed'ini kullanıyor; mobil SDK ücretli
11815
+ * bir ek olduğu için tek desteklenen yol bu. Web aynı embed'i doğrudan sayfaya koyuyor.
11816
+ *
11817
+ * 🔴 İki hedef, tek düğme. Jeton boşsa ya da köken geçersizse giriş ÖLÜ DEĞİL: uygulama içi form açılıyor.
11818
+ * Boş jeton desteklenen bir durum ve geri dönüş kolu — mobilde de öyle.
11819
+ */
11820
+ /** Belgelenmiş embed. `app.userback.io/widget/<token>` diye barındırılan bir sayfa YOK. */
11821
+ const VP_USERBACK_SCRIPT_URL = 'https://static.userback.io/widget/v1.js';
11822
+ /**
11823
+ * 🔴 Kayıtsız alan adı SESSİZCE hiçbir şey çizmez: betik 200 ile iner, çalışır ve hiçbir olay yaymaz. Zaman aşımı bu
11824
+ * sessizliği yedek forma çeviren tek dedektör (mobilde de 15 sn).
11825
+ */
11826
+ const VP_USERBACK_LOAD_TIMEOUT_MS = 15_000;
11827
+ const VP_FEEDBACK = new InjectionToken('VP_FEEDBACK');
11828
+ /** Mobil `UserbackConfig.resolve` karşılığı: boşluk-yalnız jeton da boş sayılır. */
11829
+ function feedbackDestination(token) {
11830
+ return token?.trim() ? 'userback' : 'form';
11831
+ }
11832
+ /**
11833
+ * Userback'e giden ek veri — YALNIZ yapı bilgisi.
11834
+ *
11835
+ * 🔴 Kullanıcı kimliği, e-posta, ad, cihaz kimliği, tarama içeriği, jeton GÖNDERİLMİYOR (mobil § Privacy). İletişim
11836
+ * isteyen kullanıcı Userback formuna kendisi yazar; o eylem rızadır, uygulama önceden doldurmaz.
11837
+ */
11838
+ function userbackCustomData(config) {
11839
+ const data = { platform: 'web', console: config.console, environment: config.environment };
11840
+ if (config.appVersion)
11841
+ data['app_version'] = config.appVersion;
11842
+ return data;
11843
+ }
11844
+ class VpUserbackLoader {
11845
+ constructor() {
11846
+ this.document = inject(DOCUMENT);
11847
+ this.ready = false;
11848
+ this.pending = null;
11849
+ }
11850
+ /**
11851
+ * Formu açar; açılamadıysa `false` (çağıran yedek forma düşer).
11852
+ *
11853
+ * İlk çağrı betiği BİR kez yükler; `trigger_type: 'api'` betikten ÖNCE atanıyor, yoksa Userback kendi yüzen
11854
+ * "FEEDBACK" düğmesini çizer. Hazır widget'ta doğrudan `open()`.
11855
+ */
11856
+ open(token, customData, timeoutMs = VP_USERBACK_LOAD_TIMEOUT_MS) {
11857
+ const win = this.document.defaultView;
11858
+ if (!win)
11859
+ return Promise.resolve(false);
11860
+ if (this.ready && win.Userback?.open) {
11861
+ win.Userback.open();
11862
+ return Promise.resolve(true);
11863
+ }
11864
+ this.pending ??= this.load(win, token.trim(), customData, timeoutMs);
11865
+ return this.pending;
11866
+ }
11867
+ load(win, token, customData, timeoutMs) {
11868
+ return new Promise((resolve) => {
11869
+ const script = this.document.createElement('script');
11870
+ let settled = false;
11871
+ const settle = (ok) => {
11872
+ if (settled)
11873
+ return;
11874
+ settled = true;
11875
+ win.clearTimeout(timer);
11876
+ this.ready = ok;
11877
+ this.pending = null;
11878
+ // Başarısız yükleme bir sonraki tıklamada yeniden denenebilsin: yarım kalan betik belgede durmasın.
11879
+ if (!ok)
11880
+ script.remove();
11881
+ resolve(ok);
11882
+ };
11883
+ const timer = win.setTimeout(() => settle(false), timeoutMs);
11884
+ win.Userback = {
11885
+ ...(win.Userback ?? {}),
11886
+ access_token: token,
11887
+ widget_settings: { trigger_type: 'api' },
11888
+ custom_data: customData,
11889
+ user_data: { info: customData },
11890
+ on_load: () => {
11891
+ win.Userback?.open?.();
11892
+ settle(true);
11893
+ },
11894
+ };
11895
+ script.async = true;
11896
+ script.src = VP_USERBACK_SCRIPT_URL;
11897
+ script.setAttribute('data-vp-userback', '');
11898
+ script.onerror = () => settle(false);
11899
+ this.document.head.appendChild(script);
11900
+ });
11901
+ }
11902
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserbackLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11903
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserbackLoader, providedIn: 'root' }); }
11904
+ }
11905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserbackLoader, decorators: [{
11906
+ type: Injectable,
11907
+ args: [{ providedIn: 'root' }]
11908
+ }] });
11909
+
11910
+ /** Prototip metinleri; konsol kendi çevirisini `labels` ile verir. */
11911
+ const VP_FEEDBACK_LABELS_TR = {
11912
+ entry: 'Geri bildirim',
11913
+ title: 'Geri bildirim',
11914
+ topic: 'Konu',
11915
+ text: 'Ne oldu?',
11916
+ placeholder: 'Beklediğin ile gördüğün arasındaki farkı yazman yeter.',
11917
+ context: 'Ekleniyor: ekran',
11918
+ cancel: 'Vazgeç',
11919
+ submit: 'Gönder',
11920
+ close: 'Kapat',
11921
+ sent: 'Teşekkürler, geri bildirimin alındı.',
11922
+ failed: 'Gönderilemedi. Tekrar dene.',
11923
+ noCategories: 'Konular yüklenemedi.',
11924
+ };
11925
+ /**
11926
+ * Kenar çubuğu ayağındaki "Geri bildirim" — prototip `data-feedback` maddesi + `#feedbackModal` (spec design-system/004).
11927
+ *
11928
+ * Mobil uygulamayla birebir: jeton varsa Userback formu, yoksa ya da Userback açılamazsa uygulama içi form. Konsol
11929
+ * yalnız `VP_FEEDBACK` yapılandırmasını veriyor; hangi hedefin açılacağına bu bileşen karar veriyor, düğme aynı.
11930
+ */
11931
+ class VpFeedbackEntryComponent {
11932
+ constructor() {
11933
+ this.config = inject(VP_FEEDBACK, { optional: true });
11934
+ this.loader = inject(VpUserbackLoader);
11935
+ this.document = inject(DOCUMENT);
11936
+ /** Rayda yalnız ikon; ad `title` ve `aria-label`'da. */
11937
+ this.collapsed = false;
11938
+ this.labels = VP_FEEDBACK_LABELS_TR;
11939
+ this.opening = signal(false, ...(ngDevMode ? [{ debugName: "opening" }] : []));
11940
+ this.formOpen = signal(false, ...(ngDevMode ? [{ debugName: "formOpen" }] : []));
11941
+ this.categories = signal([], ...(ngDevMode ? [{ debugName: "categories" }] : []));
11942
+ this.categoryId = signal(null, ...(ngDevMode ? [{ debugName: "categoryId" }] : []));
11943
+ this.text = signal('', ...(ngDevMode ? [{ debugName: "text" }] : []));
11944
+ this.status = signal(null, ...(ngDevMode ? [{ debugName: "status" }] : []));
11945
+ this.submitting = signal(false, ...(ngDevMode ? [{ debugName: "submitting" }] : []));
11946
+ }
11947
+ /** Mobil `FeedbackFab._openDestination`: hedef tıklama anında, yapılandırmadan çözülüyor. */
11948
+ async openFeedback() {
11949
+ if (this.opening())
11950
+ return;
11951
+ const token = this.config?.userbackAccessToken ?? '';
11952
+ if (this.config && feedbackDestination(token) === 'userback') {
11953
+ this.opening.set(true);
11954
+ const opened = await this.loader.open(token, userbackCustomData(this.config));
11955
+ this.opening.set(false);
11956
+ if (opened)
11957
+ return;
11958
+ }
11959
+ await this.showForm();
11960
+ }
11961
+ canSubmit() {
11962
+ return !this.submitting() && this.categoryId() !== null && this.text().trim().length > 0;
11963
+ }
11964
+ pickCategory(event) {
11965
+ const id = Number(event.target.value);
11966
+ this.categoryId.set(Number.isFinite(id) ? id : null);
11967
+ }
11968
+ async send() {
11969
+ const category = this.categories().find((item) => item.id === this.categoryId());
11970
+ if (!this.config || !category || !this.canSubmit())
11971
+ return;
11972
+ this.submitting.set(true);
11973
+ this.status.set(null);
11974
+ const result = await this.config
11975
+ .submit({
11976
+ categoryId: category.id,
11977
+ typeId: category.typeId,
11978
+ text: this.text().trim(),
11979
+ screen: this.document.location?.pathname ?? '',
11980
+ })
11981
+ .catch(() => ({ ok: false, reason: undefined }));
11982
+ this.submitting.set(false);
11983
+ if (result.ok) {
11984
+ this.text.set('');
11985
+ this.status.set(this.labels.sent);
11986
+ return;
11987
+ }
11988
+ this.status.set(result.reason ?? this.labels.failed);
11989
+ }
11990
+ closeForm() {
11991
+ this.formOpen.set(false);
11992
+ this.status.set(null);
11993
+ }
11994
+ async showForm() {
11995
+ this.status.set(null);
11996
+ this.formOpen.set(true);
11997
+ if (this.categories().length || !this.config)
11998
+ return;
11999
+ const list = await this.config.categories().catch(() => []);
12000
+ this.categories.set(list);
12001
+ this.categoryId.set(list[0]?.id ?? null);
12002
+ if (!list.length)
12003
+ this.status.set(this.labels.noCategories);
12004
+ }
12005
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFeedbackEntryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12006
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpFeedbackEntryComponent, isStandalone: true, selector: "vp-feedback-entry", inputs: { collapsed: "collapsed", labels: "labels" }, host: { properties: { "attr.data-vp-collapsed": "collapsed ? \"\" : null" } }, ngImport: i0, template: `
12007
+ <button
12008
+ type="button"
12009
+ class="vp-feedback-entry__button"
12010
+ data-vp-feedback-entry
12011
+ [disabled]="opening()"
12012
+ [attr.aria-label]="collapsed ? labels.entry : null"
12013
+ [attr.title]="collapsed ? labels.entry : null"
12014
+ (click)="openFeedback()">
12015
+ <svg class="vp-feedback-entry__icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
12016
+ <path d="M3 3.4h10v7.2H8.2L5.4 13.2v-2.6H3Z" />
12017
+ </svg>
12018
+ @if (!collapsed) {
12019
+ <span class="vp-feedback-entry__label">{{ labels.entry }}</span>
12020
+ }
12021
+ </button>
12022
+
12023
+ <vp-dialog [open]="formOpen()" [title]="labels.title" [closeLabel]="labels.close" (closed)="closeForm()">
12024
+ <div class="vp-feedback-form" data-vp-feedback-form>
12025
+ <label class="vp-feedback-form__field">
12026
+ <span class="vp-feedback-form__label">{{ labels.topic }}</span>
12027
+ <select
12028
+ class="vp-feedback-form__control"
12029
+ data-vp-feedback-topic
12030
+ [value]="categoryId() ?? ''"
12031
+ (change)="pickCategory($event)">
12032
+ @for (category of categories(); track category.id) {
12033
+ <option [value]="category.id">{{ category.label }}</option>
12034
+ }
12035
+ </select>
12036
+ </label>
12037
+ <label class="vp-feedback-form__field">
12038
+ <span class="vp-feedback-form__label">{{ labels.text }}</span>
12039
+ <textarea
12040
+ class="vp-feedback-form__control vp-feedback-form__text"
12041
+ data-vp-feedback-text
12042
+ [placeholder]="labels.placeholder"
12043
+ [value]="text()"
12044
+ (input)="text.set($any($event.target).value)"></textarea>
12045
+ </label>
12046
+ <p class="vp-feedback-form__context">{{ labels.context }}</p>
12047
+ @if (status(); as message) {
12048
+ <p class="vp-feedback-form__status" data-vp-feedback-status role="status">{{ message }}</p>
12049
+ }
12050
+ </div>
12051
+ <div footer class="vp-feedback-form__foot">
12052
+ <button type="button" class="vp-btn" data-vp-feedback-cancel (click)="closeForm()">{{ labels.cancel }}</button>
12053
+ <button
12054
+ type="button"
12055
+ class="vp-btn vp-btn--primary"
12056
+ data-vp-feedback-submit
12057
+ [disabled]="!canSubmit()"
12058
+ (click)="send()">{{ labels.submit }}</button>
12059
+ </div>
12060
+ </vp-dialog>
12061
+ `, isInline: true, styles: [":host{display:block}.vp-feedback-entry__button{display:flex;align-items:center;gap:var(--vp-space-3);width:100%;min-height:var(--vp-control-height);padding:0 var(--vp-space-3);border:0;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-sm);text-align:left;cursor:pointer}.vp-feedback-entry__button:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-feedback-entry__button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}:host([data-vp-collapsed]) .vp-feedback-entry__button{justify-content:center;padding:0}.vp-feedback-entry__icon{flex:0 0 auto;width:16px;height:16px;opacity:.75}.vp-feedback-entry__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vp-feedback-form{display:grid;gap:12px}.vp-feedback-form__field{display:grid;gap:5px}.vp-feedback-form__label{color:var(--vp-text-muted);font-size:var(--vp-text-xs);letter-spacing:.05em;text-transform:uppercase}.vp-feedback-form__control{min-height:38px;padding:0 11px;border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit;font-size:var(--vp-text-sm)}.vp-feedback-form__text{min-height:96px;padding:9px 11px;resize:vertical}.vp-feedback-form__context{margin:0;color:var(--vp-text-muted);font-family:var(--vp-font-mono, ui-monospace, monospace);font-size:var(--vp-text-xs)}.vp-feedback-form__status{margin:0;color:var(--vp-text-secondary);font-size:var(--vp-text-sm)}.vp-feedback-form__foot{display:flex;justify-content:flex-end;gap:8px}\n"], dependencies: [{ kind: "component", type: VpDialogComponent, selector: "vp-dialog", inputs: ["open", "title", "closeLabel"], outputs: ["closed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12062
+ }
12063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpFeedbackEntryComponent, decorators: [{
12064
+ type: Component,
12065
+ args: [{ selector: 'vp-feedback-entry', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [VpDialogComponent], template: `
12066
+ <button
12067
+ type="button"
12068
+ class="vp-feedback-entry__button"
12069
+ data-vp-feedback-entry
12070
+ [disabled]="opening()"
12071
+ [attr.aria-label]="collapsed ? labels.entry : null"
12072
+ [attr.title]="collapsed ? labels.entry : null"
12073
+ (click)="openFeedback()">
12074
+ <svg class="vp-feedback-entry__icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true">
12075
+ <path d="M3 3.4h10v7.2H8.2L5.4 13.2v-2.6H3Z" />
12076
+ </svg>
12077
+ @if (!collapsed) {
12078
+ <span class="vp-feedback-entry__label">{{ labels.entry }}</span>
12079
+ }
12080
+ </button>
12081
+
12082
+ <vp-dialog [open]="formOpen()" [title]="labels.title" [closeLabel]="labels.close" (closed)="closeForm()">
12083
+ <div class="vp-feedback-form" data-vp-feedback-form>
12084
+ <label class="vp-feedback-form__field">
12085
+ <span class="vp-feedback-form__label">{{ labels.topic }}</span>
12086
+ <select
12087
+ class="vp-feedback-form__control"
12088
+ data-vp-feedback-topic
12089
+ [value]="categoryId() ?? ''"
12090
+ (change)="pickCategory($event)">
12091
+ @for (category of categories(); track category.id) {
12092
+ <option [value]="category.id">{{ category.label }}</option>
12093
+ }
12094
+ </select>
12095
+ </label>
12096
+ <label class="vp-feedback-form__field">
12097
+ <span class="vp-feedback-form__label">{{ labels.text }}</span>
12098
+ <textarea
12099
+ class="vp-feedback-form__control vp-feedback-form__text"
12100
+ data-vp-feedback-text
12101
+ [placeholder]="labels.placeholder"
12102
+ [value]="text()"
12103
+ (input)="text.set($any($event.target).value)"></textarea>
12104
+ </label>
12105
+ <p class="vp-feedback-form__context">{{ labels.context }}</p>
12106
+ @if (status(); as message) {
12107
+ <p class="vp-feedback-form__status" data-vp-feedback-status role="status">{{ message }}</p>
12108
+ }
12109
+ </div>
12110
+ <div footer class="vp-feedback-form__foot">
12111
+ <button type="button" class="vp-btn" data-vp-feedback-cancel (click)="closeForm()">{{ labels.cancel }}</button>
12112
+ <button
12113
+ type="button"
12114
+ class="vp-btn vp-btn--primary"
12115
+ data-vp-feedback-submit
12116
+ [disabled]="!canSubmit()"
12117
+ (click)="send()">{{ labels.submit }}</button>
12118
+ </div>
12119
+ </vp-dialog>
12120
+ `, host: { '[attr.data-vp-collapsed]': 'collapsed ? "" : null' }, styles: [":host{display:block}.vp-feedback-entry__button{display:flex;align-items:center;gap:var(--vp-space-3);width:100%;min-height:var(--vp-control-height);padding:0 var(--vp-space-3);border:0;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-sm);text-align:left;cursor:pointer}.vp-feedback-entry__button:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-feedback-entry__button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}:host([data-vp-collapsed]) .vp-feedback-entry__button{justify-content:center;padding:0}.vp-feedback-entry__icon{flex:0 0 auto;width:16px;height:16px;opacity:.75}.vp-feedback-entry__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vp-feedback-form{display:grid;gap:12px}.vp-feedback-form__field{display:grid;gap:5px}.vp-feedback-form__label{color:var(--vp-text-muted);font-size:var(--vp-text-xs);letter-spacing:.05em;text-transform:uppercase}.vp-feedback-form__control{min-height:38px;padding:0 11px;border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit;font-size:var(--vp-text-sm)}.vp-feedback-form__text{min-height:96px;padding:9px 11px;resize:vertical}.vp-feedback-form__context{margin:0;color:var(--vp-text-muted);font-family:var(--vp-font-mono, ui-monospace, monospace);font-size:var(--vp-text-xs)}.vp-feedback-form__status{margin:0;color:var(--vp-text-secondary);font-size:var(--vp-text-sm)}.vp-feedback-form__foot{display:flex;justify-content:flex-end;gap:8px}\n"] }]
12121
+ }], propDecorators: { collapsed: [{
12122
+ type: Input
12123
+ }], labels: [{
12124
+ type: Input
12125
+ }] } });
12126
+
11759
12127
  // Paket 06 — durum ekranlari
11760
12128
 
11761
12129
  /**
11762
12130
  * Generated bundle index. Do not edit.
11763
12131
  */
11764
12132
 
11765
- export { CONVERSION_MOMENTS, MAX_CONVERSION_PROMPTS_PER_SESSION, TRIAL_ROUTE_MAP, UTF8_BOM, VP_ANON_ID_HEX_LENGTH, VP_ANON_TOKEN_PORT, VP_API_BASE_URLS, VP_APP_KEY, VP_APP_PROMO_DAYS, VP_APP_PROMO_ENV, VP_APP_PROMO_KEY, VP_AUTH_ANON_CHAIN_ORDER, VP_AUTH_CHAIN_ORDER, VP_AUTH_HEALTH_CONFIG, VP_AUTH_SESSION_PORT, VP_AUTH_TOKEN_PORT, VP_CAPTCHA_PORT, VP_CONSOLE_GUARD_ROUTES, VP_CSRF_PORT, VP_DARK_CLASS, VP_DEEP_HEALTH_CONFIG, VP_DEFAULT_RETRY_AFTER_SECONDS, VP_I18N_NAMESPACE, VP_ICON_SPRITE_ID, VP_ISLAND_LABELS, VP_LIGHT_CLASS, VP_MAINTENANCE_PORT, VP_NAVIGATOR_ONLINE, VP_OWNERSHIP_PORT, VP_QUOTA_CRITICAL, VP_QUOTA_PORT, VP_QUOTA_WARN, VP_REDIRECT_MAX_LENGTH, VP_REQUEST_CONTEXT_PORT, VP_SAVED_VIEW_STORE, VP_SCAN_RANGE_MAX_MONTHS, VP_SHARE_TOKEN_PORT, VP_STATE_VARIANTS, VP_TABLE_PREFS_STORE, VP_THEME_STORAGE_KEY, VP_TRACKING_CACHE_TTL_MS, VP_UNSAVED_CHANGES_CONFIRM, VirusisUiModule, VpAnonTokenInterceptor, VpAppKeyInterceptor, VpAppPromoComponent, VpAppStoreEntryComponent, VpAppealFormComponent, VpAuthTokenInterceptor, VpBannerComponent, VpBreadcrumbComponent, VpButtonComponent, VpCaptchaInterceptor, VpCommandPaletteComponent, VpConfirmComponent, VpConnectivityService, VpContextToolbarComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDrawerComponent, VpEngineResultComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpNotificationIslandComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpProductSwitcherComponent, VpRateLimitInterceptor, VpRateLimitService, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpScoreRingComponent, VpSearchTriggerComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStateComponent, VpThemeControlComponent, VpThemeService, VpToastComponent, VpToastService, VpTopbarComponent, VpUsageChartComponent, VpUserMenuComponent, VpVerdictComponent, VpWithCredentialsInterceptor, checkBoth, collectRxBindings, conversionOfferFor, createFocusTrap, createLocalStoragePrefsStore, createLocalStorageViewStore, createScanAnnouncer, createTabSync, currentOrigin, defaultConditionDescriber, defineStaticMenu, findEmptyValues, findMissingKeys, findView, flattenKeys, focusableElements, formatCountdown, formatParityReport, isConditionMet, isPartialFailure, isSameOrigin, isUpStatus, mergeStageUpdate, messageFor, nextPrompt, provideVirusisApiClient, provideVpAuthAnon, provideVpAuthCore, provideVpConsoleGuards, reconcileColumnOrder, registerUnsavedChangesPrompt, removeView, resolveMenuConditions, resolveTrialRedirect, rxServiceKeyOf, shouldSurface, toCsv, toDeepState, toMenuItems, unmatchedRxClasses, upsertView, validateStaticMenu, validateVpRedirectUri, validateVpScanDateRange, verdictFor, visibleColumns, vpAnonIdFrom, vpAuthChainSlotOf, vpAuthGuard, vpAuthHealthGuard, vpAutoDismissMs, vpDeviceFingerprint, vpDeviceRawData, vpEnsureGuid, vpIsIosSafari, vpIslandIsCritical, vpKey, vpOwnershipGuard, vpParseRetryAfter, vpQuotaGuard, vpResolveTrackingId, vpStoreUrlFor, vpUnsavedChangesGuard };
12133
+ export { CONVERSION_MOMENTS, MAX_CONVERSION_PROMPTS_PER_SESSION, TRIAL_ROUTE_MAP, UTF8_BOM, VP_ANON_ID_HEX_LENGTH, VP_ANON_TOKEN_PORT, VP_API_BASE_URLS, VP_APP_KEY, VP_APP_PROMO_DAYS, VP_APP_PROMO_ENV, VP_APP_PROMO_KEY, VP_AUTH_ANON_CHAIN_ORDER, VP_AUTH_CHAIN_ORDER, VP_AUTH_HEALTH_CONFIG, VP_AUTH_SESSION_PORT, VP_AUTH_TOKEN_PORT, VP_CAPTCHA_PORT, VP_CONSOLE_GUARD_ROUTES, VP_CSRF_PORT, VP_DARK_CLASS, VP_DEEP_HEALTH_CONFIG, VP_DEFAULT_RETRY_AFTER_SECONDS, VP_FEEDBACK, VP_FEEDBACK_LABELS_TR, VP_I18N_NAMESPACE, VP_ICON_SPRITE_ID, VP_ISLAND_LABELS, VP_LIGHT_CLASS, VP_MAINTENANCE_PORT, VP_NAVIGATOR_ONLINE, VP_OWNERSHIP_PORT, VP_QUOTA_CRITICAL, VP_QUOTA_PORT, VP_QUOTA_WARN, VP_REDIRECT_MAX_LENGTH, VP_REQUEST_CONTEXT_PORT, VP_SAVED_VIEW_STORE, VP_SCAN_RANGE_MAX_MONTHS, VP_SHARE_TOKEN_PORT, VP_STATE_VARIANTS, VP_TABLE_PREFS_STORE, VP_THEME_STORAGE_KEY, VP_TRACKING_CACHE_TTL_MS, VP_UNSAVED_CHANGES_CONFIRM, VP_USERBACK_LOAD_TIMEOUT_MS, VP_USERBACK_SCRIPT_URL, VirusisUiModule, VpAnonTokenInterceptor, VpAppKeyInterceptor, VpAppPromoComponent, VpAppStoreEntryComponent, VpAppealFormComponent, VpAuthTokenInterceptor, VpBannerComponent, VpBreadcrumbComponent, VpButtonComponent, VpCaptchaInterceptor, VpCommandPaletteComponent, VpConfirmComponent, VpConnectivityService, VpContextToolbarComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDrawerComponent, VpEngineResultComponent, VpFeedbackEntryComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpNotificationIslandComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpProductSwitcherComponent, VpRateLimitInterceptor, VpRateLimitService, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpScoreRingComponent, VpSearchTriggerComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStateComponent, VpThemeControlComponent, VpThemeService, VpToastComponent, VpToastService, VpTopbarComponent, VpUsageChartComponent, VpUserMenuComponent, VpUserbackLoader, VpVerdictComponent, VpWithCredentialsInterceptor, checkBoth, collectRxBindings, conversionOfferFor, createFocusTrap, createLocalStoragePrefsStore, createLocalStorageViewStore, createScanAnnouncer, createTabSync, currentOrigin, defaultConditionDescriber, defineStaticMenu, feedbackDestination, findEmptyValues, findMissingKeys, findView, flattenKeys, focusableElements, formatCountdown, formatParityReport, isConditionMet, isPartialFailure, isSameOrigin, isUpStatus, mergeStageUpdate, messageFor, nextPrompt, provideVirusisApiClient, provideVpAuthAnon, provideVpAuthCore, provideVpConsoleGuards, reconcileColumnOrder, registerUnsavedChangesPrompt, removeView, resolveMenuConditions, resolveTrialRedirect, rxServiceKeyOf, shouldSurface, toCsv, toDeepState, toMenuItems, unmatchedRxClasses, upsertView, userbackCustomData, validateStaticMenu, validateVpRedirectUri, validateVpScanDateRange, verdictFor, visibleColumns, vpAnonIdFrom, vpAuthChainSlotOf, vpAuthGuard, vpAuthHealthGuard, vpAutoDismissMs, vpDeviceFingerprint, vpDeviceRawData, vpEnsureGuid, vpIsIosSafari, vpIslandIsCritical, vpKey, vpOwnershipGuard, vpParseRetryAfter, vpQuotaGuard, vpResolveTrackingId, vpStoreUrlFor, vpUnsavedChangesGuard };
11766
12134
  //# sourceMappingURL=virusis-angular-ui.mjs.map