@ucme-ui/angular 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2901,6 +2901,9 @@ var HuDialog = class HuDialog {
|
|
|
2901
2901
|
onCancel(event) {
|
|
2902
2902
|
if (!this.closeOnEsc()) event.preventDefault();
|
|
2903
2903
|
}
|
|
2904
|
+
onMouseDown(event) {
|
|
2905
|
+
this.pointerDownOnBackdrop = event.target === this.dialogRef().nativeElement;
|
|
2906
|
+
}
|
|
2904
2907
|
onClick(event) {
|
|
2905
2908
|
if (this.closeOnBackdrop() && this.pointerDownOnBackdrop && event.target === this.dialogRef().nativeElement) this.close();
|
|
2906
2909
|
this.pointerDownOnBackdrop = false;
|
|
@@ -2984,7 +2987,7 @@ var HuDialog = class HuDialog {
|
|
|
2984
2987
|
[attr.aria-labelledby]="titleId"
|
|
2985
2988
|
(close)="onNativeClose()"
|
|
2986
2989
|
(cancel)="onCancel($event)"
|
|
2987
|
-
(mousedown)="
|
|
2990
|
+
(mousedown)="onMouseDown($event)"
|
|
2988
2991
|
(click)="onClick($event)"
|
|
2989
2992
|
>
|
|
2990
2993
|
<div class="hu-dialog__panel">
|
|
@@ -3039,7 +3042,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3039
3042
|
[attr.aria-labelledby]="titleId"
|
|
3040
3043
|
(close)="onNativeClose()"
|
|
3041
3044
|
(cancel)="onCancel($event)"
|
|
3042
|
-
(mousedown)="
|
|
3045
|
+
(mousedown)="onMouseDown($event)"
|
|
3043
3046
|
(click)="onClick($event)"
|
|
3044
3047
|
>
|
|
3045
3048
|
<div class="hu-dialog__panel">
|
|
@@ -7622,7 +7625,7 @@ var HuMultiSelect = class HuMultiSelect {
|
|
|
7622
7625
|
],
|
|
7623
7626
|
ngImport: i0,
|
|
7624
7627
|
template: "<div\r\n #trigger\r\n class=\"hu-multi-select__trigger\"\r\n role=\"combobox\"\r\n aria-haspopup=\"listbox\"\r\n [id]=\"id()\"\r\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\r\n [attr.aria-expanded]=\"open()\"\r\n [attr.aria-controls]=\"listId\"\r\n [attr.aria-disabled]=\"isDisabled() || null\"\r\n [attr.aria-invalid]=\"isInvalid() || null\"\r\n [attr.aria-describedby]=\"field?.describedBy() ?? null\"\r\n [attr.aria-label]=\"ariaLabel() || null\"\r\n [class.hu-multi-select__trigger--invalid]=\"isInvalid()\"\r\n (click)=\"toggle()\"\r\n (keydown)=\"onTriggerKeydown($event)\"\r\n>\r\n <div class=\"hu-multi-select__values\">\r\n @if (!selectedOptions().length) {\r\n <span class=\"hu-multi-select__placeholder\">{{ placeholder() }}</span>\r\n } @else if (showChips()) {\r\n @for (o of selectedOptions(); track o.value) {\r\n <span class=\"hu-multi-select__chip\">\r\n {{ o.label }}\r\n @if (!isDisabled()) {\r\n <button\r\n type=\"button\"\r\n class=\"hu-multi-select__chip-remove\"\r\n tabindex=\"-1\"\r\n [attr.aria-label]=\"o.label + ' kaldır'\"\r\n (click)=\"remove(o, $event)\"\r\n >\r\n <hu-icon name=\"x\" [size]=\"12\" />\r\n </button>\r\n }\r\n </span>\r\n }\r\n } @else {\r\n <span class=\"hu-multi-select__text\">{{ summary() }}</span>\r\n }\r\n </div>\r\n @if (showClear() && selectedOptions().length && !isDisabled()) {\r\n <button type=\"button\" class=\"hu-multi-select__icon-btn\" tabindex=\"-1\" aria-label=\"Seçimi temizle\" (click)=\"clearAll($event)\">\r\n <hu-icon name=\"x\" [size]=\"14\" />\r\n </button>\r\n }\r\n <hu-icon class=\"hu-multi-select__caret\" name=\"chevron-down\" [size]=\"16\" />\r\n</div>\r\n\r\n<div\r\n #panel\r\n popover=\"manual\"\r\n class=\"hu-multi-select__panel\"\r\n [class.hu-multi-select__panel--inline]=\"!supportsPopover\"\r\n [attr.hidden]=\"!supportsPopover && !open() ? '' : null\"\r\n (keydown)=\"onPanelKeydown($event)\"\r\n>\r\n @if (open()) {\r\n @if (filter() || showSelectAll()) {\r\n <div class=\"hu-multi-select__header\">\r\n @if (showSelectAll() && selectionLimit() == null) {\r\n <button\r\n type=\"button\"\r\n class=\"hu-multi-select__all\"\r\n tabindex=\"-1\"\r\n [attr.aria-label]=\"allSelected() ? 'Seçimi kaldır' : 'Tümünü seç'\"\r\n [disabled]=\"!selectable().length\"\r\n (click)=\"toggleAll()\"\r\n >\r\n <span\r\n class=\"hu-multi-select__box\"\r\n [class.hu-multi-select__box--checked]=\"allSelected()\"\r\n [class.hu-multi-select__box--partial]=\"someSelected()\"\r\n aria-hidden=\"true\"\r\n >\r\n @if (allSelected()) {\r\n <hu-icon name=\"check\" [size]=\"12\" />\r\n } @else if (someSelected()) {\r\n <hu-icon name=\"minus\" [size]=\"12\" />\r\n }\r\n </span>\r\n </button>\r\n }\r\n @if (filter()) {\r\n <div class=\"hu-multi-select__search\">\r\n <hu-icon name=\"search\" [size]=\"14\" />\r\n <input\r\n #search\r\n type=\"text\"\r\n class=\"hu-input\"\r\n data-size=\"sm\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n [attr.aria-label]=\"filterPlaceholder()\"\r\n [attr.aria-controls]=\"listId\"\r\n [attr.aria-activedescendant]=\"activeIndex() >= 0 ? optionId(activeIndex()) : null\"\r\n [placeholder]=\"filterPlaceholder()\"\r\n [value]=\"query()\"\r\n (input)=\"onQuery($any($event.target).value)\"\r\n />\r\n </div>\r\n } @else if (showSelectAll() && selectionLimit() == null) {\r\n <span class=\"hu-multi-select__all-label\" (click)=\"toggleAll()\">Tümünü seç</span>\r\n }\r\n </div>\r\n }\r\n\r\n <ul\r\n #listbox\r\n class=\"hu-multi-select__list\"\r\n role=\"listbox\"\r\n aria-multiselectable=\"true\"\r\n [id]=\"listId\"\r\n [attr.tabindex]=\"filter() ? -1 : 0\"\r\n [attr.aria-label]=\"ariaLabel() || placeholder()\"\r\n [attr.aria-activedescendant]=\"!filter() && activeIndex() >= 0 ? optionId(activeIndex()) : null\"\r\n >\r\n @for (row of rows(); track $index) {\r\n @if (row.kind === 'group') {\r\n <li class=\"hu-multi-select__group\" role=\"presentation\">{{ row.label }}</li>\r\n } @else {\r\n @let o = row.option;\r\n @let selected = isSelected(o);\r\n @let blocked = !selected && limitReached();\r\n <li\r\n class=\"hu-multi-select__option\"\r\n role=\"option\"\r\n [id]=\"optionId(row.index)\"\r\n [attr.aria-selected]=\"selected\"\r\n [attr.aria-disabled]=\"o.disabled || blocked || null\"\r\n [class.hu-multi-select__option--active]=\"row.index === activeIndex()\"\r\n [class.hu-multi-select__option--disabled]=\"o.disabled || blocked\"\r\n (mousedown)=\"$event.preventDefault()\"\r\n (mousemove)=\"!o.disabled && activeIndex() !== row.index && activeIndex.set(row.index)\"\r\n (click)=\"toggleOption(o)\"\r\n >\r\n <span class=\"hu-multi-select__box\" [class.hu-multi-select__box--checked]=\"selected\" aria-hidden=\"true\">\r\n @if (selected) {\r\n <hu-icon name=\"check\" [size]=\"12\" />\r\n }\r\n </span>\r\n @if (o.icon) {\r\n <hu-icon class=\"hu-multi-select__option-icon\" [name]=\"o.icon\" [size]=\"16\" />\r\n }\r\n <span class=\"hu-multi-select__option-text\">\r\n <span>{{ o.label }}</span>\r\n @if (o.description) {\r\n <span class=\"hu-multi-select__option-desc\">{{ o.description }}</span>\r\n }\r\n </span>\r\n </li>\r\n }\r\n } @empty {\r\n <li class=\"hu-multi-select__empty\" role=\"presentation\">{{ emptyMessage() }}</li>\r\n }\r\n </ul>\r\n\r\n @if (selectionLimit() != null || values().length) {\r\n <div class=\"hu-multi-select__footer\" aria-live=\"polite\">\r\n {{ values().length }}{{ selectionLimit() != null ? ' / ' + selectionLimit() : '' }} seçildi\r\n @if (limitReached()) {\r\n · sınıra ulaşıldı\r\n }\r\n </div>\r\n }\r\n }\r\n</div>\r\n",
|
|
7625
|
-
styles: [".hu-multi-select{position:relative;display:block;width:100%;min-width:0}.hu-multi-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-multi-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-multi-select__trigger:focus,.hu-multi-select--open .hu-multi-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring)}.hu-multi-select__trigger--invalid,.hu-multi-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-multi-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-multi-select--disabled .hu-multi-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-multi-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-multi-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-multi-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-multi-select__placeholder{color:var(--hu-text-subtle)}.hu-multi-select__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-multi-select__chip{display:inline-flex;align-items:center;gap:2px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);overflow:hidden;font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;text-overflow:ellipsis;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-multi-select__chip-remove,.hu-multi-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-multi-select__chip-remove:hover:not(:disabled),.hu-multi-select__icon-btn:hover:not(:disabled){opacity:1;background:#00000014}.hu-multi-select__chip-remove{width:1.125rem;height:1.125rem}.hu-multi-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-multi-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-multi-select--open .hu-multi-select__caret{transform:rotate(180deg)}.hu-multi-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:0;overflow:hidden;color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-multi-select__panel:popover-open{display:flex;animation:hu-multi-select-in .12s ease-out}.hu-multi-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-multi-select__panel--inline[hidden]{display:none}.hu-multi-select__header{display:flex;align-items:center;gap:var(--hu-space-2);padding:var(--hu-space-2) var(--hu-space-3);border-bottom:1px solid var(--hu-border)}.hu-multi-select__all{display:inline-flex;padding:2px;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer}.hu-multi-select__all:disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__all-label{font-size:var(--hu-text-sm);cursor:pointer}.hu-multi-select__search{position:relative;display:flex;flex:1;align-items:center;min-width:0}.hu-multi-select__search>hu-icon{position:absolute;left:var(--hu-space-2);color:var(--hu-text-subtle);pointer-events:none}.hu-multi-select__search>.hu-input{padding-left:1.75rem;box-shadow:none}.hu-multi-select__list{max-height:var(--hu-multi-select-max-height, 16rem);margin:0;padding:var(--hu-space-1);overflow-y:auto;list-style:none;outline:none}.hu-multi-select__group{padding:var(--hu-space-2) var(--hu-space-2) var(--hu-space-1);font-size:var(--hu-text-xs);font-weight:600;color:var(--hu-text-subtle)}.hu-multi-select__option{display:flex;align-items:flex-start;gap:var(--hu-space-2);padding:var(--hu-space-2);font-size:var(--hu-text-sm);line-height:1.35;border-radius:var(--hu-radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none}.hu-multi-select__option--active{background:var(--hu-surface-3)}.hu-multi-select__option[aria-selected=true]{font-weight:500}.hu-multi-select__option--disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__option-icon{color:var(--hu-text-subtle)}.hu-multi-select__option-text{display:flex;flex-direction:column;min-width:0}.hu-multi-select__option-desc{font-size:var(--hu-text-xs);font-weight:400;color:var(--hu-text-subtle)}.hu-multi-select__box{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1rem;height:1rem;margin-top:1px;color:var(--hu-primary-fg);background:var(--hu-surface);border:1.5px solid var(--hu-border-strong);border-radius:4px;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-multi-select__box--checked,.hu-multi-select__box--partial{background:var(--hu-primary);border-color:var(--hu-primary)}.hu-multi-select__empty{padding:var(--hu-space-4) var(--hu-space-2);font-size:var(--hu-text-sm);color:var(--hu-text-subtle);text-align:center}.hu-multi-select__footer{padding:var(--hu-space-2) var(--hu-space-3);font-size:var(--hu-text-xs);color:var(--hu-text-muted);border-top:1px solid var(--hu-border)}@keyframes hu-multi-select-in{0%{opacity:0;transform:translateY(-4px)}}\n"],
|
|
7628
|
+
styles: [".hu-multi-select{position:relative;display:block;width:100%;min-width:0}.hu-multi-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-multi-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-multi-select__trigger:focus,.hu-multi-select--open .hu-multi-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring);transition:none}.hu-multi-select__trigger--invalid,.hu-multi-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-multi-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-multi-select--disabled .hu-multi-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-multi-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-multi-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-multi-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-multi-select__placeholder{color:var(--hu-text-subtle)}.hu-multi-select__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-multi-select__chip{display:inline-flex;align-items:center;gap:2px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);overflow:hidden;font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;text-overflow:ellipsis;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-multi-select__chip-remove,.hu-multi-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-multi-select__chip-remove:hover:not(:disabled),.hu-multi-select__icon-btn:hover:not(:disabled){opacity:1;background:#00000014}.hu-multi-select__chip-remove{width:1.125rem;height:1.125rem}.hu-multi-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-multi-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-multi-select--open .hu-multi-select__caret{transform:rotate(180deg)}.hu-multi-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:0;overflow:hidden;color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-multi-select__panel:popover-open{display:flex;animation:hu-multi-select-in .12s ease-out}.hu-multi-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-multi-select__panel--inline[hidden]{display:none}.hu-multi-select__header{display:flex;align-items:center;gap:var(--hu-space-2);padding:var(--hu-space-2) var(--hu-space-3);border-bottom:1px solid var(--hu-border)}.hu-multi-select__all{display:inline-flex;padding:2px;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer}.hu-multi-select__all:disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__all-label{font-size:var(--hu-text-sm);cursor:pointer}.hu-multi-select__search{position:relative;display:flex;flex:1;align-items:center;min-width:0}.hu-multi-select__search>hu-icon{position:absolute;left:var(--hu-space-2);color:var(--hu-text-subtle);pointer-events:none}.hu-multi-select__search>.hu-input{padding-left:1.75rem;box-shadow:none}.hu-multi-select__list{max-height:var(--hu-multi-select-max-height, 16rem);margin:0;padding:var(--hu-space-1);overflow-y:auto;list-style:none;outline:none}.hu-multi-select__group{padding:var(--hu-space-2) var(--hu-space-2) var(--hu-space-1);font-size:var(--hu-text-xs);font-weight:600;color:var(--hu-text-subtle)}.hu-multi-select__option{display:flex;align-items:flex-start;gap:var(--hu-space-2);padding:var(--hu-space-2);font-size:var(--hu-text-sm);line-height:1.35;border-radius:var(--hu-radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none}.hu-multi-select__option--active{background:var(--hu-surface-3)}.hu-multi-select__option[aria-selected=true]{font-weight:500}.hu-multi-select__option--disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__option-icon{color:var(--hu-text-subtle)}.hu-multi-select__option-text{display:flex;flex-direction:column;min-width:0}.hu-multi-select__option-desc{font-size:var(--hu-text-xs);font-weight:400;color:var(--hu-text-subtle)}.hu-multi-select__box{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1rem;height:1rem;margin-top:1px;color:var(--hu-primary-fg);background:var(--hu-surface);border:1.5px solid var(--hu-border-strong);border-radius:4px;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-multi-select__box--checked,.hu-multi-select__box--partial{background:var(--hu-primary);border-color:var(--hu-primary)}.hu-multi-select__empty{padding:var(--hu-space-4) var(--hu-space-2);font-size:var(--hu-text-sm);color:var(--hu-text-subtle);text-align:center}.hu-multi-select__footer{padding:var(--hu-space-2) var(--hu-space-3);font-size:var(--hu-text-xs);color:var(--hu-text-muted);border-top:1px solid var(--hu-border)}@keyframes hu-multi-select-in{0%{opacity:0;transform:translateY(-4px)}}\n"],
|
|
7626
7629
|
dependencies: [{
|
|
7627
7630
|
kind: "component",
|
|
7628
7631
|
type: HuIcon,
|
|
@@ -7667,7 +7670,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7667
7670
|
encapsulation: ViewEncapsulation.None,
|
|
7668
7671
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7669
7672
|
template: "<div\r\n #trigger\r\n class=\"hu-multi-select__trigger\"\r\n role=\"combobox\"\r\n aria-haspopup=\"listbox\"\r\n [id]=\"id()\"\r\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\r\n [attr.aria-expanded]=\"open()\"\r\n [attr.aria-controls]=\"listId\"\r\n [attr.aria-disabled]=\"isDisabled() || null\"\r\n [attr.aria-invalid]=\"isInvalid() || null\"\r\n [attr.aria-describedby]=\"field?.describedBy() ?? null\"\r\n [attr.aria-label]=\"ariaLabel() || null\"\r\n [class.hu-multi-select__trigger--invalid]=\"isInvalid()\"\r\n (click)=\"toggle()\"\r\n (keydown)=\"onTriggerKeydown($event)\"\r\n>\r\n <div class=\"hu-multi-select__values\">\r\n @if (!selectedOptions().length) {\r\n <span class=\"hu-multi-select__placeholder\">{{ placeholder() }}</span>\r\n } @else if (showChips()) {\r\n @for (o of selectedOptions(); track o.value) {\r\n <span class=\"hu-multi-select__chip\">\r\n {{ o.label }}\r\n @if (!isDisabled()) {\r\n <button\r\n type=\"button\"\r\n class=\"hu-multi-select__chip-remove\"\r\n tabindex=\"-1\"\r\n [attr.aria-label]=\"o.label + ' kaldır'\"\r\n (click)=\"remove(o, $event)\"\r\n >\r\n <hu-icon name=\"x\" [size]=\"12\" />\r\n </button>\r\n }\r\n </span>\r\n }\r\n } @else {\r\n <span class=\"hu-multi-select__text\">{{ summary() }}</span>\r\n }\r\n </div>\r\n @if (showClear() && selectedOptions().length && !isDisabled()) {\r\n <button type=\"button\" class=\"hu-multi-select__icon-btn\" tabindex=\"-1\" aria-label=\"Seçimi temizle\" (click)=\"clearAll($event)\">\r\n <hu-icon name=\"x\" [size]=\"14\" />\r\n </button>\r\n }\r\n <hu-icon class=\"hu-multi-select__caret\" name=\"chevron-down\" [size]=\"16\" />\r\n</div>\r\n\r\n<div\r\n #panel\r\n popover=\"manual\"\r\n class=\"hu-multi-select__panel\"\r\n [class.hu-multi-select__panel--inline]=\"!supportsPopover\"\r\n [attr.hidden]=\"!supportsPopover && !open() ? '' : null\"\r\n (keydown)=\"onPanelKeydown($event)\"\r\n>\r\n @if (open()) {\r\n @if (filter() || showSelectAll()) {\r\n <div class=\"hu-multi-select__header\">\r\n @if (showSelectAll() && selectionLimit() == null) {\r\n <button\r\n type=\"button\"\r\n class=\"hu-multi-select__all\"\r\n tabindex=\"-1\"\r\n [attr.aria-label]=\"allSelected() ? 'Seçimi kaldır' : 'Tümünü seç'\"\r\n [disabled]=\"!selectable().length\"\r\n (click)=\"toggleAll()\"\r\n >\r\n <span\r\n class=\"hu-multi-select__box\"\r\n [class.hu-multi-select__box--checked]=\"allSelected()\"\r\n [class.hu-multi-select__box--partial]=\"someSelected()\"\r\n aria-hidden=\"true\"\r\n >\r\n @if (allSelected()) {\r\n <hu-icon name=\"check\" [size]=\"12\" />\r\n } @else if (someSelected()) {\r\n <hu-icon name=\"minus\" [size]=\"12\" />\r\n }\r\n </span>\r\n </button>\r\n }\r\n @if (filter()) {\r\n <div class=\"hu-multi-select__search\">\r\n <hu-icon name=\"search\" [size]=\"14\" />\r\n <input\r\n #search\r\n type=\"text\"\r\n class=\"hu-input\"\r\n data-size=\"sm\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n [attr.aria-label]=\"filterPlaceholder()\"\r\n [attr.aria-controls]=\"listId\"\r\n [attr.aria-activedescendant]=\"activeIndex() >= 0 ? optionId(activeIndex()) : null\"\r\n [placeholder]=\"filterPlaceholder()\"\r\n [value]=\"query()\"\r\n (input)=\"onQuery($any($event.target).value)\"\r\n />\r\n </div>\r\n } @else if (showSelectAll() && selectionLimit() == null) {\r\n <span class=\"hu-multi-select__all-label\" (click)=\"toggleAll()\">Tümünü seç</span>\r\n }\r\n </div>\r\n }\r\n\r\n <ul\r\n #listbox\r\n class=\"hu-multi-select__list\"\r\n role=\"listbox\"\r\n aria-multiselectable=\"true\"\r\n [id]=\"listId\"\r\n [attr.tabindex]=\"filter() ? -1 : 0\"\r\n [attr.aria-label]=\"ariaLabel() || placeholder()\"\r\n [attr.aria-activedescendant]=\"!filter() && activeIndex() >= 0 ? optionId(activeIndex()) : null\"\r\n >\r\n @for (row of rows(); track $index) {\r\n @if (row.kind === 'group') {\r\n <li class=\"hu-multi-select__group\" role=\"presentation\">{{ row.label }}</li>\r\n } @else {\r\n @let o = row.option;\r\n @let selected = isSelected(o);\r\n @let blocked = !selected && limitReached();\r\n <li\r\n class=\"hu-multi-select__option\"\r\n role=\"option\"\r\n [id]=\"optionId(row.index)\"\r\n [attr.aria-selected]=\"selected\"\r\n [attr.aria-disabled]=\"o.disabled || blocked || null\"\r\n [class.hu-multi-select__option--active]=\"row.index === activeIndex()\"\r\n [class.hu-multi-select__option--disabled]=\"o.disabled || blocked\"\r\n (mousedown)=\"$event.preventDefault()\"\r\n (mousemove)=\"!o.disabled && activeIndex() !== row.index && activeIndex.set(row.index)\"\r\n (click)=\"toggleOption(o)\"\r\n >\r\n <span class=\"hu-multi-select__box\" [class.hu-multi-select__box--checked]=\"selected\" aria-hidden=\"true\">\r\n @if (selected) {\r\n <hu-icon name=\"check\" [size]=\"12\" />\r\n }\r\n </span>\r\n @if (o.icon) {\r\n <hu-icon class=\"hu-multi-select__option-icon\" [name]=\"o.icon\" [size]=\"16\" />\r\n }\r\n <span class=\"hu-multi-select__option-text\">\r\n <span>{{ o.label }}</span>\r\n @if (o.description) {\r\n <span class=\"hu-multi-select__option-desc\">{{ o.description }}</span>\r\n }\r\n </span>\r\n </li>\r\n }\r\n } @empty {\r\n <li class=\"hu-multi-select__empty\" role=\"presentation\">{{ emptyMessage() }}</li>\r\n }\r\n </ul>\r\n\r\n @if (selectionLimit() != null || values().length) {\r\n <div class=\"hu-multi-select__footer\" aria-live=\"polite\">\r\n {{ values().length }}{{ selectionLimit() != null ? ' / ' + selectionLimit() : '' }} seçildi\r\n @if (limitReached()) {\r\n · sınıra ulaşıldı\r\n }\r\n </div>\r\n }\r\n }\r\n</div>\r\n",
|
|
7670
|
-
styles: [".hu-multi-select{position:relative;display:block;width:100%;min-width:0}.hu-multi-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-multi-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-multi-select__trigger:focus,.hu-multi-select--open .hu-multi-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring)}.hu-multi-select__trigger--invalid,.hu-multi-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-multi-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-multi-select--disabled .hu-multi-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-multi-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-multi-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-multi-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-multi-select__placeholder{color:var(--hu-text-subtle)}.hu-multi-select__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-multi-select__chip{display:inline-flex;align-items:center;gap:2px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);overflow:hidden;font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;text-overflow:ellipsis;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-multi-select__chip-remove,.hu-multi-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-multi-select__chip-remove:hover:not(:disabled),.hu-multi-select__icon-btn:hover:not(:disabled){opacity:1;background:#00000014}.hu-multi-select__chip-remove{width:1.125rem;height:1.125rem}.hu-multi-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-multi-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-multi-select--open .hu-multi-select__caret{transform:rotate(180deg)}.hu-multi-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:0;overflow:hidden;color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-multi-select__panel:popover-open{display:flex;animation:hu-multi-select-in .12s ease-out}.hu-multi-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-multi-select__panel--inline[hidden]{display:none}.hu-multi-select__header{display:flex;align-items:center;gap:var(--hu-space-2);padding:var(--hu-space-2) var(--hu-space-3);border-bottom:1px solid var(--hu-border)}.hu-multi-select__all{display:inline-flex;padding:2px;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer}.hu-multi-select__all:disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__all-label{font-size:var(--hu-text-sm);cursor:pointer}.hu-multi-select__search{position:relative;display:flex;flex:1;align-items:center;min-width:0}.hu-multi-select__search>hu-icon{position:absolute;left:var(--hu-space-2);color:var(--hu-text-subtle);pointer-events:none}.hu-multi-select__search>.hu-input{padding-left:1.75rem;box-shadow:none}.hu-multi-select__list{max-height:var(--hu-multi-select-max-height, 16rem);margin:0;padding:var(--hu-space-1);overflow-y:auto;list-style:none;outline:none}.hu-multi-select__group{padding:var(--hu-space-2) var(--hu-space-2) var(--hu-space-1);font-size:var(--hu-text-xs);font-weight:600;color:var(--hu-text-subtle)}.hu-multi-select__option{display:flex;align-items:flex-start;gap:var(--hu-space-2);padding:var(--hu-space-2);font-size:var(--hu-text-sm);line-height:1.35;border-radius:var(--hu-radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none}.hu-multi-select__option--active{background:var(--hu-surface-3)}.hu-multi-select__option[aria-selected=true]{font-weight:500}.hu-multi-select__option--disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__option-icon{color:var(--hu-text-subtle)}.hu-multi-select__option-text{display:flex;flex-direction:column;min-width:0}.hu-multi-select__option-desc{font-size:var(--hu-text-xs);font-weight:400;color:var(--hu-text-subtle)}.hu-multi-select__box{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1rem;height:1rem;margin-top:1px;color:var(--hu-primary-fg);background:var(--hu-surface);border:1.5px solid var(--hu-border-strong);border-radius:4px;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-multi-select__box--checked,.hu-multi-select__box--partial{background:var(--hu-primary);border-color:var(--hu-primary)}.hu-multi-select__empty{padding:var(--hu-space-4) var(--hu-space-2);font-size:var(--hu-text-sm);color:var(--hu-text-subtle);text-align:center}.hu-multi-select__footer{padding:var(--hu-space-2) var(--hu-space-3);font-size:var(--hu-text-xs);color:var(--hu-text-muted);border-top:1px solid var(--hu-border)}@keyframes hu-multi-select-in{0%{opacity:0;transform:translateY(-4px)}}\n"]
|
|
7673
|
+
styles: [".hu-multi-select{position:relative;display:block;width:100%;min-width:0}.hu-multi-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-multi-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-multi-select__trigger:focus,.hu-multi-select--open .hu-multi-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring);transition:none}.hu-multi-select__trigger--invalid,.hu-multi-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-multi-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-multi-select--disabled .hu-multi-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-multi-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-multi-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-multi-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-multi-select__placeholder{color:var(--hu-text-subtle)}.hu-multi-select__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-multi-select__chip{display:inline-flex;align-items:center;gap:2px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);overflow:hidden;font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;text-overflow:ellipsis;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-multi-select__chip-remove,.hu-multi-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-multi-select__chip-remove:hover:not(:disabled),.hu-multi-select__icon-btn:hover:not(:disabled){opacity:1;background:#00000014}.hu-multi-select__chip-remove{width:1.125rem;height:1.125rem}.hu-multi-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-multi-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-multi-select--open .hu-multi-select__caret{transform:rotate(180deg)}.hu-multi-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:0;overflow:hidden;color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-multi-select__panel:popover-open{display:flex;animation:hu-multi-select-in .12s ease-out}.hu-multi-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-multi-select__panel--inline[hidden]{display:none}.hu-multi-select__header{display:flex;align-items:center;gap:var(--hu-space-2);padding:var(--hu-space-2) var(--hu-space-3);border-bottom:1px solid var(--hu-border)}.hu-multi-select__all{display:inline-flex;padding:2px;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer}.hu-multi-select__all:disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__all-label{font-size:var(--hu-text-sm);cursor:pointer}.hu-multi-select__search{position:relative;display:flex;flex:1;align-items:center;min-width:0}.hu-multi-select__search>hu-icon{position:absolute;left:var(--hu-space-2);color:var(--hu-text-subtle);pointer-events:none}.hu-multi-select__search>.hu-input{padding-left:1.75rem;box-shadow:none}.hu-multi-select__list{max-height:var(--hu-multi-select-max-height, 16rem);margin:0;padding:var(--hu-space-1);overflow-y:auto;list-style:none;outline:none}.hu-multi-select__group{padding:var(--hu-space-2) var(--hu-space-2) var(--hu-space-1);font-size:var(--hu-text-xs);font-weight:600;color:var(--hu-text-subtle)}.hu-multi-select__option{display:flex;align-items:flex-start;gap:var(--hu-space-2);padding:var(--hu-space-2);font-size:var(--hu-text-sm);line-height:1.35;border-radius:var(--hu-radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none}.hu-multi-select__option--active{background:var(--hu-surface-3)}.hu-multi-select__option[aria-selected=true]{font-weight:500}.hu-multi-select__option--disabled{opacity:.5;cursor:not-allowed}.hu-multi-select__option-icon{color:var(--hu-text-subtle)}.hu-multi-select__option-text{display:flex;flex-direction:column;min-width:0}.hu-multi-select__option-desc{font-size:var(--hu-text-xs);font-weight:400;color:var(--hu-text-subtle)}.hu-multi-select__box{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1rem;height:1rem;margin-top:1px;color:var(--hu-primary-fg);background:var(--hu-surface);border:1.5px solid var(--hu-border-strong);border-radius:4px;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-multi-select__box--checked,.hu-multi-select__box--partial{background:var(--hu-primary);border-color:var(--hu-primary)}.hu-multi-select__empty{padding:var(--hu-space-4) var(--hu-space-2);font-size:var(--hu-text-sm);color:var(--hu-text-subtle);text-align:center}.hu-multi-select__footer{padding:var(--hu-space-2) var(--hu-space-3);font-size:var(--hu-text-xs);color:var(--hu-text-muted);border-top:1px solid var(--hu-border)}@keyframes hu-multi-select-in{0%{opacity:0;transform:translateY(-4px)}}\n"]
|
|
7671
7674
|
}]
|
|
7672
7675
|
}],
|
|
7673
7676
|
ctorParameters: () => [],
|
|
@@ -16162,7 +16165,7 @@ var HuTreeSelect = class HuTreeSelect {
|
|
|
16162
16165
|
],
|
|
16163
16166
|
ngImport: i0,
|
|
16164
16167
|
template: "<div\r\n #trigger\r\n class=\"hu-tree-select__trigger\"\r\n role=\"combobox\"\r\n aria-haspopup=\"tree\"\r\n [id]=\"id()\"\r\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\r\n [attr.aria-expanded]=\"open()\"\r\n [attr.aria-controls]=\"panelId\"\r\n [attr.aria-disabled]=\"isDisabled() || null\"\r\n [attr.aria-invalid]=\"isInvalid() || null\"\r\n [attr.aria-describedby]=\"field?.describedBy() ?? null\"\r\n [attr.aria-label]=\"ariaLabel() || null\"\r\n [class.hu-tree-select__trigger--invalid]=\"isInvalid()\"\r\n (click)=\"toggle()\"\r\n (keydown)=\"onTriggerKeydown($event)\"\r\n>\r\n <div class=\"hu-tree-select__values\">\r\n @if (!selectedNodes().length) {\r\n <span class=\"hu-tree-select__placeholder\">{{ placeholder() }}</span>\r\n } @else if (showChips()) {\r\n @for (n of selectedNodes(); track n.key) {\r\n <span class=\"hu-tree-select__chip\">\r\n @if (n.icon) {\r\n <hu-icon [name]=\"n.icon\" [size]=\"12\" />\r\n }\r\n <span class=\"hu-tree-select__chip-text\">{{ n.label }}</span>\r\n @if (!isDisabled()) {\r\n <button type=\"button\" class=\"hu-tree-select__chip-remove\" tabindex=\"-1\" [attr.aria-label]=\"n.label + ' kaldır'\" (click)=\"remove(n, $event)\">\r\n <hu-icon name=\"x\" [size]=\"12\" />\r\n </button>\r\n }\r\n </span>\r\n }\r\n } @else {\r\n @if (selectionMode() === 'single' && selectedNodes()[0].icon) {\r\n <hu-icon class=\"hu-tree-select__value-icon\" [name]=\"selectedNodes()[0].icon!\" [size]=\"16\" />\r\n }\r\n <span class=\"hu-tree-select__text\">{{ summary() }}</span>\r\n }\r\n </div>\r\n @if (showClear() && selectedNodes().length && !isDisabled()) {\r\n <button type=\"button\" class=\"hu-tree-select__icon-btn\" tabindex=\"-1\" aria-label=\"Seçimi temizle\" (click)=\"clearAll($event)\">\r\n <hu-icon name=\"x\" [size]=\"14\" />\r\n </button>\r\n }\r\n <hu-icon class=\"hu-tree-select__caret\" name=\"chevron-down\" [size]=\"16\" />\r\n</div>\r\n\r\n<div\r\n #panel\r\n popover=\"manual\"\r\n class=\"hu-tree-select__panel\"\r\n [id]=\"panelId\"\r\n [class.hu-tree-select__panel--inline]=\"!supportsPopover\"\r\n [attr.hidden]=\"!supportsPopover && !open() ? '' : null\"\r\n [style.--hu-tree-select-height]=\"panelHeight()\"\r\n (keydown)=\"onPanelKeydown($event)\"\r\n>\r\n <hu-tree\r\n [nodes]=\"nodes()\"\r\n [selectionMode]=\"selectionMode()\"\r\n [selection]=\"keys()\"\r\n (selectionChange)=\"onTreeSelection($event)\"\r\n [(expanded)]=\"expanded\"\r\n [filter]=\"filter()\"\r\n [filterPlaceholder]=\"filterPlaceholder()\"\r\n [propagate]=\"propagate()\"\r\n [loadChildren]=\"loadChildren()\"\r\n [emptyMessage]=\"emptyMessage()\"\r\n [ariaLabel]=\"ariaLabel() || placeholder()\"\r\n (nodeSelect)=\"onNodeSelect($event)\"\r\n (nodeUnselect)=\"onNodeUnselect($event)\"\r\n />\r\n</div>\r\n",
|
|
16165
|
-
styles: [".hu-tree-select{position:relative;display:block;width:100%;min-width:0}.hu-tree-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-tree-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-tree-select__trigger:focus,.hu-tree-select--open .hu-tree-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring)}.hu-tree-select__trigger--invalid,.hu-tree-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-tree-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-tree-select--disabled .hu-tree-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-tree-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-tree-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-tree-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-tree-select__placeholder{color:var(--hu-text-subtle)}.hu-tree-select__value-icon{flex-shrink:0;color:var(--hu-text-muted)}.hu-tree-select__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-tree-select__chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-tree-select__chip-text{overflow:hidden;text-overflow:ellipsis}.hu-tree-select__chip-remove,.hu-tree-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-tree-select__chip-remove:hover,.hu-tree-select__icon-btn:hover{opacity:1;background:#00000014}.hu-tree-select__chip-remove{width:1.125rem;height:1.125rem}.hu-tree-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-tree-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-tree-select--open .hu-tree-select__caret{transform:rotate(180deg)}.hu-tree-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:var(--hu-space-2);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-tree-select__panel:popover-open{display:flex;animation:hu-tree-select-in .12s ease-out}.hu-tree-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-tree-select__panel--inline[hidden]{display:none}.hu-tree-select__panel .hu-tree{min-height:0}.hu-tree-select__panel .hu-tree__list{max-height:var(--hu-tree-select-height, 18rem);overflow-y:auto}@keyframes hu-tree-select-in{0%{opacity:0;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.hu-tree-select__panel:popover-open{animation:none}}\n"],
|
|
16168
|
+
styles: [".hu-tree-select{position:relative;display:block;width:100%;min-width:0}.hu-tree-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-tree-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-tree-select__trigger:focus,.hu-tree-select--open .hu-tree-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring);transition:none}.hu-tree-select__trigger--invalid,.hu-tree-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-tree-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-tree-select--disabled .hu-tree-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-tree-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-tree-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-tree-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-tree-select__placeholder{color:var(--hu-text-subtle)}.hu-tree-select__value-icon{flex-shrink:0;color:var(--hu-text-muted)}.hu-tree-select__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-tree-select__chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-tree-select__chip-text{overflow:hidden;text-overflow:ellipsis}.hu-tree-select__chip-remove,.hu-tree-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-tree-select__chip-remove:hover,.hu-tree-select__icon-btn:hover{opacity:1;background:#00000014}.hu-tree-select__chip-remove{width:1.125rem;height:1.125rem}.hu-tree-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-tree-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-tree-select--open .hu-tree-select__caret{transform:rotate(180deg)}.hu-tree-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:var(--hu-space-2);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-tree-select__panel:popover-open{display:flex;animation:hu-tree-select-in .12s ease-out}.hu-tree-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-tree-select__panel--inline[hidden]{display:none}.hu-tree-select__panel .hu-tree{min-height:0}.hu-tree-select__panel .hu-tree__list{max-height:var(--hu-tree-select-height, 18rem);overflow-y:auto}@keyframes hu-tree-select-in{0%{opacity:0;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.hu-tree-select__panel:popover-open{animation:none}}\n"],
|
|
16166
16169
|
dependencies: [{
|
|
16167
16170
|
kind: "component",
|
|
16168
16171
|
type: HuIcon,
|
|
@@ -16231,7 +16234,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16231
16234
|
encapsulation: ViewEncapsulation.None,
|
|
16232
16235
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16233
16236
|
template: "<div\r\n #trigger\r\n class=\"hu-tree-select__trigger\"\r\n role=\"combobox\"\r\n aria-haspopup=\"tree\"\r\n [id]=\"id()\"\r\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\r\n [attr.aria-expanded]=\"open()\"\r\n [attr.aria-controls]=\"panelId\"\r\n [attr.aria-disabled]=\"isDisabled() || null\"\r\n [attr.aria-invalid]=\"isInvalid() || null\"\r\n [attr.aria-describedby]=\"field?.describedBy() ?? null\"\r\n [attr.aria-label]=\"ariaLabel() || null\"\r\n [class.hu-tree-select__trigger--invalid]=\"isInvalid()\"\r\n (click)=\"toggle()\"\r\n (keydown)=\"onTriggerKeydown($event)\"\r\n>\r\n <div class=\"hu-tree-select__values\">\r\n @if (!selectedNodes().length) {\r\n <span class=\"hu-tree-select__placeholder\">{{ placeholder() }}</span>\r\n } @else if (showChips()) {\r\n @for (n of selectedNodes(); track n.key) {\r\n <span class=\"hu-tree-select__chip\">\r\n @if (n.icon) {\r\n <hu-icon [name]=\"n.icon\" [size]=\"12\" />\r\n }\r\n <span class=\"hu-tree-select__chip-text\">{{ n.label }}</span>\r\n @if (!isDisabled()) {\r\n <button type=\"button\" class=\"hu-tree-select__chip-remove\" tabindex=\"-1\" [attr.aria-label]=\"n.label + ' kaldır'\" (click)=\"remove(n, $event)\">\r\n <hu-icon name=\"x\" [size]=\"12\" />\r\n </button>\r\n }\r\n </span>\r\n }\r\n } @else {\r\n @if (selectionMode() === 'single' && selectedNodes()[0].icon) {\r\n <hu-icon class=\"hu-tree-select__value-icon\" [name]=\"selectedNodes()[0].icon!\" [size]=\"16\" />\r\n }\r\n <span class=\"hu-tree-select__text\">{{ summary() }}</span>\r\n }\r\n </div>\r\n @if (showClear() && selectedNodes().length && !isDisabled()) {\r\n <button type=\"button\" class=\"hu-tree-select__icon-btn\" tabindex=\"-1\" aria-label=\"Seçimi temizle\" (click)=\"clearAll($event)\">\r\n <hu-icon name=\"x\" [size]=\"14\" />\r\n </button>\r\n }\r\n <hu-icon class=\"hu-tree-select__caret\" name=\"chevron-down\" [size]=\"16\" />\r\n</div>\r\n\r\n<div\r\n #panel\r\n popover=\"manual\"\r\n class=\"hu-tree-select__panel\"\r\n [id]=\"panelId\"\r\n [class.hu-tree-select__panel--inline]=\"!supportsPopover\"\r\n [attr.hidden]=\"!supportsPopover && !open() ? '' : null\"\r\n [style.--hu-tree-select-height]=\"panelHeight()\"\r\n (keydown)=\"onPanelKeydown($event)\"\r\n>\r\n <hu-tree\r\n [nodes]=\"nodes()\"\r\n [selectionMode]=\"selectionMode()\"\r\n [selection]=\"keys()\"\r\n (selectionChange)=\"onTreeSelection($event)\"\r\n [(expanded)]=\"expanded\"\r\n [filter]=\"filter()\"\r\n [filterPlaceholder]=\"filterPlaceholder()\"\r\n [propagate]=\"propagate()\"\r\n [loadChildren]=\"loadChildren()\"\r\n [emptyMessage]=\"emptyMessage()\"\r\n [ariaLabel]=\"ariaLabel() || placeholder()\"\r\n (nodeSelect)=\"onNodeSelect($event)\"\r\n (nodeUnselect)=\"onNodeUnselect($event)\"\r\n />\r\n</div>\r\n",
|
|
16234
|
-
styles: [".hu-tree-select{position:relative;display:block;width:100%;min-width:0}.hu-tree-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-tree-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-tree-select__trigger:focus,.hu-tree-select--open .hu-tree-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring)}.hu-tree-select__trigger--invalid,.hu-tree-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-tree-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-tree-select--disabled .hu-tree-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-tree-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-tree-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-tree-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-tree-select__placeholder{color:var(--hu-text-subtle)}.hu-tree-select__value-icon{flex-shrink:0;color:var(--hu-text-muted)}.hu-tree-select__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-tree-select__chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-tree-select__chip-text{overflow:hidden;text-overflow:ellipsis}.hu-tree-select__chip-remove,.hu-tree-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-tree-select__chip-remove:hover,.hu-tree-select__icon-btn:hover{opacity:1;background:#00000014}.hu-tree-select__chip-remove{width:1.125rem;height:1.125rem}.hu-tree-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-tree-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-tree-select--open .hu-tree-select__caret{transform:rotate(180deg)}.hu-tree-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:var(--hu-space-2);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-tree-select__panel:popover-open{display:flex;animation:hu-tree-select-in .12s ease-out}.hu-tree-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-tree-select__panel--inline[hidden]{display:none}.hu-tree-select__panel .hu-tree{min-height:0}.hu-tree-select__panel .hu-tree__list{max-height:var(--hu-tree-select-height, 18rem);overflow-y:auto}@keyframes hu-tree-select-in{0%{opacity:0;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.hu-tree-select__panel:popover-open{animation:none}}\n"]
|
|
16237
|
+
styles: [".hu-tree-select{position:relative;display:block;width:100%;min-width:0}.hu-tree-select__trigger{display:flex;align-items:center;gap:var(--hu-space-1);min-height:var(--hu-control-md);padding:3px var(--hu-space-2) 3px var(--hu-space-3);font-size:var(--hu-text-sm);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border-strong);border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-tree-select__trigger:hover:not([aria-disabled=true]):not(:focus){border-color:var(--hu-gray-400)}.hu-tree-select__trigger:focus,.hu-tree-select--open .hu-tree-select__trigger{outline:none;border-color:var(--hu-primary);box-shadow:var(--hu-ring);transition:none}.hu-tree-select__trigger--invalid,.hu-tree-select__trigger--invalid:hover:not(:focus){border-color:var(--hu-danger)}.hu-tree-select__trigger--invalid:focus{box-shadow:var(--hu-ring-danger)}.hu-tree-select--disabled .hu-tree-select__trigger{color:var(--hu-text-subtle);background:var(--hu-surface-3);box-shadow:none;cursor:not-allowed}[data-size=sm] .hu-tree-select__trigger{min-height:var(--hu-control-sm);padding-left:var(--hu-space-2);font-size:.8125rem}[data-size=lg] .hu-tree-select__trigger{min-height:var(--hu-control-lg);padding-left:var(--hu-space-4);font-size:var(--hu-text-md)}.hu-tree-select__values{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.hu-tree-select__placeholder{color:var(--hu-text-subtle)}.hu-tree-select__value-icon{flex-shrink:0;color:var(--hu-text-muted)}.hu-tree-select__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-tree-select__chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;height:1.5rem;padding:0 2px 0 var(--hu-space-2);font-size:var(--hu-text-xs);font-weight:500;color:var(--hu-primary-soft-fg);white-space:nowrap;background:var(--hu-primary-soft);border-radius:var(--hu-radius-sm)}.hu-tree-select__chip-text{overflow:hidden;text-overflow:ellipsis}.hu-tree-select__chip-remove,.hu-tree-select__icon-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:inherit;background:none;border:0;border-radius:var(--hu-radius-sm);cursor:pointer;opacity:.7}.hu-tree-select__chip-remove:hover,.hu-tree-select__icon-btn:hover{opacity:1;background:#00000014}.hu-tree-select__chip-remove{width:1.125rem;height:1.125rem}.hu-tree-select__icon-btn{width:1.5rem;height:1.5rem;color:var(--hu-text-subtle)}.hu-tree-select__caret{flex-shrink:0;color:var(--hu-text-subtle);transition:transform var(--hu-transition)}.hu-tree-select--open .hu-tree-select__caret{transform:rotate(180deg)}.hu-tree-select__panel{position:fixed;inset:auto;flex-direction:column;min-width:14rem;max-width:calc(100vw - 1rem);margin:0;padding:var(--hu-space-2);color:var(--hu-text);background:var(--hu-surface);border:1px solid var(--hu-border);border-radius:var(--hu-radius-lg);box-shadow:var(--hu-shadow-lg)}.hu-tree-select__panel:popover-open{display:flex;animation:hu-tree-select-in .12s ease-out}.hu-tree-select__panel--inline{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:flex;width:100%}.hu-tree-select__panel--inline[hidden]{display:none}.hu-tree-select__panel .hu-tree{min-height:0}.hu-tree-select__panel .hu-tree__list{max-height:var(--hu-tree-select-height, 18rem);overflow-y:auto}@keyframes hu-tree-select-in{0%{opacity:0;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.hu-tree-select__panel:popover-open{animation:none}}\n"]
|
|
16235
16238
|
}]
|
|
16236
16239
|
}],
|
|
16237
16240
|
ctorParameters: () => [],
|
|
@@ -20179,7 +20182,13 @@ var HuSidebarNav = class HuSidebarNav {
|
|
|
20179
20182
|
expandRequest = output();
|
|
20180
20183
|
url = toSignal(this.router.events.pipe(filter((e) => e instanceof NavigationEnd), map((e) => e.urlAfterRedirects)), { initialValue: this.router.url });
|
|
20181
20184
|
openItems = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "openItems" }] : /* istanbul ignore next */ []);
|
|
20185
|
+
tip = signal(null, ...ngDevMode ? [{ debugName: "tip" }] : /* istanbul ignore next */ []);
|
|
20182
20186
|
constructor() {
|
|
20187
|
+
effect(() => {
|
|
20188
|
+
this.collapsed();
|
|
20189
|
+
this.url();
|
|
20190
|
+
untracked(() => this.tip.set(null));
|
|
20191
|
+
});
|
|
20183
20192
|
effect(() => {
|
|
20184
20193
|
const expanded = this.groups().flatMap((g) => g.items).filter((item) => item.expanded && item.children?.length);
|
|
20185
20194
|
if (expanded.length) untracked(() => this.openItems.update((set) => /* @__PURE__ */ new Set([...set, ...expanded])));
|
|
@@ -20202,6 +20211,19 @@ var HuSidebarNav = class HuSidebarNav {
|
|
|
20202
20211
|
isTextBadge(badge) {
|
|
20203
20212
|
return typeof badge === "string" && Number.isNaN(Number(badge));
|
|
20204
20213
|
}
|
|
20214
|
+
showTip(event, item) {
|
|
20215
|
+
if (!this.collapsed()) return;
|
|
20216
|
+
const rect = event.currentTarget.getBoundingClientRect();
|
|
20217
|
+
this.tip.set({
|
|
20218
|
+
label: item.label,
|
|
20219
|
+
badge: item.badge,
|
|
20220
|
+
top: rect.top + rect.height / 2,
|
|
20221
|
+
left: rect.right + 12
|
|
20222
|
+
});
|
|
20223
|
+
}
|
|
20224
|
+
hideTip() {
|
|
20225
|
+
this.tip.set(null);
|
|
20226
|
+
}
|
|
20205
20227
|
toggle(item) {
|
|
20206
20228
|
if (this.collapsed()) {
|
|
20207
20229
|
this.expandRequest.emit();
|
|
@@ -20250,11 +20272,12 @@ var HuSidebarNav = class HuSidebarNav {
|
|
|
20250
20272
|
expandRequest: "expandRequest"
|
|
20251
20273
|
},
|
|
20252
20274
|
host: {
|
|
20275
|
+
listeners: { "wheel": "hideTip()" },
|
|
20253
20276
|
properties: { "class.hu-nav--collapsed": "collapsed()" },
|
|
20254
20277
|
classAttribute: "hu-nav"
|
|
20255
20278
|
},
|
|
20256
20279
|
ngImport: i0,
|
|
20257
|
-
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.
|
|
20280
|
+
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"toggle(item)\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n <hu-icon class=\"hu-nav__chevron\" name=\"chevron-down\" [size]=\"16\" />\r\n </button>\r\n @if (open) {\r\n <ul class=\"hu-nav__sublist\">\r\n @for (child of item.children; track child.label) {\r\n @if (child.children?.length) {\r\n <!-- Kategori başlığı + altındaki linkler -->\r\n <li class=\"hu-nav__subheader\" role=\"presentation\">{{ child.label }}</li>\r\n @for (leaf of child.children; track leaf.label) {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: leaf }\" /></li>\r\n }\r\n } @else {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: child }\" /></li>\r\n }\r\n }\r\n </ul>\r\n }\r\n } @else {\r\n <a\r\n class=\"hu-nav__link\"\r\n [routerLink]=\"item.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: item.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n @if (item.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(item.badge)\">{{ item.badge }}</span>\r\n }\r\n </a>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n}\r\n\r\n@if (tip(); as t) {\r\n <div class=\"hu-nav__tooltip\" role=\"tooltip\" aria-hidden=\"true\" [style.top.px]=\"t.top\" [style.left.px]=\"t.left\">\r\n {{ t.label }}\r\n @if (t.badge != null) {\r\n <span class=\"hu-nav__tooltip-badge\">{{ t.badge }}</span>\r\n }\r\n </div>\r\n}\r\n\r\n<ng-template #subLink let-child>\r\n <a\r\n class=\"hu-nav__link hu-nav__link--sub\"\r\n [routerLink]=\"child.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: child.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n <span class=\"hu-nav__label\">{{ child.label }}</span>\r\n @if (child.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(child.badge)\">{{ child.badge }}</span>\r\n }\r\n </a>\r\n</ng-template>\r\n",
|
|
20258
20281
|
dependencies: [
|
|
20259
20282
|
{
|
|
20260
20283
|
kind: "directive",
|
|
@@ -20330,11 +20353,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20330
20353
|
],
|
|
20331
20354
|
host: {
|
|
20332
20355
|
class: "hu-nav",
|
|
20333
|
-
"[class.hu-nav--collapsed]": "collapsed()"
|
|
20356
|
+
"[class.hu-nav--collapsed]": "collapsed()",
|
|
20357
|
+
"(wheel)": "hideTip()"
|
|
20334
20358
|
},
|
|
20335
20359
|
encapsulation: ViewEncapsulation.None,
|
|
20336
20360
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20337
|
-
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.
|
|
20361
|
+
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"toggle(item)\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n <hu-icon class=\"hu-nav__chevron\" name=\"chevron-down\" [size]=\"16\" />\r\n </button>\r\n @if (open) {\r\n <ul class=\"hu-nav__sublist\">\r\n @for (child of item.children; track child.label) {\r\n @if (child.children?.length) {\r\n <!-- Kategori başlığı + altındaki linkler -->\r\n <li class=\"hu-nav__subheader\" role=\"presentation\">{{ child.label }}</li>\r\n @for (leaf of child.children; track leaf.label) {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: leaf }\" /></li>\r\n }\r\n } @else {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: child }\" /></li>\r\n }\r\n }\r\n </ul>\r\n }\r\n } @else {\r\n <a\r\n class=\"hu-nav__link\"\r\n [routerLink]=\"item.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: item.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n @if (item.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(item.badge)\">{{ item.badge }}</span>\r\n }\r\n </a>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n}\r\n\r\n@if (tip(); as t) {\r\n <div class=\"hu-nav__tooltip\" role=\"tooltip\" aria-hidden=\"true\" [style.top.px]=\"t.top\" [style.left.px]=\"t.left\">\r\n {{ t.label }}\r\n @if (t.badge != null) {\r\n <span class=\"hu-nav__tooltip-badge\">{{ t.badge }}</span>\r\n }\r\n </div>\r\n}\r\n\r\n<ng-template #subLink let-child>\r\n <a\r\n class=\"hu-nav__link hu-nav__link--sub\"\r\n [routerLink]=\"child.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: child.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n <span class=\"hu-nav__label\">{{ child.label }}</span>\r\n @if (child.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(child.badge)\">{{ child.badge }}</span>\r\n }\r\n </a>\r\n</ng-template>\r\n"
|
|
20338
20362
|
}]
|
|
20339
20363
|
}],
|
|
20340
20364
|
ctorParameters: () => [],
|
|
@@ -20629,7 +20653,7 @@ var HuShell = class HuShell {
|
|
|
20629
20653
|
},
|
|
20630
20654
|
ngImport: i0,
|
|
20631
20655
|
template: "<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n<!-- Projeksiyon slotları bir kez tanımlanır, yerleşime göre yerleştirilir -->\n<ng-template #logoTpl>\n <ng-content select=\"[huShellLogo]\">\n <span class=\"hu-shell__logo hu-shell__logo--default\">\n <hu-icon name=\"graduation-cap\" [size]=\"20\" />\n </span>\n </ng-content>\n</ng-template>\n<ng-template #brandTpl>\n <a class=\"hu-shell__brand\" [routerLink]=\"brandLink()\">\n <ng-container *ngTemplateOutlet=\"logoTpl\" />\n <span class=\"hu-shell__brand-text\">\n <span class=\"hu-shell__brand-name\">{{ brand() }}</span>\n @if (brandSubtitle()) {\n <span class=\"hu-shell__brand-subtitle\">{{ brandSubtitle() }}</span>\n }\n </span>\n </a>\n</ng-template>\n<ng-template #menuToggleTpl>\n @if (isMobile() || collapseToggle() === 'topbar') {\n @let label = isMobile() ? 'Menüyü aç' : isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt';\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n [attr.aria-label]=\"label\"\n [attr.title]=\"isMobile() ? null : label\"\n [attr.aria-expanded]=\"isMobile() ? mobileOpen() : !isCollapsed()\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon name=\"menu\" [size]=\"20\" />\n </button>\n }\n</ng-template>\n<ng-template #topbarTpl>\n <ng-content select=\"[huTopbarStart]\" />\n <span class=\"hu-shell__spacer\"></span>\n <ng-content select=\"[huTopbarEnd]\" />\n</ng-template>\n\n@if (layout() === 'header') {\n <!-- Kurumsal üst bant: marka + topbar içeriği tam genişlikte -->\n <header class=\"hu-shell__header\">\n <div class=\"hu-shell__header-brand\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n </div>\n <div class=\"hu-shell__header-bar\">\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </div>\n </header>\n}\n\n<aside\n class=\"hu-shell__sidebar\"\n [class.hu-shell__sidebar--dark]=\"sidebarTheme() === 'dark'\"\n [attr.aria-hidden]=\"isMobile() && !mobileOpen() ? 'true' : null\"\n [attr.inert]=\"isMobile() && !mobileOpen() ? '' : null\"\n>\n @if (layout() !== 'header') {\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n }\n\n <nav class=\"hu-shell__nav\" aria-label=\"Ana menü\">\n <hu-sidebar-nav\n [groups]=\"nav()\"\n [collapsed]=\"isCollapsed()\"\n (navigate)=\"mobileOpen.set(false)\"\n (expandRequest)=\"collapsed.set(false)\"\n />\n </nav>\n\n <ng-content select=\"[huSidebarFooter]\" />\n\n @if (!isMobile() && collapseToggle() === 'sidebar') {\n <button\n type=\"button\"\n class=\"hu-shell__collapse\"\n [attr.aria-label]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n [attr.title]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon [name]=\"isCollapsed() ? 'chevrons-right' : 'chevrons-left'\" [size]=\"16\" />\n <span class=\"hu-nav__label\">Daralt</span>\n </button>\n }\n</aside>\n\n@if (isMobile() && mobileOpen()) {\n <div class=\"hu-shell__backdrop\" aria-hidden=\"true\" (click)=\"mobileOpen.set(false)\"></div>\n}\n\n<div class=\"hu-shell__main\">\n @if (layout() !== 'header') {\n <header class=\"hu-shell__topbar\" [class.hu-shell__topbar--brand]=\"topbarTheme() === 'brand'\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </header>\n }\n\n <main class=\"hu-shell__content\" id=\"hu-main\" tabindex=\"-1\">\n <ng-content />\n </main>\n</div>\n",
|
|
20632
|
-
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{font-weight:600;color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}@keyframes hu-fade-in{0%{opacity:0}}\n"],
|
|
20656
|
+
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__sidebar{overflow:hidden}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__nav{min-width:calc(var(--hu-sidebar-width) - 2px)}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}.hu-nav__tooltip{position:fixed;z-index:1100;display:flex;align-items:center;gap:var(--hu-space-2);padding:.375rem .625rem;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:#fff;white-space:nowrap;background:#1f2937;border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-md);pointer-events:none;transform:translateY(-50%);animation:hu-nav-tip-in .12s ease-out}.hu-nav__tooltip:before{content:\"\";position:absolute;top:50%;left:-4px;width:8px;height:8px;background:inherit;transform:translateY(-50%) rotate(45deg)}:root[data-theme=dark] .hu-nav__tooltip{color:#111827;background:#f3f4f6}.hu-nav__tooltip-badge{padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.125rem;border-radius:var(--hu-radius-full);background:#ffffff2e}:root[data-theme=dark] .hu-nav__tooltip-badge{background:#0000001a}@keyframes hu-nav-tip-in{0%{opacity:0;transform:translate(-4px,-50%)}}@keyframes hu-fade-in{0%{opacity:0}}\n"],
|
|
20633
20657
|
dependencies: [
|
|
20634
20658
|
{
|
|
20635
20659
|
kind: "directive",
|
|
@@ -20727,7 +20751,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20727
20751
|
encapsulation: ViewEncapsulation.None,
|
|
20728
20752
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20729
20753
|
template: "<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n<!-- Projeksiyon slotları bir kez tanımlanır, yerleşime göre yerleştirilir -->\n<ng-template #logoTpl>\n <ng-content select=\"[huShellLogo]\">\n <span class=\"hu-shell__logo hu-shell__logo--default\">\n <hu-icon name=\"graduation-cap\" [size]=\"20\" />\n </span>\n </ng-content>\n</ng-template>\n<ng-template #brandTpl>\n <a class=\"hu-shell__brand\" [routerLink]=\"brandLink()\">\n <ng-container *ngTemplateOutlet=\"logoTpl\" />\n <span class=\"hu-shell__brand-text\">\n <span class=\"hu-shell__brand-name\">{{ brand() }}</span>\n @if (brandSubtitle()) {\n <span class=\"hu-shell__brand-subtitle\">{{ brandSubtitle() }}</span>\n }\n </span>\n </a>\n</ng-template>\n<ng-template #menuToggleTpl>\n @if (isMobile() || collapseToggle() === 'topbar') {\n @let label = isMobile() ? 'Menüyü aç' : isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt';\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n [attr.aria-label]=\"label\"\n [attr.title]=\"isMobile() ? null : label\"\n [attr.aria-expanded]=\"isMobile() ? mobileOpen() : !isCollapsed()\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon name=\"menu\" [size]=\"20\" />\n </button>\n }\n</ng-template>\n<ng-template #topbarTpl>\n <ng-content select=\"[huTopbarStart]\" />\n <span class=\"hu-shell__spacer\"></span>\n <ng-content select=\"[huTopbarEnd]\" />\n</ng-template>\n\n@if (layout() === 'header') {\n <!-- Kurumsal üst bant: marka + topbar içeriği tam genişlikte -->\n <header class=\"hu-shell__header\">\n <div class=\"hu-shell__header-brand\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n </div>\n <div class=\"hu-shell__header-bar\">\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </div>\n </header>\n}\n\n<aside\n class=\"hu-shell__sidebar\"\n [class.hu-shell__sidebar--dark]=\"sidebarTheme() === 'dark'\"\n [attr.aria-hidden]=\"isMobile() && !mobileOpen() ? 'true' : null\"\n [attr.inert]=\"isMobile() && !mobileOpen() ? '' : null\"\n>\n @if (layout() !== 'header') {\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n }\n\n <nav class=\"hu-shell__nav\" aria-label=\"Ana menü\">\n <hu-sidebar-nav\n [groups]=\"nav()\"\n [collapsed]=\"isCollapsed()\"\n (navigate)=\"mobileOpen.set(false)\"\n (expandRequest)=\"collapsed.set(false)\"\n />\n </nav>\n\n <ng-content select=\"[huSidebarFooter]\" />\n\n @if (!isMobile() && collapseToggle() === 'sidebar') {\n <button\n type=\"button\"\n class=\"hu-shell__collapse\"\n [attr.aria-label]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n [attr.title]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon [name]=\"isCollapsed() ? 'chevrons-right' : 'chevrons-left'\" [size]=\"16\" />\n <span class=\"hu-nav__label\">Daralt</span>\n </button>\n }\n</aside>\n\n@if (isMobile() && mobileOpen()) {\n <div class=\"hu-shell__backdrop\" aria-hidden=\"true\" (click)=\"mobileOpen.set(false)\"></div>\n}\n\n<div class=\"hu-shell__main\">\n @if (layout() !== 'header') {\n <header class=\"hu-shell__topbar\" [class.hu-shell__topbar--brand]=\"topbarTheme() === 'brand'\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </header>\n }\n\n <main class=\"hu-shell__content\" id=\"hu-main\" tabindex=\"-1\">\n <ng-content />\n </main>\n</div>\n",
|
|
20730
|
-
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{font-weight:600;color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}@keyframes hu-fade-in{0%{opacity:0}}\n"]
|
|
20754
|
+
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__sidebar{overflow:hidden}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__nav{min-width:calc(var(--hu-sidebar-width) - 2px)}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}.hu-nav__tooltip{position:fixed;z-index:1100;display:flex;align-items:center;gap:var(--hu-space-2);padding:.375rem .625rem;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:#fff;white-space:nowrap;background:#1f2937;border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-md);pointer-events:none;transform:translateY(-50%);animation:hu-nav-tip-in .12s ease-out}.hu-nav__tooltip:before{content:\"\";position:absolute;top:50%;left:-4px;width:8px;height:8px;background:inherit;transform:translateY(-50%) rotate(45deg)}:root[data-theme=dark] .hu-nav__tooltip{color:#111827;background:#f3f4f6}.hu-nav__tooltip-badge{padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.125rem;border-radius:var(--hu-radius-full);background:#ffffff2e}:root[data-theme=dark] .hu-nav__tooltip-badge{background:#0000001a}@keyframes hu-nav-tip-in{0%{opacity:0;transform:translate(-4px,-50%)}}@keyframes hu-fade-in{0%{opacity:0}}\n"]
|
|
20731
20755
|
}]
|
|
20732
20756
|
}],
|
|
20733
20757
|
ctorParameters: () => [],
|