@virusis/angular-ui 0.2.5 → 0.2.6

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.
@@ -1348,7 +1348,7 @@ class VpShellComponent {
1348
1348
  contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1349
1349
  -->
1350
1350
  <ng-content select="[footer]" />
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 }); }
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;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-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 }); }
1352
1352
  }
1353
1353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShellComponent, decorators: [{
1354
1354
  type: Component,
@@ -1562,7 +1562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
1562
1562
  contentinfo yer isareti degildir - isaret sessizce kaybolurdu.
1563
1563
  -->
1564
1564
  <ng-content select="[footer]" />
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"] }]
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;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-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"] }]
1566
1566
  }], ctorParameters: () => [], propDecorators: { sidebarId: [{
1567
1567
  type: Input
1568
1568
  }], layout: [{
@@ -8112,8 +8112,20 @@ class VpKpiCardComponent {
8112
8112
  /** Onceki doneme gore degisim. `null` ise trend gosterilmez. */
8113
8113
  this.change = null;
8114
8114
  this.hint = null;
8115
+ /**
8116
+ * İsteğe bağlı ilerleme çubuğu (0..100; dışı kırpılır). Verilmezse kart eskisiyle bire bir aynı.
8117
+ * Ton (`progressTone`) tüketiciden; değer metni `value`/`hint` ile zaten yazılıdır.
8118
+ */
8119
+ this.progress = null;
8120
+ this.progressTone = 'ok';
8115
8121
  this.emptyLabel = 'Veri yok';
8116
8122
  }
8123
+ get progressPercent() {
8124
+ const p = this.progress;
8125
+ if (p === null || p === undefined || Number.isNaN(p))
8126
+ return null;
8127
+ return Math.min(100, Math.max(0, p));
8128
+ }
8117
8129
  get direction() {
8118
8130
  const c = this.change ?? 0;
8119
8131
  if (c > 0)
@@ -8135,7 +8147,7 @@ class VpKpiCardComponent {
8135
8147
  }
8136
8148
  }
8137
8149
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpKpiCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8138
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpKpiCardComponent, isStandalone: true, selector: "vp-kpi-card", inputs: { label: "label", value: "value", change: "change", hint: "hint", emptyLabel: "emptyLabel" }, ngImport: i0, template: `
8150
+ 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" }, ngImport: i0, template: `
8139
8151
  <div class="vp-kpi">
8140
8152
  <span class="vp-kpi__label">{{ label }}</span>
8141
8153
 
@@ -8155,13 +8167,26 @@ class VpKpiCardComponent {
8155
8167
  {{ changeText }}
8156
8168
  </span>
8157
8169
  }
8170
+
8171
+ @if (progressPercent !== null) {
8172
+ <span
8173
+ class="vp-kpi__progress"
8174
+ data-vp-kpi-progress
8175
+ role="progressbar"
8176
+ aria-valuemin="0"
8177
+ aria-valuemax="100"
8178
+ [attr.aria-valuenow]="progressPercent"
8179
+ [attr.aria-label]="label">
8180
+ <span class="vp-kpi__progress-fill" data-vp-kpi-progress-fill [attr.data-tone]="progressTone" [style.width.%]="progressPercent"></span>
8181
+ </span>
8182
+ }
8158
8183
  }
8159
8184
 
8160
8185
  @if (hint) {
8161
8186
  <span class="vp-kpi__hint">{{ hint }}</span>
8162
8187
  }
8163
8188
  </div>
8164
- `, isInline: true, styles: [":host{display:block}.vp-kpi{display:flex;flex-direction:column;gap:var(--vp-space-1);padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-kpi__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-kpi__value{color:var(--vp-text-primary);font-size:var(--vp-text-3xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);font-variant-numeric:tabular-nums}.vp-kpi__empty{color:var(--vp-text-muted);font-size:var(--vp-text-base)}.vp-kpi__trend{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-kpi__trend[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__trend[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__trend[data-direction=flat]{color:var(--vp-text-muted)}.vp-kpi__trend-icon{width:14px;height:14px}.vp-kpi__hint{color:var(--vp-text-muted);font-size:var(--vp-text-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8189
+ `, isInline: true, styles: [":host{display:block}.vp-kpi{display:flex;flex-direction:column;gap:var(--vp-space-1);padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-kpi__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-kpi__value{color:var(--vp-text-primary);font-size:var(--vp-text-3xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);font-variant-numeric:tabular-nums}.vp-kpi__empty{color:var(--vp-text-muted);font-size:var(--vp-text-base)}.vp-kpi__trend{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-kpi__trend[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__trend[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__trend[data-direction=flat]{color:var(--vp-text-muted)}.vp-kpi__trend-icon{width:14px;height:14px}.vp-kpi__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__hint{color:var(--vp-text-muted);font-size:var(--vp-text-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8165
8190
  }
8166
8191
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpKpiCardComponent, decorators: [{
8167
8192
  type: Component,
@@ -8185,13 +8210,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
8185
8210
  {{ changeText }}
8186
8211
  </span>
8187
8212
  }
8213
+
8214
+ @if (progressPercent !== null) {
8215
+ <span
8216
+ class="vp-kpi__progress"
8217
+ data-vp-kpi-progress
8218
+ role="progressbar"
8219
+ aria-valuemin="0"
8220
+ aria-valuemax="100"
8221
+ [attr.aria-valuenow]="progressPercent"
8222
+ [attr.aria-label]="label">
8223
+ <span class="vp-kpi__progress-fill" data-vp-kpi-progress-fill [attr.data-tone]="progressTone" [style.width.%]="progressPercent"></span>
8224
+ </span>
8225
+ }
8188
8226
  }
8189
8227
 
8190
8228
  @if (hint) {
8191
8229
  <span class="vp-kpi__hint">{{ hint }}</span>
8192
8230
  }
8193
8231
  </div>
8194
- `, styles: [":host{display:block}.vp-kpi{display:flex;flex-direction:column;gap:var(--vp-space-1);padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-kpi__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-kpi__value{color:var(--vp-text-primary);font-size:var(--vp-text-3xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);font-variant-numeric:tabular-nums}.vp-kpi__empty{color:var(--vp-text-muted);font-size:var(--vp-text-base)}.vp-kpi__trend{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-kpi__trend[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__trend[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__trend[data-direction=flat]{color:var(--vp-text-muted)}.vp-kpi__trend-icon{width:14px;height:14px}.vp-kpi__hint{color:var(--vp-text-muted);font-size:var(--vp-text-xs)}\n"] }]
8232
+ `, styles: [":host{display:block}.vp-kpi{display:flex;flex-direction:column;gap:var(--vp-space-1);padding:var(--vp-space-4);border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-family:var(--vp-font-sans)}.vp-kpi__label{color:var(--vp-text-muted);font-size:var(--vp-text-sm)}.vp-kpi__value{color:var(--vp-text-primary);font-size:var(--vp-text-3xl);font-weight:var(--vp-weight-semibold);line-height:var(--vp-leading-tight);font-variant-numeric:tabular-nums}.vp-kpi__empty{color:var(--vp-text-muted);font-size:var(--vp-text-base)}.vp-kpi__trend{display:inline-flex;align-items:center;gap:var(--vp-space-1);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-kpi__trend[data-direction=up]{color:var(--vp-sev-clean)}.vp-kpi__trend[data-direction=down]{color:var(--vp-sev-critical)}.vp-kpi__trend[data-direction=flat]{color:var(--vp-text-muted)}.vp-kpi__trend-icon{width:14px;height:14px}.vp-kpi__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__hint{color:var(--vp-text-muted);font-size:var(--vp-text-xs)}\n"] }]
8195
8233
  }], propDecorators: { label: [{
8196
8234
  type: Input,
8197
8235
  args: [{ required: true }]
@@ -8201,6 +8239,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
8201
8239
  type: Input
8202
8240
  }], hint: [{
8203
8241
  type: Input
8242
+ }], progress: [{
8243
+ type: Input
8244
+ }], progressTone: [{
8245
+ type: Input
8204
8246
  }], emptyLabel: [{
8205
8247
  type: Input
8206
8248
  }] } });
