@ojiepermana/angular 0.1.1 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -249
- package/fesm2022/ojiepermana-angular-chart.mjs +3714 -0
- package/fesm2022/ojiepermana-angular-chart.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component.mjs +3463 -0
- package/fesm2022/ojiepermana-angular-component.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout.mjs +276 -408
- package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular-navigation.mjs +2198 -404
- package/fesm2022/ojiepermana-angular-navigation.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular-theme.mjs +381 -1
- package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular.mjs +15 -1
- package/fesm2022/ojiepermana-angular.mjs.map +1 -1
- package/package.json +49 -36
- package/theme/styles/etos.css +38 -0
- package/theme/styles/index.css +32 -8
- package/theme/styles/themes/brand/etos/color.css +21 -0
- package/theme/styles/themes/brand/etos/style.css +50 -0
- package/theme/styles/themes/library/_components.css +63 -0
- package/theme/styles/themes/library/_layers.css +15 -0
- package/theme/styles/themes/library/_material-overrides.css +254 -0
- package/theme/styles/themes/library/_tokens.css +54 -0
- package/theme/styles/themes/library/color/amber.css +18 -0
- package/theme/styles/themes/library/color/blue.css +23 -0
- package/theme/styles/themes/library/color/green.css +18 -0
- package/theme/styles/themes/library/color/index.css +9 -0
- package/theme/styles/themes/library/color/purple.css +18 -0
- package/theme/styles/themes/library/color/red.css +18 -0
- package/theme/styles/themes/library/style/brutal.css +47 -0
- package/theme/styles/themes/library/style/default.css +51 -0
- package/theme/styles/themes/library/style/index.css +8 -0
- package/theme/styles/themes/library/style/sharp.css +47 -0
- package/theme/styles/themes/library/style/soft.css +47 -0
- package/theme/styles/themes/mode/dark.css +20 -0
- package/theme/styles/themes/mode/index.css +6 -0
- package/theme/styles/themes/mode/light.css +24 -0
- package/theme/styles/themes/taildwind.css +109 -0
- package/types/ojiepermana-angular-chart.d.ts +1094 -0
- package/types/ojiepermana-angular-component.d.ts +1174 -0
- package/types/ojiepermana-angular-layout.d.ts +123 -76
- package/types/ojiepermana-angular-navigation.d.ts +256 -116
- package/types/ojiepermana-angular-theme.d.ts +170 -1
- package/types/ojiepermana-angular.d.ts +2 -1
- package/fesm2022/ojiepermana-angular-internal.mjs +0 -489
- package/fesm2022/ojiepermana-angular-internal.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-horizontal.mjs +0 -721
- package/fesm2022/ojiepermana-angular-navigation-horizontal.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-vertical.mjs +0 -1647
- package/fesm2022/ojiepermana-angular-navigation-vertical.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-shell.mjs +0 -19
- package/fesm2022/ojiepermana-angular-shell.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-component.mjs +0 -235
- package/fesm2022/ojiepermana-angular-theme-component.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-directive.mjs +0 -29
- package/fesm2022/ojiepermana-angular-theme-directive.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-service.mjs +0 -241
- package/fesm2022/ojiepermana-angular-theme-service.mjs.map +0 -1
- package/layout/README.md +0 -144
- package/layout/src/component/horizontal/horizontal.css +0 -130
- package/layout/src/component/vertical/vertical.css +0 -75
- package/layout/src/layout.css +0 -16
- package/navigation/README.md +0 -301
- package/navigation/horizontal/README.md +0 -49
- package/shell/README.md +0 -41
- package/styles/index.css +0 -2
- package/styles/resets.css +0 -22
- package/theme/README.md +0 -379
- package/theme/styles/adapters/material-ui/index.css +0 -205
- package/theme/styles/modes/dark.css +0 -84
- package/theme/styles/presets/colors/blue.css +0 -45
- package/theme/styles/presets/colors/brand.css +0 -52
- package/theme/styles/presets/colors/cyan.css +0 -45
- package/theme/styles/presets/colors/green.css +0 -45
- package/theme/styles/presets/colors/index.css +0 -7
- package/theme/styles/presets/colors/orange.css +0 -45
- package/theme/styles/presets/colors/purple.css +0 -45
- package/theme/styles/presets/colors/red.css +0 -45
- package/theme/styles/presets/styles/flat.css +0 -61
- package/theme/styles/presets/styles/glass.css +0 -28
- package/theme/styles/presets/styles/index.css +0 -2
- package/theme/styles/roles/index.css +0 -67
- package/theme/styles/tokens/foundation.css +0 -136
- package/theme/styles/tokens/semantic.css +0 -87
- package/theme/styles/utilities/index.css +0 -88
- package/types/ojiepermana-angular-internal.d.ts +0 -90
- package/types/ojiepermana-angular-navigation-horizontal.d.ts +0 -81
- package/types/ojiepermana-angular-navigation-vertical.d.ts +0 -262
- package/types/ojiepermana-angular-shell.d.ts +0 -14
- package/types/ojiepermana-angular-theme-component.d.ts +0 -46
- package/types/ojiepermana-angular-theme-directive.d.ts +0 -10
- package/types/ojiepermana-angular-theme-service.d.ts +0 -68
- /package/{navigation/vertical → chart}/README.md +0 -0
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
color-scheme: light;
|
|
3
|
-
--background: oklch(0.988 0.003 286.1);
|
|
4
|
-
--foreground: oklch(0.205 0.012 285.9);
|
|
5
|
-
--card: oklch(0.998 0.001 286.4);
|
|
6
|
-
--card-foreground: var(--foreground);
|
|
7
|
-
--popover: oklch(0.997 0.002 286.5);
|
|
8
|
-
--popover-foreground: var(--foreground);
|
|
9
|
-
--primary-solid: var(--theme-primary);
|
|
10
|
-
--primary-solid-foreground: var(--theme-on-primary);
|
|
11
|
-
--primary-container: color-mix(in oklab, var(--theme-primary) 14%, var(--background));
|
|
12
|
-
--primary-container-foreground: var(--foreground);
|
|
13
|
-
--primary: var(--primary-solid);
|
|
14
|
-
--primary-foreground: var(--primary-solid-foreground);
|
|
15
|
-
--secondary-solid: var(--theme-secondary);
|
|
16
|
-
--secondary-solid-foreground: var(--theme-on-secondary);
|
|
17
|
-
--secondary-container: color-mix(in oklab, var(--theme-secondary) 12%, var(--background));
|
|
18
|
-
--secondary-container-foreground: var(--foreground);
|
|
19
|
-
--secondary: var(--secondary-container);
|
|
20
|
-
--secondary-foreground: var(--secondary-container-foreground);
|
|
21
|
-
--tertiary-solid: var(--theme-tertiary);
|
|
22
|
-
--tertiary-solid-foreground: var(--theme-on-tertiary);
|
|
23
|
-
--tertiary-container: color-mix(in oklab, var(--theme-tertiary) 10%, var(--background));
|
|
24
|
-
--tertiary-container-foreground: var(--foreground);
|
|
25
|
-
--tertiary: var(--tertiary-container);
|
|
26
|
-
--tertiary-foreground: var(--tertiary-container-foreground);
|
|
27
|
-
--neutral-solid: var(--theme-neutral);
|
|
28
|
-
--neutral-solid-foreground: var(--theme-on-neutral);
|
|
29
|
-
--neutral-container: color-mix(in oklab, var(--theme-neutral) 18%, var(--background));
|
|
30
|
-
--neutral-container-foreground: var(--foreground);
|
|
31
|
-
--neutral: var(--neutral-container);
|
|
32
|
-
--neutral-foreground: var(--neutral-container-foreground);
|
|
33
|
-
--muted: oklch(0.965 0.004 286.1);
|
|
34
|
-
--muted-foreground: oklch(0.553 0.013 286.2);
|
|
35
|
-
--accent: var(--tertiary-container);
|
|
36
|
-
--accent-foreground: var(--tertiary-container-foreground);
|
|
37
|
-
--destructive-solid: oklch(0.637 0.237 25.5);
|
|
38
|
-
--destructive-solid-foreground: oklch(0.985 0 0);
|
|
39
|
-
--destructive-container: color-mix(in oklab, var(--destructive-solid) 14%, var(--background));
|
|
40
|
-
--destructive-container-foreground: var(--foreground);
|
|
41
|
-
--destructive: var(--destructive-solid);
|
|
42
|
-
--destructive-foreground: var(--destructive-solid-foreground);
|
|
43
|
-
--success-solid: oklch(0.673 0.152 151.5);
|
|
44
|
-
--success-solid-foreground: oklch(0.192 0.015 151.3);
|
|
45
|
-
--success-container: color-mix(in oklab, var(--success-solid) 14%, var(--background));
|
|
46
|
-
--success-container-foreground: var(--foreground);
|
|
47
|
-
--success: var(--success-container);
|
|
48
|
-
--success-foreground: var(--success-container-foreground);
|
|
49
|
-
--warning-solid: oklch(0.796 0.136 82.4);
|
|
50
|
-
--warning-solid-foreground: oklch(0.262 0.028 73.1);
|
|
51
|
-
--warning-container: color-mix(in oklab, var(--warning-solid) 16%, var(--background));
|
|
52
|
-
--warning-container-foreground: var(--foreground);
|
|
53
|
-
--warning: var(--warning-container);
|
|
54
|
-
--warning-foreground: var(--warning-container-foreground);
|
|
55
|
-
--info-solid: oklch(0.69 0.116 239.4);
|
|
56
|
-
--info-solid-foreground: oklch(0.19 0.014 286.1);
|
|
57
|
-
--info-container: color-mix(in oklab, var(--info-solid) 14%, var(--background));
|
|
58
|
-
--info-container-foreground: var(--foreground);
|
|
59
|
-
--info: var(--info-container);
|
|
60
|
-
--info-foreground: var(--info-container-foreground);
|
|
61
|
-
--disabled: color-mix(in oklab, var(--neutral-solid) 14%, var(--background));
|
|
62
|
-
--disabled-foreground: color-mix(in oklab, var(--foreground) 38%, var(--background));
|
|
63
|
-
--disabled-border: color-mix(in oklab, var(--border) 70%, var(--background));
|
|
64
|
-
--inverse: var(--foreground);
|
|
65
|
-
--inverse-foreground: var(--background);
|
|
66
|
-
--inverse-border: color-mix(in oklab, var(--inverse) 84%, var(--inverse-foreground));
|
|
67
|
-
--border: color-mix(in oklab, var(--foreground) 12%, white 88%);
|
|
68
|
-
--input: color-mix(in oklab, var(--foreground) 10%, white 90%);
|
|
69
|
-
--ring: color-mix(in oklab, var(--primary-solid) 68%, white 32%);
|
|
70
|
-
--sidebar: color-mix(in oklab, var(--card) 90%, var(--muted) 10%);
|
|
71
|
-
--sidebar-foreground: var(--foreground);
|
|
72
|
-
--sidebar-primary: var(--primary);
|
|
73
|
-
--sidebar-primary-foreground: var(--primary-foreground);
|
|
74
|
-
--sidebar-accent: color-mix(in oklab, var(--tertiary-solid) 12%, var(--sidebar));
|
|
75
|
-
--sidebar-accent-foreground: var(--sidebar-foreground);
|
|
76
|
-
--sidebar-border: var(--border);
|
|
77
|
-
--sidebar-ring: var(--ring);
|
|
78
|
-
--shell-surface: var(--card);
|
|
79
|
-
--shell-foreground: var(--card-foreground);
|
|
80
|
-
--shell-border: var(--border);
|
|
81
|
-
--shell-shadow: var(--shadow-xs);
|
|
82
|
-
--shell-backdrop: var(--backdrop);
|
|
83
|
-
--surface-elevated: var(--popover);
|
|
84
|
-
--surface-elevated-foreground: var(--popover-foreground);
|
|
85
|
-
--surface-elevated-border: var(--border);
|
|
86
|
-
--surface-elevated-shadow: var(--shadow-sm);
|
|
87
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
font-family: var(--typeface-plain);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
:where(button, input, textarea, select, optgroup) {
|
|
6
|
-
font-family: var(--typeface-plain);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
:where(h1, h2, h3, h4, h5, h6) {
|
|
10
|
-
font-family: var(--typeface-brand);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
:where(code, kbd, pre, samp) {
|
|
14
|
-
font-family: var(--typeface-mono);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.style-shell {
|
|
18
|
-
background: var(--container-surface);
|
|
19
|
-
color: var(--container-foreground);
|
|
20
|
-
border: 1px solid var(--container-border);
|
|
21
|
-
box-shadow: var(--container-shadow);
|
|
22
|
-
backdrop-filter: var(--container-backdrop);
|
|
23
|
-
-webkit-backdrop-filter: var(--container-backdrop);
|
|
24
|
-
transition: var(--ngt-shell-transition);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.focus-ring:focus-visible {
|
|
28
|
-
outline: 2px solid var(--control-focus-ring);
|
|
29
|
-
outline-offset: 2px;
|
|
30
|
-
transition: outline-color var(--ngt-motion-duration-fast) var(--ngt-motion-ease-standard);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.ngt-icon-button {
|
|
34
|
-
transition: var(--ngt-control-transition);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@media (prefers-reduced-motion: reduce) {
|
|
38
|
-
:root {
|
|
39
|
-
--ngt-motion-duration-fast: 0.01ms;
|
|
40
|
-
--ngt-motion-duration-medium: 0.01ms;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ngt-icon-button.mat-mdc-icon-button .lucide {
|
|
45
|
-
inline-size: 1.1rem;
|
|
46
|
-
block-size: 1.1rem;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* Compatibility aliases for consumers migrating toward direct Tailwind v4 token usage. */
|
|
50
|
-
.bg-background {
|
|
51
|
-
background-color: var(--background);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.bg-foreground {
|
|
55
|
-
background-color: var(--foreground);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.text-background {
|
|
59
|
-
color: var(--background);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.text-foreground {
|
|
63
|
-
color: var(--foreground);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.text-foreground\/50 {
|
|
67
|
-
color: color-mix(in oklab, var(--foreground) 50%, transparent);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.text-foreground\/60 {
|
|
71
|
-
color: color-mix(in oklab, var(--foreground) 60%, transparent);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.text-foreground\/65 {
|
|
75
|
-
color: color-mix(in oklab, var(--foreground) 65%, transparent);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.text-foreground\/70 {
|
|
79
|
-
color: color-mix(in oklab, var(--foreground) 70%, transparent);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.text-foreground\/75 {
|
|
83
|
-
color: color-mix(in oklab, var(--foreground) 75%, transparent);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.border-border {
|
|
87
|
-
border-color: var(--border);
|
|
88
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef } from '@angular/core';
|
|
3
|
-
import { LucideIcon } from '@lucide/angular';
|
|
4
|
-
import { NavigationItem } from '@ojiepermana/angular/navigation';
|
|
5
|
-
|
|
6
|
-
declare const libraryLucideConfigProvider: _angular_core.Provider;
|
|
7
|
-
|
|
8
|
-
interface StorageLike {
|
|
9
|
-
getItem(key: string): string | null;
|
|
10
|
-
setItem(key: string, value: string): void;
|
|
11
|
-
removeItem(key: string): void;
|
|
12
|
-
}
|
|
13
|
-
interface LocalStorageStateAdapterConfig<Axis extends string> {
|
|
14
|
-
readonly isBrowser: boolean;
|
|
15
|
-
readonly storage: StorageLike | null;
|
|
16
|
-
readonly keys: Record<Axis, string>;
|
|
17
|
-
readonly legacyPrefix: string;
|
|
18
|
-
}
|
|
19
|
-
declare class LocalStorageStateAdapter<Axis extends string> {
|
|
20
|
-
private readonly config;
|
|
21
|
-
constructor(config: LocalStorageStateAdapterConfig<Axis>);
|
|
22
|
-
clear(axis: Axis): void;
|
|
23
|
-
persist(axis: Axis, value: string): void;
|
|
24
|
-
readValue(axis: Axis): string | null;
|
|
25
|
-
read<T extends string>(axis: Axis, fallback: T, isValid: (value: string) => value is T): T;
|
|
26
|
-
private key;
|
|
27
|
-
private legacyKey;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
type NavigationItemContentVariant = 'horizontal' | 'vertical' | 'vertical-group';
|
|
31
|
-
declare class NavigationItemContent {
|
|
32
|
-
item: _angular_core.InputSignal<NavigationItem>;
|
|
33
|
-
level: _angular_core.InputSignal<number>;
|
|
34
|
-
variant: _angular_core.InputSignal<NavigationItemContentVariant>;
|
|
35
|
-
protected readonly resolvedIcon: _angular_core.Signal<LucideIcon | null>;
|
|
36
|
-
protected readonly horizontalIconClass: _angular_core.Signal<string | null>;
|
|
37
|
-
protected readonly verticalIconClass: _angular_core.Signal<string | null>;
|
|
38
|
-
protected readonly horizontalTitleClass: _angular_core.Signal<string | null>;
|
|
39
|
-
protected readonly titleClass: _angular_core.Signal<string | null>;
|
|
40
|
-
protected readonly subtitleClass: _angular_core.Signal<string | null>;
|
|
41
|
-
protected readonly horizontalBadgeClass: _angular_core.Signal<string | null>;
|
|
42
|
-
protected readonly verticalBadgeClass: _angular_core.Signal<string | null>;
|
|
43
|
-
protected readonly titleContainerClass: _angular_core.Signal<"kit-navigation-group-title" | "kit-navigation-item-title">;
|
|
44
|
-
protected readonly subtitleContainerClass: _angular_core.Signal<"kit-navigation-group-subtitle" | "kit-navigation-item-subtitle">;
|
|
45
|
-
private joinClasses;
|
|
46
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavigationItemContent, never>;
|
|
47
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationItemContent, "navigation-item-content", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
type NavigationTreeTemplateData = Record<string, unknown>;
|
|
51
|
-
interface NavigationTreeItemContext {
|
|
52
|
-
$implicit: NavigationItem;
|
|
53
|
-
level: number;
|
|
54
|
-
parentKey: string;
|
|
55
|
-
isLast: boolean;
|
|
56
|
-
data: NavigationTreeTemplateData | null;
|
|
57
|
-
}
|
|
58
|
-
declare class NavigationTreeOutlet {
|
|
59
|
-
items: _angular_core.InputSignal<NavigationItem[]>;
|
|
60
|
-
level: _angular_core.InputSignal<number>;
|
|
61
|
-
parentKey: _angular_core.InputSignal<string>;
|
|
62
|
-
data: _angular_core.InputSignal<NavigationTreeTemplateData | null>;
|
|
63
|
-
branchTemplate: _angular_core.InputSignal<TemplateRef<NavigationTreeItemContext>>;
|
|
64
|
-
leafTemplate: _angular_core.InputSignal<TemplateRef<NavigationTreeItemContext>>;
|
|
65
|
-
groupTemplate: _angular_core.InputSignal<TemplateRef<NavigationTreeItemContext>>;
|
|
66
|
-
dividerTemplate: _angular_core.InputSignal<TemplateRef<NavigationTreeItemContext> | null>;
|
|
67
|
-
spacerTemplate: _angular_core.InputSignal<TemplateRef<NavigationTreeItemContext> | null>;
|
|
68
|
-
trackByFn: _angular_core.InputSignal<(index: number, item: NavigationItem) => string | number | undefined>;
|
|
69
|
-
shouldRenderItemFn: _angular_core.InputSignal<(item: NavigationItem) => boolean>;
|
|
70
|
-
hasChildrenFn: _angular_core.InputSignal<(item: NavigationItem) => boolean>;
|
|
71
|
-
resolveParentKeyFn: _angular_core.InputSignal<(parentKey: string, item: NavigationItem) => string>;
|
|
72
|
-
trackItem(index: number, item: NavigationItem): string | number | undefined;
|
|
73
|
-
shouldRender(item: NavigationItem): boolean;
|
|
74
|
-
hasChildren(item: NavigationItem): boolean;
|
|
75
|
-
resolveParentKey(parentKey: string, item: NavigationItem): string;
|
|
76
|
-
templateContext(item: NavigationItem, isLast: boolean): NavigationTreeItemContext;
|
|
77
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavigationTreeOutlet, never>;
|
|
78
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationTreeOutlet, "navigation-tree-outlet", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "parentKey": { "alias": "parentKey"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "branchTemplate": { "alias": "branchTemplate"; "required": true; "isSignal": true; }; "leafTemplate": { "alias": "leafTemplate"; "required": true; "isSignal": true; }; "groupTemplate": { "alias": "groupTemplate"; "required": true; "isSignal": true; }; "dividerTemplate": { "alias": "dividerTemplate"; "required": false; "isSignal": true; }; "spacerTemplate": { "alias": "spacerTemplate"; "required": false; "isSignal": true; }; "trackByFn": { "alias": "trackByFn"; "required": false; "isSignal": true; }; "shouldRenderItemFn": { "alias": "shouldRenderItemFn"; "required": false; "isSignal": true; }; "hasChildrenFn": { "alias": "hasChildrenFn"; "required": false; "isSignal": true; }; "resolveParentKeyFn": { "alias": "resolveParentKeyFn"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
type NavigationExpandedItemsByParent = Record<string, string>;
|
|
82
|
-
declare function trackNavigationTreeItem(index: number, item: NavigationItem): string | number | undefined;
|
|
83
|
-
declare function getNavigationTreePathKey(parentKey: string, item: NavigationItem): string;
|
|
84
|
-
declare function isNavigationTreeItemExpanded(expandedByParent: NavigationExpandedItemsByParent, parentKey: string, item: NavigationItem): boolean;
|
|
85
|
-
declare function toggleNavigationTreeItemExpanded(expandedByParent: NavigationExpandedItemsByParent, parentKey: string, item: NavigationItem): NavigationExpandedItemsByParent;
|
|
86
|
-
declare function hasActiveNavigationDescendant(item: NavigationItem, isItemActive: (item: NavigationItem) => boolean): boolean;
|
|
87
|
-
declare function isNavigationTreeDescendant(parent: NavigationItem, item: NavigationItem): boolean;
|
|
88
|
-
|
|
89
|
-
export { LocalStorageStateAdapter, NavigationItemContent, NavigationTreeOutlet, getNavigationTreePathKey, hasActiveNavigationDescendant, isNavigationTreeDescendant, isNavigationTreeItemExpanded, libraryLucideConfigProvider, toggleNavigationTreeItemExpanded, trackNavigationTreeItem };
|
|
90
|
-
export type { NavigationExpandedItemsByParent, NavigationTreeItemContext, NavigationTreeTemplateData };
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { NavigationItem, shouldRenderNavigationItem, hasNavigationChildren } from '@ojiepermana/angular/navigation';
|
|
3
|
-
import { trackNavigationTreeItem, getNavigationTreePathKey } from '@ojiepermana/angular/internal';
|
|
4
|
-
|
|
5
|
-
declare class HorizontalNavigationBranchItem {
|
|
6
|
-
private _menuTrigger?;
|
|
7
|
-
private _rootTrigger?;
|
|
8
|
-
private _activeChildBranch;
|
|
9
|
-
private readonly _document;
|
|
10
|
-
readonly isMenuOpen: _angular_core.WritableSignal<boolean>;
|
|
11
|
-
readonly expandedInlineBranchByParent: _angular_core.WritableSignal<Record<string, string>>;
|
|
12
|
-
item: _angular_core.InputSignal<NavigationItem>;
|
|
13
|
-
menuItem: _angular_core.InputSignal<boolean>;
|
|
14
|
-
nested: _angular_core.InputSignal<boolean>;
|
|
15
|
-
variant: _angular_core.InputSignal<HorizontalNavigationVariant>;
|
|
16
|
-
itemClicked: _angular_core.OutputEmitterRef<NavigationItem>;
|
|
17
|
-
branchOpened: _angular_core.OutputEmitterRef<HorizontalNavigationBranchItem>;
|
|
18
|
-
branchClosed: _angular_core.OutputEmitterRef<HorizontalNavigationBranchItem>;
|
|
19
|
-
readonly itemChildren: _angular_core.Signal<NavigationItem[]>;
|
|
20
|
-
readonly treeTemplateData: _angular_core.Signal<{
|
|
21
|
-
inlineBranch: boolean;
|
|
22
|
-
}>;
|
|
23
|
-
readonly treeTrackByFn: typeof trackNavigationTreeItem;
|
|
24
|
-
readonly treeShouldRenderItemFn: typeof shouldRenderNavigationItem;
|
|
25
|
-
readonly treeHasChildrenFn: typeof hasNavigationChildren;
|
|
26
|
-
readonly treeResolveParentKeyFn: typeof getNavigationTreePathKey;
|
|
27
|
-
readonly menuPanelClass: _angular_core.Signal<string>;
|
|
28
|
-
hasChildren(item: NavigationItem): boolean;
|
|
29
|
-
shouldRenderItem(item: NavigationItem): boolean;
|
|
30
|
-
trackByFn(index: number, item: NavigationItem): string | number;
|
|
31
|
-
onMenuItemTriggerClick(event: MouseEvent): void;
|
|
32
|
-
onChildItemClicked(child: NavigationItem): void;
|
|
33
|
-
isInlineBranchExpanded(item: NavigationItem, parentKey: string): boolean;
|
|
34
|
-
toggleInlineBranch(item: NavigationItem, parentKey: string): void;
|
|
35
|
-
onInlineBranchHeaderClick(event: MouseEvent, item: NavigationItem, parentKey: string): void;
|
|
36
|
-
getPathKey(parentKey: string, item: NavigationItem): string;
|
|
37
|
-
onChildBranchOpened(branch: HorizontalNavigationBranchItem): void;
|
|
38
|
-
onChildBranchClosed(branch: HorizontalNavigationBranchItem): void;
|
|
39
|
-
handleMenuOpened(): void;
|
|
40
|
-
handleMenuClosed(): void;
|
|
41
|
-
closeMenu(): void;
|
|
42
|
-
private _syncRootTriggerWidth;
|
|
43
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HorizontalNavigationBranchItem, never>;
|
|
44
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalNavigationBranchItem, "horizontal-navigation-branch-item", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "menuItem": { "alias": "menuItem"; "required": false; "isSignal": true; }; "nested": { "alias": "nested"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "itemClicked": "itemClicked"; "branchOpened": "branchOpened"; "branchClosed": "branchClosed"; }, never, never, true, never>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
type HorizontalNavigationVariant = 'default' | 'mega';
|
|
48
|
-
declare abstract class HorizontalNavigationBaseComponent {
|
|
49
|
-
abstract readonly variant: HorizontalNavigationVariant;
|
|
50
|
-
private readonly _navigationService;
|
|
51
|
-
private _activeRootBranch;
|
|
52
|
-
readonly name: _angular_core.InputSignal<string>;
|
|
53
|
-
readonly navigation: _angular_core.InputSignal<NavigationItem[]>;
|
|
54
|
-
readonly itemClicked: _angular_core.OutputEmitterRef<NavigationItem>;
|
|
55
|
-
readonly navigationData: _angular_core.Signal<NavigationItem[]>;
|
|
56
|
-
isMegaVariant(): boolean;
|
|
57
|
-
onItemClicked(item: NavigationItem): void;
|
|
58
|
-
onRootBranchOpened(branch: HorizontalNavigationBranchItem): void;
|
|
59
|
-
onRootBranchClosed(branch: HorizontalNavigationBranchItem): void;
|
|
60
|
-
shouldRenderItem(item: NavigationItem): boolean;
|
|
61
|
-
hasChildren(item: NavigationItem): boolean;
|
|
62
|
-
getFlatNavigation(): NavigationItem[];
|
|
63
|
-
getItem(id: string): NavigationItem | null;
|
|
64
|
-
getItemParent(id: string): NavigationItem[] | NavigationItem | null;
|
|
65
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HorizontalNavigationBaseComponent, never>;
|
|
66
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HorizontalNavigationBaseComponent, never, never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; "isSignal": true; }; }, { "itemClicked": "itemClicked"; }, never, never, true, never>;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
declare class HorizontalNavigation extends HorizontalNavigationBaseComponent {
|
|
70
|
-
readonly variant: "default";
|
|
71
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HorizontalNavigation, never>;
|
|
72
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalNavigation, "horizontal-navigation", never, {}, {}, never, never, true, never>;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
declare class HorizontalNavigationMegaComponent extends HorizontalNavigationBaseComponent {
|
|
76
|
-
readonly variant: "mega";
|
|
77
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HorizontalNavigationMegaComponent, never>;
|
|
78
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalNavigationMegaComponent, "horizontal-navigation-mega", never, {}, {}, never, never, true, never>;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export { HorizontalNavigation, HorizontalNavigationBranchItem, HorizontalNavigationMegaComponent };
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnChanges, OnInit, AfterViewInit, OnDestroy, ChangeDetectorRef, ElementRef, Renderer2, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { NavigationService, VerticalNavigationMode, NavigationItem, VerticalNavigationPosition, VerticalNavigationAppearance, NavigationAsideItem, shouldRenderNavigationItem, NavigationBasicItem, NavigationCollapsableItem, NavigationGroupItem } from '@ojiepermana/angular/navigation';
|
|
4
|
-
import { Router, IsActiveMatchOptions } from '@angular/router';
|
|
5
|
-
import { ReplaySubject, Subject } from 'rxjs';
|
|
6
|
-
import { trackNavigationTreeItem } from '@ojiepermana/angular/internal';
|
|
7
|
-
|
|
8
|
-
declare abstract class VerticalNavigationBaseComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy {
|
|
9
|
-
protected _changeDetectorRef: ChangeDetectorRef;
|
|
10
|
-
protected _document: Document;
|
|
11
|
-
protected _elementRef: ElementRef<any>;
|
|
12
|
-
protected _renderer2: Renderer2;
|
|
13
|
-
protected _router: Router;
|
|
14
|
-
protected _navigationService: NavigationService;
|
|
15
|
-
autoCollapse: boolean;
|
|
16
|
-
inner: boolean;
|
|
17
|
-
mode: VerticalNavigationMode;
|
|
18
|
-
navigation: NavigationItem[];
|
|
19
|
-
opened: boolean;
|
|
20
|
-
position: VerticalNavigationPosition;
|
|
21
|
-
transparentOverlay: boolean;
|
|
22
|
-
readonly appearanceChanged: EventEmitter<VerticalNavigationAppearance>;
|
|
23
|
-
readonly modeChanged: EventEmitter<VerticalNavigationMode>;
|
|
24
|
-
readonly openedChanged: EventEmitter<boolean>;
|
|
25
|
-
readonly positionChanged: EventEmitter<VerticalNavigationPosition>;
|
|
26
|
-
protected _navigationContentEl?: ElementRef;
|
|
27
|
-
activeAsideItemId: string | null;
|
|
28
|
-
onCollapsableItemCollapsed: ReplaySubject<NavigationItem>;
|
|
29
|
-
onCollapsableItemExpanded: ReplaySubject<NavigationItem>;
|
|
30
|
-
onRefreshed: ReplaySubject<boolean>;
|
|
31
|
-
protected _animationsEnabled: boolean;
|
|
32
|
-
protected _asideOverlay: HTMLElement | null;
|
|
33
|
-
protected _hovered: boolean;
|
|
34
|
-
protected _mutationObserver?: MutationObserver;
|
|
35
|
-
protected _overlay: HTMLElement | null;
|
|
36
|
-
protected _pendingTimeouts: ReturnType<typeof setTimeout>[];
|
|
37
|
-
protected _unsubscribeAll: Subject<void>;
|
|
38
|
-
protected abstract _componentPrefix: string;
|
|
39
|
-
protected abstract _asideWrapperClass: string;
|
|
40
|
-
private readonly _overlayClickHandler;
|
|
41
|
-
private readonly _asideOverlayClickHandler;
|
|
42
|
-
abstract appearance: VerticalNavigationAppearance;
|
|
43
|
-
get hostClasses(): Record<string, boolean>;
|
|
44
|
-
get asideWrapperClass(): string;
|
|
45
|
-
activeAsideNavigationItem(): NavigationAsideItem | null;
|
|
46
|
-
shouldRenderItem(item: NavigationItem): boolean;
|
|
47
|
-
onMouseenter(): void;
|
|
48
|
-
onMouseleave(): void;
|
|
49
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
ngAfterViewInit(): void;
|
|
52
|
-
ngOnDestroy(): void;
|
|
53
|
-
refresh(): void;
|
|
54
|
-
open(): void;
|
|
55
|
-
close(): void;
|
|
56
|
-
toggle(): void;
|
|
57
|
-
openAside(item: NavigationItem): void;
|
|
58
|
-
closeAside(): void;
|
|
59
|
-
toggleAside(item: NavigationItem): void;
|
|
60
|
-
trackByFn(index: number, item: NavigationItem): string | number | undefined;
|
|
61
|
-
protected _enableAnimations(): void;
|
|
62
|
-
protected _disableAnimations(): void;
|
|
63
|
-
protected _showOverlay(): void;
|
|
64
|
-
protected _hideOverlay(): void;
|
|
65
|
-
protected _showAsideOverlay(): void;
|
|
66
|
-
protected _hideAsideOverlay(): void;
|
|
67
|
-
protected _setTimeout(fn: () => void, delay?: number): void;
|
|
68
|
-
private _removeOverlayElement;
|
|
69
|
-
protected _toggleOpened(open: boolean): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationBaseComponent, never>;
|
|
71
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VerticalNavigationBaseComponent, never, never, { "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, never, true, never>;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
declare class VerticalNavigationDefaultComponent extends VerticalNavigationBaseComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy {
|
|
75
|
-
protected _componentPrefix: string;
|
|
76
|
-
protected _asideWrapperClass: string;
|
|
77
|
-
appearance: VerticalNavigationAppearance;
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationDefaultComponent, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationDefaultComponent, "vertical-navigation", ["verticalNavigationDefault"], { "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, ["[verticalNavigationHeader]", "[verticalNavigationContentHeader]", "[verticalNavigationContentFooter]", "[verticalNavigationFooter]"], true, never>;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
declare class VerticalNavigationCollapsibleComponent {
|
|
83
|
-
private navigationComponent?;
|
|
84
|
-
autoCollapse: boolean;
|
|
85
|
-
appearance: VerticalNavigationAppearance;
|
|
86
|
-
inner: boolean;
|
|
87
|
-
mode: VerticalNavigationMode;
|
|
88
|
-
navigation: NavigationItem[];
|
|
89
|
-
opened: boolean;
|
|
90
|
-
position: VerticalNavigationPosition;
|
|
91
|
-
transparentOverlay: boolean;
|
|
92
|
-
readonly appearanceChanged: EventEmitter<VerticalNavigationAppearance>;
|
|
93
|
-
readonly modeChanged: EventEmitter<VerticalNavigationMode>;
|
|
94
|
-
readonly openedChanged: EventEmitter<boolean>;
|
|
95
|
-
readonly positionChanged: EventEmitter<VerticalNavigationPosition>;
|
|
96
|
-
protected readonly renderedAppearance: VerticalNavigationAppearance;
|
|
97
|
-
refresh(): void;
|
|
98
|
-
open(): void;
|
|
99
|
-
close(): void;
|
|
100
|
-
toggle(): void;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationCollapsibleComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationCollapsibleComponent, "vertical-navigation-collapsible", ["verticalNavigationCollapsible"], { "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[verticalNavigationHeader]", "[verticalNavigationContentHeader]", "[verticalNavigationContentFooter]", "[verticalNavigationFooter]"], true, never>;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
declare class VerticalNavigationAsideItemComponent implements OnChanges, OnInit, OnDestroy {
|
|
106
|
-
private _changeDetectorRef;
|
|
107
|
-
private _navigationComponent;
|
|
108
|
-
private _router;
|
|
109
|
-
activeItemId?: string | null;
|
|
110
|
-
autoCollapse: boolean;
|
|
111
|
-
item: NavigationAsideItem;
|
|
112
|
-
skipChildren: boolean;
|
|
113
|
-
active: boolean;
|
|
114
|
-
readonly treeTrackByFn: typeof trackNavigationTreeItem;
|
|
115
|
-
readonly treeShouldRenderItemFn: typeof shouldRenderNavigationItem;
|
|
116
|
-
private _unsubscribeAll;
|
|
117
|
-
/**
|
|
118
|
-
* On changes
|
|
119
|
-
*/
|
|
120
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
121
|
-
/**
|
|
122
|
-
* On init
|
|
123
|
-
*/
|
|
124
|
-
ngOnInit(): void;
|
|
125
|
-
/**
|
|
126
|
-
* On destroy
|
|
127
|
-
*/
|
|
128
|
-
ngOnDestroy(): void;
|
|
129
|
-
/**
|
|
130
|
-
* Track by function for ngFor loops
|
|
131
|
-
*/
|
|
132
|
-
trackByFn(index: number, item: NavigationItem): string | number | undefined;
|
|
133
|
-
shouldRenderItem(item: NavigationItem): boolean;
|
|
134
|
-
get treeTemplateData(): {
|
|
135
|
-
autoCollapse: boolean;
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Check if the given item has the given url in one of its children
|
|
139
|
-
*/
|
|
140
|
-
private _hasActiveChild;
|
|
141
|
-
/**
|
|
142
|
-
* Decide and mark if the item is active
|
|
143
|
-
*/
|
|
144
|
-
private _markIfActive;
|
|
145
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationAsideItemComponent, never>;
|
|
146
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationAsideItemComponent, "vertical-navigation-aside-item", never, { "activeItemId": { "alias": "activeItemId"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "item": { "alias": "item"; "required": false; }; "skipChildren": { "alias": "skipChildren"; "required": false; }; }, {}, never, never, true, never>;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
declare class VerticalNavigationBasicItemComponent implements OnInit, OnDestroy {
|
|
150
|
-
private _changeDetectorRef;
|
|
151
|
-
private _navigationComponent;
|
|
152
|
-
private _navigationService;
|
|
153
|
-
item: NavigationBasicItem;
|
|
154
|
-
isActiveMatchOptions: IsActiveMatchOptions;
|
|
155
|
-
private _unsubscribeAll;
|
|
156
|
-
/**
|
|
157
|
-
* On init
|
|
158
|
-
*/
|
|
159
|
-
ngOnInit(): void;
|
|
160
|
-
/**
|
|
161
|
-
* On destroy
|
|
162
|
-
*/
|
|
163
|
-
ngOnDestroy(): void;
|
|
164
|
-
hasAction(): boolean;
|
|
165
|
-
markActive(): void;
|
|
166
|
-
triggerAction(): void;
|
|
167
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationBasicItemComponent, never>;
|
|
168
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationBasicItemComponent, "vertical-navigation-basic-item", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
declare class VerticalNavigationCollapsableItemComponent implements OnInit, OnDestroy {
|
|
172
|
-
private _changeDetectorRef;
|
|
173
|
-
private _navigationComponent;
|
|
174
|
-
private _navigationService;
|
|
175
|
-
private _router;
|
|
176
|
-
autoCollapse: boolean;
|
|
177
|
-
item: NavigationCollapsableItem;
|
|
178
|
-
isCollapsed: boolean;
|
|
179
|
-
readonly treeTrackByFn: typeof trackNavigationTreeItem;
|
|
180
|
-
readonly treeShouldRenderItemFn: typeof shouldRenderNavigationItem;
|
|
181
|
-
get isExpanded(): boolean;
|
|
182
|
-
private _unsubscribeAll;
|
|
183
|
-
/**
|
|
184
|
-
* On init
|
|
185
|
-
*/
|
|
186
|
-
ngOnInit(): void;
|
|
187
|
-
/**
|
|
188
|
-
* On destroy
|
|
189
|
-
*/
|
|
190
|
-
ngOnDestroy(): void;
|
|
191
|
-
/**
|
|
192
|
-
* Collapse
|
|
193
|
-
*/
|
|
194
|
-
collapse(): void;
|
|
195
|
-
/**
|
|
196
|
-
* Expand
|
|
197
|
-
*/
|
|
198
|
-
expand(): void;
|
|
199
|
-
/**
|
|
200
|
-
* Toggle collapsable
|
|
201
|
-
*/
|
|
202
|
-
toggleCollapsable(): void;
|
|
203
|
-
/**
|
|
204
|
-
* Track by function for ngFor loops
|
|
205
|
-
*/
|
|
206
|
-
trackByFn(index: number, item: NavigationItem): string | number | undefined;
|
|
207
|
-
shouldRenderItem(item: NavigationItem): boolean;
|
|
208
|
-
get treeTemplateData(): {
|
|
209
|
-
autoCollapse: boolean;
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* Check if the given item has the given url in one of its children
|
|
213
|
-
*/
|
|
214
|
-
private _hasActiveChild;
|
|
215
|
-
private _shouldExpand;
|
|
216
|
-
/**
|
|
217
|
-
* Check if this is a children of the given item
|
|
218
|
-
*/
|
|
219
|
-
private _isChildrenOf;
|
|
220
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationCollapsableItemComponent, never>;
|
|
221
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationCollapsableItemComponent, "vertical-navigation-collapsable-item", never, { "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
declare class VerticalNavigationDividerItemComponent {
|
|
225
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationDividerItemComponent, never>;
|
|
226
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationDividerItemComponent, "vertical-navigation-divider-item", never, {}, {}, never, never, true, never>;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
declare class VerticalNavigationGroupItemComponent implements OnInit, OnDestroy {
|
|
230
|
-
private _changeDetectorRef;
|
|
231
|
-
private _navigationComponent;
|
|
232
|
-
autoCollapse: boolean;
|
|
233
|
-
item: NavigationGroupItem;
|
|
234
|
-
private _unsubscribeAll;
|
|
235
|
-
readonly treeTrackByFn: typeof trackNavigationTreeItem;
|
|
236
|
-
readonly treeShouldRenderItemFn: typeof shouldRenderNavigationItem;
|
|
237
|
-
/**
|
|
238
|
-
* On init
|
|
239
|
-
*/
|
|
240
|
-
ngOnInit(): void;
|
|
241
|
-
/**
|
|
242
|
-
* On destroy
|
|
243
|
-
*/
|
|
244
|
-
ngOnDestroy(): void;
|
|
245
|
-
/**
|
|
246
|
-
* Track by function for ngFor loops
|
|
247
|
-
*/
|
|
248
|
-
trackByFn(index: number, item: NavigationItem): string | number | undefined;
|
|
249
|
-
shouldRenderItem(item: NavigationItem): boolean;
|
|
250
|
-
get treeTemplateData(): {
|
|
251
|
-
autoCollapse: boolean;
|
|
252
|
-
};
|
|
253
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationGroupItemComponent, never>;
|
|
254
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationGroupItemComponent, "vertical-navigation-group-item", never, { "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
declare class VerticalNavigationSpacerItemComponent {
|
|
258
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationSpacerItemComponent, never>;
|
|
259
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavigationSpacerItemComponent, "vertical-navigation-spacer-item", never, {}, {}, never, never, true, never>;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export { VerticalNavigationAsideItemComponent, VerticalNavigationBasicItemComponent, VerticalNavigationCollapsableItemComponent, VerticalNavigationCollapsibleComponent, VerticalNavigationDefaultComponent, VerticalNavigationDividerItemComponent, VerticalNavigationGroupItemComponent, VerticalNavigationSpacerItemComponent };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
import { NgLayoutConfig } from '@ojiepermana/angular/layout';
|
|
3
|
-
import { NgNavigationConfig } from '@ojiepermana/angular/navigation';
|
|
4
|
-
import { NgThemeConfig } from '@ojiepermana/angular/theme/service';
|
|
5
|
-
|
|
6
|
-
interface NgShellConfig {
|
|
7
|
-
readonly theme?: Partial<NgThemeConfig>;
|
|
8
|
-
readonly layout?: Partial<NgLayoutConfig>;
|
|
9
|
-
readonly navigation?: Partial<NgNavigationConfig>;
|
|
10
|
-
}
|
|
11
|
-
declare function provideNgShell(config?: NgShellConfig): EnvironmentProviders;
|
|
12
|
-
|
|
13
|
-
export { provideNgShell };
|
|
14
|
-
export type { NgShellConfig };
|