@virusis/angular-ui 0.3.6 → 0.3.9
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.
- package/fesm2022/virusis-angular-ui.mjs +262 -57
- package/fesm2022/virusis-angular-ui.mjs.map +1 -1
- package/index.d.ts +70 -10
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7,10 +7,10 @@ import * as i1 from 'primeng/button';
|
|
|
7
7
|
import { ButtonModule } from 'primeng/button';
|
|
8
8
|
import * as i2 from 'primeng/tooltip';
|
|
9
9
|
import { TooltipModule } from 'primeng/tooltip';
|
|
10
|
-
import { THEME_MODES, createThemeModeController, toSeverity, severityMeta, severityColorToken } from '@virusis/design-tokens';
|
|
11
|
-
export { THEME_MODES } from '@virusis/design-tokens';
|
|
12
10
|
import * as i2$1 from 'primeng/menu';
|
|
13
11
|
import { MenuModule } from 'primeng/menu';
|
|
12
|
+
import { createThemeModeController, toSeverity, severityMeta, severityColorToken } from '@virusis/design-tokens';
|
|
13
|
+
export { THEME_MODES } from '@virusis/design-tokens';
|
|
14
14
|
import * as i2$2 from 'primeng/overlaybadge';
|
|
15
15
|
import { OverlayBadgeModule } from 'primeng/overlaybadge';
|
|
16
16
|
import * as i3 from 'primeng/popover';
|
|
@@ -3438,8 +3438,18 @@ class VpThemeControlComponent {
|
|
|
3438
3438
|
constructor() {
|
|
3439
3439
|
/** Gecerli mod — kaynak denetleyici, bu bilesen degil. */
|
|
3440
3440
|
this.mode = 'auto';
|
|
3441
|
+
/** Prototip biçimi (customer-console/010): "Tema: Sistem (şu an açık) · değiştirmek için tıkla". */
|
|
3442
|
+
this.titleLabel = 'Tema';
|
|
3443
|
+
this.modeNames = { auto: 'Sistem', dark: 'Koyu', light: 'Açık' };
|
|
3444
|
+
this.nowLabel = 'şu an';
|
|
3445
|
+
this.effectiveDarkLabel = 'koyu';
|
|
3446
|
+
this.effectiveLightLabel = 'açık';
|
|
3447
|
+
this.actionLabel = 'değiştirmek için tıkla';
|
|
3448
|
+
/** @deprecated 0.3.8: ad artık `titleLabel` + `modeNames` ile kuruluyor; geriye uyum için duruyor. */
|
|
3441
3449
|
this.autoLabel = 'Sistem teması';
|
|
3450
|
+
/** @deprecated 0.3.8 — bkz. `autoLabel`. */
|
|
3442
3451
|
this.lightLabel = 'Açık tema';
|
|
3452
|
+
/** @deprecated 0.3.8 — bkz. `autoLabel`. */
|
|
3443
3453
|
this.darkLabel = 'Koyu tema';
|
|
3444
3454
|
/**
|
|
3445
3455
|
* Tiklama disari bildirilir; sirayi burada YURUTMEYIZ.
|
|
@@ -3451,38 +3461,33 @@ class VpThemeControlComponent {
|
|
|
3451
3461
|
}
|
|
3452
3462
|
get icon() {
|
|
3453
3463
|
switch (this.mode) {
|
|
3464
|
+
// customer-console/010: prototip MODE_ICON — ikon GEÇERLİ modu gösterir.
|
|
3454
3465
|
case 'dark':
|
|
3455
|
-
return 'pi pi-sun';
|
|
3456
|
-
case 'light':
|
|
3457
3466
|
return 'pi pi-moon';
|
|
3467
|
+
case 'light':
|
|
3468
|
+
return 'pi pi-sun';
|
|
3458
3469
|
default:
|
|
3459
3470
|
return 'pi pi-desktop';
|
|
3460
3471
|
}
|
|
3461
3472
|
}
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
get
|
|
3467
|
-
const
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
labelFor(mode) {
|
|
3471
|
-
switch (mode) {
|
|
3472
|
-
case 'dark':
|
|
3473
|
-
return this.darkLabel;
|
|
3474
|
-
case 'light':
|
|
3475
|
-
return this.lightLabel;
|
|
3476
|
-
default:
|
|
3477
|
-
return this.autoLabel;
|
|
3478
|
-
}
|
|
3473
|
+
/**
|
|
3474
|
+
* customer-console/010: prototip `syncView` — "Tema: <mod>" ve sistem modunda gerçekte çizilen
|
|
3475
|
+
* ("Tema: Sistem (şu an açık)"). İpucu bu; erişilebilir ad eylemi de ekliyor.
|
|
3476
|
+
*/
|
|
3477
|
+
get tip() {
|
|
3478
|
+
const name = this.modeNames[this.mode] ?? this.modeNames.auto;
|
|
3479
|
+
const now = this.mode === 'auto' ? ` (${this.nowLabel} ${this.effectiveDark() ? this.effectiveDarkLabel : this.effectiveLightLabel})` : '';
|
|
3480
|
+
return `${this.titleLabel}: ${name}${now}`;
|
|
3479
3481
|
}
|
|
3480
|
-
/** Mevcut durum + sonraki adim. Yalniz ikon degistiren dugme sessizdir. */
|
|
3481
3482
|
get ariaLabel() {
|
|
3482
|
-
return `${this.
|
|
3483
|
+
return `${this.tip} · ${this.actionLabel}`;
|
|
3484
|
+
}
|
|
3485
|
+
/** Sistem modunda gerçekte hangi tema çiziliyor: tema servisi kök öğeye `app-dark` koyuyor. SSR'da açık sayılır. */
|
|
3486
|
+
effectiveDark() {
|
|
3487
|
+
return typeof document !== 'undefined' && document.documentElement.classList.contains('app-dark');
|
|
3483
3488
|
}
|
|
3484
3489
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpThemeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3485
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpThemeControlComponent, isStandalone: true, selector: "vp-theme-control", inputs: { mode: "mode", autoLabel: "autoLabel", lightLabel: "lightLabel", darkLabel: "darkLabel" }, outputs: { cycle: "cycle" }, ngImport: i0, template: `
|
|
3490
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpThemeControlComponent, isStandalone: true, selector: "vp-theme-control", inputs: { mode: "mode", titleLabel: "titleLabel", modeNames: "modeNames", nowLabel: "nowLabel", effectiveDarkLabel: "effectiveDarkLabel", effectiveLightLabel: "effectiveLightLabel", actionLabel: "actionLabel", autoLabel: "autoLabel", lightLabel: "lightLabel", darkLabel: "darkLabel" }, outputs: { cycle: "cycle" }, ngImport: i0, template: `
|
|
3486
3491
|
<!--
|
|
3487
3492
|
⚠️ Tek dugme, uc durumlu dongu. Uc ayri dugme daha "acik" gorunurdu ama
|
|
3488
3493
|
ust cubukta uc slot yer kaplar ve tema, kullanicinin gunde bir kez
|
|
@@ -3500,7 +3505,7 @@ class VpThemeControlComponent {
|
|
|
3500
3505
|
data-vp-theme-control
|
|
3501
3506
|
[attr.data-vp-theme-mode]="mode"
|
|
3502
3507
|
[icon]="icon"
|
|
3503
|
-
[pTooltip]="
|
|
3508
|
+
[pTooltip]="tip"
|
|
3504
3509
|
tooltipPosition="bottom"
|
|
3505
3510
|
[attr.aria-label]="ariaLabel"
|
|
3506
3511
|
(click)="cycle.emit()"></button>
|
|
@@ -3526,7 +3531,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
3526
3531
|
data-vp-theme-control
|
|
3527
3532
|
[attr.data-vp-theme-mode]="mode"
|
|
3528
3533
|
[icon]="icon"
|
|
3529
|
-
[pTooltip]="
|
|
3534
|
+
[pTooltip]="tip"
|
|
3530
3535
|
tooltipPosition="bottom"
|
|
3531
3536
|
[attr.aria-label]="ariaLabel"
|
|
3532
3537
|
(click)="cycle.emit()"></button>
|
|
@@ -3534,6 +3539,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
3534
3539
|
}], propDecorators: { mode: [{
|
|
3535
3540
|
type: Input,
|
|
3536
3541
|
args: [{ required: true }]
|
|
3542
|
+
}], titleLabel: [{
|
|
3543
|
+
type: Input
|
|
3544
|
+
}], modeNames: [{
|
|
3545
|
+
type: Input
|
|
3546
|
+
}], nowLabel: [{
|
|
3547
|
+
type: Input
|
|
3548
|
+
}], effectiveDarkLabel: [{
|
|
3549
|
+
type: Input
|
|
3550
|
+
}], effectiveLightLabel: [{
|
|
3551
|
+
type: Input
|
|
3552
|
+
}], actionLabel: [{
|
|
3553
|
+
type: Input
|
|
3537
3554
|
}], autoLabel: [{
|
|
3538
3555
|
type: Input
|
|
3539
3556
|
}], lightLabel: [{
|
|
@@ -3683,6 +3700,10 @@ class VpUserMenuComponent {
|
|
|
3683
3700
|
/** Rol, kiraci ya da e-posta — kimligi tek satirda ayirt etmeye yarayan sey. */
|
|
3684
3701
|
this.subtitle = null;
|
|
3685
3702
|
this.items = [];
|
|
3703
|
+
/** Menünün başındaki başlık (prototip `.menu__label`: oturumun e-postası); boşsa çizilmez. */
|
|
3704
|
+
this.heading = null;
|
|
3705
|
+
/** Blokların (`[menuBlocks]`) ALTINDA, ayraçtan sonra gelen maddeler — prototipte "Oturumu kapat". */
|
|
3706
|
+
this.endItems = [];
|
|
3686
3707
|
this.menuId = 'vp-user-menu-popup';
|
|
3687
3708
|
/** Bicim — topbar (ust cubuk, geriye uyum) · sidebar (prototip kenar cubugu ayagi). */
|
|
3688
3709
|
this.variant = 'topbar';
|
|
@@ -3694,11 +3715,14 @@ class VpUserMenuComponent {
|
|
|
3694
3715
|
const trimmed = this.displayName.trim();
|
|
3695
3716
|
return trimmed ? trimmed.charAt(0).toLocaleUpperCase('tr-TR') : '?';
|
|
3696
3717
|
}
|
|
3718
|
+
runEnd(item, event) {
|
|
3719
|
+
item.command?.({ originalEvent: event, item });
|
|
3720
|
+
}
|
|
3697
3721
|
get ariaLabel() {
|
|
3698
3722
|
return this.subtitle ? `${this.displayName} (${this.subtitle}) — hesap menüsü` : `${this.displayName} — hesap menüsü`;
|
|
3699
3723
|
}
|
|
3700
3724
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3701
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpUserMenuComponent, isStandalone: true, selector: "vp-user-menu", inputs: { displayName: "displayName", subtitle: "subtitle", items: "items", menuId: "menuId", variant: "variant", compact: "compact" }, outputs: { opened: "opened" }, ngImport: i0, template: `
|
|
3725
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpUserMenuComponent, isStandalone: true, selector: "vp-user-menu", inputs: { displayName: "displayName", subtitle: "subtitle", items: "items", heading: "heading", endItems: "endItems", menuId: "menuId", variant: "variant", compact: "compact" }, outputs: { opened: "opened" }, ngImport: i0, template: `
|
|
3702
3726
|
<div class="vp-user-menu" [attr.data-variant]="variant" [attr.data-compact]="compact || null">
|
|
3703
3727
|
@if (variant === 'sidebar') {
|
|
3704
3728
|
<!--
|
|
@@ -3749,10 +3773,32 @@ class VpUserMenuComponent {
|
|
|
3749
3773
|
}
|
|
3750
3774
|
|
|
3751
3775
|
<p-menu #menu [model]="items" [popup]="true" [id]="menuId">
|
|
3752
|
-
|
|
3776
|
+
<!-- customer-console/010: prototip #accountMenu başı (.menu__label) — kimin oturumu. -->
|
|
3777
|
+
<ng-template #start>
|
|
3778
|
+
@if (heading) {
|
|
3779
|
+
<p class="vp-user-menu__heading" data-vp-user-menu-heading>{{ heading }}</p>
|
|
3780
|
+
}
|
|
3781
|
+
</ng-template>
|
|
3782
|
+
<ng-template #end>
|
|
3783
|
+
<ng-content select="[menuBlocks]" />
|
|
3784
|
+
<!-- Prototip: bloklardan sonra ayraç ve "Oturumu kapat" — menünün EN SONU. -->
|
|
3785
|
+
@if (endItems.length) {
|
|
3786
|
+
<div class="vp-user-menu__sep" role="separator"></div>
|
|
3787
|
+
@for (item of endItems; track item.label) {
|
|
3788
|
+
<button
|
|
3789
|
+
type="button"
|
|
3790
|
+
class="vp-user-menu__end"
|
|
3791
|
+
role="menuitem"
|
|
3792
|
+
data-vp-user-menu-end
|
|
3793
|
+
(click)="runEnd(item, $event); menu.hide()">
|
|
3794
|
+
{{ item.label }}
|
|
3795
|
+
</button>
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
</ng-template>
|
|
3753
3799
|
</p-menu>
|
|
3754
3800
|
</div>
|
|
3755
|
-
`, isInline: true, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__name{color:var(--vp-text-primary)}.vp-user-menu[data-variant=sidebar]{display:block}.vp-user-menu__who{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:var(--vp-radius-md);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.vp-user-menu__who:hover{border-color:var(--vp-border-default);background:var(--vp-surface-sunken)}.vp-user-menu__who:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-compact] .vp-user-menu__who{justify-content:center;padding:5px 0}.vp-user-menu__avatar--square{flex:none;width:28px;height:28px;margin-right:0;border-radius:var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-text-sm)}.vp-user-menu[data-compact] .vp-user-menu__avatar--square{width:26px;height:26px;font-size:11px}.vp-user-menu__who .vp-user-menu__text{flex:1;min-width:0}.vp-user-menu__who .vp-user-menu__name{display:block;overflow:hidden;font-size:var(--vp-text-sm);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__who .vp-user-menu__subtitle{display:block}.vp-user-menu__who .vp-user-menu__subtitle{color:var(--vp-text-muted)}.vp-user-menu__chevron{flex:none;width:12px;height:12px;color:var(--vp-text-muted)}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i2$1.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3801
|
+
`, isInline: true, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__name{color:var(--vp-text-primary)}.vp-user-menu__heading{margin:0;padding:6px 10px 8px;overflow:hidden;color:var(--vp-text-muted);font-size:var(--vp-text-xs);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__sep{height:1px;margin:4px 0;background:var(--vp-border-subtle)}.vp-user-menu__end{display:flex;align-items:center;width:100%;padding:8px 10px;border:0;border-radius:var(--vp-radius-md);background:none;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-sm);text-align:left;cursor:pointer}.vp-user-menu__end:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-user-menu__end:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-variant=sidebar]{display:block}.vp-user-menu__who{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:var(--vp-radius-md);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.vp-user-menu__who:hover{border-color:var(--vp-border-default);background:var(--vp-surface-sunken)}.vp-user-menu__who:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-compact] .vp-user-menu__who{justify-content:center;padding:5px 0}.vp-user-menu__avatar--square{flex:none;width:28px;height:28px;margin-right:0;border-radius:var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-text-sm)}.vp-user-menu[data-compact] .vp-user-menu__avatar--square{width:26px;height:26px;font-size:11px}.vp-user-menu__who .vp-user-menu__text{flex:1;min-width:0}.vp-user-menu__who .vp-user-menu__name{display:block;overflow:hidden;font-size:var(--vp-text-sm);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__who .vp-user-menu__subtitle{display:block}.vp-user-menu__who .vp-user-menu__subtitle{color:var(--vp-text-muted)}.vp-user-menu__chevron{flex:none;width:12px;height:12px;color:var(--vp-text-muted)}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i2$1.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3756
3802
|
}
|
|
3757
3803
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpUserMenuComponent, decorators: [{
|
|
3758
3804
|
type: Component,
|
|
@@ -3807,10 +3853,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
3807
3853
|
}
|
|
3808
3854
|
|
|
3809
3855
|
<p-menu #menu [model]="items" [popup]="true" [id]="menuId">
|
|
3810
|
-
|
|
3856
|
+
<!-- customer-console/010: prototip #accountMenu başı (.menu__label) — kimin oturumu. -->
|
|
3857
|
+
<ng-template #start>
|
|
3858
|
+
@if (heading) {
|
|
3859
|
+
<p class="vp-user-menu__heading" data-vp-user-menu-heading>{{ heading }}</p>
|
|
3860
|
+
}
|
|
3861
|
+
</ng-template>
|
|
3862
|
+
<ng-template #end>
|
|
3863
|
+
<ng-content select="[menuBlocks]" />
|
|
3864
|
+
<!-- Prototip: bloklardan sonra ayraç ve "Oturumu kapat" — menünün EN SONU. -->
|
|
3865
|
+
@if (endItems.length) {
|
|
3866
|
+
<div class="vp-user-menu__sep" role="separator"></div>
|
|
3867
|
+
@for (item of endItems; track item.label) {
|
|
3868
|
+
<button
|
|
3869
|
+
type="button"
|
|
3870
|
+
class="vp-user-menu__end"
|
|
3871
|
+
role="menuitem"
|
|
3872
|
+
data-vp-user-menu-end
|
|
3873
|
+
(click)="runEnd(item, $event); menu.hide()">
|
|
3874
|
+
{{ item.label }}
|
|
3875
|
+
</button>
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
</ng-template>
|
|
3811
3879
|
</p-menu>
|
|
3812
3880
|
</div>
|
|
3813
|
-
`, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__name{color:var(--vp-text-primary)}.vp-user-menu[data-variant=sidebar]{display:block}.vp-user-menu__who{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:var(--vp-radius-md);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.vp-user-menu__who:hover{border-color:var(--vp-border-default);background:var(--vp-surface-sunken)}.vp-user-menu__who:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-compact] .vp-user-menu__who{justify-content:center;padding:5px 0}.vp-user-menu__avatar--square{flex:none;width:28px;height:28px;margin-right:0;border-radius:var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-text-sm)}.vp-user-menu[data-compact] .vp-user-menu__avatar--square{width:26px;height:26px;font-size:11px}.vp-user-menu__who .vp-user-menu__text{flex:1;min-width:0}.vp-user-menu__who .vp-user-menu__name{display:block;overflow:hidden;font-size:var(--vp-text-sm);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__who .vp-user-menu__subtitle{display:block}.vp-user-menu__who .vp-user-menu__subtitle{color:var(--vp-text-muted)}.vp-user-menu__chevron{flex:none;width:12px;height:12px;color:var(--vp-text-muted)}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"] }]
|
|
3881
|
+
`, styles: [".vp-user-menu__avatar{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-right:var(--vp-space-2, .5rem);border-radius:50%;background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-font-size-xs, .75rem);font-weight:600}.vp-user-menu__text{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}.vp-user-menu__name{color:var(--vp-text-primary)}.vp-user-menu__heading{margin:0;padding:6px 10px 8px;overflow:hidden;color:var(--vp-text-muted);font-size:var(--vp-text-xs);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__sep{height:1px;margin:4px 0;background:var(--vp-border-subtle)}.vp-user-menu__end{display:flex;align-items:center;width:100%;padding:8px 10px;border:0;border-radius:var(--vp-radius-md);background:none;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-sm);text-align:left;cursor:pointer}.vp-user-menu__end:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-user-menu__end:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-variant=sidebar]{display:block}.vp-user-menu__who{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:var(--vp-radius-md);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.vp-user-menu__who:hover{border-color:var(--vp-border-default);background:var(--vp-surface-sunken)}.vp-user-menu__who:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-user-menu[data-compact] .vp-user-menu__who{justify-content:center;padding:5px 0}.vp-user-menu__avatar--square{flex:none;width:28px;height:28px;margin-right:0;border-radius:var(--vp-radius-md);background:var(--vp-brand);color:var(--vp-text-on-accent);font-size:var(--vp-text-sm)}.vp-user-menu[data-compact] .vp-user-menu__avatar--square{width:26px;height:26px;font-size:11px}.vp-user-menu__who .vp-user-menu__text{flex:1;min-width:0}.vp-user-menu__who .vp-user-menu__name{display:block;overflow:hidden;font-size:var(--vp-text-sm);text-overflow:ellipsis;white-space:nowrap}.vp-user-menu__who .vp-user-menu__subtitle{display:block}.vp-user-menu__who .vp-user-menu__subtitle{color:var(--vp-text-muted)}.vp-user-menu__chevron{flex:none;width:12px;height:12px;color:var(--vp-text-muted)}.vp-user-menu__subtitle{font-size:var(--vp-font-size-xs, .75rem);color:var(--vp-text-muted, #8b949e)}\n"] }]
|
|
3814
3882
|
}], propDecorators: { displayName: [{
|
|
3815
3883
|
type: Input,
|
|
3816
3884
|
args: [{ required: true }]
|
|
@@ -3818,6 +3886,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
3818
3886
|
type: Input
|
|
3819
3887
|
}], items: [{
|
|
3820
3888
|
type: Input
|
|
3889
|
+
}], heading: [{
|
|
3890
|
+
type: Input
|
|
3891
|
+
}], endItems: [{
|
|
3892
|
+
type: Input
|
|
3821
3893
|
}], menuId: [{
|
|
3822
3894
|
type: Input
|
|
3823
3895
|
}], variant: [{
|
|
@@ -3828,6 +3900,111 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
3828
3900
|
type: Output
|
|
3829
3901
|
}] } });
|
|
3830
3902
|
|
|
3903
|
+
/**
|
|
3904
|
+
* Menü içi etiketli blok — prototip `.pop-block` ("GÖRÜNÜM", "DİL"). customer-console/010.
|
|
3905
|
+
*
|
|
3906
|
+
* Etiket büyük harfle ÇİZİLİYOR, metin olduğu gibi kalıyor; grubun adı `aria-label` ile okunuyor.
|
|
3907
|
+
*/
|
|
3908
|
+
class VpMenuSectionComponent {
|
|
3909
|
+
constructor() {
|
|
3910
|
+
this.label = '';
|
|
3911
|
+
}
|
|
3912
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMenuSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3913
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: VpMenuSectionComponent, isStandalone: true, selector: "vp-menu-section", inputs: { label: "label" }, ngImport: i0, template: `
|
|
3914
|
+
<div class="vp-menu-section" role="group" [attr.aria-label]="label">
|
|
3915
|
+
<p class="vp-menu-section__label" data-vp-menu-section-label aria-hidden="true">{{ label }}</p>
|
|
3916
|
+
<ng-content />
|
|
3917
|
+
</div>
|
|
3918
|
+
`, isInline: true, styles: [":host{display:block}.vp-menu-section{padding:8px 8px 9px}.vp-menu-section__label{margin:0 0 7px;color:var(--vp-text-muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3919
|
+
}
|
|
3920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpMenuSectionComponent, decorators: [{
|
|
3921
|
+
type: Component,
|
|
3922
|
+
args: [{ selector: 'vp-menu-section', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
3923
|
+
<div class="vp-menu-section" role="group" [attr.aria-label]="label">
|
|
3924
|
+
<p class="vp-menu-section__label" data-vp-menu-section-label aria-hidden="true">{{ label }}</p>
|
|
3925
|
+
<ng-content />
|
|
3926
|
+
</div>
|
|
3927
|
+
`, styles: [":host{display:block}.vp-menu-section{padding:8px 8px 9px}.vp-menu-section__label{margin:0 0 7px;color:var(--vp-text-muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}\n"] }]
|
|
3928
|
+
}], propDecorators: { label: [{
|
|
3929
|
+
type: Input,
|
|
3930
|
+
args: [{ required: true }]
|
|
3931
|
+
}] } });
|
|
3932
|
+
|
|
3933
|
+
/**
|
|
3934
|
+
* Dil seçimi — prototip `.lang-row` (customer-console/010): bayrak · kendi adı · kod · seçiliyse ✓. Satırlar
|
|
3935
|
+
* `menuitemradio`; seçili olan `aria-checked="true"` (✓ yalnız görsel, anlamı nitelik taşıyor — WCAG 1.4.1).
|
|
3936
|
+
*
|
|
3937
|
+
* Bileşen dili DEĞİŞTİRMEZ: seçimi bildirir; nasıl uygulanacağı (kaydet + yeniden yükle, canlı çeviri) konsolun işi.
|
|
3938
|
+
*/
|
|
3939
|
+
class VpLanguageListComponent {
|
|
3940
|
+
constructor() {
|
|
3941
|
+
this.languages = [];
|
|
3942
|
+
/** Seçili dil kodu. */
|
|
3943
|
+
this.value = null;
|
|
3944
|
+
/** Satırların altındaki kısa not; boşsa çizilmez. */
|
|
3945
|
+
this.hint = null;
|
|
3946
|
+
this.valueChange = new EventEmitter();
|
|
3947
|
+
}
|
|
3948
|
+
pick(code) {
|
|
3949
|
+
if (code !== this.value)
|
|
3950
|
+
this.valueChange.emit(code);
|
|
3951
|
+
}
|
|
3952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpLanguageListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3953
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpLanguageListComponent, isStandalone: true, selector: "vp-language-list", inputs: { languages: "languages", value: "value", hint: "hint" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
|
|
3954
|
+
@for (language of languages; track language.code) {
|
|
3955
|
+
<button
|
|
3956
|
+
type="button"
|
|
3957
|
+
class="vp-language-list__row"
|
|
3958
|
+
role="menuitemradio"
|
|
3959
|
+
[attr.data-vp-language]="language.code"
|
|
3960
|
+
[attr.aria-checked]="language.code === value"
|
|
3961
|
+
(click)="pick(language.code)">
|
|
3962
|
+
@if (language.flag) {
|
|
3963
|
+
<span class="vp-language-list__flag" aria-hidden="true">{{ language.flag }}</span>
|
|
3964
|
+
}
|
|
3965
|
+
<span class="vp-language-list__label">{{ language.label }}</span>
|
|
3966
|
+
<span class="vp-language-list__code" data-vp-language-code>{{ language.code }}</span>
|
|
3967
|
+
<span class="vp-language-list__check" aria-hidden="true">✓</span>
|
|
3968
|
+
</button>
|
|
3969
|
+
}
|
|
3970
|
+
@if (hint) {
|
|
3971
|
+
<p class="vp-language-list__hint" data-vp-language-hint>{{ hint }}</p>
|
|
3972
|
+
}
|
|
3973
|
+
`, isInline: true, styles: [":host{display:block}.vp-language-list__row{display:flex;align-items:center;gap:9px;width:100%;padding:5px 8px;border:0;border-radius:var(--vp-radius-md);background:none;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-sm);text-align:left;cursor:pointer}.vp-language-list__row:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-language-list__row:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-language-list__row[aria-checked=true]{color:var(--vp-text-primary)}.vp-language-list__flag{font-size:14px;line-height:1}.vp-language-list__code{font-family:var(--vp-font-mono);font-size:11px;color:var(--vp-text-muted)}.vp-language-list__check{margin-left:auto;color:var(--vp-brand-line);opacity:0}.vp-language-list__row[aria-checked=true] .vp-language-list__check{opacity:1}.vp-language-list__hint{margin:6px 8px 0;color:var(--vp-text-muted);font-size:11px}@media(max-width:900px){.vp-language-list__row{min-height:var(--vp-touch-target, 44px)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3974
|
+
}
|
|
3975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpLanguageListComponent, decorators: [{
|
|
3976
|
+
type: Component,
|
|
3977
|
+
args: [{ selector: 'vp-language-list', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
3978
|
+
@for (language of languages; track language.code) {
|
|
3979
|
+
<button
|
|
3980
|
+
type="button"
|
|
3981
|
+
class="vp-language-list__row"
|
|
3982
|
+
role="menuitemradio"
|
|
3983
|
+
[attr.data-vp-language]="language.code"
|
|
3984
|
+
[attr.aria-checked]="language.code === value"
|
|
3985
|
+
(click)="pick(language.code)">
|
|
3986
|
+
@if (language.flag) {
|
|
3987
|
+
<span class="vp-language-list__flag" aria-hidden="true">{{ language.flag }}</span>
|
|
3988
|
+
}
|
|
3989
|
+
<span class="vp-language-list__label">{{ language.label }}</span>
|
|
3990
|
+
<span class="vp-language-list__code" data-vp-language-code>{{ language.code }}</span>
|
|
3991
|
+
<span class="vp-language-list__check" aria-hidden="true">✓</span>
|
|
3992
|
+
</button>
|
|
3993
|
+
}
|
|
3994
|
+
@if (hint) {
|
|
3995
|
+
<p class="vp-language-list__hint" data-vp-language-hint>{{ hint }}</p>
|
|
3996
|
+
}
|
|
3997
|
+
`, styles: [":host{display:block}.vp-language-list__row{display:flex;align-items:center;gap:9px;width:100%;padding:5px 8px;border:0;border-radius:var(--vp-radius-md);background:none;color:var(--vp-text-secondary);font:inherit;font-size:var(--vp-text-sm);text-align:left;cursor:pointer}.vp-language-list__row:hover{background:var(--vp-surface-sunken);color:var(--vp-text-primary)}.vp-language-list__row:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-language-list__row[aria-checked=true]{color:var(--vp-text-primary)}.vp-language-list__flag{font-size:14px;line-height:1}.vp-language-list__code{font-family:var(--vp-font-mono);font-size:11px;color:var(--vp-text-muted)}.vp-language-list__check{margin-left:auto;color:var(--vp-brand-line);opacity:0}.vp-language-list__row[aria-checked=true] .vp-language-list__check{opacity:1}.vp-language-list__hint{margin:6px 8px 0;color:var(--vp-text-muted);font-size:11px}@media(max-width:900px){.vp-language-list__row{min-height:var(--vp-touch-target, 44px)}}\n"] }]
|
|
3998
|
+
}], propDecorators: { languages: [{
|
|
3999
|
+
type: Input
|
|
4000
|
+
}], value: [{
|
|
4001
|
+
type: Input
|
|
4002
|
+
}], hint: [{
|
|
4003
|
+
type: Input
|
|
4004
|
+
}], valueChange: [{
|
|
4005
|
+
type: Output
|
|
4006
|
+
}] } });
|
|
4007
|
+
|
|
3831
4008
|
/**
|
|
3832
4009
|
* Tema modunun Angular baglantisi — paket 17 §6.1, **P0**.
|
|
3833
4010
|
*
|
|
@@ -5915,6 +6092,11 @@ class VpDataTableComponent {
|
|
|
5915
6092
|
* ⚠️ Suzmeyi bilesen YAPMIYOR: yazilan metni olay olarak veriyor, veriyi
|
|
5916
6093
|
* cagiran suzuyor. Iki yerde suzmek, iki farkli kural demek olurdu.
|
|
5917
6094
|
*/
|
|
6095
|
+
/**
|
|
6096
|
+
* design-system/008: sayfalayıcı ve sayfa bilgisi. Varsayılan `true` (satır varken hep çizili, customer-console/010).
|
|
6097
|
+
* `false`: prototipte sayfalayıcısı olmayan tablo; bileşen satırı dilimlemez, verilenin hepsi çizilir.
|
|
6098
|
+
*/
|
|
6099
|
+
this.showPager = true;
|
|
5918
6100
|
this.searchable = false;
|
|
5919
6101
|
this.searchLabel = 'Ara';
|
|
5920
6102
|
this.searchPlaceholder = 'Ara';
|
|
@@ -5965,8 +6147,9 @@ class VpDataTableComponent {
|
|
|
5965
6147
|
* boş bir kutu değil.
|
|
5966
6148
|
*/
|
|
5967
6149
|
this.rowDetail = null;
|
|
5968
|
-
|
|
5969
|
-
this.
|
|
6150
|
+
/** customer-console/010: prototip `.row-toggle` — ad "Satırı genişlet"; açık/kapalı `aria-expanded` ile söyleniyor. */
|
|
6151
|
+
this.expandLabel = 'Satırı genişlet';
|
|
6152
|
+
this.collapseLabel = 'Satırı genişlet';
|
|
5970
6153
|
this.expandColumnLabel = 'Detay';
|
|
5971
6154
|
this.noDetailLabel = 'Bu satır için detay tanımlanmadı';
|
|
5972
6155
|
/**
|
|
@@ -6365,8 +6548,24 @@ class VpDataTableComponent {
|
|
|
6365
6548
|
return this.cellTemplates[field] ?? null;
|
|
6366
6549
|
}
|
|
6367
6550
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6368
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDataTableComponent, isStandalone: true, selector: "vp-data-table", inputs: { columns: "columns", rows: "rows", total: "total", serverSide: "serverSide", pageSize: "pageSize", loading: "loading", error: "error", hasActiveFilter: "hasActiveFilter", caption: "caption", scrollLabel: "scrollLabel", totalLabel: "totalLabel", headerStyle: "headerStyle", showMeta: "showMeta", selectedKey: "selectedKey", rangeLabel: "rangeLabel", bare: "bare", stack: "stack", loadingLabel: "loadingLabel", emptyLabel: "emptyLabel", emptyFilteredLabel: "emptyFilteredLabel", clearFiltersLabel: "clearFiltersLabel", retryLabel: "retryLabel", searchable: "searchable", searchLabel: "searchLabel", searchPlaceholder: "searchPlaceholder", searchTerm: "searchTerm", pageSizeOptions: "pageSizeOptions", pageSizeLabel: "pageSizeLabel", pagerLabel: "pagerLabel", prevLabel: "prevLabel", nextLabel: "nextLabel", storageKey: "storageKey", selectable: "selectable", rowKey: "rowKey", bulkActions: "bulkActions", bulkResult: "bulkResult", bulkLabel: "bulkLabel", selectedLabel: "selectedLabel", clearSelectionLabel: "clearSelectionLabel", selectPageLabel: "selectPageLabel", selectRowLabel: "selectRowLabel", confirmPrefix: "confirmPrefix", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", succeededLabel: "succeededLabel", failedLabel: "failedLabel", expandable: "expandable", rowDetail: "rowDetail", expandLabel: "expandLabel", collapseLabel: "collapseLabel", expandColumnLabel: "expandColumnLabel", noDetailLabel: "noDetailLabel", rowActions: "rowActions", rowActionsHeader: "rowActionsHeader", cellTemplates: "cellTemplates", exportScopes: "exportScopes", exportPageLabel: "exportPageLabel", exportAllLabel: "exportAllLabel", savedViewsKey: "savedViewsKey", viewsLabel: "viewsLabel", viewsEmptyLabel: "viewsEmptyLabel", saveViewLabel: "saveViewLabel", deleteViewLabel: "deleteViewLabel", askViewName: "askViewName", columnPicker: "columnPicker", columnsLabel: "columnsLabel", moveUpLabel: "moveUpLabel", moveDownLabel: "moveDownLabel" }, outputs: { bulkAction: "bulkAction", exportRequest: "exportRequest", viewApplied: "viewApplied", load: "load", clearFilters: "clearFilters", search: "search" }, usesOnChanges: true, ngImport: i0, template: `
|
|
6551
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: VpDataTableComponent, isStandalone: true, selector: "vp-data-table", inputs: { columns: "columns", rows: "rows", total: "total", serverSide: "serverSide", pageSize: "pageSize", loading: "loading", error: "error", hasActiveFilter: "hasActiveFilter", caption: "caption", scrollLabel: "scrollLabel", totalLabel: "totalLabel", headerStyle: "headerStyle", showMeta: "showMeta", selectedKey: "selectedKey", rangeLabel: "rangeLabel", bare: "bare", stack: "stack", loadingLabel: "loadingLabel", emptyLabel: "emptyLabel", emptyFilteredLabel: "emptyFilteredLabel", clearFiltersLabel: "clearFiltersLabel", retryLabel: "retryLabel", showPager: "showPager", searchable: "searchable", searchLabel: "searchLabel", searchPlaceholder: "searchPlaceholder", searchTerm: "searchTerm", pageSizeOptions: "pageSizeOptions", pageSizeLabel: "pageSizeLabel", pagerLabel: "pagerLabel", prevLabel: "prevLabel", nextLabel: "nextLabel", storageKey: "storageKey", selectable: "selectable", rowKey: "rowKey", bulkActions: "bulkActions", bulkResult: "bulkResult", bulkLabel: "bulkLabel", selectedLabel: "selectedLabel", clearSelectionLabel: "clearSelectionLabel", selectPageLabel: "selectPageLabel", selectRowLabel: "selectRowLabel", confirmPrefix: "confirmPrefix", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", succeededLabel: "succeededLabel", failedLabel: "failedLabel", expandable: "expandable", rowDetail: "rowDetail", expandLabel: "expandLabel", collapseLabel: "collapseLabel", expandColumnLabel: "expandColumnLabel", noDetailLabel: "noDetailLabel", rowActions: "rowActions", rowActionsHeader: "rowActionsHeader", cellTemplates: "cellTemplates", exportScopes: "exportScopes", exportPageLabel: "exportPageLabel", exportAllLabel: "exportAllLabel", savedViewsKey: "savedViewsKey", viewsLabel: "viewsLabel", viewsEmptyLabel: "viewsEmptyLabel", saveViewLabel: "saveViewLabel", deleteViewLabel: "deleteViewLabel", askViewName: "askViewName", columnPicker: "columnPicker", columnsLabel: "columnsLabel", moveUpLabel: "moveUpLabel", moveDownLabel: "moveDownLabel" }, outputs: { bulkAction: "bulkAction", exportRequest: "exportRequest", viewApplied: "viewApplied", load: "load", clearFilters: "clearFilters", search: "search" }, usesOnChanges: true, ngImport: i0, template: `
|
|
6552
|
+
<!-- design-system/008: arama kutusu tek şablon; meta satırında (showMeta) ya da showMeta kapalıyken kendi satırında çizilir. -->
|
|
6553
|
+
<ng-template #searchBox>
|
|
6554
|
+
<input
|
|
6555
|
+
type="search"
|
|
6556
|
+
class="vp-table__search"
|
|
6557
|
+
data-vp-table-search
|
|
6558
|
+
[attr.aria-label]="searchLabel"
|
|
6559
|
+
[attr.placeholder]="searchPlaceholder"
|
|
6560
|
+
[value]="searchTerm"
|
|
6561
|
+
(input)="onSearch($event)" />
|
|
6562
|
+
</ng-template>
|
|
6369
6563
|
<div class="vp-table" [attr.data-header-style]="headerStyle === 'caps' ? 'caps' : null" [attr.data-bare]="bare ? 'true' : null" [attr.data-stack]="stack ? 'true' : null">
|
|
6564
|
+
@if (!showMeta && searchable) {
|
|
6565
|
+
<div class="vp-table__meta vp-table__meta--search">
|
|
6566
|
+
<ng-container [ngTemplateOutlet]="searchBox" />
|
|
6567
|
+
</div>
|
|
6568
|
+
}
|
|
6370
6569
|
@if (showMeta) {
|
|
6371
6570
|
<div class="vp-table__meta">
|
|
6372
6571
|
<span class="vp-table__total" data-vp-total>
|
|
@@ -6375,19 +6574,12 @@ class VpDataTableComponent {
|
|
|
6375
6574
|
@if (rangeLabel) {
|
|
6376
6575
|
<span class="vp-table__range" data-vp-range>{{ rangeLabel }}</span>
|
|
6377
6576
|
}
|
|
6378
|
-
@if (pageCount > 1) {
|
|
6577
|
+
@if (showPager && pageCount > 1) {
|
|
6379
6578
|
<span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
|
|
6380
6579
|
}
|
|
6381
6580
|
|
|
6382
6581
|
@if (searchable) {
|
|
6383
|
-
<
|
|
6384
|
-
type="search"
|
|
6385
|
-
class="vp-table__search"
|
|
6386
|
-
data-vp-table-search
|
|
6387
|
-
[attr.aria-label]="searchLabel"
|
|
6388
|
-
[attr.placeholder]="searchPlaceholder"
|
|
6389
|
-
[value]="searchTerm"
|
|
6390
|
-
(input)="onSearch($event)" />
|
|
6582
|
+
<ng-container [ngTemplateOutlet]="searchBox" />
|
|
6391
6583
|
}
|
|
6392
6584
|
|
|
6393
6585
|
@if (savedViewsKey) {
|
|
@@ -6657,7 +6849,8 @@ class VpDataTableComponent {
|
|
|
6657
6849
|
</table>
|
|
6658
6850
|
</div>
|
|
6659
6851
|
|
|
6660
|
-
|
|
6852
|
+
<!-- customer-console/010: prototip .table-foot .pager — satır varken her zaman; tek sayfada düğmeler pasif. -->
|
|
6853
|
+
@if (showPager && total > 0) {
|
|
6661
6854
|
<nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
|
|
6662
6855
|
@if (pageSizeOptions.length > 0) {
|
|
6663
6856
|
<select
|
|
@@ -6685,12 +6878,28 @@ class VpDataTableComponent {
|
|
|
6685
6878
|
}
|
|
6686
6879
|
}
|
|
6687
6880
|
</div>
|
|
6688
|
-
`, isInline: true, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__scroll:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: VpSavedViewsMenuComponent, selector: "vp-saved-views-menu", inputs: ["views", "active", "saveLabel", "deleteLabel", "menuLabel", "emptyLabel"], outputs: ["saveRequested", "viewChosen", "deleteRequested"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6881
|
+
`, isInline: true, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__scroll:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-table-head-bg, var(--vp-surface-raised));border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-table-head-weight, var(--vp-weight-semibold))}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: VpSavedViewsMenuComponent, selector: "vp-saved-views-menu", inputs: ["views", "active", "saveLabel", "deleteLabel", "menuLabel", "emptyLabel"], outputs: ["saveRequested", "viewChosen", "deleteRequested"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6689
6882
|
}
|
|
6690
6883
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: VpDataTableComponent, decorators: [{
|
|
6691
6884
|
type: Component,
|
|
6692
6885
|
args: [{ selector: 'vp-data-table', standalone: true, imports: [NgTemplateOutlet, VpSavedViewsMenuComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
6886
|
+
<!-- design-system/008: arama kutusu tek şablon; meta satırında (showMeta) ya da showMeta kapalıyken kendi satırında çizilir. -->
|
|
6887
|
+
<ng-template #searchBox>
|
|
6888
|
+
<input
|
|
6889
|
+
type="search"
|
|
6890
|
+
class="vp-table__search"
|
|
6891
|
+
data-vp-table-search
|
|
6892
|
+
[attr.aria-label]="searchLabel"
|
|
6893
|
+
[attr.placeholder]="searchPlaceholder"
|
|
6894
|
+
[value]="searchTerm"
|
|
6895
|
+
(input)="onSearch($event)" />
|
|
6896
|
+
</ng-template>
|
|
6693
6897
|
<div class="vp-table" [attr.data-header-style]="headerStyle === 'caps' ? 'caps' : null" [attr.data-bare]="bare ? 'true' : null" [attr.data-stack]="stack ? 'true' : null">
|
|
6898
|
+
@if (!showMeta && searchable) {
|
|
6899
|
+
<div class="vp-table__meta vp-table__meta--search">
|
|
6900
|
+
<ng-container [ngTemplateOutlet]="searchBox" />
|
|
6901
|
+
</div>
|
|
6902
|
+
}
|
|
6694
6903
|
@if (showMeta) {
|
|
6695
6904
|
<div class="vp-table__meta">
|
|
6696
6905
|
<span class="vp-table__total" data-vp-total>
|
|
@@ -6699,19 +6908,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
6699
6908
|
@if (rangeLabel) {
|
|
6700
6909
|
<span class="vp-table__range" data-vp-range>{{ rangeLabel }}</span>
|
|
6701
6910
|
}
|
|
6702
|
-
@if (pageCount > 1) {
|
|
6911
|
+
@if (showPager && pageCount > 1) {
|
|
6703
6912
|
<span class="vp-table__pageinfo">{{ page }} / {{ pageCount }}</span>
|
|
6704
6913
|
}
|
|
6705
6914
|
|
|
6706
6915
|
@if (searchable) {
|
|
6707
|
-
<
|
|
6708
|
-
type="search"
|
|
6709
|
-
class="vp-table__search"
|
|
6710
|
-
data-vp-table-search
|
|
6711
|
-
[attr.aria-label]="searchLabel"
|
|
6712
|
-
[attr.placeholder]="searchPlaceholder"
|
|
6713
|
-
[value]="searchTerm"
|
|
6714
|
-
(input)="onSearch($event)" />
|
|
6916
|
+
<ng-container [ngTemplateOutlet]="searchBox" />
|
|
6715
6917
|
}
|
|
6716
6918
|
|
|
6717
6919
|
@if (savedViewsKey) {
|
|
@@ -6981,7 +7183,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
6981
7183
|
</table>
|
|
6982
7184
|
</div>
|
|
6983
7185
|
|
|
6984
|
-
|
|
7186
|
+
<!-- customer-console/010: prototip .table-foot .pager — satır varken her zaman; tek sayfada düğmeler pasif. -->
|
|
7187
|
+
@if (showPager && total > 0) {
|
|
6985
7188
|
<nav class="vp-table__pager" [attr.aria-label]="pagerLabel">
|
|
6986
7189
|
@if (pageSizeOptions.length > 0) {
|
|
6987
7190
|
<select
|
|
@@ -7009,7 +7212,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
7009
7212
|
}
|
|
7010
7213
|
}
|
|
7011
7214
|
</div>
|
|
7012
|
-
`, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__scroll:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-surface-raised);border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-weight-semibold)}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"] }]
|
|
7215
|
+
`, styles: [":host{display:block}.vp-table{border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);overflow:hidden}.vp-table__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);padding:var(--vp-space-3) var(--vp-space-4);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-muted);font-size:var(--vp-text-sm);font-variant-numeric:tabular-nums}.vp-table__scroll{overflow-x:auto}.vp-table__scroll:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__table{width:100%;border-collapse:collapse;font-size:var(--vp-text-base)}.vp-table__table th{position:sticky;top:0;z-index:1;height:var(--vp-header-height);padding:0 var(--vp-space-3);text-align:left;white-space:nowrap;background:var(--vp-table-head-bg, var(--vp-surface-raised));border-bottom:1px solid var(--vp-border-default);color:var(--vp-text-secondary);font-size:var(--vp-text-sm);font-weight:var(--vp-table-head-weight, var(--vp-weight-semibold))}.vp-table__table td{height:var(--vp-row-height);padding:0 var(--vp-space-3);border-bottom:1px solid var(--vp-border-subtle);color:var(--vp-text-primary);font-variant-numeric:tabular-nums}.vp-table__table tbody tr:hover td{background:var(--vp-surface-sunken)}.vp-table__table tbody tr:last-child td{border-bottom:0}.vp-table__sort{display:inline-flex;align-items:center;gap:var(--vp-space-1);min-height:var(--vp-min-target);padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.vp-table__sort:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__sort-icon{color:var(--vp-text-muted)}.vp-table__empty,.vp-table__error{display:flex;flex-direction:column;align-items:center;gap:var(--vp-space-3);padding:var(--vp-space-12) var(--vp-space-6);text-align:center;color:var(--vp-text-secondary)}.vp-table__state-icon{width:40px;height:40px;color:var(--vp-text-muted)}.vp-table__error .vp-table__state-icon{color:var(--vp-sev-critical)}.vp-table__state-text{margin:0}.vp-table__retry{min-height:var(--vp-control-height);padding:0 var(--vp-space-4);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__retry:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__skeleton{display:flex;flex-direction:column;gap:1px;padding:var(--vp-space-2)}.vp-table__skeleton-row{display:block;height:var(--vp-row-height);border-radius:var(--vp-radius-sm);background:var(--vp-surface-sunken);animation:vp-table-pulse 1.4s var(--vp-ease-standard) infinite}@keyframes vp-table-pulse{0%,to{opacity:1}50%{opacity:.55}}.vp-table__search{flex:1 1 12rem;min-width:8rem;max-width:18rem;min-height:var(--vp-control-height);box-sizing:border-box;padding:.25rem .5rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}@media(max-width:640px){.vp-table__meta{flex-wrap:wrap}.vp-table__search{flex:1 1 100%;max-width:none}}.vp-table__page-size{min-height:var(--vp-control-height);box-sizing:border-box;padding:.2rem .4rem;border:1px solid var(--vp-border-subtle);border-radius:var(--vp-radius-sm);background:var(--vp-surface-base);color:var(--vp-text-primary);font:inherit}.vp-table__pager{display:flex;justify-content:flex-end;gap:var(--vp-space-2);padding:var(--vp-space-3) var(--vp-space-4);border-top:1px solid var(--vp-border-subtle)}.vp-table__page-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__page-btn:disabled{opacity:.5;cursor:not-allowed}.vp-table__page-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}@media(prefers-reduced-motion:reduce){.vp-table__skeleton-row{animation:none}}.vp-table__views{margin-left:auto}.vp-table__cols-btn{margin-left:auto;min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-raised);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__cols-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__icon-btn{display:inline-grid;place-items:center;min-width:var(--vp-control-height);padding:0;color:var(--vp-text-secondary)}.vp-table__icon-btn:hover{color:var(--vp-text-primary)}.vp-table__icon{width:18px;height:18px}.vp-table__cols{display:flex;flex-direction:column;gap:var(--vp-space-1);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised)}.vp-table__cols-row{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3)}.vp-table__cols-label{display:flex;align-items:center;gap:var(--vp-space-2);cursor:pointer}.vp-table__cols-move button{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);cursor:pointer}.vp-table__cols-move button:disabled{opacity:.4;cursor:not-allowed}.vp-table__cols-move button:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__select-cell{width:var(--vp-min-target);text-align:center}.vp-table__bulk,.vp-table__bulk-confirm,.vp-table__bulk-report{display:flex;align-items:center;justify-content:space-between;gap:var(--vp-space-3);margin-bottom:var(--vp-space-3);padding:var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-lg);background:var(--vp-surface-raised);font-size:var(--vp-text-sm)}.vp-table__bulk-report{display:block}.vp-table__bulk-confirm{border-color:var(--vp-danger)}.vp-table__bulk-actions{display:flex;gap:var(--vp-space-2)}.vp-table__bulk-btn{min-height:var(--vp-control-height);min-width:var(--vp-min-target);padding:0 var(--vp-space-3);border:1px solid var(--vp-border-default);border-radius:var(--vp-radius-md);background:var(--vp-surface-default);color:var(--vp-text-primary);font:inherit;cursor:pointer}.vp-table__bulk-btn:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__bulk-btn--danger{border-color:var(--vp-danger);color:var(--vp-danger)}.vp-table__bulk-failures{margin:var(--vp-space-2) 0 0;padding-left:var(--vp-space-5)}.vp-table__expand{min-width:var(--vp-min-target);min-height:var(--vp-min-target);border:1px solid transparent;border-radius:var(--vp-radius-md);background:transparent;color:var(--vp-text-primary);cursor:pointer}.vp-table__expand:focus-visible{outline:var(--vp-focus-width) solid var(--vp-focus-ring);outline-offset:var(--vp-focus-offset)}.vp-table__detail-row>td{background:var(--vp-surface-raised);padding:var(--vp-space-4)}.vp-table__detail-empty{color:var(--vp-text-muted)}.vp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vp-table__range{color:var(--vp-text-muted);font-size:var(--vp-text-xs);font-variant-numeric:tabular-nums}.vp-table__table [data-align=end]{text-align:end}.vp-table__table [data-align=center]{text-align:center}.vp-table__table [data-mono=true]{font-family:var(--vp-font-mono);font-variant-numeric:tabular-nums}.vp-table__table [data-nowrap=true]{white-space:nowrap}.vp-table__table td[data-emphasis=true]{font-weight:var(--vp-weight-semibold)}.vp-table[data-header-style=caps] .vp-table__table th{font-family:var(--vp-font-mono);font-size:var(--vp-text-xs);letter-spacing:.06em;text-transform:uppercase}.vp-table[data-bare=true]{border:0;border-radius:0;background:transparent}@media(max-width:640px){.vp-table[data-stack=true] .vp-table__table thead{display:none}.vp-table[data-stack=true] .vp-table__table tr[data-vp-row]{display:block;padding:var(--vp-space-2) 0;border-bottom:1px solid var(--vp-border-subtle)}.vp-table[data-stack=true] .vp-table__table td{display:flex;justify-content:space-between;gap:var(--vp-space-3);border:0}.vp-table[data-stack=true] .vp-table__table td[data-label]:before{content:attr(data-label);color:var(--vp-text-muted);font-size:var(--vp-text-xs)}}\n"] }]
|
|
7013
7216
|
}], propDecorators: { columns: [{
|
|
7014
7217
|
type: Input,
|
|
7015
7218
|
args: [{ required: true }]
|
|
@@ -7055,6 +7258,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
7055
7258
|
type: Input
|
|
7056
7259
|
}], retryLabel: [{
|
|
7057
7260
|
type: Input
|
|
7261
|
+
}], showPager: [{
|
|
7262
|
+
type: Input
|
|
7058
7263
|
}], searchable: [{
|
|
7059
7264
|
type: Input
|
|
7060
7265
|
}], searchLabel: [{
|
|
@@ -13935,5 +14140,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
13935
14140
|
* Generated bundle index. Do not edit.
|
|
13936
14141
|
*/
|
|
13937
14142
|
|
|
13938
|
-
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, VpCodeBlockComponent, VpCommandPaletteComponent, VpConfirmComponent, VpConnectivityService, VpContextToolbarComponent, VpControlComponent, VpCopyButtonComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDocLinkComponent, VpDrawerComponent, VpEngineResultComponent, VpFeedRowComponent, VpFeedbackEntryComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpKvRowComponent, VpLiveChipComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpMixMeterComponent, VpNoteComponent, VpNotificationIslandComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpPanelComponent, VpProductSwitcherComponent, VpRankedBarsComponent, VpRateLimitInterceptor, VpRateLimitService, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpScoreRingComponent, VpSearchTriggerComponent, VpSegmentedComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareBarComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStackedBarsComponent, VpStateComponent, VpStatusMarkComponent, VpSwitchRowComponent, VpThemeControlComponent, VpThemeService, VpTipDirective, 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, highlightCode, 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 };
|
|
14143
|
+
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, VpCodeBlockComponent, VpCommandPaletteComponent, VpConfirmComponent, VpConnectivityService, VpContextToolbarComponent, VpControlComponent, VpCopyButtonComponent, VpCsrfInterceptor, VpDangerZoneComponent, VpDataTableComponent, VpDeepHealthService, VpDetectionRowComponent, VpDialogComponent, VpDocLinkComponent, VpDrawerComponent, VpEngineResultComponent, VpFeedRowComponent, VpFeedbackEntryComponent, VpFieldComponent, VpGlobalLayersComponent, VpHashValueComponent, VpHttpIdsInterceptor, VpIconSpriteService, VpIocListComponent, VpKpiCardComponent, VpKvRowComponent, VpLanguageListComponent, VpLiveChipComponent, VpMaintenanceInterceptor, VpMenuButtonComponent, VpMenuSectionComponent, VpMixMeterComponent, VpNoteComponent, VpNotificationIslandComponent, VpNotificationTriggerComponent, VpPageHeaderComponent, VpPanelComponent, VpProductSwitcherComponent, VpRankedBarsComponent, VpRateLimitInterceptor, VpRateLimitService, VpRiskScoreComponent, VpSaveBarComponent, VpScanTimelineComponent, VpScoreBreakdownComponent, VpScoreRingComponent, VpSearchTriggerComponent, VpSegmentedComponent, VpSettingsShellComponent, VpSeverityBadgeComponent, VpShareBarComponent, VpShareTokenInterceptor, VpShellComponent, VpSidebarComponent, VpSidebarToggleComponent, VpSkipLinkComponent, VpStackedBarsComponent, VpStateComponent, VpStatusMarkComponent, VpSwitchRowComponent, VpThemeControlComponent, VpThemeService, VpTipDirective, 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, highlightCode, 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 };
|
|
13939
14144
|
//# sourceMappingURL=virusis-angular-ui.mjs.map
|