@villedemontreal/angular-ui 15.2.0 → 15.3.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/esm2020/lib/bao.module.mjs +8 -4
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +2 -2
- package/esm2020/lib/core/breakpoints.mjs +13 -0
- package/esm2020/lib/core/index.mjs +8 -0
- package/esm2020/lib/system-header/index.mjs +8 -0
- package/esm2020/lib/system-header/module.mjs +33 -0
- package/esm2020/lib/system-header/system-header.component.mjs +129 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/villedemontreal-angular-ui.mjs +186 -5
- package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs +186 -5
- package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
- package/lib/bao.module.d.ts +2 -1
- package/lib/core/breakpoints.d.ts +7 -0
- package/lib/core/index.d.ts +2 -0
- package/lib/system-header/index.d.ts +2 -0
- package/lib/system-header/module.d.ts +9 -0
- package/lib/system-header/system-header.component.d.ts +41 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
package/lib/bao.module.d.ts
CHANGED
|
@@ -18,8 +18,9 @@ import * as i16 from "./hyperlink/module";
|
|
|
18
18
|
import * as i17 from "./dropdown-menu/module";
|
|
19
19
|
import * as i18 from "./file/module";
|
|
20
20
|
import * as i19 from "./snack-bar/module";
|
|
21
|
+
import * as i20 from "./system-header/module";
|
|
21
22
|
export declare class BaoModule {
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule, typeof i6.BaoModalModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i7.BaoTagModule, typeof i8.BaoHeaderInfoModule, typeof i9.BaoListModule, typeof i10.BaoCommonComponentsModule, typeof i11.BaoCheckboxModule, typeof i12.BaoRadioModule, typeof i13.BaoSummaryModule, typeof i14.BaoAvatarModule, typeof i15.BaoTabsModule, typeof i6.BaoModalModule, typeof i16.BaoHyperlinkModule, typeof i17.BaoDropdownMenuModule, typeof i18.BaoFileModule, typeof i19.BaoSnackBarModule]>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule, typeof i6.BaoModalModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i7.BaoTagModule, typeof i8.BaoHeaderInfoModule, typeof i9.BaoListModule, typeof i10.BaoCommonComponentsModule, typeof i11.BaoCheckboxModule, typeof i12.BaoRadioModule, typeof i13.BaoSummaryModule, typeof i14.BaoAvatarModule, typeof i15.BaoTabsModule, typeof i6.BaoModalModule, typeof i16.BaoHyperlinkModule, typeof i17.BaoDropdownMenuModule, typeof i18.BaoFileModule, typeof i19.BaoSnackBarModule, typeof i20.BaoSystemHeaderModule]>;
|
|
24
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaoModule>;
|
|
25
26
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./system-header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../icon/module";
|
|
5
|
+
export declare class BaoSystemHeaderModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoSystemHeaderModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoSystemHeaderModule, [typeof i1.BaoSystemHeaderComponent, typeof i1.BaoBackNavigationInsert, typeof i1.BaoBackNavigationComponent], [typeof i2.CommonModule, typeof i3.BaoIconModule], [typeof i1.BaoSystemHeaderComponent, typeof i1.BaoBackNavigationInsert, typeof i1.BaoBackNavigationComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaoSystemHeaderModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
+
import { AfterViewInit, ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* This component is dynamically added to replace breadcrumb when System Header is viewed on tablet or mobile screens.
|
|
6
|
+
* Used internally by BaoSystemHeaderComponent only, not to be used by host application.
|
|
7
|
+
*/
|
|
8
|
+
export declare class BaoBackNavigationComponent implements OnChanges {
|
|
9
|
+
private renderer;
|
|
10
|
+
private elementRef;
|
|
11
|
+
link: string;
|
|
12
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoBackNavigationComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBackNavigationComponent, "bao-back-navigation-component", never, { "link": "link"; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* This directive is to mark the template where the BaoBackNavigationComponent should be dynamically inserted,
|
|
19
|
+
* when a Breadcrumb component needs to be replaced
|
|
20
|
+
*/
|
|
21
|
+
export declare class BaoBackNavigationInsert {
|
|
22
|
+
viewContainerRef: ViewContainerRef;
|
|
23
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoBackNavigationInsert, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoBackNavigationInsert, "[backNavigationInsert]", never, {}, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
27
|
+
export declare class BaoSystemHeaderComponent implements AfterViewInit, OnInit {
|
|
28
|
+
private breakpointObserver;
|
|
29
|
+
private renderer;
|
|
30
|
+
private textContainer;
|
|
31
|
+
private backButtonInsert;
|
|
32
|
+
screenType: 'mobile' | 'tablet' | 'desktop';
|
|
33
|
+
constructor(breakpointObserver: BreakpointObserver, renderer: Renderer2);
|
|
34
|
+
get textContainerChildren(): Element[];
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
private formatNavigation;
|
|
38
|
+
private applySizeClass;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoSystemHeaderComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoSystemHeaderComponent, "bao-system-header", never, {}, {}, never, ["a", "bao-breadcrumb", "h1", "bao-tag", "span", "*"], false, never>;
|
|
41
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED