@edsis/angular 21.3.15 → 22.0.2
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.
|
@@ -7,16 +7,17 @@ import { PopoverContentDirective, PopoverTriggerDirective } from '@edsis/ui/popo
|
|
|
7
7
|
import { AspectRatioComponent } from '@edsis/ui/aspect-ratio';
|
|
8
8
|
|
|
9
9
|
class BlockShellNavAvatarComponent {
|
|
10
|
-
initials = input.required(
|
|
11
|
-
|
|
12
|
-
static
|
|
10
|
+
initials = input.required(/* @ts-ignore */
|
|
11
|
+
...(ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []));
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", 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
14
|
<span
|
|
14
15
|
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
16
|
{{ initials() }}
|
|
16
17
|
</span>
|
|
17
18
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
19
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavAvatarComponent, decorators: [{
|
|
20
21
|
type: Component,
|
|
21
22
|
args: [{
|
|
22
23
|
selector: 'block-shell-nav-avatar',
|
|
@@ -34,19 +35,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
34
35
|
}], propDecorators: { initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: true }] }] } });
|
|
35
36
|
|
|
36
37
|
class BlockShellNavMetaComponent {
|
|
37
|
-
name = input.required(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
name = input.required(/* @ts-ignore */
|
|
39
|
+
...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
40
|
+
subtitle = input.required(/* @ts-ignore */
|
|
41
|
+
...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
42
|
+
containerClass = input('min-w-0', /* @ts-ignore */
|
|
43
|
+
...(ngDevMode ? [{ debugName: "containerClass" }] : /* istanbul ignore next */ []));
|
|
44
|
+
subtitleClass = input('truncate text-xs text-muted-foreground', /* @ts-ignore */
|
|
45
|
+
...(ngDevMode ? [{ debugName: "subtitleClass" }] : /* istanbul ignore next */ []));
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", 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
48
|
<div [class]="containerClass()">
|
|
44
49
|
<p class="truncate text-sm font-semibold tracking-tight text-foreground">{{ name() }}</p>
|
|
45
50
|
<p [class]="subtitleClass()">{{ subtitle() }}</p>
|
|
46
51
|
</div>
|
|
47
52
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
48
53
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavMetaComponent, decorators: [{
|
|
50
55
|
type: Component,
|
|
51
56
|
args: [{
|
|
52
57
|
selector: 'block-shell-nav-meta',
|
|
@@ -64,11 +69,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
64
69
|
}], 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
70
|
|
|
66
71
|
class BlockShellNavFooterComponent {
|
|
67
|
-
name = input.required(
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
name = input.required(/* @ts-ignore */
|
|
73
|
+
...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
74
|
+
subtitle = input.required(/* @ts-ignore */
|
|
75
|
+
...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
76
|
+
initials = input(undefined, /* @ts-ignore */
|
|
77
|
+
...(ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []));
|
|
78
|
+
collapsible = input(false, /* @ts-ignore */
|
|
79
|
+
...(ngDevMode ? [{ debugName: "collapsible" }] : /* istanbul ignore next */ []));
|
|
80
|
+
desktopOnly = input(false, /* @ts-ignore */
|
|
81
|
+
...(ngDevMode ? [{ debugName: "desktopOnly" }] : /* istanbul ignore next */ []));
|
|
72
82
|
resolvedInitials = computed(() => {
|
|
73
83
|
const explicitInitials = this.initials()?.trim();
|
|
74
84
|
if (explicitInitials) {
|
|
@@ -79,9 +89,10 @@ class BlockShellNavFooterComponent {
|
|
|
79
89
|
.split(/\s+/)
|
|
80
90
|
.filter((word) => word.length > 0);
|
|
81
91
|
return ((words[0]?.[0] ?? '') + (words[1]?.[0] ?? words[0]?.[1] ?? '')).toUpperCase();
|
|
82
|
-
},
|
|
83
|
-
|
|
84
|
-
static
|
|
92
|
+
}, /* @ts-ignore */
|
|
93
|
+
...(ngDevMode ? [{ debugName: "resolvedInitials" }] : /* istanbul ignore next */ []));
|
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", 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
96
|
@if (collapsible()) {
|
|
86
97
|
<div uiNavCollapseRoot class="flex items-center gap-3">
|
|
87
98
|
<block-shell-nav-avatar [initials]="resolvedInitials()" />
|
|
@@ -104,7 +115,7 @@ class BlockShellNavFooterComponent {
|
|
|
104
115
|
}
|
|
105
116
|
`, 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
117
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavFooterComponent, decorators: [{
|
|
108
119
|
type: Component,
|
|
109
120
|
args: [{
|
|
110
121
|
selector: 'block-shell-nav-footer',
|
|
@@ -144,11 +155,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
144
155
|
}], 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
156
|
|
|
146
157
|
class BlockShellLogoComponent {
|
|
147
|
-
text = input('ETOS',
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
158
|
+
text = input('ETOS', /* @ts-ignore */
|
|
159
|
+
...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
160
|
+
homePath = input('/', /* @ts-ignore */
|
|
161
|
+
...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
162
|
+
ariaLabel = input('Buka aplikasi', /* @ts-ignore */
|
|
163
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
165
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", 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
166
|
<div class="w-8 shrink-0">
|
|
153
167
|
<ui-aspect-ratio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
|
|
154
168
|
<div
|
|
@@ -160,7 +174,7 @@ class BlockShellLogoComponent {
|
|
|
160
174
|
</div>
|
|
161
175
|
`, isInline: true, dependencies: [{ kind: "component", type: AspectRatioComponent, selector: "ui-aspect-ratio", inputs: ["ratio", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
162
176
|
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellLogoComponent, decorators: [{
|
|
164
178
|
type: Component,
|
|
165
179
|
args: [{
|
|
166
180
|
selector: 'block-shell-logo',
|
|
@@ -184,21 +198,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
184
198
|
}], 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
199
|
|
|
186
200
|
class BlockShellNavHeaderComponent {
|
|
187
|
-
name = input.required(
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
201
|
+
name = input.required(/* @ts-ignore */
|
|
202
|
+
...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
203
|
+
subtitle = input.required(/* @ts-ignore */
|
|
204
|
+
...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
205
|
+
logoText = input('ETOS', /* @ts-ignore */
|
|
206
|
+
...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
207
|
+
homePath = input('/', /* @ts-ignore */
|
|
208
|
+
...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
209
|
+
collapsible = input(false, /* @ts-ignore */
|
|
210
|
+
...(ngDevMode ? [{ debugName: "collapsible" }] : /* istanbul ignore next */ []));
|
|
211
|
+
workspaceLinks = input([], /* @ts-ignore */
|
|
212
|
+
...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
213
|
+
homeLinkAriaLabel = computed(() => `Buka ${this.name()}`, /* @ts-ignore */
|
|
214
|
+
...(ngDevMode ? [{ debugName: "homeLinkAriaLabel" }] : /* istanbul ignore next */ []));
|
|
215
|
+
hasWorkspaceLinks = computed(() => this.workspaceLinks().length > 0, /* @ts-ignore */
|
|
216
|
+
...(ngDevMode ? [{ debugName: "hasWorkspaceLinks" }] : /* istanbul ignore next */ []));
|
|
217
|
+
workspaceTriggerAriaLabel = computed(() => 'Buka daftar aplikasi', /* @ts-ignore */
|
|
218
|
+
...(ngDevMode ? [{ debugName: "workspaceTriggerAriaLabel" }] : /* istanbul ignore next */ []));
|
|
196
219
|
isActiveWorkspace(path) {
|
|
197
220
|
const activeHomePath = this.homePath();
|
|
198
221
|
return path === activeHomePath || path.startsWith(`${activeHomePath}/`);
|
|
199
222
|
}
|
|
200
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
201
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
223
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
224
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", 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
225
|
<ng-template uiPopoverContent #workspaceSwitcher="uiPopoverContent">
|
|
203
226
|
<div
|
|
204
227
|
data-block-shell-workspace-panel
|
|
@@ -277,9 +300,9 @@ class BlockShellNavHeaderComponent {
|
|
|
277
300
|
</a>
|
|
278
301
|
</div>
|
|
279
302
|
}
|
|
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 });
|
|
303
|
+
`, 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", "browserUrl", "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
304
|
}
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellNavHeaderComponent, decorators: [{
|
|
283
306
|
type: Component,
|
|
284
307
|
args: [{
|
|
285
308
|
selector: 'block-shell-nav-header',
|
|
@@ -380,18 +403,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
380
403
|
}], 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
404
|
|
|
382
405
|
class BlockShellSidebarNavComponent {
|
|
383
|
-
navigation = input.required(
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
406
|
+
navigation = input.required(/* @ts-ignore */
|
|
407
|
+
...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
408
|
+
workspaceLinks = input([], /* @ts-ignore */
|
|
409
|
+
...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
410
|
+
sidebarNavId = input('block-shell-sidebar', /* @ts-ignore */
|
|
411
|
+
...(ngDevMode ? [{ debugName: "sidebarNavId" }] : /* istanbul ignore next */ []));
|
|
412
|
+
shellName = input.required(/* @ts-ignore */
|
|
413
|
+
...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
414
|
+
brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
|
|
415
|
+
...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
|
|
416
|
+
logoText = input('ETOS', /* @ts-ignore */
|
|
417
|
+
...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
418
|
+
homePath = input('/', /* @ts-ignore */
|
|
419
|
+
...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
420
|
+
userName = input.required(/* @ts-ignore */
|
|
421
|
+
...(ngDevMode ? [{ debugName: "userName" }] : /* istanbul ignore next */ []));
|
|
422
|
+
userPosition = input.required(/* @ts-ignore */
|
|
423
|
+
...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
424
|
+
ariaLabel = input('side navigation', /* @ts-ignore */
|
|
425
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
426
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellSidebarNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
427
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", 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
428
|
<ui-nav
|
|
396
429
|
[id]="sidebarNavId()"
|
|
397
430
|
[data]="navigation()"
|
|
@@ -417,7 +450,7 @@ class BlockShellSidebarNavComponent {
|
|
|
417
450
|
</ui-nav>
|
|
418
451
|
`, 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
452
|
}
|
|
420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellSidebarNavComponent, decorators: [{
|
|
421
454
|
type: Component,
|
|
422
455
|
args: [{
|
|
423
456
|
selector: 'block-shell-sidebar-nav',
|
|
@@ -461,18 +494,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
461
494
|
}], 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
495
|
|
|
463
496
|
class BlockShellTopNavComponent {
|
|
464
|
-
navigation = input.required(
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
497
|
+
navigation = input.required(/* @ts-ignore */
|
|
498
|
+
...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
499
|
+
workspaceLinks = input([], /* @ts-ignore */
|
|
500
|
+
...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
501
|
+
navbarId = input('block-shell-navbar', /* @ts-ignore */
|
|
502
|
+
...(ngDevMode ? [{ debugName: "navbarId" }] : /* istanbul ignore next */ []));
|
|
503
|
+
shellName = input.required(/* @ts-ignore */
|
|
504
|
+
...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
505
|
+
brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
|
|
506
|
+
...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
|
|
507
|
+
logoText = input('ETOS', /* @ts-ignore */
|
|
508
|
+
...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
509
|
+
homePath = input('/', /* @ts-ignore */
|
|
510
|
+
...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
511
|
+
userName = input.required(/* @ts-ignore */
|
|
512
|
+
...(ngDevMode ? [{ debugName: "userName" }] : /* istanbul ignore next */ []));
|
|
513
|
+
userPosition = input.required(/* @ts-ignore */
|
|
514
|
+
...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
515
|
+
ariaLabel = input('top navigation', /* @ts-ignore */
|
|
516
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellTopNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
518
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", 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
519
|
<ui-nav
|
|
477
520
|
[id]="navbarId()"
|
|
478
521
|
[data]="navigation()"
|
|
@@ -496,7 +539,7 @@ class BlockShellTopNavComponent {
|
|
|
496
539
|
</ui-nav>
|
|
497
540
|
`, 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
541
|
}
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellTopNavComponent, decorators: [{
|
|
500
543
|
type: Component,
|
|
501
544
|
args: [{
|
|
502
545
|
selector: 'block-shell-top-nav',
|
|
@@ -538,22 +581,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
538
581
|
}], 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
582
|
|
|
540
583
|
class BlockShellComponent {
|
|
541
|
-
navigation = input.required(
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
584
|
+
navigation = input.required(/* @ts-ignore */
|
|
585
|
+
...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
586
|
+
workspaceLinks = input([], /* @ts-ignore */
|
|
587
|
+
...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
588
|
+
navbarId = input('block-shell-navbar', /* @ts-ignore */
|
|
589
|
+
...(ngDevMode ? [{ debugName: "navbarId" }] : /* istanbul ignore next */ []));
|
|
590
|
+
sidebarNavId = input('block-shell-sidebar', /* @ts-ignore */
|
|
591
|
+
...(ngDevMode ? [{ debugName: "sidebarNavId" }] : /* istanbul ignore next */ []));
|
|
592
|
+
shellName = input.required(/* @ts-ignore */
|
|
593
|
+
...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
594
|
+
brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
|
|
595
|
+
...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
|
|
596
|
+
logoText = input('ETOS', /* @ts-ignore */
|
|
597
|
+
...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
|
|
598
|
+
homePath = input('/', /* @ts-ignore */
|
|
599
|
+
...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
600
|
+
userName = input.required(/* @ts-ignore */
|
|
601
|
+
...(ngDevMode ? [{ debugName: "userName" }] : /* istanbul ignore next */ []));
|
|
602
|
+
userPosition = input.required(/* @ts-ignore */
|
|
603
|
+
...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
604
|
+
topAriaLabel = input('top navigation', /* @ts-ignore */
|
|
605
|
+
...(ngDevMode ? [{ debugName: "topAriaLabel" }] : /* istanbul ignore next */ []));
|
|
606
|
+
sideAriaLabel = input('side navigation', /* @ts-ignore */
|
|
607
|
+
...(ngDevMode ? [{ debugName: "sideAriaLabel" }] : /* istanbul ignore next */ []));
|
|
608
|
+
contentAriaLabel = input('layout content', /* @ts-ignore */
|
|
609
|
+
...(ngDevMode ? [{ debugName: "contentAriaLabel" }] : /* istanbul ignore next */ []));
|
|
554
610
|
layout = inject(LayoutService);
|
|
555
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
556
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
611
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
612
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", 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
613
|
<ui-layout>
|
|
558
614
|
@switch (layout.type()) {
|
|
559
615
|
@case ('horizontal') {
|
|
@@ -611,7 +667,7 @@ class BlockShellComponent {
|
|
|
611
667
|
</ui-layout>
|
|
612
668
|
`, 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
669
|
}
|
|
614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BlockShellComponent, decorators: [{
|
|
615
671
|
type: Component,
|
|
616
672
|
args: [{
|
|
617
673
|
selector: 'block-shell',
|