@@ -8448,6 +8490,568 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
8448
8490
  type: Input
8449
8491
  }] } });
8450
8492
 
8493
+ /**
8494
+ * Ortak grafik hesapları — design-system/005 T-01.
8495
+ *
8496
+ * Saf fonksiyonlar (DOM ölçümü yok). Savunma kuralları hepsinde aynı:
8497
+ * NaN, negatif ve sonsuz değer "ölçülemedi" sayılır → 0. Bölme-sıfır yok.
8498
+ */
8499
+ const isUsable = (n) => Number.isFinite(n) && n > 0;
8500
+ /** Değeri `max`a oranlar: 0..1. Geçersiz değer/max → 0; max üstü → 1. */
8501
+ function scale(value, max) {
8502
+ if (!isUsable(max) || !isUsable(value))
8503
+ return 0;
8504
+ return Math.min(1, value / max);
8505
+ }
8506
+ /**
8507
+ * Ölçek üst sınırı. Tüketici geçerli bir `userMax` verdiyse o kullanılır
8508
+ * (en büyük değer %100 olmak zorunda değil); yoksa veriden en büyük geçerli değer.
8509
+ */
8510
+ function niceMax(values, userMax) {
8511
+ if (userMax !== undefined && userMax !== null && isUsable(userMax))
8512
+ return userMax;
8513
+ return values.reduce((acc, v) => (isUsable(v) && v > acc ? v : acc), 0);
8514
+ }
8515
+ /** Dilimleri toplamı 100 olacak şekilde orantılar. Toplam 0 → hepsi 0. */
8516
+ function normalizeShares(parts) {
8517
+ const safe = parts.map((p) => (isUsable(p) ? p : 0));
8518
+ const total = safe.reduce((a, b) => a + b, 0);
8519
+ if (total === 0)
8520
+ return safe;
8521
+ return safe.map((p) => (p * 100) / total);
8522
+ }
8523
+ /**
8524
+ * Eşik tonu: `VpQuotaLevel` adlarını yeniden kullanır (Q-4).
8525
+ * Eşik verilmezse ya da değer geçersizse `ok` — ton uydurulmaz.
8526
+ */
8527
+ function toneFor(value, warnAt, criticalAt) {
8528
+ if (!Number.isFinite(value))
8529
+ return 'ok';
8530
+ if (criticalAt !== undefined && criticalAt !== null && value >= criticalAt)
8531
+ return 'critical';
8532
+ if (warnAt !== undefined && warnAt !== null && value >= warnAt)
8533
+ return 'warn';
8534
+ return 'ok';
8535
+ }
8536
+
8537
+ const VIEW$1 = { w: 320, h: 120, padL: 3, padR: 3, padT: 8, padB: 6 };
8538
+ const INNER_W = VIEW$1.w - VIEW$1.padL - VIEW$1.padR;
8539
+ const INNER_H = VIEW$1.h - VIEW$1.padT - VIEW$1.padB;
8540
+ const BASE_Y = VIEW$1.h - VIEW$1.padB;
8541
+ const BAR_FILL = 0.7;
8542
+ /**
8543
+ * Yığılmış sütun grafiği (saatlik başarılı + hata ayrı) — design-system/005 T-06.
8544
+ *
8545
+ * Kurallar:
8546
+ * - İki seri ayrı token renkte (`--vp-brand` başarılı, `--vp-sev-critical` hata); renk tek
8547
+ * anlam taşıyıcı değil — özet metin `ariaLabel` ile tüketiciden gelir.
8548
+ * - Ölçek ortak: sütun toplamlarının ve limitin en büyüğü. Limit çizimin içinde kalır.
8549
+ * - DOM ölçümü YOK: viewBox tabanlı SVG. Sıfır/NaN/negatif değer → yükseklik 0.
8550
+ * - Nokta yok → boş-durum metni (hata değil). Eksen etiketleri HTML katmanda (`labelEvery`).
8551
+ */
8552
+ class VpStackedBarsComponent {
8553
+ constructor() {
8554
+ this.points = [];
8555
+ this.limit = null;
8556
+ this.ariaLabel = '';
8557
+ this.emptyLabel = '';
8558
+ /** Her N. noktaya eksen etiketi yazılır (kalabalığı tüketici ayarlar). */
8559
+ this.labelEvery = 1;
8560
+ }
8561
+ get step() {
8562
+ return Number.isFinite(this.labelEvery) && this.labelEvery >= 1 ? Math.floor(this.labelEvery) : 1;
8563
+ }
8564
+ get top() {
8565
+ const totals = this.points.map((p) => this.safe(p.ok) + this.safe(p.error));
8566
+ return niceMax(this.limit === null ? totals : [...totals, this.limit]);
8567
+ }
8568
+ get bars() {
8569
+ const top = this.top;
8570
+ const slot = INNER_W / this.points.length;
8571
+ const width = slot * BAR_FILL;
8572
+ return this.points.map((p, i) => {
8573
+ const okHeight = scale(p.ok, top) * INNER_H;
8574
+ const errorHeight = scale(p.error, top) * INNER_H;
8575
+ return {
8576
+ x: VIEW$1.padL + slot * i + (slot - width) / 2,
8577
+ width,
8578
+ okY: BASE_Y - okHeight,
8579
+ okHeight,
8580
+ errorY: BASE_Y - okHeight - errorHeight,
8581
+ errorHeight,
8582
+ };
8583
+ });
8584
+ }
8585
+ /** Limit yoksa/geçersizse null; varsa her zaman çizim sınırları içinde. */
8586
+ get limitY() {
8587
+ if (this.limit === null || !Number.isFinite(this.limit) || this.limit < 0)
8588
+ return null;
8589
+ return BASE_Y - scale(this.limit, this.top) * INNER_H;
8590
+ }
8591
+ safe(n) {
8592
+ return Number.isFinite(n) && n > 0 ? n : 0;
8593
+ }
8594
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpStackedBarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8595
+ 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" }, ngImport: i0, template: `
8596
+ @if (points.length) {
8597
+ <div class="vp-stacked" data-vp-stacked role="img" [attr.aria-label]="ariaLabel">
8598
+ <svg class="vp-stacked__svg" aria-hidden="true" focusable="false" preserveAspectRatio="none" viewBox="0 0 320 120">
8599
+ <line class="vp-stacked__axis" [attr.x1]="3" [attr.x2]="317" [attr.y1]="114" [attr.y2]="114" />
8600
+ @for (bar of bars; track $index) {
8601
+ <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" />
8602
+ <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" />
8603
+ }
8604
+ @if (limitY !== null) {
8605
+ <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" />
8606
+ }
8607
+ </svg>
8608
+ <div class="vp-stacked__labels" aria-hidden="true" [style.grid-template-columns]="'repeat(' + points.length + ', 1fr)'">
8609
+ @for (p of points; track $index; let i = $index) {
8610
+ @if (i % step === 0) {
8611
+ <span class="vp-stacked__label" data-vp-stacked-label>{{ p.label }}</span>
8612
+ } @else {
8613
+ <span></span>
8614
+ }
8615
+ }
8616
+ </div>
8617
+ </div>
8618
+ } @else {
8619
+ <span class="vp-stacked__empty" data-vp-stacked-empty>{{ emptyLabel }}</span>
8620
+ }
8621
+ `, 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{stroke:var(--vp-border-subtle);stroke-width:1;vector-effect:non-scaling-stroke}.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 }); }
8622
+ }
8623
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpStackedBarsComponent, decorators: [{
8624
+ type: Component,
8625
+ args: [{ selector: 'vp-stacked-bars', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8626
+ @if (points.length) {
8627
+ <div class="vp-stacked" data-vp-stacked role="img" [attr.aria-label]="ariaLabel">
8628
+ <svg class="vp-stacked__svg" aria-hidden="true" focusable="false" preserveAspectRatio="none" viewBox="0 0 320 120">
8629
+ <line class="vp-stacked__axis" [attr.x1]="3" [attr.x2]="317" [attr.y1]="114" [attr.y2]="114" />
8630
+ @for (bar of bars; track $index) {
8631
+ <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" />
8632
+ <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" />
8633
+ }
8634
+ @if (limitY !== null) {
8635
+ <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" />
8636
+ }
8637
+ </svg>
8638
+ <div class="vp-stacked__labels" aria-hidden="true" [style.grid-template-columns]="'repeat(' + points.length + ', 1fr)'">
8639
+ @for (p of points; track $index; let i = $index) {
8640
+ @if (i % step === 0) {
8641
+ <span class="vp-stacked__label" data-vp-stacked-label>{{ p.label }}</span>
8642
+ } @else {
8643
+ <span></span>
8644
+ }
8645
+ }
8646
+ </div>
8647
+ </div>
8648
+ } @else {
8649
+ <span class="vp-stacked__empty" data-vp-stacked-empty>{{ emptyLabel }}</span>
8650
+ }
8651
+ `, 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{stroke:var(--vp-border-subtle);stroke-width:1;vector-effect:non-scaling-stroke}.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"] }]
8652
+ }], propDecorators: { points: [{
8653
+ type: Input
8654
+ }], limit: [{
8655
+ type: Input
8656
+ }], ariaLabel: [{
8657
+ type: Input
8658
+ }], emptyLabel: [{
8659
+ type: Input
8660
+ }], labelEvery: [{
8661
+ type: Input
8662
+ }] } });
8663
+
8664
+ /**
8665
+ * Sıralı çubuk listesi (gecikme dağılımı p50…p99) — design-system/005 T-05.
8666
+ *
8667
+ * Kurallar:
8668
+ * - Değer metni her satırda görünür; ton yalnız ek bilgi (renk tek ayırt edici değil).
8669
+ * - Ölçek `max` girdisinden, yoksa veriden (`niceMax`); sıfır/negatif/NaN → 0 genişlik.
8670
+ * - Satır yok → boş-durum metni (tüketiciden).
8671
+ */
8672
+ class VpRankedBarsComponent {
8673
+ constructor() {
8674
+ this.rows = [];
8675
+ this.max = null;
8676
+ this.warnAt = null;
8677
+ this.criticalAt = null;
8678
+ this.emptyLabel = '';
8679
+ }
8680
+ get views() {
8681
+ const top = niceMax(this.rows.map((r) => r.value), this.max);
8682
+ return this.rows.map((row) => ({
8683
+ row,
8684
+ width: scale(row.value, top) * 100,
8685
+ tone: toneFor(row.value, this.warnAt, this.criticalAt),
8686
+ text: row.display ?? String(row.value),
8687
+ }));
8688
+ }
8689
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpRankedBarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8690
+ 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: `
8691
+ @if (views.length) {
8692
+ <ul class="vp-ranked">
8693
+ @for (v of views; track $index) {
8694
+ <li class="vp-ranked__row">
8695
+ <span class="vp-ranked__label" data-vp-ranked-label>{{ v.row.label }}</span>
8696
+ <span class="vp-ranked__track" aria-hidden="true">
8697
+ <span class="vp-ranked__fill" data-vp-ranked-fill [attr.data-tone]="v.tone" [style.width.%]="v.width"></span>
8698
+ </span>
8699
+ <span class="vp-ranked__value" data-vp-ranked-value>{{ v.text }}</span>
8700
+ </li>
8701
+ }
8702
+ </ul>
8703
+ } @else {
8704
+ <span class="vp-ranked__empty" data-vp-ranked-empty>{{ emptyLabel }}</span>
8705
+ }
8706
+ `, 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 }); }
8707
+ }
8708
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpRankedBarsComponent, decorators: [{
8709
+ type: Component,
8710
+ args: [{ selector: 'vp-ranked-bars', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8711
+ @if (views.length) {
8712
+ <ul class="vp-ranked">
8713
+ @for (v of views; track $index) {
8714
+ <li class="vp-ranked__row">
8715
+ <span class="vp-ranked__label" data-vp-ranked-label>{{ v.row.label }}</span>
8716
+ <span class="vp-ranked__track" aria-hidden="true">
8717
+ <span class="vp-ranked__fill" data-vp-ranked-fill [attr.data-tone]="v.tone" [style.width.%]="v.width"></span>
8718
+ </span>
8719
+ <span class="vp-ranked__value" data-vp-ranked-value>{{ v.text }}</span>
8720
+ </li>
8721
+ }
8722
+ </ul>
8723
+ } @else {
8724
+ <span class="vp-ranked__empty" data-vp-ranked-empty>{{ emptyLabel }}</span>
8725
+ }
8726
+ `, 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"] }]
8727
+ }], propDecorators: { rows: [{
8728
+ type: Input
8729
+ }], max: [{
8730
+ type: Input
8731
+ }], warnAt: [{
8732
+ type: Input
8733
+ }], criticalAt: [{
8734
+ type: Input
8735
+ }], emptyLabel: [{
8736
+ type: Input
8737
+ }] } });
8738
+
8739
+ /**
8740
+ * Pay çubuğu (tablo hücresinde yüzde) — design-system/005 T-04.
8741
+ *
8742
+ * Kurallar:
8743
+ * - `value` 0..100'e kırpılır; null/NaN/negatif → 0.
8744
+ * - Değer metni (`label`) tüketiciden ve görünür — çubuk tek bilgi taşıyıcı değil.
8745
+ * - Çubuk `aria-hidden`; metin yoksa etiket çizilmez (uydurma metin yok).
8746
+ */
8747
+ class VpShareBarComponent {
8748
+ constructor() {
8749
+ this.value = 0;
8750
+ this.label = '';
8751
+ this.tone = 'ok';
8752
+ }
8753
+ get percent() {
8754
+ const v = this.value;
8755
+ if (v === null || v === undefined || !Number.isFinite(v) || v < 0)
8756
+ return 0;
8757
+ return Math.min(100, v);
8758
+ }
8759
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShareBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8760
+ 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: `
8761
+ <span class="vp-share">
8762
+ <span class="vp-share__track" aria-hidden="true">
8763
+ <span class="vp-share__fill" data-vp-share-fill [attr.data-tone]="tone" [style.width.%]="percent"></span>
8764
+ </span>
8765
+ @if (label) {
8766
+ <span class="vp-share__label" data-vp-share-label>{{ label }}</span>
8767
+ }
8768
+ </span>
8769
+ `, 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 }); }
8770
+ }
8771
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpShareBarComponent, decorators: [{
8772
+ type: Component,
8773
+ args: [{ selector: 'vp-share-bar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8774
+ <span class="vp-share">
8775
+ <span class="vp-share__track" aria-hidden="true">
8776
+ <span class="vp-share__fill" data-vp-share-fill [attr.data-tone]="tone" [style.width.%]="percent"></span>
8777
+ </span>
8778
+ @if (label) {
8779
+ <span class="vp-share__label" data-vp-share-label>{{ label }}</span>
8780
+ }
8781
+ </span>
8782
+ `, 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"] }]
8783
+ }], propDecorators: { value: [{
8784
+ type: Input
8785
+ }], label: [{
8786
+ type: Input
8787
+ }], tone: [{
8788
+ type: Input
8789
+ }] } });
8790
+
8791
+ /**
8792
+ * Yanıt karışımı ölçeri (2xx/4xx/5xx yığılmış şerit) — design-system/005 T-04.
8793
+ *
8794
+ * Kurallar:
8795
+ * - Dilimler `normalizeShares` ile toplam 100'e getirilir; toplam 0 → boş-durum.
8796
+ * - Her dilim şeritte VE açıklamada metinle yazılır (renk tek ayırt edici değil).
8797
+ * - Şerit `role="img"`, `aria-label` tüm dilimleri özetler.
8798
+ */
8799
+ class VpMixMeterComponent {
8800
+ constructor() {
8801
+ this.parts = [];
8802
+ this.emptyLabel = '';
8803
+ }
8804
+ get segments() {
8805
+ const shares = normalizeShares(this.parts.map((p) => p.value));
8806
+ return this.parts.map((part, i) => ({ part, share: shares[i], text: part.display ?? `${Math.round(shares[i])}%` }));
8807
+ }
8808
+ get hasData() {
8809
+ return this.segments.some((s) => s.share > 0);
8810
+ }
8811
+ get summary() {
8812
+ return this.segments.map((s) => `${s.part.label} ${s.text}`).join(', ');
8813
+ }
8814
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMixMeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8815
+ 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: `
8816
+ @if (hasData) {
8817
+ <div class="vp-mix" role="img" [attr.aria-label]="summary">
8818
+ <div class="vp-mix__bar" aria-hidden="true">
8819
+ @for (seg of segments; track seg.part.key) {
8820
+ <span class="vp-mix__seg" data-vp-mix-seg [attr.data-tone]="seg.part.tone" [style.width.%]="seg.share"></span>
8821
+ }
8822
+ </div>
8823
+ <ul class="vp-mix__legend" aria-hidden="true">
8824
+ @for (seg of segments; track seg.part.key) {
8825
+ <li class="vp-mix__item" data-vp-mix-legend>
8826
+ <span class="vp-mix__dot" [attr.data-tone]="seg.part.tone"></span>
8827
+ <span class="vp-mix__name">{{ seg.part.label }}</span>
8828
+ <span class="vp-mix__value">{{ seg.text }}</span>
8829
+ </li>
8830
+ }
8831
+ </ul>
8832
+ </div>
8833
+ } @else {
8834
+ <span class="vp-mix__empty" data-vp-mix-empty>{{ emptyLabel }}</span>
8835
+ }
8836
+ `, 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:8px;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-high)}.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-full)}.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 }); }
8837
+ }
8838
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMixMeterComponent, decorators: [{
8839
+ type: Component,
8840
+ args: [{ selector: 'vp-mix-meter', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8841
+ @if (hasData) {
8842
+ <div class="vp-mix" role="img" [attr.aria-label]="summary">
8843
+ <div class="vp-mix__bar" aria-hidden="true">
8844
+ @for (seg of segments; track seg.part.key) {
8845
+ <span class="vp-mix__seg" data-vp-mix-seg [attr.data-tone]="seg.part.tone" [style.width.%]="seg.share"></span>
8846
+ }
8847
+ </div>
8848
+ <ul class="vp-mix__legend" aria-hidden="true">
8849
+ @for (seg of segments; track seg.part.key) {
8850
+ <li class="vp-mix__item" data-vp-mix-legend>
8851
+ <span class="vp-mix__dot" [attr.data-tone]="seg.part.tone"></span>
8852
+ <span class="vp-mix__name">{{ seg.part.label }}</span>
8853
+ <span class="vp-mix__value">{{ seg.text }}</span>
8854
+ </li>
8855
+ }
8856
+ </ul>
8857
+ </div>
8858
+ } @else {
8859
+ <span class="vp-mix__empty" data-vp-mix-empty>{{ emptyLabel }}</span>
8860
+ }
8861
+ `, 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:8px;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-high)}.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-full)}.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"] }]
8862
+ }], propDecorators: { parts: [{
8863
+ type: Input
8864
+ }], emptyLabel: [{
8865
+ type: Input
8866
+ }] } });
8867
+
8868
+ /**
8869
+ * Segment denetimi — design-system/005 T-03 (aralık 24s/7g/30g, kırılım Uca/Anahtara göre).
8870
+ *
8871
+ * Kurallar:
8872
+ * - `role="group"` + düğmeler `aria-pressed`; ok/Home/End ile gezinilir (roving tabindex).
8873
+ * - Gezinme seçimi de değiştirir (segment = anlık seçim), olay `valueChange`.
8874
+ * - Dokunma hedefi `--vp-touch-target`; odak halkası `:focus-visible`.
8875
+ * - Sabit metin yok — etiketler tüketiciden.
8876
+ */
8877
+ class VpSegmentedComponent {
8878
+ constructor() {
8879
+ this.host = inject(ElementRef);
8880
+ this.options = [];
8881
+ this.value = null;
8882
+ this.ariaLabel = '';
8883
+ this.valueChange = new EventEmitter();
8884
+ }
8885
+ /** Seçili düğme sekme durağı; seçim yoksa ilk düğme. */
8886
+ tabStop(index) {
8887
+ const selected = this.options.findIndex((o) => o.value === this.value);
8888
+ return index === (selected < 0 ? 0 : selected) ? 0 : -1;
8889
+ }
8890
+ select(value) {
8891
+ this.valueChange.emit(value);
8892
+ }
8893
+ onKey(event, index) {
8894
+ const target = this.targetIndex(event.key, index);
8895
+ if (target === null)
8896
+ return;
8897
+ event.preventDefault();
8898
+ this.select(this.options[target].value);
8899
+ this.host.nativeElement.querySelectorAll('button')[target]?.focus();
8900
+ }
8901
+ targetIndex(key, index) {
8902
+ const last = this.options.length - 1;
8903
+ switch (key) {
8904
+ case 'ArrowRight':
8905
+ case 'ArrowDown':
8906
+ return index >= last ? 0 : index + 1;
8907
+ case 'ArrowLeft':
8908
+ case 'ArrowUp':
8909
+ return index <= 0 ? last : index - 1;
8910
+ case 'Home':
8911
+ return 0;
8912
+ case 'End':
8913
+ return last;
8914
+ default:
8915
+ return null;
8916
+ }
8917
+ }
8918
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSegmentedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8919
+ 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: `
8920
+ <div class="vp-segmented" role="group" [attr.aria-label]="ariaLabel">
8921
+ @for (option of options; track option.value; let i = $index) {
8922
+ <button
8923
+ type="button"
8924
+ class="vp-segmented__item"
8925
+ [attr.aria-pressed]="option.value === value"
8926
+ [attr.tabindex]="tabStop(i)"
8927
+ (click)="select(option.value)"
8928
+ (keydown)="onKey($event, i)">
8929
+ {{ option.label }}
8930
+ </button>
8931
+ }
8932
+ </div>
8933
+ `, 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 }); }
8934
+ }
8935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpSegmentedComponent, decorators: [{
8936
+ type: Component,
8937
+ args: [{ selector: 'vp-segmented', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8938
+ <div class="vp-segmented" role="group" [attr.aria-label]="ariaLabel">
8939
+ @for (option of options; track option.value; let i = $index) {
8940
+ <button
8941
+ type="button"
8942
+ class="vp-segmented__item"
8943
+ [attr.aria-pressed]="option.value === value"
8944
+ [attr.tabindex]="tabStop(i)"
8945
+ (click)="select(option.value)"
8946
+ (keydown)="onKey($event, i)">
8947
+ {{ option.label }}
8948
+ </button>
8949
+ }
8950
+ </div>
8951
+ `, 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"] }]
8952
+ }], propDecorators: { options: [{
8953
+ type: Input
8954
+ }], value: [{
8955
+ type: Input
8956
+ }], ariaLabel: [{
8957
+ type: Input
8958
+ }], valueChange: [{
8959
+ type: Output
8960
+ }] } });
8961
+
8962
+ /**
8963
+ * Fiil rozeti (GET/POST…) — design-system/005 T-02.
8964
+ *
8965
+ * Kurallar:
8966
+ * - Fiil her zaman METİN olarak yazılır; ton yalnız ek bilgi (renk tek ayırt edici değil).
8967
+ * - Boş/null fiil hiçbir şey çizmez — uydurma metin yok.
8968
+ * - Yalnız `--vp-*` token; ham renk yok.
8969
+ */
8970
+ class VpVerbBadgeComponent {
8971
+ constructor() {
8972
+ this.verb = '';
8973
+ this.tone = 'neutral';
8974
+ }
8975
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpVerbBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8976
+ 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: `
8977
+ @if (verb) {
8978
+ <span class="vp-verb" data-vp-verb [attr.data-tone]="tone">{{ verb }}</span>
8979
+ }
8980
+ `, 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 }); }
8981
+ }
8982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpVerbBadgeComponent, decorators: [{
8983
+ type: Component,
8984
+ args: [{ selector: 'vp-verb-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
8985
+ @if (verb) {
8986
+ <span class="vp-verb" data-vp-verb [attr.data-tone]="tone">{{ verb }}</span>
8987
+ }
8988
+ `, 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"] }]
8989
+ }], propDecorators: { verb: [{
8990
+ type: Input
8991
+ }], tone: [{
8992
+ type: Input
8993
+ }] } });
8994
+
8995
+ /**
8996
+ * Çip seçici (kaydırılabilir tek seçimli çubuk) — design-system/005 T-07.
8997
+ *
8998
+ * Kurallar:
8999
+ * - Tek seçim; düğmeler `aria-pressed`. Çipler sekmeyle gezilir (her biri bağımsız düğme).
9000
+ * - Yatay kayma KENDİ İÇİNDE (`overflow-x: auto` + `min-width: 0`) — sayfa kaymaz (320px).
9001
+ * - Dokunma hedefi `--vp-touch-target` (dar ekran); odak halkası `:focus-visible`.
9002
+ * - Sabit metin yok.
9003
+ */
9004
+ class VpChipPickerComponent {
9005
+ constructor() {
9006
+ this.chips = [];
9007
+ this.value = null;
9008
+ this.ariaLabel = '';
9009
+ this.valueChange = new EventEmitter();
9010
+ }
9011
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpChipPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9012
+ 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: `
9013
+ <div class="vp-chips" role="group" [attr.aria-label]="ariaLabel">
9014
+ @for (chip of chips; track chip.value) {
9015
+ <button type="button" class="vp-chip" [attr.aria-pressed]="chip.value === value" (click)="valueChange.emit(chip.value)">
9016
+ @if (chip.verb) {
9017
+ <vp-verb-badge [verb]="chip.verb" />
9018
+ }
9019
+ <span class="vp-chip__label" data-vp-chip-label>{{ chip.label }}</span>
9020
+ @if (chip.count) {
9021
+ <span class="vp-chip__count" data-vp-chip-count>{{ chip.count }}</span>
9022
+ }
9023
+ </button>
9024
+ }
9025
+ </div>
9026
+ `, 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-brand);background:var(--vp-brand-subtle);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 }); }
9027
+ }
9028
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpChipPickerComponent, decorators: [{
9029
+ type: Component,
9030
+ args: [{ selector: 'vp-chip-picker', standalone: true, imports: [VpVerbBadgeComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
9031
+ <div class="vp-chips" role="group" [attr.aria-label]="ariaLabel">
9032
+ @for (chip of chips; track chip.value) {
9033
+ <button type="button" class="vp-chip" [attr.aria-pressed]="chip.value === value" (click)="valueChange.emit(chip.value)">
9034
+ @if (chip.verb) {
9035
+ <vp-verb-badge [verb]="chip.verb" />
9036
+ }
9037
+ <span class="vp-chip__label" data-vp-chip-label>{{ chip.label }}</span>
9038
+ @if (chip.count) {
9039
+ <span class="vp-chip__count" data-vp-chip-count>{{ chip.count }}</span>
9040
+ }
9041
+ </button>
9042
+ }
9043
+ </div>
9044
+ `, 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-brand);background:var(--vp-brand-subtle);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"] }]
9045
+ }], propDecorators: { chips: [{
9046
+ type: Input
9047
+ }], value: [{
9048
+ type: Input
9049
+ }], ariaLabel: [{
9050
+ type: Input
9051
+ }], valueChange: [{
9052
+ type: Output
9053
+ }] } });
9054
+
8451
9055
  /**
8452
9056
  * Ayarlar kabugu — paket 07 · G1.
8453
9057
  *
@@ -8795,6 +9399,13 @@ const COMPONENTS = [
8795
9399
  VpSettingsShellComponent,
8796
9400
  VpSaveBarComponent,
8797
9401
  VpDangerZoneComponent,
9402
+ VpStackedBarsComponent,
9403
+ VpRankedBarsComponent,
9404
+ VpShareBarComponent,
9405
+ VpMixMeterComponent,
9406
+ VpSegmentedComponent,
9407
+ VpChipPickerComponent,
9408
+ VpVerbBadgeComponent,
8798
9409
  ];
8799
9410
  class VirusisUiModule {
8800
9411
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VirusisUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
@@ -8818,7 +9429,14 @@ class VirusisUiModule {
8818
9429
  VpScoreBreakdownComponent,
8819
9430
  VpSettingsShellComponent,
8820
9431
  VpSaveBarComponent,
8821
- VpDangerZoneComponent], exports: [VpStateComponent,
9432
+ VpDangerZoneComponent,
9433
+ VpStackedBarsComponent,
9434
+ VpRankedBarsComponent,
9435
+ VpShareBarComponent,
9436
+ VpMixMeterComponent,
9437
+ VpSegmentedComponent,
9438
+ VpChipPickerComponent,
9439
+ VpVerbBadgeComponent], exports: [VpStateComponent,
8822
9440
  VpShellComponent,
8823
9441
  VpPageHeaderComponent,
8824
9442
  VpBannerComponent,
@@ -8838,7 +9456,14 @@ class VirusisUiModule {
8838
9456
  VpScoreBreakdownComponent,
8839
9457
  VpSettingsShellComponent,
8840
9458
  VpSaveBarComponent,
8841
- VpDangerZoneComponent] }); }
9459
+ VpDangerZoneComponent,
9460
+ VpStackedBarsComponent,
9461
+ VpRankedBarsComponent,
9462
+ VpShareBarComponent,
9463
+ VpMixMeterComponent,
9464
+ VpSegmentedComponent,
9465
+ VpChipPickerComponent,
9466
+ VpVerbBadgeComponent] }); }
8842
9467
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VirusisUiModule }); }
8843
9468
  }
8844
9469
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VirusisUiModule, decorators: [{
@@ -12163,5 +12788,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
12163
12788
  * Generated bundle index. Do not edit.
12164
12789
  */
12165
12790
 
12166
- 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 };
12791
+ 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, VpChipPickerComponent, VpCommandPaletteComponent, VpConfirmComponent, VpConnectivityService, VpContextToolbarComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDrawerComponent, VpEngineResultComponent, VpFeedbackEntryComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpMixMeterComponent, VpNotificationIslandComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpProductSwitcherComponent, VpRankedBarsComponent, VpRateLimitInterceptor, VpRateLimitService, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpScoreRingComponent, VpSearchTriggerComponent, VpSegmentedComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareBarComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStackedBarsComponent, VpStateComponent, VpThemeControlComponent, VpThemeService, VpToastComponent, VpToastService, VpTopbarComponent, VpUsageChartComponent, VpUserMenuComponent, VpUserbackLoader, VpVerbBadgeComponent, 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 };
12167
12792
  //# sourceMappingURL=virusis-angular-ui.mjs.map