@ucme-ui/angular 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +2 -1
- package/fesm2022/ucme-ui-angular.mjs +35 -4
- package/fesm2022/ucme-ui-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ucme-ui-angular.d.ts +15 -2
package/API.md
CHANGED
|
@@ -35,7 +35,8 @@ Admin uygulama iskeleti: daraltılabilir sidebar, mobilde çekmece menü, üst
|
|
|
35
35
|
| `brand` | `string` | `''` | Sol üstteki uygulama adı |
|
|
36
36
|
| `brandSubtitle` | `string` | — | Adın altındaki küçük satır |
|
|
37
37
|
| `brandLink` | `string` | `'/'` | Marka alanına tıklanınca gidilecek adres |
|
|
38
|
-
| `sidebarTheme` | `'default' \| 'dark'` | `'default'` | `dark`: açık temada da koyu sidebar |
|
|
38
|
+
| `sidebarTheme` | `'default' \| 'dark'` | `'default'` | `dark`: açık temada da koyu (antrasit) sidebar |
|
|
39
|
+
| `layout` | `'classic' \| 'header' \| 'floating'` | `'classic'` | `header`: tam genişlikte marka renginde üst bant; logo ve proje adı bandın solunda, sidebar bandın altında (kurumsal görünüm). Bant rengi `--hu-header-bg` ile değiştirilir · `floating`: sidebar ve topbar kenarlardan ayrık, yuvarlak köşeli kartlar |
|
|
39
40
|
|
|
40
41
|
| Model | Tip | Varsayılan | Açıklama |
|
|
41
42
|
| --- | --- | --- | --- |
|
|
@@ -20501,6 +20501,7 @@ var HuShell = class HuShell {
|
|
|
20501
20501
|
brandSubtitle = input(...ngDevMode ? [void 0, { debugName: "brandSubtitle" }] : /* istanbul ignore next */ []);
|
|
20502
20502
|
brandLink = input("/", ...ngDevMode ? [{ debugName: "brandLink" }] : /* istanbul ignore next */ []);
|
|
20503
20503
|
sidebarTheme = input("default", ...ngDevMode ? [{ debugName: "sidebarTheme" }] : /* istanbul ignore next */ []);
|
|
20504
|
+
layout = input("classic", ...ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []);
|
|
20504
20505
|
collapsed = model(this.readCollapsed(), ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
|
|
20505
20506
|
isMobile = huMediaQuery("(max-width: 1023.98px)");
|
|
20506
20507
|
mobileOpen = signal(false, ...ngDevMode ? [{ debugName: "mobileOpen" }] : /* istanbul ignore next */ []);
|
|
@@ -20574,6 +20575,13 @@ var HuShell = class HuShell {
|
|
|
20574
20575
|
isRequired: false,
|
|
20575
20576
|
transformFunction: null
|
|
20576
20577
|
},
|
|
20578
|
+
layout: {
|
|
20579
|
+
classPropertyName: "layout",
|
|
20580
|
+
publicName: "layout",
|
|
20581
|
+
isSignal: true,
|
|
20582
|
+
isRequired: false,
|
|
20583
|
+
transformFunction: null
|
|
20584
|
+
},
|
|
20577
20585
|
collapsed: {
|
|
20578
20586
|
classPropertyName: "collapsed",
|
|
20579
20587
|
publicName: "collapsed",
|
|
@@ -20588,14 +20596,26 @@ var HuShell = class HuShell {
|
|
|
20588
20596
|
properties: {
|
|
20589
20597
|
"class.hu-shell--collapsed": "isCollapsed()",
|
|
20590
20598
|
"class.hu-shell--mobile": "isMobile()",
|
|
20599
|
+
"class.hu-shell--floating": "layout() === 'floating'",
|
|
20600
|
+
"class.hu-shell--header": "layout() === 'header'",
|
|
20591
20601
|
"class.hu-shell--drawer-open": "isMobile() && mobileOpen()"
|
|
20592
20602
|
},
|
|
20593
20603
|
classAttribute: "hu-shell"
|
|
20594
20604
|
},
|
|
20595
20605
|
ngImport: i0,
|
|
20596
|
-
template: "<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n
|
|
20597
|
-
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);display:block;min-height:100dvh}.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);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: var(--hu-gray-900);--hu-sidebar-fg: var(--hu-gray-300);--hu-sidebar-muted: var(--hu-gray-500);--hu-sidebar-hover: var(--hu-gray-800);--hu-sidebar-active-bg: color-mix(in srgb, var(--hu-red-500) 20%, transparent);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: var(--hu-gray-800)}.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;border-bottom:1px solid var(--hu-sidebar-border);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:var(--hu-red-600);border-radius:var(--hu-radius-md)}.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;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-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.75rem;padding:0 calc(var(--hu-space-3) + var(--hu-space-3) + 1px);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:0;border-top:1px solid var(--hu-sidebar-border);cursor:pointer;flex-shrink:0}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.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;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-surface) 85%,transparent);border-bottom:1px solid var(--hu-border);-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px)}.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--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-4)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-2);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);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%;height:2.375rem;padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;white-space:nowrap;background:none;border:0;border-radius:var(--hu-radius-md);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{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-primary)}.hu-nav__link--active:not(.hu-nav__link--sub):before{content:\"\";position:absolute;top:8px;bottom:8px;left:calc(var(--hu-space-3) * -1);width:3px;background:var(--hu-primary);border-radius:0 3px 3px 0}.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-primary)}.hu-nav__icon{color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.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-nav__subheader{padding:var(--hu-space-3) var(--hu-space-3) var(--hu-space-1);font-size:.75rem;font-weight:600;color:var(--hu-text);white-space:nowrap}.hu-shell__sidebar--dark .hu-nav__subheader{color:#fff}.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"],
|
|
20606
|
+
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()) {\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n aria-label=\"Menüyü aç\"\n [attr.aria-expanded]=\"mobileOpen()\"\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()) {\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\">\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",
|
|
20607
|
+
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);display:block;min-height:100dvh}.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-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-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--header{--_header-h: 4rem;--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%)}:root[data-theme=dark] .hu-shell--header{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.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:var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header:before{content:\"\";position:absolute;inset:0;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%);pointer-events:none}.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-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--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-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-4)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-2);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);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%;height:2.375rem;padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;white-space:nowrap;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{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--active:before{content:\"\";position:absolute;top:9px;bottom:9px;left:0;width:3px;background:var(--hu-primary);border-radius:0 3px 3px 0}.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{color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.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"],
|
|
20598
20608
|
dependencies: [
|
|
20609
|
+
{
|
|
20610
|
+
kind: "directive",
|
|
20611
|
+
type: NgTemplateOutlet,
|
|
20612
|
+
selector: "[ngTemplateOutlet]",
|
|
20613
|
+
inputs: [
|
|
20614
|
+
"ngTemplateOutletContext",
|
|
20615
|
+
"ngTemplateOutlet",
|
|
20616
|
+
"ngTemplateOutletInjector"
|
|
20617
|
+
]
|
|
20618
|
+
},
|
|
20599
20619
|
{
|
|
20600
20620
|
kind: "directive",
|
|
20601
20621
|
type: RouterLink,
|
|
@@ -20663,6 +20683,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20663
20683
|
args: [{
|
|
20664
20684
|
selector: "hu-shell",
|
|
20665
20685
|
imports: [
|
|
20686
|
+
NgTemplateOutlet,
|
|
20666
20687
|
RouterLink,
|
|
20667
20688
|
HuButton,
|
|
20668
20689
|
HuIcon,
|
|
@@ -20672,13 +20693,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20672
20693
|
class: "hu-shell",
|
|
20673
20694
|
"[class.hu-shell--collapsed]": "isCollapsed()",
|
|
20674
20695
|
"[class.hu-shell--mobile]": "isMobile()",
|
|
20696
|
+
"[class.hu-shell--floating]": "layout() === 'floating'",
|
|
20697
|
+
"[class.hu-shell--header]": "layout() === 'header'",
|
|
20675
20698
|
"[class.hu-shell--drawer-open]": "isMobile() && mobileOpen()",
|
|
20676
20699
|
"(document:keydown.escape)": "mobileOpen.set(false)"
|
|
20677
20700
|
},
|
|
20678
20701
|
encapsulation: ViewEncapsulation.None,
|
|
20679
20702
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20680
|
-
template: "<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n
|
|
20681
|
-
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);display:block;min-height:100dvh}.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);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: var(--hu-gray-900);--hu-sidebar-fg: var(--hu-gray-300);--hu-sidebar-muted: var(--hu-gray-500);--hu-sidebar-hover: var(--hu-gray-800);--hu-sidebar-active-bg: color-mix(in srgb, var(--hu-red-500) 20%, transparent);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: var(--hu-gray-800)}.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;border-bottom:1px solid var(--hu-sidebar-border);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:var(--hu-red-600);border-radius:var(--hu-radius-md)}.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;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-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.75rem;padding:0 calc(var(--hu-space-3) + var(--hu-space-3) + 1px);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:0;border-top:1px solid var(--hu-sidebar-border);cursor:pointer;flex-shrink:0}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.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;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-surface) 85%,transparent);border-bottom:1px solid var(--hu-border);-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px)}.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--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-4)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-2);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);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%;height:2.375rem;padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;white-space:nowrap;background:none;border:0;border-radius:var(--hu-radius-md);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{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-primary)}.hu-nav__link--active:not(.hu-nav__link--sub):before{content:\"\";position:absolute;top:8px;bottom:8px;left:calc(var(--hu-space-3) * -1);width:3px;background:var(--hu-primary);border-radius:0 3px 3px 0}.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-primary)}.hu-nav__icon{color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.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-nav__subheader{padding:var(--hu-space-3) var(--hu-space-3) var(--hu-space-1);font-size:.75rem;font-weight:600;color:var(--hu-text);white-space:nowrap}.hu-shell__sidebar--dark .hu-nav__subheader{color:#fff}.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"]
|
|
20703
|
+
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()) {\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n aria-label=\"Menüyü aç\"\n [attr.aria-expanded]=\"mobileOpen()\"\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()) {\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\">\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",
|
|
20704
|
+
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);display:block;min-height:100dvh}.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-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-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--header{--_header-h: 4rem;--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%)}:root[data-theme=dark] .hu-shell--header{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.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:var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header:before{content:\"\";position:absolute;inset:0;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%);pointer-events:none}.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-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--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-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-4)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-2);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);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%;height:2.375rem;padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;white-space:nowrap;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{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--active:before{content:\"\";position:absolute;top:9px;bottom:9px;left:0;width:3px;background:var(--hu-primary);border-radius:0 3px 3px 0}.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{color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.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"]
|
|
20682
20705
|
}]
|
|
20683
20706
|
}],
|
|
20684
20707
|
ctorParameters: () => [],
|
|
@@ -20723,6 +20746,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20723
20746
|
required: false
|
|
20724
20747
|
}]
|
|
20725
20748
|
}],
|
|
20749
|
+
layout: [{
|
|
20750
|
+
type: i0.Input,
|
|
20751
|
+
args: [{
|
|
20752
|
+
isSignal: true,
|
|
20753
|
+
alias: "layout",
|
|
20754
|
+
required: false
|
|
20755
|
+
}]
|
|
20756
|
+
}],
|
|
20726
20757
|
collapsed: [{
|
|
20727
20758
|
type: i0.Input,
|
|
20728
20759
|
args: [{
|