@theseam/ui-common 0.4.12-beta.0 → 0.4.13
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/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +1 -1
- package/datatable/datatable/datatable.component.d.ts +1 -10
- package/datatable/services/columns-manager.service.d.ts +0 -7
- package/datatable/utils/create-action-menu-column.d.ts +1 -1
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +2 -2
- package/esm2020/datatable/datatable/datatable.component.mjs +4 -20
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +2 -2
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +1 -1
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +1 -1
- package/esm2020/datatable/services/columns-manager.service.mjs +2 -27
- package/esm2020/datatable/utils/create-action-menu-column.mjs +3 -4
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +1 -1
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +1 -1
- package/esm2020/framework/base-layout/base-layout.component.mjs +4 -14
- package/esm2020/framework/base-layout/base-layout.module.mjs +1 -6
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +5 -21
- package/esm2020/framework/base-layout/index.mjs +1 -2
- package/esm2020/framework/public-api.mjs +1 -2
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +1 -1
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +67 -28
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +5 -12
- package/esm2020/framework/side-nav/side-nav.component.mjs +38 -116
- package/esm2020/framework/side-nav/side-nav.models.mjs +1 -1
- package/esm2020/framework/side-nav/side-nav.module.mjs +39 -9
- package/esm2020/framework/side-nav/side-nav.service.mjs +1 -1
- package/esm2020/framework/top-bar/index.mjs +1 -3
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +4 -10
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +4 -6
- package/esm2020/framework/top-bar/top-bar.component.mjs +11 -55
- package/esm2020/framework/top-bar/top-bar.module.mjs +5 -15
- package/esm2020/layout/layout.service.mjs +2 -12
- package/esm2020/menu/menu-item.component.mjs +3 -3
- package/esm2020/menu/menu-toggle.directive.mjs +2 -7
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +2 -4
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +2 -2
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +2 -2
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-datatable.mjs +10 -56
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-framework.mjs +156 -905
- package/fesm2015/theseam-ui-common-framework.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-layout.mjs +2 -11
- package/fesm2015/theseam-ui-common-layout.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-menu.mjs +3 -8
- package/fesm2015/theseam-ui-common-menu.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +1 -3
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +2 -2
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +2 -2
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-datatable.mjs +10 -56
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-framework.mjs +156 -907
- package/fesm2020/theseam-ui-common-framework.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-layout.mjs +2 -11
- package/fesm2020/theseam-ui-common-layout.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-menu.mjs +3 -8
- package/fesm2020/theseam-ui-common-menu.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +1 -3
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -1
- package/framework/base-layout/base-layout.component.d.ts +2 -4
- package/framework/base-layout/base-layout.component.scss +10 -18
- package/framework/base-layout/base-layout.module.d.ts +10 -11
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -8
- package/framework/base-layout/index.d.ts +0 -1
- package/framework/base-layout/styles/_variables.scss +0 -21
- package/framework/public-api.d.ts +0 -1
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +14 -7
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +5 -7
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +3 -5
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +6 -3
- package/framework/side-nav/side-nav.component.d.ts +1 -13
- package/framework/side-nav/side-nav.component.scss +1 -0
- package/framework/side-nav/side-nav.models.d.ts +1 -7
- package/framework/side-nav/side-nav.module.d.ts +9 -1
- package/framework/side-nav/styles/_themes/light/_variables.scss +14 -24
- package/framework/side-nav/styles/_themes/primary/_variables.scss +0 -8
- package/framework/top-bar/index.d.ts +0 -2
- package/framework/top-bar/top-bar-item.directive.d.ts +1 -4
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +2 -5
- package/framework/top-bar/top-bar.component.d.ts +3 -25
- package/framework/top-bar/top-bar.component.scss +2 -7
- package/framework/top-bar/top-bar.module.d.ts +8 -10
- package/layout/layout.service.d.ts +1 -9
- package/menu/menu-toggle.directive.d.ts +1 -2
- package/package.json +2 -2
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +14 -57
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +5 -33
- package/datatable/models/action-item-column-position.d.ts +0 -13
- package/esm2020/datatable/models/action-item-column-position.mjs +0 -5
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-header.directive.mjs +0 -16
- package/esm2020/framework/nav/horizontal-nav/horizontal-nav.component.mjs +0 -55
- package/esm2020/framework/nav/index.mjs +0 -6
- package/esm2020/framework/nav/nav-item/nav-item.component.mjs +0 -227
- package/esm2020/framework/nav/nav-utils.mjs +0 -107
- package/esm2020/framework/nav/nav.models.mjs +0 -2
- package/esm2020/framework/nav/nav.module.mjs +0 -67
- package/esm2020/framework/nav/nav.service.mjs +0 -204
- package/esm2020/framework/top-bar/top-bar-compact-menu-btn-detail.directive.mjs +0 -16
- package/esm2020/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.mjs +0 -16
- package/framework/base-layout/directives/base-layout-side-bar-header.directive.d.ts +0 -9
- package/framework/nav/_nav-theme.scss +0 -4
- package/framework/nav/horizontal-nav/horizontal-nav.component.d.ts +0 -25
- package/framework/nav/horizontal-nav/horizontal-nav.component.scss +0 -50
- package/framework/nav/index.d.ts +0 -5
- package/framework/nav/nav-item/nav-item.component.d.ts +0 -74
- package/framework/nav/nav-item/nav-item.component.scss +0 -203
- package/framework/nav/nav-utils.d.ts +0 -20
- package/framework/nav/nav.models.d.ts +0 -77
- package/framework/nav/nav.module.d.ts +0 -17
- package/framework/nav/nav.service.d.ts +0 -27
- package/framework/nav/styles/_themes/light/_variables.scss +0 -56
- package/framework/nav/styles/_themes/primary/_variables.scss +0 -56
- package/framework/nav/styles/_utilities.scss +0 -3
- package/framework/nav/styles/_variables.scss +0 -2
- package/framework/top-bar/top-bar-compact-menu-btn-detail.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.d.ts +0 -8
|
@@ -11,7 +11,8 @@ seam-base-layout {
|
|
|
11
11
|
top: 0;
|
|
12
12
|
bottom: 0;
|
|
13
13
|
left: 0;
|
|
14
|
-
|
|
14
|
+
float: left;
|
|
15
|
+
z-index: 9999;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.base-layout-side-bar-container {
|
|
@@ -52,23 +53,6 @@ seam-base-layout {
|
|
|
52
53
|
|
|
53
54
|
.base-layout-content-container-header {
|
|
54
55
|
flex: 0 0 auto;
|
|
55
|
-
background: $base-header-background;
|
|
56
|
-
margin: $base-header-margin;
|
|
57
|
-
padding: $base-header-padding;
|
|
58
|
-
border-radius: $base-header-border-radius;
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
&-left {
|
|
61
|
-
background: $base-header-left-bg;
|
|
62
|
-
padding: $base-header-left-padding;
|
|
63
|
-
margin: $base-header-left-margin;
|
|
64
|
-
border-radius: $base-header-left-border-radius;
|
|
65
|
-
}
|
|
66
|
-
&-right {
|
|
67
|
-
background: $base-header-right-bg;
|
|
68
|
-
padding: $base-header-right-padding;
|
|
69
|
-
margin: $base-header-right-margin;
|
|
70
|
-
border-radius: $base-header-right-border-radius;
|
|
71
|
-
}
|
|
72
56
|
}
|
|
73
57
|
|
|
74
58
|
.base-layout-content-container-inner {
|
|
@@ -80,6 +64,14 @@ seam-base-layout {
|
|
|
80
64
|
}
|
|
81
65
|
}
|
|
82
66
|
|
|
67
|
+
.base-layout-content-container-header {
|
|
68
|
+
margin: $base-header-margin;
|
|
69
|
+
padding: $base-header-padding;
|
|
70
|
+
background: $base-header-background;
|
|
71
|
+
border-radius: $base-header-border-radius;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
83
75
|
.btn-baselayout-action {
|
|
84
76
|
margin: $base-action-margin;
|
|
85
77
|
@include button-variant(
|
|
@@ -3,18 +3,17 @@ import * as i1 from "./base-layout.component";
|
|
|
3
3
|
import * as i2 from "./directives/base-layout-content.directive";
|
|
4
4
|
import * as i3 from "./directives/base-layout-side-bar.directive";
|
|
5
5
|
import * as i4 from "./directives/base-layout-side-bar-footer.directive";
|
|
6
|
-
import * as i5 from "./directives/base-layout-
|
|
7
|
-
import * as i6 from "./directives/base-layout-
|
|
8
|
-
import * as i7 from "./directives/base-layout-
|
|
9
|
-
import * as i8 from "./directives/base-layout-content-
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "@angular/
|
|
12
|
-
import * as i11 from "@
|
|
13
|
-
import * as i12 from "@theseam/ui-common/
|
|
14
|
-
import * as i13 from "@theseam/ui-common/
|
|
15
|
-
import * as i14 from "@theseam/ui-common/buttons";
|
|
6
|
+
import * as i5 from "./directives/base-layout-top-bar.directive";
|
|
7
|
+
import * as i6 from "./directives/base-layout-nav-toggle.directive";
|
|
8
|
+
import * as i7 from "./directives/base-layout-content-header.directive";
|
|
9
|
+
import * as i8 from "./directives/base-layout-content-footer.directive";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "@angular/cdk/portal";
|
|
12
|
+
import * as i11 from "@theseam/ui-common/scrollbar";
|
|
13
|
+
import * as i12 from "@theseam/ui-common/icon";
|
|
14
|
+
import * as i13 from "@theseam/ui-common/buttons";
|
|
16
15
|
export declare class TheSeamBaseLayoutModule {
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamBaseLayoutModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamBaseLayoutModule, [typeof i1.TheSeamBaseLayoutComponent, typeof i2.BaseLayoutContentDirective, typeof i3.BaseLayoutSideBarDirective, typeof i4.BaseLayoutSideBarFooterDirective, typeof i5.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamBaseLayoutModule, [typeof i1.TheSeamBaseLayoutComponent, typeof i2.BaseLayoutContentDirective, typeof i3.BaseLayoutSideBarDirective, typeof i4.BaseLayoutSideBarFooterDirective, typeof i5.BaseLayoutTopBarDirective, typeof i6.BaseLayoutNavToggleDirective, typeof i7.BaseLayoutContentHeaderDirective, typeof i8.BaseLayoutContentFooterDirective], [typeof i9.CommonModule, typeof i10.PortalModule, typeof i11.TheSeamScrollbarModule, typeof i12.TheSeamIconModule, typeof i13.TheSeamButtonsModule], [typeof i1.TheSeamBaseLayoutComponent, typeof i2.BaseLayoutContentDirective, typeof i3.BaseLayoutSideBarDirective, typeof i4.BaseLayoutSideBarFooterDirective, typeof i5.BaseLayoutTopBarDirective, typeof i6.BaseLayoutNavToggleDirective, typeof i7.BaseLayoutContentHeaderDirective, typeof i8.BaseLayoutContentFooterDirective]>;
|
|
19
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<TheSeamBaseLayoutModule>;
|
|
20
19
|
}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
1
|
import type { ITheSeamBaseLayoutRef } from '../base-layout-ref';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* Can be used to toggle the expand state of the registered nav.
|
|
6
5
|
*/
|
|
7
|
-
export declare class BaseLayoutNavToggleDirective
|
|
8
|
-
private readonly _cdr;
|
|
6
|
+
export declare class BaseLayoutNavToggleDirective {
|
|
9
7
|
baseLayout: ITheSeamBaseLayoutRef | undefined;
|
|
10
8
|
get _attrType(): string | null | undefined;
|
|
11
9
|
type: string | undefined | null;
|
|
12
10
|
get _attrAriaLabel(): string | null;
|
|
13
11
|
/** Screenreader label for the button. */
|
|
14
12
|
ariaLabel: string | undefined | null;
|
|
15
|
-
_toggleClass: boolean;
|
|
16
|
-
_expandedClass: boolean;
|
|
17
13
|
_onClick(): void;
|
|
18
|
-
constructor(
|
|
19
|
-
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayoutNavToggleDirective, [null, { optional: true; }]>;
|
|
14
|
+
constructor(_baseLayout: ITheSeamBaseLayoutRef);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayoutNavToggleDirective, [{ optional: true; }]>;
|
|
21
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseLayoutNavToggleDirective, "button[seamBaseLayoutNavToggle]", ["seamBaseLayoutNavToggle"], { "type": "type"; "ariaLabel": "aria-label"; }, {}, never, never, false, never>;
|
|
22
17
|
}
|
|
@@ -5,7 +5,6 @@ export * from './directives/base-layout-nav-toggle.directive';
|
|
|
5
5
|
export * from './directives/base-layout-side-bar-footer.directive';
|
|
6
6
|
export * from './directives/base-layout-side-bar.directive';
|
|
7
7
|
export * from './directives/base-layout-top-bar.directive';
|
|
8
|
-
export * from './directives/base-layout-side-bar-header.directive';
|
|
9
8
|
export * from './base-layout.component';
|
|
10
9
|
export * from './base-layout.module';
|
|
11
10
|
export * from './base-layout-nav';
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
// Header Bar Styles
|
|
2
1
|
$base-header-margin: .25rem !default;
|
|
3
2
|
$base-header-padding: 0 !default;
|
|
4
3
|
$base-header-background: none !default;
|
|
5
4
|
$base-header-border-radius: 0 !default;
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
// Left Side
|
|
9
|
-
$base-header-left-bg: none !default;
|
|
10
|
-
$base-header-left-padding: 0rem !default;
|
|
11
|
-
$base-header-left-margin: 0 !default;
|
|
12
|
-
$base-header-left-border-radius: 0 !default;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// Right Side
|
|
16
|
-
$base-header-right-bg: none !default;
|
|
17
|
-
$base-header-right-padding: 0rem !default;
|
|
18
|
-
$base-header-right-margin: 0 !default;
|
|
19
|
-
$base-header-right-border-radius: 0 !default;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
// Right Side Action Buttons
|
|
23
6
|
$base-action-margin: 0 0 0 .25rem !default;
|
|
24
7
|
$base-action-bg: $gray-200 !default;
|
|
25
8
|
$base-action-hover-bg: #d3d9df !default;
|
|
@@ -29,15 +12,11 @@ $base-action-padding-x: 1rem !default;
|
|
|
29
12
|
$base-action-padding-y: .5rem !default;
|
|
30
13
|
$base-action-border-radius: .25rem !default;
|
|
31
14
|
|
|
32
|
-
|
|
33
|
-
// Top Bar Wrapper
|
|
34
15
|
$base-layout-top-bar-container-border-top: none !default;
|
|
35
16
|
$base-layout-top-bar-container-border-right: none !default;
|
|
36
17
|
$base-layout-top-bar-container-border-bottom: 1px solid #dee2e6 !default;
|
|
37
18
|
$base-layout-top-bar-container-border-left: none !default;
|
|
38
19
|
|
|
39
|
-
|
|
40
|
-
// Side Bar Wrapper
|
|
41
20
|
$base-layout-side-bar-container-border-top: none !default;
|
|
42
21
|
$base-layout-side-bar-container-border-right: 1px solid #dee2e6 !default;
|
|
43
22
|
$base-layout-side-bar-container-border-bottom: none !default;
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { SeamIcon } from '@theseam/ui-common/icon';
|
|
4
|
+
import type { SeamIcon } from '@theseam/ui-common/icon';
|
|
5
5
|
import type { ThemeTypes } from '@theseam/ui-common/models';
|
|
6
6
|
import { SideNavAccessor } from '../side-nav-tokens';
|
|
7
|
-
import { ISideNavItem,
|
|
7
|
+
import { ISideNavItem, SideNavItemMenuItemTooltipConfig } from '../side-nav.models';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
export interface SideNavItemBadgeTooltip {
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
class?: string;
|
|
12
|
+
placement?: string;
|
|
13
|
+
container?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
9
16
|
export declare class SideNavItemComponent implements OnDestroy {
|
|
10
17
|
private readonly _sideNav;
|
|
18
|
+
private readonly _parent?;
|
|
11
19
|
static ngAcceptInputType_hierLevel: NumberInput;
|
|
12
20
|
static ngAcceptInputType_indentSize: NumberInput;
|
|
13
21
|
static ngAcceptInputType_expanded: BooleanInput;
|
|
@@ -17,7 +25,6 @@ export declare class SideNavItemComponent implements OnDestroy {
|
|
|
17
25
|
readonly faAngleLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
26
|
itemType: 'divider' | 'basic' | 'link' | 'button' | 'title' | undefined | null;
|
|
19
27
|
icon: SeamIcon | undefined | null;
|
|
20
|
-
hideEmptyIcon: boolean | undefined | null;
|
|
21
28
|
label: string | undefined | null;
|
|
22
29
|
active: boolean;
|
|
23
30
|
set link(value: string | undefined | null);
|
|
@@ -53,12 +60,12 @@ export declare class SideNavItemComponent implements OnDestroy {
|
|
|
53
60
|
get _isActiveCssClass(): boolean;
|
|
54
61
|
get _attrDataHierLevel(): number;
|
|
55
62
|
readonly childGroupAnimState$: Observable<string>;
|
|
56
|
-
|
|
63
|
+
readonly compactAnimState$: Observable<string>;
|
|
64
|
+
constructor(_sideNav: SideNavAccessor, _parent?: SideNavItemComponent | undefined);
|
|
57
65
|
ngOnDestroy(): void;
|
|
58
66
|
get hasChildren(): boolean;
|
|
59
67
|
toggleChildren(): void;
|
|
60
68
|
_linkClicked(): void;
|
|
61
|
-
|
|
62
|
-
static
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavItemComponent, "seam-side-nav-item", ["seamSideNavItem"], { "itemType": "itemType"; "icon": "icon"; "hideEmptyIcon": "hideEmptyIcon"; "label": "label"; "active": "active"; "link": "link"; "queryParams": "queryParams"; "children": "children"; "hierLevel": "hierLevel"; "indentSize": "indentSize"; "expanded": "expanded"; "compact": "compact"; "isMobile": "isMobile"; "badgeText": "badgeText"; "badgeTheme": "badgeTheme"; "badgeSrContent": "badgeSrContent"; "badgeTooltip": "badgeTooltip"; "menuItemTooltipConfig": "menuItemTooltipConfig"; "menuItemTooltipDisabled": "menuItemTooltipDisabled"; }, {}, never, never, true, never>;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavItemComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavItemComponent, "seam-side-nav-item", ["seamSideNavItem"], { "itemType": "itemType"; "icon": "icon"; "label": "label"; "active": "active"; "link": "link"; "queryParams": "queryParams"; "children": "children"; "hierLevel": "hierLevel"; "indentSize": "indentSize"; "expanded": "expanded"; "compact": "compact"; "isMobile": "isMobile"; "badgeText": "badgeText"; "badgeTheme": "badgeTheme"; "badgeSrContent": "badgeSrContent"; "badgeTooltip": "badgeTooltip"; "menuItemTooltipConfig": "menuItemTooltipConfig"; "menuItemTooltipDisabled": "menuItemTooltipDisabled"; }, {}, never, never, false, never>;
|
|
64
71
|
}
|
|
@@ -22,10 +22,6 @@ seam-side-nav-item {
|
|
|
22
22
|
.nav-link {
|
|
23
23
|
color: $seam-side-nav-item-color-active;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
.side-nav-btn {
|
|
27
|
-
color: $seam-side-nav-item-toggle-color-active;
|
|
28
|
-
}
|
|
29
25
|
}
|
|
30
26
|
|
|
31
27
|
.badge {
|
|
@@ -105,11 +101,11 @@ seam-side-nav-item {
|
|
|
105
101
|
|
|
106
102
|
.side-nav-btn {
|
|
107
103
|
font-weight: $font-weight-normal;
|
|
108
|
-
color: $seam-side-nav-item-
|
|
104
|
+
color: $seam-side-nav-item-color;
|
|
109
105
|
text-decoration: $link-decoration;
|
|
110
106
|
|
|
111
107
|
@include hover {
|
|
112
|
-
color: $seam-side-nav-item-
|
|
108
|
+
color: $seam-side-nav-item-bg-color-hover;
|
|
113
109
|
text-decoration: $link-hover-decoration;
|
|
114
110
|
}
|
|
115
111
|
|
|
@@ -121,7 +117,7 @@ seam-side-nav-item {
|
|
|
121
117
|
|
|
122
118
|
&:disabled,
|
|
123
119
|
&.disabled {
|
|
124
|
-
color: $seam-side-nav-item-
|
|
120
|
+
color: $seam-side-nav-item-disabled-color;
|
|
125
121
|
pointer-events: none;
|
|
126
122
|
}
|
|
127
123
|
}
|
|
@@ -144,6 +140,8 @@ seam-side-nav-item {
|
|
|
144
140
|
}
|
|
145
141
|
|
|
146
142
|
.side-nav-item--toggle-btn {
|
|
143
|
+
color: $seam-side-nav-item-color-active;
|
|
144
|
+
|
|
147
145
|
.svg-inline--fa {
|
|
148
146
|
transition: 100ms ease-in-out transform;
|
|
149
147
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { EventEmitter
|
|
3
|
-
import { SeamIcon } from '@theseam/ui-common/icon';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class SideNavToggleComponent {
|
|
6
5
|
static ngAcceptInputType_expanded: BooleanInput;
|
|
6
|
+
faBars: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
7
|
expanded: boolean;
|
|
8
|
-
toggleIcon: SeamIcon | undefined | null;
|
|
9
|
-
toggleTpl: TemplateRef<any> | undefined | null;
|
|
10
8
|
toggleExpand: EventEmitter<void>;
|
|
11
9
|
toggle(): void;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavToggleComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavToggleComponent, "seam-side-nav-toggle", never, { "expanded": "expanded";
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavToggleComponent, "seam-side-nav-toggle", never, { "expanded": "expanded"; }, { "toggleExpand": "toggleExpand"; }, never, ["*"], false, never>;
|
|
14
12
|
}
|
|
@@ -4,14 +4,12 @@ seam-side-nav-toggle {
|
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: row;
|
|
6
6
|
flex-shrink: 0;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background: $seam-side-nav-toggle-bg-color;
|
|
9
7
|
|
|
10
8
|
// &.side-nav-toggle--compact {
|
|
11
9
|
// width: 50px;
|
|
12
10
|
// }
|
|
13
11
|
position: relative;
|
|
14
|
-
height:
|
|
12
|
+
height: 45px;
|
|
15
13
|
width: 100%;
|
|
16
14
|
|
|
17
15
|
//
|
|
@@ -20,6 +18,11 @@ seam-side-nav-toggle {
|
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
.side-nav-toggle--btn {
|
|
21
|
+
// flex: 0 0 auto;
|
|
22
|
+
// align-self: flex-end;
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 0;
|
|
25
|
+
right: 5px;
|
|
23
26
|
color: $seam-side-nav-toggle-btn-color;
|
|
24
27
|
|
|
25
28
|
seam-icon {
|
|
@@ -3,7 +3,6 @@ import { TemplatePortal } from '@angular/cdk/portal';
|
|
|
3
3
|
import { EventEmitter, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { TheSeamLayoutService } from '@theseam/ui-common/layout';
|
|
6
|
-
import { SeamIcon } from '@theseam/ui-common/icon';
|
|
7
6
|
import { ITheSeamBaseLayoutNav, ITheSeamBaseLayoutRef } from '../base-layout/index';
|
|
8
7
|
import { ISideNavItem, SideNavItemMenuItemTooltipConfig } from './side-nav.models';
|
|
9
8
|
import { TheSeamSideNavService } from './side-nav.service';
|
|
@@ -16,24 +15,16 @@ export declare class SideNavComponent implements OnInit, OnDestroy, ITheSeamBase
|
|
|
16
15
|
private readonly _baseLayoutRef;
|
|
17
16
|
static ngAcceptInputType_hasHeaderToggle: BooleanInput;
|
|
18
17
|
private readonly _ngUnsubscribe;
|
|
19
|
-
faBars: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
20
18
|
_sideNavExpand: string;
|
|
21
19
|
hasHeaderToggle: boolean;
|
|
22
|
-
toggleIcon: SeamIcon | null | undefined;
|
|
23
|
-
toggleTpl: TemplateRef<any> | undefined | null;
|
|
24
20
|
get items(): ISideNavItem[];
|
|
25
21
|
set items(value: ISideNavItem[]);
|
|
26
22
|
private _items;
|
|
27
23
|
readonly items$: Observable<ISideNavItem[]>;
|
|
28
|
-
hideEmptyIcon: boolean | null | undefined;
|
|
29
|
-
indentSize: number;
|
|
30
24
|
get expanded(): boolean;
|
|
31
25
|
set expanded(value: boolean);
|
|
32
26
|
private _expanded;
|
|
33
27
|
readonly expanded$: Observable<boolean>;
|
|
34
|
-
expandOrigin: 'left' | 'right' | 'top' | 'bottom';
|
|
35
|
-
expandHeight: string;
|
|
36
|
-
expandWidth: string;
|
|
37
28
|
get overlay(): boolean;
|
|
38
29
|
set overlay(value: boolean);
|
|
39
30
|
private _overlay;
|
|
@@ -46,8 +37,6 @@ export declare class SideNavComponent implements OnInit, OnDestroy, ITheSeamBase
|
|
|
46
37
|
readonly isMobile$: Observable<boolean>;
|
|
47
38
|
readonly sideNavExpandedState$: Observable<string>;
|
|
48
39
|
_backdropHidden: BehaviorSubject<boolean>;
|
|
49
|
-
_sideBarHeaderTpl?: TemplateRef<any> | null;
|
|
50
|
-
_sideBarHeaderPortal?: TemplatePortal;
|
|
51
40
|
_sideBarFooterTpl?: TemplateRef<any> | null;
|
|
52
41
|
_sideBarFooterPortal?: TemplatePortal;
|
|
53
42
|
constructor(_viewContainerRef: ViewContainerRef, _layout: TheSeamLayoutService, _sideNav: TheSeamSideNavService, _baseLayoutRef: ITheSeamBaseLayoutRef);
|
|
@@ -58,7 +47,6 @@ export declare class SideNavComponent implements OnInit, OnDestroy, ITheSeamBase
|
|
|
58
47
|
toggle(): void;
|
|
59
48
|
animateStart(): void;
|
|
60
49
|
animateEnd(): void;
|
|
61
|
-
get expandOriginTransform(): string | null;
|
|
62
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavComponent, [null, null, null, { optional: true; }]>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavComponent, "seam-side-nav", never, { "hasHeaderToggle": "hasHeaderToggle"; "
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavComponent, "seam-side-nav", never, { "hasHeaderToggle": "hasHeaderToggle"; "items": "items"; "expanded": "expanded"; "overlay": "overlay"; "menuItemTooltipConfig": "menuItemTooltipConfig"; }, { "toggleExpand": "toggleExpand"; }, ["_sideBarFooterTpl"], never, false, never>;
|
|
64
52
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsActiveMatchOptions, UrlCreationOptions } from '@angular/router';
|
|
2
2
|
import { SeamIcon } from '@theseam/ui-common/icon';
|
|
3
3
|
import type { ThemeTypes } from '@theseam/ui-common/models';
|
|
4
|
+
import { SideNavItemBadgeTooltip } from './side-nav-item/side-nav-item.component';
|
|
4
5
|
export interface ISideNavItemState {
|
|
5
6
|
active: boolean;
|
|
6
7
|
expanded: boolean;
|
|
@@ -61,13 +62,6 @@ export interface SideNavItemStateChanged {
|
|
|
61
62
|
prevValue: any;
|
|
62
63
|
newValue: any;
|
|
63
64
|
}
|
|
64
|
-
export interface SideNavItemBadgeTooltip {
|
|
65
|
-
tooltip?: string;
|
|
66
|
-
class?: string;
|
|
67
|
-
placement?: string;
|
|
68
|
-
container?: string;
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
}
|
|
71
65
|
/**
|
|
72
66
|
* When `never`, menu item tooltip is always disabled.
|
|
73
67
|
* When `always`, menu item tooltip is always enabled.
|
|
@@ -2,8 +2,16 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./side-nav-item/side-nav-item.component";
|
|
3
3
|
import * as i2 from "./side-nav.component";
|
|
4
4
|
import * as i3 from "./side-nav-toggle/side-nav-toggle.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
7
|
+
import * as i6 from "@theseam/ui-common/icon";
|
|
8
|
+
import * as i7 from "@angular/cdk/a11y";
|
|
9
|
+
import * as i8 from "@theseam/ui-common/scrollbar";
|
|
10
|
+
import * as i9 from "@theseam/ui-common/layout";
|
|
11
|
+
import * as i10 from "@ng-bootstrap/ng-bootstrap";
|
|
12
|
+
import * as i11 from "@angular/cdk/portal";
|
|
5
13
|
export declare class TheSeamSideNavModule {
|
|
6
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamSideNavModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamSideNavModule,
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamSideNavModule, [typeof i1.SideNavItemComponent, typeof i2.SideNavComponent, typeof i3.SideNavToggleComponent], [typeof i4.CommonModule, typeof i5.RouterModule, typeof i6.TheSeamIconModule, typeof i7.A11yModule, typeof i8.TheSeamScrollbarModule, typeof i9.TheSeamLayoutModule, typeof i10.NgbTooltipModule, typeof i11.PortalModule], [typeof i1.SideNavItemComponent, typeof i2.SideNavComponent, typeof i3.SideNavToggleComponent]>;
|
|
8
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<TheSeamSideNavModule>;
|
|
9
17
|
}
|
|
@@ -1,39 +1,29 @@
|
|
|
1
|
-
$seam-side-nav-bg-color: $gray-200
|
|
2
|
-
$seam-side-nav-bg: $seam-side-nav-bg-color !default;
|
|
1
|
+
$seam-side-nav-bg-color: $gray-200;
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
$seam-side-nav-background-bg-color: rgba($dark, 0.6) !default;
|
|
3
|
+
$seam-side-nav-background-bg-color: rgba($dark, 0.6);
|
|
6
4
|
|
|
7
5
|
// Group
|
|
8
|
-
$seam-side-nav-group-bg-variation-amount: 3
|
|
6
|
+
$seam-side-nav-group-bg-variation-amount: 3%;
|
|
9
7
|
|
|
10
8
|
// Item
|
|
11
|
-
$seam-side-nav-item-bg-color-active: $white
|
|
12
|
-
$seam-side-nav-item-bg-color-hover: rgba($primary, 0.4)
|
|
9
|
+
$seam-side-nav-item-bg-color-active: $white;
|
|
10
|
+
$seam-side-nav-item-bg-color-hover: rgba($primary, 0.4);
|
|
13
11
|
|
|
14
|
-
$seam-side-nav-item-color: $black
|
|
15
|
-
$seam-side-nav-item-color-active: $black
|
|
12
|
+
$seam-side-nav-item-color: $black;
|
|
13
|
+
$seam-side-nav-item-color-active: $black;
|
|
16
14
|
|
|
17
|
-
$seam-side-nav-item-disabled-color: $text-muted
|
|
18
|
-
|
|
19
|
-
$seam-side-nav-item-toggle-color: $seam-side-nav-item-color !default;
|
|
20
|
-
$seam-side-nav-item-toggle-color-active: $seam-side-nav-item-toggle-color !default;
|
|
21
|
-
$seam-side-nav-item-toggle-color-hover: $seam-side-nav-item-toggle-color !default;
|
|
22
|
-
|
|
23
|
-
$seam-side-nav-item-toggle-disabled-color: darken($seam-side-nav-item-toggle-color, 20%) !default;
|
|
15
|
+
$seam-side-nav-item-disabled-color: $text-muted;
|
|
24
16
|
|
|
25
17
|
// Divider
|
|
26
|
-
$seam-side-nav-divider-color: $gray-500
|
|
27
|
-
$seam-side-nav-divider-size: 1px
|
|
18
|
+
$seam-side-nav-divider-color: $gray-500;
|
|
19
|
+
$seam-side-nav-divider-size: 1px;
|
|
28
20
|
|
|
29
21
|
// Title
|
|
30
|
-
$seam-side-nav-title-color: $black
|
|
22
|
+
$seam-side-nav-title-color: $black;
|
|
31
23
|
|
|
32
|
-
$seam-side-nav-title-font-size: 24px
|
|
24
|
+
$seam-side-nav-title-font-size: 24px;
|
|
33
25
|
|
|
34
|
-
$seam-side-nav-title-padding-left: 10px
|
|
26
|
+
$seam-side-nav-title-padding-left: 10px;
|
|
35
27
|
|
|
36
28
|
// Toggle
|
|
37
|
-
$seam-side-nav-toggle-
|
|
38
|
-
$seam-side-nav-toggle-btn-color: $seam-side-nav-item-color !default;
|
|
39
|
-
$seam-side-nav-toggle-height: 45px !default;
|
|
29
|
+
$seam-side-nav-toggle-btn-color: $seam-side-nav-item-color;
|
|
@@ -16,12 +16,6 @@ $seam-side-nav-item-color-active: $seam-side-nav-item-color !default;
|
|
|
16
16
|
|
|
17
17
|
$seam-side-nav-item-disabled-color: darken($seam-side-nav-item-color, 20%) !default;
|
|
18
18
|
|
|
19
|
-
$seam-side-nav-item-toggle-color: $seam-side-nav-item-color !default;
|
|
20
|
-
$seam-side-nav-item-toggle-color-active: $seam-side-nav-item-toggle-color !default;
|
|
21
|
-
$seam-side-nav-item-toggle-color-hover: $seam-side-nav-item-toggle-color !default;
|
|
22
|
-
|
|
23
|
-
$seam-side-nav-item-toggle-disabled-color: darken($seam-side-nav-item-toggle-color, 20%) !default;
|
|
24
|
-
|
|
25
19
|
// Divider
|
|
26
20
|
$seam-side-nav-divider-color: darken($seam-side-nav-bg-color, 10%) !default;
|
|
27
21
|
$seam-side-nav-divider-size: 1px !default;
|
|
@@ -34,6 +28,4 @@ $seam-side-nav-title-font-size: 24px !default;
|
|
|
34
28
|
$seam-side-nav-title-padding-left: 10px !default;
|
|
35
29
|
|
|
36
30
|
// Toggle
|
|
37
|
-
$seam-side-nav-toggle-bg-color: $seam-side-nav-bg-color !default;
|
|
38
31
|
$seam-side-nav-toggle-btn-color: $seam-side-nav-item-color !default;
|
|
39
|
-
$seam-side-nav-toggle-height: 45px !default;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * from './top-bar-menu-button/top-bar-menu-button.component';
|
|
2
2
|
export * from './top-bar-title/top-bar-title.component';
|
|
3
|
-
export * from './top-bar-compact-menu-btn-detail.directive';
|
|
4
|
-
export * from './top-bar-nav-toggle-btn-detail.directive';
|
|
5
3
|
export * from './top-bar-item.directive';
|
|
6
4
|
export * from './top-bar-menu-btn-detail.directive';
|
|
7
5
|
export * from './top-bar-menu.directive';
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type TopBarPosition = 'left' | 'right' | 'center';
|
|
4
3
|
export declare class TopBarItemDirective {
|
|
5
4
|
template: TemplateRef<any>;
|
|
6
|
-
position: TopBarPosition;
|
|
7
|
-
set seamTopBarItem(value: any);
|
|
8
5
|
constructor(template: TemplateRef<any>);
|
|
9
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TopBarItemDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TopBarItemDirective, "[seamTopBarItem]", never, {
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TopBarItemDirective, "[seamTopBarItem]", never, {}, {}, never, never, false, never>;
|
|
11
8
|
}
|
|
@@ -9,10 +9,7 @@ declare const _TopBarMenuButtonMixinBase: CanDisableCtor & typeof TopBarMenuButt
|
|
|
9
9
|
export declare class TopBarMenuButtonComponent extends _TopBarMenuButtonMixinBase {
|
|
10
10
|
static ngAcceptInputType_compact: BooleanInput;
|
|
11
11
|
faAngleDown: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
-
|
|
13
|
-
detailTpl: TemplateRef<any> | undefined | null;
|
|
14
|
-
/** Custom template to show in mobile mode. Defaults to icon. */
|
|
15
|
-
compactDetailTpl: TemplateRef<any> | undefined | null;
|
|
12
|
+
detailTpl: TemplateRef<object> | undefined | null;
|
|
16
13
|
compact: boolean;
|
|
17
14
|
/** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
|
|
18
15
|
profileIcon: SeamIcon | undefined | null;
|
|
@@ -21,6 +18,6 @@ export declare class TopBarMenuButtonComponent extends _TopBarMenuButtonMixinBas
|
|
|
21
18
|
get _hasRoundedClass(): boolean;
|
|
22
19
|
get _hasBtnLinkClass(): boolean;
|
|
23
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TopBarMenuButtonComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TopBarMenuButtonComponent, "button[seamTopBarMenuButton]", ["seamButton"], { "disabled": "disabled"; "detailTpl": "detailTpl"; "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TopBarMenuButtonComponent, "button[seamTopBarMenuButton]", ["seamButton"], { "disabled": "disabled"; "detailTpl": "detailTpl"; "compact": "compact"; "profileIcon": "profileIcon"; }, {}, never, never, false, never>;
|
|
25
22
|
}
|
|
26
23
|
export {};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { AfterContentInit, OnDestroy, QueryList } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
import { TheSeamLayoutService } from '@theseam/ui-common/layout';
|
|
5
5
|
import { SeamIcon } from '@theseam/ui-common/icon';
|
|
6
|
-
import { TopBarCompactMenuBtnDetailDirective } from './top-bar-compact-menu-btn-detail.directive';
|
|
7
6
|
import { TopBarItemDirective } from './top-bar-item.directive';
|
|
8
7
|
import { TopBarMenuBtnDetailDirective } from './top-bar-menu-btn-detail.directive';
|
|
9
8
|
import { TopBarMenuDirective } from './top-bar-menu.directive';
|
|
10
|
-
import { TopBarNavToggleBtnDetailDirective } from './top-bar-nav-toggle-btn-detail.directive';
|
|
11
9
|
import * as i0 from "@angular/core";
|
|
12
10
|
/**
|
|
13
11
|
* Top bar of an app.
|
|
@@ -33,10 +31,6 @@ export declare class TheSeamTopBarComponent implements OnDestroy, AfterContentIn
|
|
|
33
31
|
_topBarItems?: QueryList<TopBarItemDirective>;
|
|
34
32
|
/** @ignore */
|
|
35
33
|
_topBarMenuBtnDetailTpl?: TopBarMenuBtnDetailDirective | null;
|
|
36
|
-
/** @ignore */
|
|
37
|
-
_topBarCompactMenuBtnDetailTpl?: TopBarCompactMenuBtnDetailDirective | null;
|
|
38
|
-
/** @ignore */
|
|
39
|
-
_topBarNavToggleBtnDetailTpl?: TopBarNavToggleBtnDetailDirective | null;
|
|
40
34
|
/** Logo displayed on the top bar. */
|
|
41
35
|
logo: string | undefined | null;
|
|
42
36
|
/** Logo displayed on the top bar when a smaller logo is needed. */
|
|
@@ -53,26 +47,10 @@ export declare class TheSeamTopBarComponent implements OnDestroy, AfterContentIn
|
|
|
53
47
|
titleText: string | undefined | null;
|
|
54
48
|
/** Sub Title text displayed when `hasTitle` is true. The sub title will be less prominent. */
|
|
55
49
|
subTitleText: string | undefined | null;
|
|
56
|
-
/** Determines if the top bar button should be displayed. */
|
|
57
|
-
hasTopBarMenuButton: boolean;
|
|
58
50
|
/** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
|
|
59
51
|
profileIcon: SeamIcon | undefined | null;
|
|
60
|
-
/** Icon to display for mobile nav toggle. Defaults to faBars. */
|
|
61
|
-
toggleIcon: SeamIcon | undefined | null;
|
|
62
|
-
/** Display nav toggle on either left or right side of top bar. Defaults to left. */
|
|
63
|
-
navToggleAlign: 'left' | 'right' | undefined | null;
|
|
64
|
-
/** @ignore */
|
|
65
|
-
_leftItems: BehaviorSubject<TopBarItemDirective[]>;
|
|
66
|
-
/** Additional templates to display on left side of top bar */
|
|
67
|
-
leftItems$: Observable<TopBarItemDirective[]>;
|
|
68
|
-
/** @ignore */
|
|
69
|
-
_centerItems: BehaviorSubject<TopBarItemDirective[]>;
|
|
70
|
-
/** Additional templates to display in center of top bar */
|
|
71
|
-
centerItems$: Observable<TopBarItemDirective[]>;
|
|
72
52
|
/** @ignore */
|
|
73
|
-
|
|
74
|
-
/** Additional templates to display on right side of top bar */
|
|
75
|
-
rightItems$: Observable<TopBarItemDirective[]>;
|
|
53
|
+
_items$?: Observable<TopBarItemDirective[]>;
|
|
76
54
|
/** @ignore */
|
|
77
55
|
isMobile$: Observable<boolean>;
|
|
78
56
|
constructor(_layout: TheSeamLayoutService);
|
|
@@ -81,5 +59,5 @@ export declare class TheSeamTopBarComponent implements OnDestroy, AfterContentIn
|
|
|
81
59
|
/** @ignore */
|
|
82
60
|
ngAfterContentInit(): void;
|
|
83
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamTopBarComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamTopBarComponent, "seam-top-bar", ["seamTopBar"], { "logo": "logo"; "logoSm": "logoSm"; "logoHref": "logoHref"; "logoHrefTarget": "logoHrefTarget"; "logoRoute": "logoRoute"; "hasTitle": "hasTitle"; "titleText": "titleText"; "subTitleText": "subTitleText"; "
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamTopBarComponent, "seam-top-bar", ["seamTopBar"], { "logo": "logo"; "logoSm": "logoSm"; "logoHref": "logoHref"; "logoHrefTarget": "logoHrefTarget"; "logoRoute": "logoRoute"; "hasTitle": "hasTitle"; "titleText": "titleText"; "subTitleText": "subTitleText"; "profileIcon": "profileIcon"; }, {}, ["_topBarMenu", "_topBarMenuBtnDetailTpl", "_topBarItems"], never, false, never>;
|
|
85
63
|
}
|
|
@@ -5,17 +5,15 @@ import * as i3 from "./top-bar-menu-button/top-bar-menu-button.component";
|
|
|
5
5
|
import * as i4 from "./top-bar-menu.directive";
|
|
6
6
|
import * as i5 from "./top-bar-item.directive";
|
|
7
7
|
import * as i6 from "./top-bar-menu-btn-detail.directive";
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "@
|
|
11
|
-
import * as i10 from "@theseam/ui-common/
|
|
12
|
-
import * as i11 from "@theseam/ui-common/
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "@
|
|
15
|
-
import * as i14 from "../base-layout/base-layout.module";
|
|
16
|
-
import * as i15 from "@angular/router";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "@theseam/ui-common/layout";
|
|
10
|
+
import * as i9 from "@theseam/ui-common/buttons";
|
|
11
|
+
import * as i10 from "@theseam/ui-common/icon";
|
|
12
|
+
import * as i11 from "@theseam/ui-common/menu";
|
|
13
|
+
import * as i12 from "../base-layout/base-layout.module";
|
|
14
|
+
import * as i13 from "@angular/router";
|
|
17
15
|
export declare class TheSeamTopBarModule {
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamTopBarModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamTopBarModule, [typeof i1.TheSeamTopBarComponent, typeof i2.TopBarTitleComponent, typeof i3.TopBarMenuButtonComponent, typeof i4.TopBarMenuDirective, typeof i5.TopBarItemDirective, typeof i6.TopBarMenuBtnDetailDirective
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamTopBarModule, [typeof i1.TheSeamTopBarComponent, typeof i2.TopBarTitleComponent, typeof i3.TopBarMenuButtonComponent, typeof i4.TopBarMenuDirective, typeof i5.TopBarItemDirective, typeof i6.TopBarMenuBtnDetailDirective], [typeof i7.CommonModule, typeof i8.TheSeamLayoutModule, typeof i9.TheSeamButtonsModule, typeof i10.TheSeamIconModule, typeof i11.TheSeamMenuModule, typeof i12.TheSeamBaseLayoutModule, typeof i13.RouterModule], [typeof i1.TheSeamTopBarComponent, typeof i3.TopBarMenuButtonComponent, typeof i4.TopBarMenuDirective, typeof i11.TheSeamMenuModule, typeof i5.TopBarItemDirective, typeof i6.TopBarMenuBtnDetailDirective]>;
|
|
20
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<TheSeamTopBarModule>;
|
|
21
19
|
}
|