@edsis/angular 21.3.8 → 21.3.10
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.
|
@@ -0,0 +1,698 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';
|
|
3
|
+
import { RouterLink, RouterOutlet } from '@angular/router';
|
|
4
|
+
import { LayoutService, UiLayoutComponent, UiLayoutVerticalComponent, UiLayoutHorizontalComponent, UiLayoutEmptyComponent, UiLayoutNavComponent, UiLayoutContentComponent } from '@edsis/ui/layout';
|
|
5
|
+
import { UiNavCollapseRootDirective, UiNavCollapseExpandedDirective, UiNavComponent, UiNavHeaderComponent, UiNavFooterComponent } from '@edsis/ui/nav';
|
|
6
|
+
import { PopoverContentDirective, PopoverTriggerDirective } from '@edsis/ui/popover';
|
|
7
|
+
import { AspectRatioComponent } from '@edsis/ui/aspect-ratio';
|
|
8
|
+
|
|
9
|
+
class BlockShellNavAvatarComponent {
|
|
10
|
+
initials = input.required(...(ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []));
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: BlockShellNavAvatarComponent, isStandalone: true, selector: "block-shell-nav-avatar", inputs: { initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
13
|
+
<span
|
|
14
|
+
class="inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-sm bg-primary text-xs font-semibold text-primary-foreground">
|
|
15
|
+
{{ initials() }}
|
|
16
|
+
</span>
|
|
17
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavAvatarComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: 'block-shell-nav-avatar',
|
|
23
|
+
host: {
|
|
24
|
+
class: 'contents',
|
|
25
|
+
},
|
|
26
|
+
template: `
|
|
27
|
+
<span
|
|
28
|
+
class="inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-sm bg-primary text-xs font-semibold text-primary-foreground">
|
|
29
|
+
{{ initials() }}
|
|
30
|
+
</span>
|
|
31
|
+
`,
|
|
32
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
+
}]
|
|
34
|
+
}], propDecorators: { initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: true }] }] } });
|
|
35
|
+
|
|
36
|
+
class BlockShellNavMetaComponent {
|
|
37
|
+
name = input.required(...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
38
|
+
subtitle = input.required(...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
39
|
+
containerClass = input('min-w-0', ...(ngDevMode ? [{ debugName: "containerClass" }] : /* istanbul ignore next */ []));
|
|
40
|
+
subtitleClass = input('truncate text-xs text-muted-foreground', ...(ngDevMode ? [{ debugName: "subtitleClass" }] : /* istanbul ignore next */ []));
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: BlockShellNavMetaComponent, isStandalone: true, selector: "block-shell-nav-meta", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, subtitleClass: { classPropertyName: "subtitleClass", publicName: "subtitleClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
43
|
+
<div [class]="containerClass()">
|
|
44
|
+
<p class="truncate text-sm font-semibold tracking-tight text-foreground">{{ name() }}</p>
|
|
45
|
+
<p [class]="subtitleClass()">{{ subtitle() }}</p>
|
|
46
|
+
</div>
|
|
47
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavMetaComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'block-shell-nav-meta',
|
|
53
|
+
host: {
|
|
54
|
+
class: 'contents',
|
|
55
|
+
},
|
|
56
|
+
template: `
|
|
57
|
+
<div [class]="containerClass()">
|
|
58
|
+
<p class="truncate text-sm font-semibold tracking-tight text-foreground">{{ name() }}</p>
|
|
59
|
+
<p [class]="subtitleClass()">{{ subtitle() }}</p>
|
|
60
|
+
</div>
|
|
61
|
+
`,
|
|
62
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
63
|
+
}]
|
|
64
|
+
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: true }] }], containerClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "containerClass", required: false }] }], subtitleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitleClass", required: false }] }] } });
|
|
65
|
+
|
|
66
|
+
class BlockShellNavFooterComponent {
|
|
67
|
+
name = input.required(...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
68
|
+
subtitle = input.required(...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
69
|
+
initials = input(undefined, ...(ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []));
|
|
70
|
+
collapsible = input(false, ...(ngDevMode ? [{ debugName: "collapsible" }] : /* istanbul ignore next */ []));
|
|
71
|
+
desktopOnly = input(false, ...(ngDevMode ? [{ debugName: "desktopOnly" }] : /* istanbul ignore next */ []));
|
|
72
|
+
resolvedInitials = computed(() => {
|
|
73
|
+
const explicitInitials = this.initials()?.trim();
|
|
74
|
+
if (explicitInitials) {
|
|
75
|
+
return explicitInitials;
|
|
76
|
+
}
|
|
77
|
+
const words = this.name()
|
|
78
|
+
.trim()
|
|
79
|
+
.split(/\s+/)
|
|
80
|
+
.filter((word) => word.length > 0);
|
|
81
|
+
return ((words[0]?.[0] ?? '') + (words[1]?.[0] ?? words[0]?.[1] ?? '')).toUpperCase();
|
|
82
|
+
}, ...(ngDevMode ? [{ debugName: "resolvedInitials" }] : /* istanbul ignore next */ []));
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: BlockShellNavFooterComponent, isStandalone: true, selector: "block-shell-nav-footer", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, desktopOnly: { classPropertyName: "desktopOnly", publicName: "desktopOnly", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
85
|
+
@if (collapsible()) {
|
|
86
|
+
<div uiNavCollapseRoot class="flex items-center gap-3">
|
|
87
|
+
<block-shell-nav-avatar [initials]="resolvedInitials()" />
|
|
88
|
+
|
|
89
|
+
<div *uiNavCollapseExpanded class="min-w-0">
|
|
90
|
+
<block-shell-nav-meta
|
|
91
|
+
[name]="name()"
|
|
92
|
+
[subtitle]="subtitle()"
|
|
93
|
+
[subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'" />
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
} @else {
|
|
97
|
+
<div class="flex items-center gap-3">
|
|
98
|
+
<block-shell-nav-avatar [initials]="resolvedInitials()" />
|
|
99
|
+
<block-shell-nav-meta
|
|
100
|
+
[name]="name()"
|
|
101
|
+
[subtitle]="subtitle()"
|
|
102
|
+
[containerClass]="desktopOnly() ? 'hidden min-w-0 xl:block' : 'min-w-0'" />
|
|
103
|
+
</div>
|
|
104
|
+
}
|
|
105
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: UiNavCollapseRootDirective, selector: "[uiNavCollapseRoot]" }, { kind: "directive", type: UiNavCollapseExpandedDirective, selector: "[uiNavCollapseExpanded]" }, { kind: "component", type: BlockShellNavAvatarComponent, selector: "block-shell-nav-avatar", inputs: ["initials"] }, { kind: "component", type: BlockShellNavMetaComponent, selector: "block-shell-nav-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
106
|
+
}
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavFooterComponent, decorators: [{
|
|
108
|
+
type: Component,
|
|
109
|
+
args: [{
|
|
110
|
+
selector: 'block-shell-nav-footer',
|
|
111
|
+
imports: [
|
|
112
|
+
UiNavCollapseRootDirective,
|
|
113
|
+
UiNavCollapseExpandedDirective,
|
|
114
|
+
BlockShellNavAvatarComponent,
|
|
115
|
+
BlockShellNavMetaComponent,
|
|
116
|
+
],
|
|
117
|
+
host: {
|
|
118
|
+
class: 'contents',
|
|
119
|
+
},
|
|
120
|
+
template: `
|
|
121
|
+
@if (collapsible()) {
|
|
122
|
+
<div uiNavCollapseRoot class="flex items-center gap-3">
|
|
123
|
+
<block-shell-nav-avatar [initials]="resolvedInitials()" />
|
|
124
|
+
|
|
125
|
+
<div *uiNavCollapseExpanded class="min-w-0">
|
|
126
|
+
<block-shell-nav-meta
|
|
127
|
+
[name]="name()"
|
|
128
|
+
[subtitle]="subtitle()"
|
|
129
|
+
[subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'" />
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
} @else {
|
|
133
|
+
<div class="flex items-center gap-3">
|
|
134
|
+
<block-shell-nav-avatar [initials]="resolvedInitials()" />
|
|
135
|
+
<block-shell-nav-meta
|
|
136
|
+
[name]="name()"
|
|
137
|
+
[subtitle]="subtitle()"
|
|
138
|
+
[containerClass]="desktopOnly() ? 'hidden min-w-0 xl:block' : 'min-w-0'" />
|
|
139
|
+
</div>
|
|
140
|
+
}
|
|
141
|
+
`,
|
|
142
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
143
|
+
}]
|
|
144
|
+
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: true }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], desktopOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "desktopOnly", required: false }] }] } });
|
|
145
|
+
|
|
146
|
+
class BlockShellLogoComponent {
|
|
147
|
+
text = input('ETOS', ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
148
|
+
homePath = input('/', ...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
149
|
+
ariaLabel = input('Buka aplikasi', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
150
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
151
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: BlockShellLogoComponent, isStandalone: true, selector: "block-shell-logo", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
152
|
+
<div class="w-8 shrink-0">
|
|
153
|
+
<ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
|
|
154
|
+
<div
|
|
155
|
+
class="flex h-full w-full items-center justify-center px-0.5 text-[0.58rem] font-black leading-none tracking-[-0.08em] text-primary-foreground"
|
|
156
|
+
style="font-family: 'Arial Black', Arial, sans-serif;">
|
|
157
|
+
{{ text() }}
|
|
158
|
+
</div>
|
|
159
|
+
</ui-aspect-ratio>
|
|
160
|
+
</div>
|
|
161
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AspectRatioComponent, selector: "ui-aspect-ratio", inputs: ["ratio", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
162
|
+
}
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellLogoComponent, decorators: [{
|
|
164
|
+
type: Component,
|
|
165
|
+
args: [{
|
|
166
|
+
selector: 'block-shell-logo',
|
|
167
|
+
imports: [AspectRatioComponent],
|
|
168
|
+
host: {
|
|
169
|
+
class: 'contents',
|
|
170
|
+
},
|
|
171
|
+
template: `
|
|
172
|
+
<div class="w-8 shrink-0">
|
|
173
|
+
<ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
|
|
174
|
+
<div
|
|
175
|
+
class="flex h-full w-full items-center justify-center px-0.5 text-[0.58rem] font-black leading-none tracking-[-0.08em] text-primary-foreground"
|
|
176
|
+
style="font-family: 'Arial Black', Arial, sans-serif;">
|
|
177
|
+
{{ text() }}
|
|
178
|
+
</div>
|
|
179
|
+
</ui-aspect-ratio>
|
|
180
|
+
</div>
|
|
181
|
+
`,
|
|
182
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
183
|
+
}]
|
|
184
|
+
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
185
|
+
|
|
186
|
+
class BlockShellNavHeaderComponent {
|
|
187
|
+
name = input.required(...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
188
|
+
subtitle = input.required(...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
189
|
+
logoText = input('ETOS', ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
190
|
+
homePath = input('/', ...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
191
|
+
collapsible = input(false, ...(ngDevMode ? [{ debugName: "collapsible" }] : /* istanbul ignore next */ []));
|
|
192
|
+
workspaceLinks = input([], ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
193
|
+
homeLinkAriaLabel = computed(() => `Buka ${this.name()}`, ...(ngDevMode ? [{ debugName: "homeLinkAriaLabel" }] : /* istanbul ignore next */ []));
|
|
194
|
+
hasWorkspaceLinks = computed(() => this.workspaceLinks().length > 0, ...(ngDevMode ? [{ debugName: "hasWorkspaceLinks" }] : /* istanbul ignore next */ []));
|
|
195
|
+
workspaceTriggerAriaLabel = computed(() => 'Buka daftar aplikasi', ...(ngDevMode ? [{ debugName: "workspaceTriggerAriaLabel" }] : /* istanbul ignore next */ []));
|
|
196
|
+
isActiveWorkspace(path) {
|
|
197
|
+
const activeHomePath = this.homePath();
|
|
198
|
+
return path === activeHomePath || path.startsWith(`${activeHomePath}/`);
|
|
199
|
+
}
|
|
200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
201
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: BlockShellNavHeaderComponent, isStandalone: true, selector: "block-shell-nav-header", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
202
|
+
<ng-template uiPopoverContent #workspaceSwitcher="uiPopoverContent">
|
|
203
|
+
<div
|
|
204
|
+
data-block-shell-workspace-panel
|
|
205
|
+
class="w-72 space-y-1 rounded-none border border-border bg-popover p-2 text-popover-foreground shadow-lg">
|
|
206
|
+
@for (workspace of workspaceLinks(); track workspace.id) {
|
|
207
|
+
<a
|
|
208
|
+
[routerLink]="workspace.path"
|
|
209
|
+
[attr.aria-current]="isActiveWorkspace(workspace.path) ? 'page' : null"
|
|
210
|
+
[attr.data-block-shell-workspace-link]="workspace.id"
|
|
211
|
+
class="block rounded-lg border px-3 py-2 transition-colors"
|
|
212
|
+
[class.border-primary]="isActiveWorkspace(workspace.path)"
|
|
213
|
+
[class.bg-primary/5]="isActiveWorkspace(workspace.path)"
|
|
214
|
+
[class.text-foreground]="isActiveWorkspace(workspace.path)"
|
|
215
|
+
[class.border-transparent]="!isActiveWorkspace(workspace.path)"
|
|
216
|
+
[class.hover:bg-muted]="!isActiveWorkspace(workspace.path)">
|
|
217
|
+
<span class="block text-sm font-semibold tracking-tight">{{ workspace.label }}</span>
|
|
218
|
+
<span class="mt-1 block text-xs text-muted-foreground">{{ workspace.description }}</span>
|
|
219
|
+
</a>
|
|
220
|
+
}
|
|
221
|
+
</div>
|
|
222
|
+
</ng-template>
|
|
223
|
+
|
|
224
|
+
@if (collapsible()) {
|
|
225
|
+
<div uiNavCollapseRoot class="flex items-center gap-3">
|
|
226
|
+
@if (hasWorkspaceLinks()) {
|
|
227
|
+
<button
|
|
228
|
+
type="button"
|
|
229
|
+
[uiPopoverTrigger]="workspaceSwitcher"
|
|
230
|
+
side="bottom"
|
|
231
|
+
align="start"
|
|
232
|
+
[attr.aria-label]="workspaceTriggerAriaLabel()"
|
|
233
|
+
data-block-shell-workspace-trigger
|
|
234
|
+
class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
235
|
+
<block-shell-logo [text]="logoText()" />
|
|
236
|
+
</button>
|
|
237
|
+
} @else {
|
|
238
|
+
<block-shell-logo [text]="logoText()" />
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
<div *uiNavCollapseExpanded class="min-w-0 flex-1">
|
|
242
|
+
<a
|
|
243
|
+
[routerLink]="homePath()"
|
|
244
|
+
[attr.aria-label]="homeLinkAriaLabel()"
|
|
245
|
+
data-block-shell-home-link
|
|
246
|
+
class="block min-w-0 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
247
|
+
<block-shell-nav-meta
|
|
248
|
+
[name]="subtitle()"
|
|
249
|
+
[subtitle]="name()"
|
|
250
|
+
[subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'" />
|
|
251
|
+
</a>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
} @else {
|
|
255
|
+
<div class="flex items-center gap-3">
|
|
256
|
+
@if (hasWorkspaceLinks()) {
|
|
257
|
+
<button
|
|
258
|
+
type="button"
|
|
259
|
+
[uiPopoverTrigger]="workspaceSwitcher"
|
|
260
|
+
side="bottom"
|
|
261
|
+
align="start"
|
|
262
|
+
[attr.aria-label]="workspaceTriggerAriaLabel()"
|
|
263
|
+
data-block-shell-workspace-trigger
|
|
264
|
+
class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
265
|
+
<block-shell-logo [text]="logoText()" />
|
|
266
|
+
</button>
|
|
267
|
+
} @else {
|
|
268
|
+
<block-shell-logo [text]="logoText()" />
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
<a
|
|
272
|
+
[routerLink]="homePath()"
|
|
273
|
+
[attr.aria-label]="homeLinkAriaLabel()"
|
|
274
|
+
data-block-shell-home-link
|
|
275
|
+
class="block min-w-0 flex-1 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
276
|
+
<block-shell-nav-meta [name]="subtitle()" [subtitle]="name()" />
|
|
277
|
+
</a>
|
|
278
|
+
</div>
|
|
279
|
+
}
|
|
280
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: UiNavCollapseRootDirective, selector: "[uiNavCollapseRoot]" }, { kind: "directive", type: UiNavCollapseExpandedDirective, selector: "[uiNavCollapseExpanded]" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: PopoverContentDirective, selector: "ng-template[uiPopoverContent]", exportAs: ["uiPopoverContent"] }, { kind: "directive", type: PopoverTriggerDirective, selector: "[uiPopoverTrigger]", inputs: ["uiPopoverTrigger", "side", "align", "sideOffset", "disabled"], outputs: ["openedChange"], exportAs: ["uiPopoverTrigger"] }, { kind: "component", type: BlockShellLogoComponent, selector: "block-shell-logo", inputs: ["text", "homePath", "ariaLabel"] }, { kind: "component", type: BlockShellNavMetaComponent, selector: "block-shell-nav-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
281
|
+
}
|
|
282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellNavHeaderComponent, decorators: [{
|
|
283
|
+
type: Component,
|
|
284
|
+
args: [{
|
|
285
|
+
selector: 'block-shell-nav-header',
|
|
286
|
+
imports: [
|
|
287
|
+
UiNavCollapseRootDirective,
|
|
288
|
+
UiNavCollapseExpandedDirective,
|
|
289
|
+
RouterLink,
|
|
290
|
+
PopoverContentDirective,
|
|
291
|
+
PopoverTriggerDirective,
|
|
292
|
+
BlockShellLogoComponent,
|
|
293
|
+
BlockShellNavMetaComponent,
|
|
294
|
+
],
|
|
295
|
+
host: {
|
|
296
|
+
class: 'contents',
|
|
297
|
+
},
|
|
298
|
+
template: `
|
|
299
|
+
<ng-template uiPopoverContent #workspaceSwitcher="uiPopoverContent">
|
|
300
|
+
<div
|
|
301
|
+
data-block-shell-workspace-panel
|
|
302
|
+
class="w-72 space-y-1 rounded-none border border-border bg-popover p-2 text-popover-foreground shadow-lg">
|
|
303
|
+
@for (workspace of workspaceLinks(); track workspace.id) {
|
|
304
|
+
<a
|
|
305
|
+
[routerLink]="workspace.path"
|
|
306
|
+
[attr.aria-current]="isActiveWorkspace(workspace.path) ? 'page' : null"
|
|
307
|
+
[attr.data-block-shell-workspace-link]="workspace.id"
|
|
308
|
+
class="block rounded-lg border px-3 py-2 transition-colors"
|
|
309
|
+
[class.border-primary]="isActiveWorkspace(workspace.path)"
|
|
310
|
+
[class.bg-primary/5]="isActiveWorkspace(workspace.path)"
|
|
311
|
+
[class.text-foreground]="isActiveWorkspace(workspace.path)"
|
|
312
|
+
[class.border-transparent]="!isActiveWorkspace(workspace.path)"
|
|
313
|
+
[class.hover:bg-muted]="!isActiveWorkspace(workspace.path)">
|
|
314
|
+
<span class="block text-sm font-semibold tracking-tight">{{ workspace.label }}</span>
|
|
315
|
+
<span class="mt-1 block text-xs text-muted-foreground">{{ workspace.description }}</span>
|
|
316
|
+
</a>
|
|
317
|
+
}
|
|
318
|
+
</div>
|
|
319
|
+
</ng-template>
|
|
320
|
+
|
|
321
|
+
@if (collapsible()) {
|
|
322
|
+
<div uiNavCollapseRoot class="flex items-center gap-3">
|
|
323
|
+
@if (hasWorkspaceLinks()) {
|
|
324
|
+
<button
|
|
325
|
+
type="button"
|
|
326
|
+
[uiPopoverTrigger]="workspaceSwitcher"
|
|
327
|
+
side="bottom"
|
|
328
|
+
align="start"
|
|
329
|
+
[attr.aria-label]="workspaceTriggerAriaLabel()"
|
|
330
|
+
data-block-shell-workspace-trigger
|
|
331
|
+
class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
332
|
+
<block-shell-logo [text]="logoText()" />
|
|
333
|
+
</button>
|
|
334
|
+
} @else {
|
|
335
|
+
<block-shell-logo [text]="logoText()" />
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
<div *uiNavCollapseExpanded class="min-w-0 flex-1">
|
|
339
|
+
<a
|
|
340
|
+
[routerLink]="homePath()"
|
|
341
|
+
[attr.aria-label]="homeLinkAriaLabel()"
|
|
342
|
+
data-block-shell-home-link
|
|
343
|
+
class="block min-w-0 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
344
|
+
<block-shell-nav-meta
|
|
345
|
+
[name]="subtitle()"
|
|
346
|
+
[subtitle]="name()"
|
|
347
|
+
[subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'" />
|
|
348
|
+
</a>
|
|
349
|
+
</div>
|
|
350
|
+
</div>
|
|
351
|
+
} @else {
|
|
352
|
+
<div class="flex items-center gap-3">
|
|
353
|
+
@if (hasWorkspaceLinks()) {
|
|
354
|
+
<button
|
|
355
|
+
type="button"
|
|
356
|
+
[uiPopoverTrigger]="workspaceSwitcher"
|
|
357
|
+
side="bottom"
|
|
358
|
+
align="start"
|
|
359
|
+
[attr.aria-label]="workspaceTriggerAriaLabel()"
|
|
360
|
+
data-block-shell-workspace-trigger
|
|
361
|
+
class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
362
|
+
<block-shell-logo [text]="logoText()" />
|
|
363
|
+
</button>
|
|
364
|
+
} @else {
|
|
365
|
+
<block-shell-logo [text]="logoText()" />
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
<a
|
|
369
|
+
[routerLink]="homePath()"
|
|
370
|
+
[attr.aria-label]="homeLinkAriaLabel()"
|
|
371
|
+
data-block-shell-home-link
|
|
372
|
+
class="block min-w-0 flex-1 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
373
|
+
<block-shell-nav-meta [name]="subtitle()" [subtitle]="name()" />
|
|
374
|
+
</a>
|
|
375
|
+
</div>
|
|
376
|
+
}
|
|
377
|
+
`,
|
|
378
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
379
|
+
}]
|
|
380
|
+
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: true }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }] } });
|
|
381
|
+
|
|
382
|
+
class BlockShellSidebarNavComponent {
|
|
383
|
+
navigation = input.required(...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
384
|
+
workspaceLinks = input([], ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
385
|
+
sidebarNavId = input('block-shell-sidebar', ...(ngDevMode ? [{ debugName: "sidebarNavId" }] : /* istanbul ignore next */ []));
|
|
386
|
+
shellName = input.required(...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
387
|
+
brandSubtitle = input('Etos Indonusa', ...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
|
|
388
|
+
logoText = input('ETOS', ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
389
|
+
homePath = input('/', ...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
390
|
+
userName = input.required(...(ngDevMode ? [{ debugName: "userName" }] : /* istanbul ignore next */ []));
|
|
391
|
+
userPosition = input.required(...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
392
|
+
ariaLabel = input('side navigation', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
393
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellSidebarNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
394
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: BlockShellSidebarNavComponent, isStandalone: true, selector: "block-shell-sidebar-nav", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, sidebarNavId: { classPropertyName: "sidebarNavId", publicName: "sidebarNavId", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
395
|
+
<ui-nav
|
|
396
|
+
[id]="sidebarNavId()"
|
|
397
|
+
[data]="navigation()"
|
|
398
|
+
[ariaLabel]="ariaLabel()"
|
|
399
|
+
nav-sidebar-collapse
|
|
400
|
+
collapse-tree="straight"
|
|
401
|
+
orientation="vertical"
|
|
402
|
+
appearance="sidebar"
|
|
403
|
+
class="h-full">
|
|
404
|
+
<ui-nav-header>
|
|
405
|
+
<block-shell-nav-header
|
|
406
|
+
[name]="shellName()"
|
|
407
|
+
[subtitle]="brandSubtitle()"
|
|
408
|
+
[logoText]="logoText()"
|
|
409
|
+
[homePath]="homePath()"
|
|
410
|
+
[collapsible]="true"
|
|
411
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
412
|
+
</ui-nav-header>
|
|
413
|
+
|
|
414
|
+
<ui-nav-footer class="px-3">
|
|
415
|
+
<block-shell-nav-footer [name]="userName()" [subtitle]="userPosition()" [collapsible]="true" />
|
|
416
|
+
</ui-nav-footer>
|
|
417
|
+
</ui-nav>
|
|
418
|
+
`, isInline: true, dependencies: [{ kind: "component", type: UiNavComponent, selector: "ui-nav", inputs: ["id", "data", "items", "orientation", "appearance", "position", "collapsed", "dockbarMode", "ariaLabel", "compact", "previewExpanded", "nav-sidebar-collapse", "collapse-tree", "class", "itemClass", "activeIds", "activeUrl", "openedIds"], outputs: ["openedIdsChange", "itemSelected"] }, { kind: "component", type: UiNavHeaderComponent, selector: "ui-nav-header", inputs: ["toggle", "class"] }, { kind: "component", type: UiNavFooterComponent, selector: "ui-nav-footer", inputs: ["class"] }, { kind: "component", type: BlockShellNavHeaderComponent, selector: "block-shell-nav-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "workspaceLinks"] }, { kind: "component", type: BlockShellNavFooterComponent, selector: "block-shell-nav-footer", inputs: ["name", "subtitle", "initials", "collapsible", "desktopOnly"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
419
|
+
}
|
|
420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellSidebarNavComponent, decorators: [{
|
|
421
|
+
type: Component,
|
|
422
|
+
args: [{
|
|
423
|
+
selector: 'block-shell-sidebar-nav',
|
|
424
|
+
imports: [
|
|
425
|
+
UiNavComponent,
|
|
426
|
+
UiNavHeaderComponent,
|
|
427
|
+
UiNavFooterComponent,
|
|
428
|
+
BlockShellNavHeaderComponent,
|
|
429
|
+
BlockShellNavFooterComponent,
|
|
430
|
+
],
|
|
431
|
+
host: {
|
|
432
|
+
class: 'contents',
|
|
433
|
+
},
|
|
434
|
+
template: `
|
|
435
|
+
<ui-nav
|
|
436
|
+
[id]="sidebarNavId()"
|
|
437
|
+
[data]="navigation()"
|
|
438
|
+
[ariaLabel]="ariaLabel()"
|
|
439
|
+
nav-sidebar-collapse
|
|
440
|
+
collapse-tree="straight"
|
|
441
|
+
orientation="vertical"
|
|
442
|
+
appearance="sidebar"
|
|
443
|
+
class="h-full">
|
|
444
|
+
<ui-nav-header>
|
|
445
|
+
<block-shell-nav-header
|
|
446
|
+
[name]="shellName()"
|
|
447
|
+
[subtitle]="brandSubtitle()"
|
|
448
|
+
[logoText]="logoText()"
|
|
449
|
+
[homePath]="homePath()"
|
|
450
|
+
[collapsible]="true"
|
|
451
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
452
|
+
</ui-nav-header>
|
|
453
|
+
|
|
454
|
+
<ui-nav-footer class="px-3">
|
|
455
|
+
<block-shell-nav-footer [name]="userName()" [subtitle]="userPosition()" [collapsible]="true" />
|
|
456
|
+
</ui-nav-footer>
|
|
457
|
+
</ui-nav>
|
|
458
|
+
`,
|
|
459
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
460
|
+
}]
|
|
461
|
+
}], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], sidebarNavId: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarNavId", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], brandSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandSubtitle", required: false }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], userName: [{ type: i0.Input, args: [{ isSignal: true, alias: "userName", required: true }] }], userPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPosition", required: true }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
462
|
+
|
|
463
|
+
class BlockShellTopNavComponent {
|
|
464
|
+
navigation = input.required(...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
465
|
+
workspaceLinks = input([], ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
466
|
+
navbarId = input('block-shell-navbar', ...(ngDevMode ? [{ debugName: "navbarId" }] : /* istanbul ignore next */ []));
|
|
467
|
+
shellName = input.required(...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
468
|
+
brandSubtitle = input('Etos Indonusa', ...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
|
|
469
|
+
logoText = input('ETOS', ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
470
|
+
homePath = input('/', ...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
471
|
+
userName = input.required(...(ngDevMode ? [{ debugName: "userName" }] : /* istanbul ignore next */ []));
|
|
472
|
+
userPosition = input.required(...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
473
|
+
ariaLabel = input('top navigation', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellTopNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
475
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: BlockShellTopNavComponent, isStandalone: true, selector: "block-shell-top-nav", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, navbarId: { classPropertyName: "navbarId", publicName: "navbarId", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
476
|
+
<ui-nav
|
|
477
|
+
[id]="navbarId()"
|
|
478
|
+
[data]="navigation()"
|
|
479
|
+
[ariaLabel]="ariaLabel()"
|
|
480
|
+
collapse-tree="straight"
|
|
481
|
+
orientation="horizontal"
|
|
482
|
+
appearance="navbar"
|
|
483
|
+
class="h-full">
|
|
484
|
+
<ui-nav-header>
|
|
485
|
+
<block-shell-nav-header
|
|
486
|
+
[name]="shellName()"
|
|
487
|
+
[subtitle]="brandSubtitle()"
|
|
488
|
+
[logoText]="logoText()"
|
|
489
|
+
[homePath]="homePath()"
|
|
490
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
491
|
+
</ui-nav-header>
|
|
492
|
+
|
|
493
|
+
<ui-nav-footer class="px-3">
|
|
494
|
+
<block-shell-nav-footer [name]="userName()" [subtitle]="userPosition()" [desktopOnly]="true" />
|
|
495
|
+
</ui-nav-footer>
|
|
496
|
+
</ui-nav>
|
|
497
|
+
`, isInline: true, dependencies: [{ kind: "component", type: UiNavComponent, selector: "ui-nav", inputs: ["id", "data", "items", "orientation", "appearance", "position", "collapsed", "dockbarMode", "ariaLabel", "compact", "previewExpanded", "nav-sidebar-collapse", "collapse-tree", "class", "itemClass", "activeIds", "activeUrl", "openedIds"], outputs: ["openedIdsChange", "itemSelected"] }, { kind: "component", type: UiNavHeaderComponent, selector: "ui-nav-header", inputs: ["toggle", "class"] }, { kind: "component", type: UiNavFooterComponent, selector: "ui-nav-footer", inputs: ["class"] }, { kind: "component", type: BlockShellNavHeaderComponent, selector: "block-shell-nav-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "workspaceLinks"] }, { kind: "component", type: BlockShellNavFooterComponent, selector: "block-shell-nav-footer", inputs: ["name", "subtitle", "initials", "collapsible", "desktopOnly"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
498
|
+
}
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellTopNavComponent, decorators: [{
|
|
500
|
+
type: Component,
|
|
501
|
+
args: [{
|
|
502
|
+
selector: 'block-shell-top-nav',
|
|
503
|
+
imports: [
|
|
504
|
+
UiNavComponent,
|
|
505
|
+
UiNavHeaderComponent,
|
|
506
|
+
UiNavFooterComponent,
|
|
507
|
+
BlockShellNavHeaderComponent,
|
|
508
|
+
BlockShellNavFooterComponent,
|
|
509
|
+
],
|
|
510
|
+
host: {
|
|
511
|
+
class: 'contents',
|
|
512
|
+
},
|
|
513
|
+
template: `
|
|
514
|
+
<ui-nav
|
|
515
|
+
[id]="navbarId()"
|
|
516
|
+
[data]="navigation()"
|
|
517
|
+
[ariaLabel]="ariaLabel()"
|
|
518
|
+
collapse-tree="straight"
|
|
519
|
+
orientation="horizontal"
|
|
520
|
+
appearance="navbar"
|
|
521
|
+
class="h-full">
|
|
522
|
+
<ui-nav-header>
|
|
523
|
+
<block-shell-nav-header
|
|
524
|
+
[name]="shellName()"
|
|
525
|
+
[subtitle]="brandSubtitle()"
|
|
526
|
+
[logoText]="logoText()"
|
|
527
|
+
[homePath]="homePath()"
|
|
528
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
529
|
+
</ui-nav-header>
|
|
530
|
+
|
|
531
|
+
<ui-nav-footer class="px-3">
|
|
532
|
+
<block-shell-nav-footer [name]="userName()" [subtitle]="userPosition()" [desktopOnly]="true" />
|
|
533
|
+
</ui-nav-footer>
|
|
534
|
+
</ui-nav>
|
|
535
|
+
`,
|
|
536
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
537
|
+
}]
|
|
538
|
+
}], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], navbarId: [{ type: i0.Input, args: [{ isSignal: true, alias: "navbarId", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], brandSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandSubtitle", required: false }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], userName: [{ type: i0.Input, args: [{ isSignal: true, alias: "userName", required: true }] }], userPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPosition", required: true }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
539
|
+
|
|
540
|
+
class BlockShellComponent {
|
|
541
|
+
navigation = input.required(...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
542
|
+
workspaceLinks = input([], ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
543
|
+
navbarId = input('block-shell-navbar', ...(ngDevMode ? [{ debugName: "navbarId" }] : /* istanbul ignore next */ []));
|
|
544
|
+
sidebarNavId = input('block-shell-sidebar', ...(ngDevMode ? [{ debugName: "sidebarNavId" }] : /* istanbul ignore next */ []));
|
|
545
|
+
shellName = input.required(...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
546
|
+
brandSubtitle = input('Etos Indonusa', ...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
|
|
547
|
+
logoText = input('ETOS', ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
548
|
+
homePath = input('/', ...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
549
|
+
userName = input.required(...(ngDevMode ? [{ debugName: "userName" }] : /* istanbul ignore next */ []));
|
|
550
|
+
userPosition = input.required(...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
551
|
+
topAriaLabel = input('top navigation', ...(ngDevMode ? [{ debugName: "topAriaLabel" }] : /* istanbul ignore next */ []));
|
|
552
|
+
sideAriaLabel = input('side navigation', ...(ngDevMode ? [{ debugName: "sideAriaLabel" }] : /* istanbul ignore next */ []));
|
|
553
|
+
contentAriaLabel = input('layout content', ...(ngDevMode ? [{ debugName: "contentAriaLabel" }] : /* istanbul ignore next */ []));
|
|
554
|
+
layout = inject(LayoutService);
|
|
555
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
556
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: BlockShellComponent, isStandalone: true, selector: "block-shell", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, navbarId: { classPropertyName: "navbarId", publicName: "navbarId", isSignal: true, isRequired: false, transformFunction: null }, sidebarNavId: { classPropertyName: "sidebarNavId", publicName: "sidebarNavId", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, topAriaLabel: { classPropertyName: "topAriaLabel", publicName: "topAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, sideAriaLabel: { classPropertyName: "sideAriaLabel", publicName: "sideAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, contentAriaLabel: { classPropertyName: "contentAriaLabel", publicName: "contentAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
557
|
+
<ui-layout>
|
|
558
|
+
@switch (layout.type()) {
|
|
559
|
+
@case ('vertical') {
|
|
560
|
+
<ui-layout-vertical>
|
|
561
|
+
<ui-layout-nav [ariaLabel]="sideAriaLabel()">
|
|
562
|
+
<block-shell-sidebar-nav
|
|
563
|
+
[navigation]="navigation()"
|
|
564
|
+
[workspaceLinks]="workspaceLinks()"
|
|
565
|
+
[sidebarNavId]="sidebarNavId()"
|
|
566
|
+
[shellName]="shellName()"
|
|
567
|
+
[brandSubtitle]="brandSubtitle()"
|
|
568
|
+
[logoText]="logoText()"
|
|
569
|
+
[homePath]="homePath()"
|
|
570
|
+
[userName]="userName()"
|
|
571
|
+
[userPosition]="userPosition()"
|
|
572
|
+
[ariaLabel]="sideAriaLabel()" />
|
|
573
|
+
</ui-layout-nav>
|
|
574
|
+
|
|
575
|
+
<ui-layout-content [attr.aria-label]="contentAriaLabel()">
|
|
576
|
+
<router-outlet />
|
|
577
|
+
</ui-layout-content>
|
|
578
|
+
</ui-layout-vertical>
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
@case ('empty') {
|
|
582
|
+
<ui-layout-empty>
|
|
583
|
+
<ui-layout-content [attr.aria-label]="contentAriaLabel()">
|
|
584
|
+
<router-outlet />
|
|
585
|
+
</ui-layout-content>
|
|
586
|
+
</ui-layout-empty>
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
@default {
|
|
590
|
+
<ui-layout-horizontal>
|
|
591
|
+
<ui-layout-nav [ariaLabel]="topAriaLabel()">
|
|
592
|
+
<block-shell-top-nav
|
|
593
|
+
[navigation]="navigation()"
|
|
594
|
+
[workspaceLinks]="workspaceLinks()"
|
|
595
|
+
[navbarId]="navbarId()"
|
|
596
|
+
[shellName]="shellName()"
|
|
597
|
+
[brandSubtitle]="brandSubtitle()"
|
|
598
|
+
[logoText]="logoText()"
|
|
599
|
+
[homePath]="homePath()"
|
|
600
|
+
[userName]="userName()"
|
|
601
|
+
[userPosition]="userPosition()"
|
|
602
|
+
[ariaLabel]="topAriaLabel()" />
|
|
603
|
+
</ui-layout-nav>
|
|
604
|
+
|
|
605
|
+
<ui-layout-content [attr.aria-label]="contentAriaLabel()">
|
|
606
|
+
<router-outlet />
|
|
607
|
+
</ui-layout-content>
|
|
608
|
+
</ui-layout-horizontal>
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
</ui-layout>
|
|
612
|
+
`, isInline: true, dependencies: [{ kind: "component", type: UiLayoutComponent, selector: "ui-layout", inputs: ["surface", "appearance", "layout-style", "width", "class"] }, { kind: "component", type: UiLayoutVerticalComponent, selector: "ui-layout-vertical", inputs: ["class"] }, { kind: "component", type: UiLayoutHorizontalComponent, selector: "ui-layout-horizontal", inputs: ["class"] }, { kind: "component", type: UiLayoutEmptyComponent, selector: "ui-layout-empty", inputs: ["class"] }, { kind: "component", type: UiLayoutNavComponent, selector: "ui-layout-nav", inputs: ["ariaLabel", "railOffset", "class"] }, { kind: "component", type: UiLayoutContentComponent, selector: "ui-layout-content", inputs: ["class"] }, { kind: "component", type: BlockShellSidebarNavComponent, selector: "block-shell-sidebar-nav", inputs: ["navigation", "workspaceLinks", "sidebarNavId", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "ariaLabel"] }, { kind: "component", type: BlockShellTopNavComponent, selector: "block-shell-top-nav", inputs: ["navigation", "workspaceLinks", "navbarId", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "ariaLabel"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
613
|
+
}
|
|
614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BlockShellComponent, decorators: [{
|
|
615
|
+
type: Component,
|
|
616
|
+
args: [{
|
|
617
|
+
selector: 'block-shell',
|
|
618
|
+
imports: [
|
|
619
|
+
UiLayoutComponent,
|
|
620
|
+
UiLayoutVerticalComponent,
|
|
621
|
+
UiLayoutHorizontalComponent,
|
|
622
|
+
UiLayoutEmptyComponent,
|
|
623
|
+
UiLayoutNavComponent,
|
|
624
|
+
UiLayoutContentComponent,
|
|
625
|
+
BlockShellSidebarNavComponent,
|
|
626
|
+
BlockShellTopNavComponent,
|
|
627
|
+
RouterOutlet,
|
|
628
|
+
],
|
|
629
|
+
host: {
|
|
630
|
+
class: 'contents',
|
|
631
|
+
},
|
|
632
|
+
template: `
|
|
633
|
+
<ui-layout>
|
|
634
|
+
@switch (layout.type()) {
|
|
635
|
+
@case ('vertical') {
|
|
636
|
+
<ui-layout-vertical>
|
|
637
|
+
<ui-layout-nav [ariaLabel]="sideAriaLabel()">
|
|
638
|
+
<block-shell-sidebar-nav
|
|
639
|
+
[navigation]="navigation()"
|
|
640
|
+
[workspaceLinks]="workspaceLinks()"
|
|
641
|
+
[sidebarNavId]="sidebarNavId()"
|
|
642
|
+
[shellName]="shellName()"
|
|
643
|
+
[brandSubtitle]="brandSubtitle()"
|
|
644
|
+
[logoText]="logoText()"
|
|
645
|
+
[homePath]="homePath()"
|
|
646
|
+
[userName]="userName()"
|
|
647
|
+
[userPosition]="userPosition()"
|
|
648
|
+
[ariaLabel]="sideAriaLabel()" />
|
|
649
|
+
</ui-layout-nav>
|
|
650
|
+
|
|
651
|
+
<ui-layout-content [attr.aria-label]="contentAriaLabel()">
|
|
652
|
+
<router-outlet />
|
|
653
|
+
</ui-layout-content>
|
|
654
|
+
</ui-layout-vertical>
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
@case ('empty') {
|
|
658
|
+
<ui-layout-empty>
|
|
659
|
+
<ui-layout-content [attr.aria-label]="contentAriaLabel()">
|
|
660
|
+
<router-outlet />
|
|
661
|
+
</ui-layout-content>
|
|
662
|
+
</ui-layout-empty>
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
@default {
|
|
666
|
+
<ui-layout-horizontal>
|
|
667
|
+
<ui-layout-nav [ariaLabel]="topAriaLabel()">
|
|
668
|
+
<block-shell-top-nav
|
|
669
|
+
[navigation]="navigation()"
|
|
670
|
+
[workspaceLinks]="workspaceLinks()"
|
|
671
|
+
[navbarId]="navbarId()"
|
|
672
|
+
[shellName]="shellName()"
|
|
673
|
+
[brandSubtitle]="brandSubtitle()"
|
|
674
|
+
[logoText]="logoText()"
|
|
675
|
+
[homePath]="homePath()"
|
|
676
|
+
[userName]="userName()"
|
|
677
|
+
[userPosition]="userPosition()"
|
|
678
|
+
[ariaLabel]="topAriaLabel()" />
|
|
679
|
+
</ui-layout-nav>
|
|
680
|
+
|
|
681
|
+
<ui-layout-content [attr.aria-label]="contentAriaLabel()">
|
|
682
|
+
<router-outlet />
|
|
683
|
+
</ui-layout-content>
|
|
684
|
+
</ui-layout-horizontal>
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
</ui-layout>
|
|
688
|
+
`,
|
|
689
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
690
|
+
}]
|
|
691
|
+
}], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], navbarId: [{ type: i0.Input, args: [{ isSignal: true, alias: "navbarId", required: false }] }], sidebarNavId: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarNavId", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], brandSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandSubtitle", required: false }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], userName: [{ type: i0.Input, args: [{ isSignal: true, alias: "userName", required: true }] }], userPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPosition", required: true }] }], topAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "topAriaLabel", required: false }] }], sideAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideAriaLabel", required: false }] }], contentAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentAriaLabel", required: false }] }] } });
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Generated bundle index. Do not edit.
|
|
695
|
+
*/
|
|
696
|
+
|
|
697
|
+
export { BlockShellComponent, BlockShellLogoComponent, BlockShellNavAvatarComponent, BlockShellNavFooterComponent, BlockShellNavHeaderComponent, BlockShellNavMetaComponent, BlockShellSidebarNavComponent, BlockShellTopNavComponent };
|
|
698
|
+
//# sourceMappingURL=edsis-angular-block-shell.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edsis-angular-block-shell.mjs","sources":["../../../library/angular/block/shell/block-shell-nav-avatar.component.ts","../../../library/angular/block/shell/block-shell-nav-meta.component.ts","../../../library/angular/block/shell/block-shell-nav-footer.component.ts","../../../library/angular/block/shell/block-shell-logo.component.ts","../../../library/angular/block/shell/block-shell-nav-header.component.ts","../../../library/angular/block/shell/block-shell-sidebar-nav.component.ts","../../../library/angular/block/shell/block-shell-top-nav.component.ts","../../../library/angular/block/shell/block-shell.component.ts","../../../library/angular/block/shell/edsis-angular-block-shell.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'block-shell-nav-avatar',\n host: {\n class: 'contents',\n },\n template: `\n <span\n class=\"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-sm bg-primary text-xs font-semibold text-primary-foreground\">\n {{ initials() }}\n </span>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellNavAvatarComponent {\n readonly initials = input.required<string>();\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'block-shell-nav-meta',\n host: {\n class: 'contents',\n },\n template: `\n <div [class]=\"containerClass()\">\n <p class=\"truncate text-sm font-semibold tracking-tight text-foreground\">{{ name() }}</p>\n <p [class]=\"subtitleClass()\">{{ subtitle() }}</p>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellNavMetaComponent {\n readonly name = input.required<string>();\n readonly subtitle = input.required<string>();\n readonly containerClass = input('min-w-0');\n readonly subtitleClass = input('truncate text-xs text-muted-foreground');\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { UiNavCollapseExpandedDirective, UiNavCollapseRootDirective } from '@edsis/ui/nav';\n\nimport { BlockShellNavAvatarComponent } from './block-shell-nav-avatar.component';\nimport { BlockShellNavMetaComponent } from './block-shell-nav-meta.component';\n\n@Component({\n selector: 'block-shell-nav-footer',\n imports: [\n UiNavCollapseRootDirective,\n UiNavCollapseExpandedDirective,\n BlockShellNavAvatarComponent,\n BlockShellNavMetaComponent,\n ],\n host: {\n class: 'contents',\n },\n template: `\n @if (collapsible()) {\n <div uiNavCollapseRoot class=\"flex items-center gap-3\">\n <block-shell-nav-avatar [initials]=\"resolvedInitials()\" />\n\n <div *uiNavCollapseExpanded class=\"min-w-0\">\n <block-shell-nav-meta\n [name]=\"name()\"\n [subtitle]=\"subtitle()\"\n [subtitleClass]=\"'-mt-1 truncate text-xs text-muted-foreground'\" />\n </div>\n </div>\n } @else {\n <div class=\"flex items-center gap-3\">\n <block-shell-nav-avatar [initials]=\"resolvedInitials()\" />\n <block-shell-nav-meta\n [name]=\"name()\"\n [subtitle]=\"subtitle()\"\n [containerClass]=\"desktopOnly() ? 'hidden min-w-0 xl:block' : 'min-w-0'\" />\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellNavFooterComponent {\n readonly name = input.required<string>();\n readonly subtitle = input.required<string>();\n readonly initials = input<string | undefined>(undefined);\n readonly collapsible = input(false);\n readonly desktopOnly = input(false);\n\n protected readonly resolvedInitials = computed(() => {\n const explicitInitials = this.initials()?.trim();\n\n if (explicitInitials) {\n return explicitInitials;\n }\n\n const words = this.name()\n .trim()\n .split(/\\s+/)\n .filter((word) => word.length > 0);\n\n return ((words[0]?.[0] ?? '') + (words[1]?.[0] ?? words[0]?.[1] ?? '')).toUpperCase();\n });\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { AspectRatioComponent } from '@edsis/ui/aspect-ratio';\n\n@Component({\n selector: 'block-shell-logo',\n imports: [AspectRatioComponent],\n host: {\n class: 'contents',\n },\n template: `\n <div class=\"w-8 shrink-0\">\n <ui-aspect-ratio [ratio]=\"3 / 2\" class=\"overflow-hidden rounded-none bg-primary\">\n <div\n class=\"flex h-full w-full items-center justify-center px-0.5 text-[0.58rem] font-black leading-none tracking-[-0.08em] text-primary-foreground\"\n style=\"font-family: 'Arial Black', Arial, sans-serif;\">\n {{ text() }}\n </div>\n </ui-aspect-ratio>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellLogoComponent {\n readonly text = input('ETOS');\n readonly homePath = input<`/${string}`>('/');\n readonly ariaLabel = input('Buka aplikasi');\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { UiNavCollapseExpandedDirective, UiNavCollapseRootDirective } from '@edsis/ui/nav';\nimport { PopoverContentDirective, PopoverTriggerDirective } from '@edsis/ui/popover';\n\nimport { BlockShellLogoComponent } from './block-shell-logo.component';\nimport { BlockShellNavMetaComponent } from './block-shell-nav-meta.component';\nimport { type BlockShellWorkspaceLink } from './block-shell-workspace-link';\n\n@Component({\n selector: 'block-shell-nav-header',\n imports: [\n UiNavCollapseRootDirective,\n UiNavCollapseExpandedDirective,\n RouterLink,\n PopoverContentDirective,\n PopoverTriggerDirective,\n BlockShellLogoComponent,\n BlockShellNavMetaComponent,\n ],\n host: {\n class: 'contents',\n },\n template: `\n <ng-template uiPopoverContent #workspaceSwitcher=\"uiPopoverContent\">\n <div\n data-block-shell-workspace-panel\n class=\"w-72 space-y-1 rounded-none border border-border bg-popover p-2 text-popover-foreground shadow-lg\">\n @for (workspace of workspaceLinks(); track workspace.id) {\n <a\n [routerLink]=\"workspace.path\"\n [attr.aria-current]=\"isActiveWorkspace(workspace.path) ? 'page' : null\"\n [attr.data-block-shell-workspace-link]=\"workspace.id\"\n class=\"block rounded-lg border px-3 py-2 transition-colors\"\n [class.border-primary]=\"isActiveWorkspace(workspace.path)\"\n [class.bg-primary/5]=\"isActiveWorkspace(workspace.path)\"\n [class.text-foreground]=\"isActiveWorkspace(workspace.path)\"\n [class.border-transparent]=\"!isActiveWorkspace(workspace.path)\"\n [class.hover:bg-muted]=\"!isActiveWorkspace(workspace.path)\">\n <span class=\"block text-sm font-semibold tracking-tight\">{{ workspace.label }}</span>\n <span class=\"mt-1 block text-xs text-muted-foreground\">{{ workspace.description }}</span>\n </a>\n }\n </div>\n </ng-template>\n\n @if (collapsible()) {\n <div uiNavCollapseRoot class=\"flex items-center gap-3\">\n @if (hasWorkspaceLinks()) {\n <button\n type=\"button\"\n [uiPopoverTrigger]=\"workspaceSwitcher\"\n side=\"bottom\"\n align=\"start\"\n [attr.aria-label]=\"workspaceTriggerAriaLabel()\"\n data-block-shell-workspace-trigger\n class=\"shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\">\n <block-shell-logo [text]=\"logoText()\" />\n </button>\n } @else {\n <block-shell-logo [text]=\"logoText()\" />\n }\n\n <div *uiNavCollapseExpanded class=\"min-w-0 flex-1\">\n <a\n [routerLink]=\"homePath()\"\n [attr.aria-label]=\"homeLinkAriaLabel()\"\n data-block-shell-home-link\n class=\"block min-w-0 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\">\n <block-shell-nav-meta\n [name]=\"subtitle()\"\n [subtitle]=\"name()\"\n [subtitleClass]=\"'-mt-1 truncate text-xs text-muted-foreground'\" />\n </a>\n </div>\n </div>\n } @else {\n <div class=\"flex items-center gap-3\">\n @if (hasWorkspaceLinks()) {\n <button\n type=\"button\"\n [uiPopoverTrigger]=\"workspaceSwitcher\"\n side=\"bottom\"\n align=\"start\"\n [attr.aria-label]=\"workspaceTriggerAriaLabel()\"\n data-block-shell-workspace-trigger\n class=\"shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\">\n <block-shell-logo [text]=\"logoText()\" />\n </button>\n } @else {\n <block-shell-logo [text]=\"logoText()\" />\n }\n\n <a\n [routerLink]=\"homePath()\"\n [attr.aria-label]=\"homeLinkAriaLabel()\"\n data-block-shell-home-link\n class=\"block min-w-0 flex-1 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\">\n <block-shell-nav-meta [name]=\"subtitle()\" [subtitle]=\"name()\" />\n </a>\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellNavHeaderComponent {\n readonly name = input.required<string>();\n readonly subtitle = input.required<string>();\n readonly logoText = input('ETOS');\n readonly homePath = input<`/${string}`>('/');\n readonly collapsible = input(false);\n readonly workspaceLinks = input<readonly BlockShellWorkspaceLink[]>([]);\n\n protected readonly homeLinkAriaLabel = computed(() => `Buka ${this.name()}`);\n protected readonly hasWorkspaceLinks = computed(() => this.workspaceLinks().length > 0);\n protected readonly workspaceTriggerAriaLabel = computed(() => 'Buka daftar aplikasi');\n\n protected isActiveWorkspace(path: `/${string}`): boolean {\n const activeHomePath = this.homePath();\n\n return path === activeHomePath || path.startsWith(`${activeHomePath}/`);\n }\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { UiNavComponent, UiNavFooterComponent, UiNavHeaderComponent, type UiNavItem } from '@edsis/ui/nav';\n\nimport { BlockShellNavFooterComponent } from './block-shell-nav-footer.component';\nimport { BlockShellNavHeaderComponent } from './block-shell-nav-header.component';\nimport { type BlockShellWorkspaceLink } from './block-shell-workspace-link';\n\n@Component({\n selector: 'block-shell-sidebar-nav',\n imports: [\n UiNavComponent,\n UiNavHeaderComponent,\n UiNavFooterComponent,\n BlockShellNavHeaderComponent,\n BlockShellNavFooterComponent,\n ],\n host: {\n class: 'contents',\n },\n template: `\n <ui-nav\n [id]=\"sidebarNavId()\"\n [data]=\"navigation()\"\n [ariaLabel]=\"ariaLabel()\"\n nav-sidebar-collapse\n collapse-tree=\"straight\"\n orientation=\"vertical\"\n appearance=\"sidebar\"\n class=\"h-full\">\n <ui-nav-header>\n <block-shell-nav-header\n [name]=\"shellName()\"\n [subtitle]=\"brandSubtitle()\"\n [logoText]=\"logoText()\"\n [homePath]=\"homePath()\"\n [collapsible]=\"true\"\n [workspaceLinks]=\"workspaceLinks()\" />\n </ui-nav-header>\n\n <ui-nav-footer class=\"px-3\">\n <block-shell-nav-footer [name]=\"userName()\" [subtitle]=\"userPosition()\" [collapsible]=\"true\" />\n </ui-nav-footer>\n </ui-nav>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellSidebarNavComponent {\n readonly navigation = input.required<readonly UiNavItem[]>();\n readonly workspaceLinks = input<readonly BlockShellWorkspaceLink[]>([]);\n readonly sidebarNavId = input('block-shell-sidebar');\n readonly shellName = input.required<string>();\n readonly brandSubtitle = input('Etos Indonusa');\n readonly logoText = input('ETOS');\n readonly homePath = input<`/${string}`>('/');\n readonly userName = input.required<string>();\n readonly userPosition = input.required<string>();\n readonly ariaLabel = input('side navigation');\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { UiNavComponent, UiNavFooterComponent, UiNavHeaderComponent, type UiNavItem } from '@edsis/ui/nav';\n\nimport { BlockShellNavFooterComponent } from './block-shell-nav-footer.component';\nimport { BlockShellNavHeaderComponent } from './block-shell-nav-header.component';\nimport { type BlockShellWorkspaceLink } from './block-shell-workspace-link';\n\n@Component({\n selector: 'block-shell-top-nav',\n imports: [\n UiNavComponent,\n UiNavHeaderComponent,\n UiNavFooterComponent,\n BlockShellNavHeaderComponent,\n BlockShellNavFooterComponent,\n ],\n host: {\n class: 'contents',\n },\n template: `\n <ui-nav\n [id]=\"navbarId()\"\n [data]=\"navigation()\"\n [ariaLabel]=\"ariaLabel()\"\n collapse-tree=\"straight\"\n orientation=\"horizontal\"\n appearance=\"navbar\"\n class=\"h-full\">\n <ui-nav-header>\n <block-shell-nav-header\n [name]=\"shellName()\"\n [subtitle]=\"brandSubtitle()\"\n [logoText]=\"logoText()\"\n [homePath]=\"homePath()\"\n [workspaceLinks]=\"workspaceLinks()\" />\n </ui-nav-header>\n\n <ui-nav-footer class=\"px-3\">\n <block-shell-nav-footer [name]=\"userName()\" [subtitle]=\"userPosition()\" [desktopOnly]=\"true\" />\n </ui-nav-footer>\n </ui-nav>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellTopNavComponent {\n readonly navigation = input.required<readonly UiNavItem[]>();\n readonly workspaceLinks = input<readonly BlockShellWorkspaceLink[]>([]);\n readonly navbarId = input('block-shell-navbar');\n readonly shellName = input.required<string>();\n readonly brandSubtitle = input('Etos Indonusa');\n readonly logoText = input('ETOS');\n readonly homePath = input<`/${string}`>('/');\n readonly userName = input.required<string>();\n readonly userPosition = input.required<string>();\n readonly ariaLabel = input('top navigation');\n}\n","import { ChangeDetectionStrategy, Component, inject, input } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport {\n LayoutService,\n UiLayoutComponent,\n UiLayoutContentComponent,\n UiLayoutEmptyComponent,\n UiLayoutHorizontalComponent,\n UiLayoutNavComponent,\n UiLayoutVerticalComponent,\n} from '@edsis/ui/layout';\nimport { type UiNavItem } from '@edsis/ui/nav';\n\nimport { BlockShellSidebarNavComponent } from './block-shell-sidebar-nav.component';\nimport { BlockShellTopNavComponent } from './block-shell-top-nav.component';\nimport { type BlockShellWorkspaceLink } from './block-shell-workspace-link';\n\n@Component({\n selector: 'block-shell',\n imports: [\n UiLayoutComponent,\n UiLayoutVerticalComponent,\n UiLayoutHorizontalComponent,\n UiLayoutEmptyComponent,\n UiLayoutNavComponent,\n UiLayoutContentComponent,\n BlockShellSidebarNavComponent,\n BlockShellTopNavComponent,\n RouterOutlet,\n ],\n host: {\n class: 'contents',\n },\n template: `\n <ui-layout>\n @switch (layout.type()) {\n @case ('vertical') {\n <ui-layout-vertical>\n <ui-layout-nav [ariaLabel]=\"sideAriaLabel()\">\n <block-shell-sidebar-nav\n [navigation]=\"navigation()\"\n [workspaceLinks]=\"workspaceLinks()\"\n [sidebarNavId]=\"sidebarNavId()\"\n [shellName]=\"shellName()\"\n [brandSubtitle]=\"brandSubtitle()\"\n [logoText]=\"logoText()\"\n [homePath]=\"homePath()\"\n [userName]=\"userName()\"\n [userPosition]=\"userPosition()\"\n [ariaLabel]=\"sideAriaLabel()\" />\n </ui-layout-nav>\n\n <ui-layout-content [attr.aria-label]=\"contentAriaLabel()\">\n <router-outlet />\n </ui-layout-content>\n </ui-layout-vertical>\n }\n\n @case ('empty') {\n <ui-layout-empty>\n <ui-layout-content [attr.aria-label]=\"contentAriaLabel()\">\n <router-outlet />\n </ui-layout-content>\n </ui-layout-empty>\n }\n\n @default {\n <ui-layout-horizontal>\n <ui-layout-nav [ariaLabel]=\"topAriaLabel()\">\n <block-shell-top-nav\n [navigation]=\"navigation()\"\n [workspaceLinks]=\"workspaceLinks()\"\n [navbarId]=\"navbarId()\"\n [shellName]=\"shellName()\"\n [brandSubtitle]=\"brandSubtitle()\"\n [logoText]=\"logoText()\"\n [homePath]=\"homePath()\"\n [userName]=\"userName()\"\n [userPosition]=\"userPosition()\"\n [ariaLabel]=\"topAriaLabel()\" />\n </ui-layout-nav>\n\n <ui-layout-content [attr.aria-label]=\"contentAriaLabel()\">\n <router-outlet />\n </ui-layout-content>\n </ui-layout-horizontal>\n }\n }\n </ui-layout>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BlockShellComponent {\n readonly navigation = input.required<readonly UiNavItem[]>();\n readonly workspaceLinks = input<readonly BlockShellWorkspaceLink[]>([]);\n readonly navbarId = input('block-shell-navbar');\n readonly sidebarNavId = input('block-shell-sidebar');\n readonly shellName = input.required<string>();\n readonly brandSubtitle = input('Etos Indonusa');\n readonly logoText = input('ETOS');\n readonly homePath = input<`/${string}`>('/');\n readonly userName = input.required<string>();\n readonly userPosition = input.required<string>();\n readonly topAriaLabel = input('top navigation');\n readonly sideAriaLabel = input('side navigation');\n readonly contentAriaLabel = input('layout content');\n\n protected readonly layout = inject(LayoutService);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAea,4BAA4B,CAAA;AAC9B,IAAA,QAAQ,GAAG,KAAK,CAAC,QAAQ,8EAAU;wGADjC,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA5B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EA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,EAAA,CAAA;kBA3E/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,yBAAyB;wBACzB,2BAA2B;wBAC3B,sBAAsB;wBACtB,oBAAoB;wBACpB,wBAAwB;wBACxB,6BAA6B;wBAC7B,yBAAyB;wBACzB,YAAY;AACb,qBAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,UAAU;AAClB,qBAAA;AACD,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDT,EAAA,CAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;AC3FD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edsis/angular",
|
|
3
|
-
"version": "21.3.
|
|
3
|
+
"version": "21.3.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^21.2.0",
|
|
6
6
|
"@angular/core": "^21.2.0",
|
|
7
|
-
"@edsis/sdk": "^21.3.
|
|
8
|
-
"@edsis/ui": "^21.3.
|
|
7
|
+
"@edsis/sdk": "^21.3.10",
|
|
8
|
+
"@edsis/ui": "^21.3.8"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.8.1"
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"types": "./types/edsis-angular.d.ts",
|
|
26
26
|
"default": "./fesm2022/edsis-angular.mjs"
|
|
27
27
|
},
|
|
28
|
+
"./block/shell": {
|
|
29
|
+
"types": "./types/edsis-angular-block-shell.d.ts",
|
|
30
|
+
"default": "./fesm2022/edsis-angular-block-shell.mjs"
|
|
31
|
+
},
|
|
28
32
|
"./module/auth": {
|
|
29
33
|
"types": "./types/edsis-angular-module-auth.d.ts",
|
|
30
34
|
"default": "./fesm2022/edsis-angular-module-auth.mjs"
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { LayoutService } from '@edsis/ui/layout';
|
|
3
|
+
import { UiNavItem } from '@edsis/ui/nav';
|
|
4
|
+
|
|
5
|
+
type BlockShellWorkspaceLink = {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly label: string;
|
|
8
|
+
readonly description: string;
|
|
9
|
+
readonly path: `/${string}`;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
declare class BlockShellComponent {
|
|
13
|
+
readonly navigation: _angular_core.InputSignal<readonly UiNavItem[]>;
|
|
14
|
+
readonly workspaceLinks: _angular_core.InputSignal<readonly BlockShellWorkspaceLink[]>;
|
|
15
|
+
readonly navbarId: _angular_core.InputSignal<string>;
|
|
16
|
+
readonly sidebarNavId: _angular_core.InputSignal<string>;
|
|
17
|
+
readonly shellName: _angular_core.InputSignal<string>;
|
|
18
|
+
readonly brandSubtitle: _angular_core.InputSignal<string>;
|
|
19
|
+
readonly logoText: _angular_core.InputSignal<string>;
|
|
20
|
+
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
21
|
+
readonly userName: _angular_core.InputSignal<string>;
|
|
22
|
+
readonly userPosition: _angular_core.InputSignal<string>;
|
|
23
|
+
readonly topAriaLabel: _angular_core.InputSignal<string>;
|
|
24
|
+
readonly sideAriaLabel: _angular_core.InputSignal<string>;
|
|
25
|
+
readonly contentAriaLabel: _angular_core.InputSignal<string>;
|
|
26
|
+
protected readonly layout: LayoutService;
|
|
27
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellComponent, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellComponent, "block-shell", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "workspaceLinks": { "alias": "workspaceLinks"; "required": false; "isSignal": true; }; "navbarId": { "alias": "navbarId"; "required": false; "isSignal": true; }; "sidebarNavId": { "alias": "sidebarNavId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "topAriaLabel": { "alias": "topAriaLabel"; "required": false; "isSignal": true; }; "sideAriaLabel": { "alias": "sideAriaLabel"; "required": false; "isSignal": true; }; "contentAriaLabel": { "alias": "contentAriaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class BlockShellLogoComponent {
|
|
32
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
33
|
+
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
34
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
35
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellLogoComponent, never>;
|
|
36
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellLogoComponent, "block-shell-logo", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare class BlockShellNavAvatarComponent {
|
|
40
|
+
readonly initials: _angular_core.InputSignal<string>;
|
|
41
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavAvatarComponent, never>;
|
|
42
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavAvatarComponent, "block-shell-nav-avatar", never, { "initials": { "alias": "initials"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare class BlockShellNavFooterComponent {
|
|
46
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
47
|
+
readonly subtitle: _angular_core.InputSignal<string>;
|
|
48
|
+
readonly initials: _angular_core.InputSignal<string | undefined>;
|
|
49
|
+
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
50
|
+
readonly desktopOnly: _angular_core.InputSignal<boolean>;
|
|
51
|
+
protected readonly resolvedInitials: _angular_core.Signal<string>;
|
|
52
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavFooterComponent, never>;
|
|
53
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavFooterComponent, "block-shell-nav-footer", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "desktopOnly": { "alias": "desktopOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare class BlockShellNavHeaderComponent {
|
|
57
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
58
|
+
readonly subtitle: _angular_core.InputSignal<string>;
|
|
59
|
+
readonly logoText: _angular_core.InputSignal<string>;
|
|
60
|
+
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
61
|
+
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
62
|
+
readonly workspaceLinks: _angular_core.InputSignal<readonly BlockShellWorkspaceLink[]>;
|
|
63
|
+
protected readonly homeLinkAriaLabel: _angular_core.Signal<string>;
|
|
64
|
+
protected readonly hasWorkspaceLinks: _angular_core.Signal<boolean>;
|
|
65
|
+
protected readonly workspaceTriggerAriaLabel: _angular_core.Signal<string>;
|
|
66
|
+
protected isActiveWorkspace(path: `/${string}`): boolean;
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavHeaderComponent, never>;
|
|
68
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavHeaderComponent, "block-shell-nav-header", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "workspaceLinks": { "alias": "workspaceLinks"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare class BlockShellNavMetaComponent {
|
|
72
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
73
|
+
readonly subtitle: _angular_core.InputSignal<string>;
|
|
74
|
+
readonly containerClass: _angular_core.InputSignal<string>;
|
|
75
|
+
readonly subtitleClass: _angular_core.InputSignal<string>;
|
|
76
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavMetaComponent, never>;
|
|
77
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavMetaComponent, "block-shell-nav-meta", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "subtitleClass": { "alias": "subtitleClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare class BlockShellSidebarNavComponent {
|
|
81
|
+
readonly navigation: _angular_core.InputSignal<readonly UiNavItem[]>;
|
|
82
|
+
readonly workspaceLinks: _angular_core.InputSignal<readonly BlockShellWorkspaceLink[]>;
|
|
83
|
+
readonly sidebarNavId: _angular_core.InputSignal<string>;
|
|
84
|
+
readonly shellName: _angular_core.InputSignal<string>;
|
|
85
|
+
readonly brandSubtitle: _angular_core.InputSignal<string>;
|
|
86
|
+
readonly logoText: _angular_core.InputSignal<string>;
|
|
87
|
+
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
88
|
+
readonly userName: _angular_core.InputSignal<string>;
|
|
89
|
+
readonly userPosition: _angular_core.InputSignal<string>;
|
|
90
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
91
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellSidebarNavComponent, never>;
|
|
92
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellSidebarNavComponent, "block-shell-sidebar-nav", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "workspaceLinks": { "alias": "workspaceLinks"; "required": false; "isSignal": true; }; "sidebarNavId": { "alias": "sidebarNavId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare class BlockShellTopNavComponent {
|
|
96
|
+
readonly navigation: _angular_core.InputSignal<readonly UiNavItem[]>;
|
|
97
|
+
readonly workspaceLinks: _angular_core.InputSignal<readonly BlockShellWorkspaceLink[]>;
|
|
98
|
+
readonly navbarId: _angular_core.InputSignal<string>;
|
|
99
|
+
readonly shellName: _angular_core.InputSignal<string>;
|
|
100
|
+
readonly brandSubtitle: _angular_core.InputSignal<string>;
|
|
101
|
+
readonly logoText: _angular_core.InputSignal<string>;
|
|
102
|
+
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
103
|
+
readonly userName: _angular_core.InputSignal<string>;
|
|
104
|
+
readonly userPosition: _angular_core.InputSignal<string>;
|
|
105
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellTopNavComponent, never>;
|
|
107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellTopNavComponent, "block-shell-top-nav", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "workspaceLinks": { "alias": "workspaceLinks"; "required": false; "isSignal": true; }; "navbarId": { "alias": "navbarId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { BlockShellComponent, BlockShellLogoComponent, BlockShellNavAvatarComponent, BlockShellNavFooterComponent, BlockShellNavHeaderComponent, BlockShellNavMetaComponent, BlockShellSidebarNavComponent, BlockShellTopNavComponent };
|
|
111
|
+
export type { BlockShellWorkspaceLink };
|