@villedemontreal/angular-ui 2.2.1 → 3.1.1
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/alert/alert.component.mjs +24 -26
- package/esm2020/lib/alert/module.mjs +5 -5
- package/esm2020/lib/avatar/avatar.component.mjs +102 -0
- package/esm2020/lib/avatar/index.mjs +8 -0
- package/esm2020/lib/avatar/module.mjs +24 -0
- package/esm2020/lib/badge/badge.component.mjs +3 -3
- package/esm2020/lib/badge/module.mjs +5 -5
- package/esm2020/lib/bao.module.mjs +24 -14
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +8 -8
- package/esm2020/lib/breadcrumb/module.mjs +5 -5
- package/esm2020/lib/button/button.component.mjs +7 -7
- package/esm2020/lib/button/module.mjs +5 -5
- package/esm2020/lib/card/card.component.mjs +15 -15
- package/esm2020/lib/card/module.mjs +5 -5
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +8 -9
- package/esm2020/lib/checkbox/checkbox.component.mjs +45 -46
- package/esm2020/lib/checkbox/module.mjs +5 -5
- package/esm2020/lib/common-components/error-text/errorText.component.mjs +3 -3
- package/esm2020/lib/common-components/guiding-text/guidingText.component.mjs +3 -3
- package/esm2020/lib/common-components/label-text/labelText.component.mjs +3 -3
- package/esm2020/lib/common-components/module.mjs +5 -5
- package/esm2020/lib/common-components/title-text/titleText.component.mjs +3 -3
- package/esm2020/lib/header-info/header-info.component.mjs +18 -18
- package/esm2020/lib/header-info/module.mjs +5 -5
- package/esm2020/lib/icon/bao-icon-registry.mjs +3 -3
- package/esm2020/lib/icon/icon.component.mjs +30 -34
- package/esm2020/lib/icon/icons-dictionary.mjs +3 -2
- package/esm2020/lib/icon/module.mjs +5 -5
- package/esm2020/lib/list/list.component.mjs +15 -15
- package/esm2020/lib/list/module.mjs +5 -5
- package/esm2020/lib/modal/index.mjs +12 -0
- package/esm2020/lib/modal/modal-animations.mjs +29 -0
- package/esm2020/lib/modal/modal-config.mjs +65 -0
- package/esm2020/lib/modal/modal-container.mjs +254 -0
- package/esm2020/lib/modal/modal-directives.mjs +84 -0
- package/esm2020/lib/modal/modal-ref.mjs +195 -0
- package/esm2020/lib/modal/modal.mjs +293 -0
- package/esm2020/lib/modal/module.mjs +44 -0
- package/esm2020/lib/radio/module.mjs +10 -12
- package/esm2020/lib/radio/radio-group.component.mjs +43 -44
- package/esm2020/lib/radio/radio.component.mjs +45 -46
- package/esm2020/lib/summary/list-summary.component.mjs +9 -16
- package/esm2020/lib/summary/module.mjs +5 -5
- package/esm2020/lib/summary/summary.component.mjs +10 -11
- package/esm2020/lib/tabs/index.mjs +8 -0
- package/esm2020/lib/tabs/module.mjs +35 -0
- package/esm2020/lib/tabs/tabs.component.mjs +295 -0
- package/esm2020/lib/tag/module.mjs +5 -5
- package/esm2020/lib/tag/tag.component.mjs +5 -5
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/villedemontreal-angular-ui.mjs +1778 -384
- package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs +1770 -384
- package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
- package/{villedemontreal-angular-ui.d.ts → index.d.ts} +0 -0
- package/lib/alert/alert.component.d.ts +6 -7
- package/lib/avatar/avatar.component.d.ts +26 -0
- package/lib/avatar/index.d.ts +2 -0
- package/lib/avatar/module.d.ts +8 -0
- package/lib/badge/badge.component.d.ts +1 -1
- package/lib/bao.module.d.ts +4 -1
- package/lib/breadcrumb/breadcrumb.component.d.ts +2 -2
- package/lib/button/button.component.d.ts +2 -2
- package/lib/card/card.component.d.ts +5 -5
- package/lib/checkbox/checkbox-group.component.d.ts +3 -3
- package/lib/checkbox/checkbox.component.d.ts +28 -28
- package/lib/common-components/error-text/errorText.component.d.ts +1 -1
- package/lib/common-components/guiding-text/guidingText.component.d.ts +1 -1
- package/lib/common-components/label-text/labelText.component.d.ts +1 -1
- package/lib/common-components/title-text/titleText.component.d.ts +1 -1
- package/lib/header-info/header-info.component.d.ts +6 -6
- package/lib/icon/icon.component.d.ts +11 -11
- package/lib/list/list.component.d.ts +5 -5
- package/lib/modal/index.d.ts +6 -0
- package/lib/modal/modal-animations.d.ts +8 -0
- package/lib/modal/modal-config.d.ts +105 -0
- package/lib/modal/modal-container.d.ts +106 -0
- package/lib/modal/modal-directives.d.ts +25 -0
- package/lib/modal/modal-ref.d.ts +91 -0
- package/lib/modal/modal.d.ts +91 -0
- package/lib/modal/module.d.ts +12 -0
- package/lib/radio/radio-group.component.d.ts +19 -19
- package/lib/radio/radio.component.d.ts +28 -28
- package/lib/summary/list-summary.component.d.ts +2 -2
- package/lib/summary/summary.component.d.ts +7 -7
- package/lib/tabs/index.d.ts +2 -0
- package/lib/tabs/module.d.ts +8 -0
- package/lib/tabs/tabs.component.d.ts +95 -0
- package/lib/tag/tag.component.d.ts +2 -2
- package/package.json +7 -7
- package/public-api.d.ts +3 -0
|
File without changes
|
|
@@ -15,7 +15,7 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class BaoAlertTitle {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertTitle, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertTitle, "bao-alert-title", never, {}, {}, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertTitle, "bao-alert-title", never, {}, {}, never, never, false>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Content of an alert, intended for use within `<bao-alert>`. This component is an optional
|
|
@@ -26,7 +26,7 @@ export declare class BaoAlertTitle {
|
|
|
26
26
|
*/
|
|
27
27
|
export declare class BaoAlertContent {
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertContent, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertContent, "bao-alert-content", never, {}, {}, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertContent, "bao-alert-content", never, {}, {}, never, never, false>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Bottom area of an alert that contains action buttons, intended for use within `<bao-alert>`.
|
|
@@ -37,7 +37,7 @@ export declare class BaoAlertContent {
|
|
|
37
37
|
*/
|
|
38
38
|
export declare class BaoAlertActions {
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertActions, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertActions, "bao-alert-actions", ["baoAlertActions"], {}, {}, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertActions, "bao-alert-actions", ["baoAlertActions"], {}, {}, never, never, false>;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Link inside an alert message, intended for use within `<bao-alert>`.
|
|
@@ -48,7 +48,7 @@ export declare class BaoAlertActions {
|
|
|
48
48
|
*/
|
|
49
49
|
export declare class BaoAlertLink {
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertLink, never>;
|
|
51
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertLink, "bao-alert-link", never, {}, {}, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertLink, "bao-alert-link", never, {}, {}, never, never, false>;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* BAO alert component. Alerts should be used when the message concerns an
|
|
@@ -62,9 +62,8 @@ export declare class BaoAlertComponent implements OnChanges {
|
|
|
62
62
|
/**
|
|
63
63
|
* Alert type
|
|
64
64
|
*/
|
|
65
|
-
type: '' | '
|
|
65
|
+
type: 'success' | 'danger' | 'warning' | 'emergency' | 'info';
|
|
66
66
|
dismissible: boolean;
|
|
67
|
-
showIcon: boolean;
|
|
68
67
|
dismiss: EventEmitter<any>;
|
|
69
68
|
iconType: string;
|
|
70
69
|
iconTitle: string;
|
|
@@ -73,5 +72,5 @@ export declare class BaoAlertComponent implements OnChanges {
|
|
|
73
72
|
alertTitleIcon(value: string): any;
|
|
74
73
|
onDismissClicked(): void;
|
|
75
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAlertComponent, "bao-alert", never, { "type": "type"; "dismissible": "dismissible";
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAlertComponent, "bao-alert", never, { "type": "type"; "dismissible": "dismissible"; }, { "dismiss": "dismiss"; }, never, ["*"], false>;
|
|
77
76
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BaoAvatarContent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAvatarContent, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAvatarContent, "bao-avatar-content, [bao-avatar-content]", ["baoAvatarContent"], {}, {}, never, never, false>;
|
|
6
|
+
}
|
|
7
|
+
export declare class BaoAvatarComponent implements AfterViewInit {
|
|
8
|
+
private renderer;
|
|
9
|
+
private elementRef;
|
|
10
|
+
/**
|
|
11
|
+
* Name of the profile to be used as title of the avatar.
|
|
12
|
+
*/
|
|
13
|
+
profileName: string;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the background color to be used if avatar's content is text.
|
|
16
|
+
*/
|
|
17
|
+
color: 'background-color-1' | 'background-color-2' | 'background-color-3' | 'background-color-4' | 'background-color-5' | 'background-color-6' | 'background-color-7' | 'background-color-8' | 'background-color-9' | 'background-color-10';
|
|
18
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
19
|
+
get nativeElement(): HTMLElement;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
private addIcon;
|
|
22
|
+
private setProfileName;
|
|
23
|
+
private formatInitials;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAvatarComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAvatarComponent, "bao-avatar", never, { "profileName": "profileName"; "color": "color"; }, {}, never, ["bao-avatar-content, [bao-avatar-content]"], false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./avatar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BaoAvatarModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAvatarModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoAvatarModule, [typeof i1.BaoAvatarComponent, typeof i1.BaoAvatarContent], [typeof i2.CommonModule], [typeof i1.BaoAvatarComponent, typeof i1.BaoAvatarContent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaoAvatarModule>;
|
|
8
|
+
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class BaoBadgeComponent {
|
|
3
3
|
type: '' | 'success' | 'danger' | 'warning' | 'info';
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoBadgeComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBadgeComponent, "bao-badge", never, { "type": "type"; }, {}, never, ["*"]>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBadgeComponent, "bao-badge", never, { "type": "type"; }, {}, never, ["*"], false>;
|
|
6
6
|
}
|
package/lib/bao.module.d.ts
CHANGED
|
@@ -11,8 +11,11 @@ import * as i9 from "./common-components/module";
|
|
|
11
11
|
import * as i10 from "./checkbox/module";
|
|
12
12
|
import * as i11 from "./radio/module";
|
|
13
13
|
import * as i12 from "./summary/module";
|
|
14
|
+
import * as i13 from "./avatar/module";
|
|
15
|
+
import * as i14 from "./tabs/module";
|
|
16
|
+
import * as i15 from "./modal/module";
|
|
14
17
|
export declare class BaoModule {
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i6.BaoTagModule, typeof i7.BaoHeaderInfoModule, typeof i8.BaoListModule, typeof i9.BaoCommonComponentsModule, typeof i10.BaoCheckboxModule, typeof i11.BaoRadioModule, typeof i12.BaoSummaryModule]>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i6.BaoTagModule, typeof i7.BaoHeaderInfoModule, typeof i8.BaoListModule, typeof i9.BaoCommonComponentsModule, typeof i10.BaoCheckboxModule, typeof i11.BaoRadioModule, typeof i12.BaoSummaryModule, typeof i13.BaoAvatarModule, typeof i14.BaoTabsModule, typeof i15.BaoModalModule]>;
|
|
17
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaoModule>;
|
|
18
21
|
}
|
|
@@ -4,9 +4,9 @@ export declare class BaoBreadcrumbComponent implements AfterViewInit {
|
|
|
4
4
|
private renderer;
|
|
5
5
|
private staticContainer;
|
|
6
6
|
constructor(renderer: Renderer2);
|
|
7
|
-
private setLastLinkAttribute;
|
|
8
7
|
ngAfterViewInit(): void;
|
|
9
8
|
onContentChange(): void;
|
|
9
|
+
private setLastLinkAttribute;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoBreadcrumbComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBreadcrumbComponent, "bao-breadcrumb", never, {}, {}, never, ["*"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBreadcrumbComponent, "bao-breadcrumb", never, {}, {}, never, ["*"], false>;
|
|
12
12
|
}
|
|
@@ -39,9 +39,9 @@ export declare class BaoButtonComponent implements AfterViewInit {
|
|
|
39
39
|
* If the icon is on the right of the label, the loading spinner will need to be on the right of the label
|
|
40
40
|
*/
|
|
41
41
|
rightIcon: boolean;
|
|
42
|
-
constructor(elementRef: ElementRef
|
|
42
|
+
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
|
43
43
|
get nativeElement(): HTMLElement;
|
|
44
44
|
ngAfterViewInit(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoButtonComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoButtonComponent, "button[bao-button]", never, { "displayType": "displayType"; "level": "level"; "size": "size"; "loading": "loading"; "reversed": "reversed"; "loadingSpinnerAriaLabel": "loadingSpinnerAriaLabel"; "fullWidth": "fullWidth"; }, {}, never, ["*"]>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoButtonComponent, "button[bao-button]", never, { "displayType": "displayType"; "level": "level"; "size": "size"; "loading": "loading"; "reversed": "reversed"; "loadingSpinnerAriaLabel": "loadingSpinnerAriaLabel"; "fullWidth": "fullWidth"; }, {}, never, ["*"], false>;
|
|
47
47
|
}
|
|
@@ -12,33 +12,33 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class BaoCardComponent {
|
|
13
13
|
padding: 'normal' | 'large';
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCardComponent, "bao-card, [bao-card], [baoCard]", never, { "padding": "padding"; }, {}, never, ["bao-card-header", "bao-card-content"]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCardComponent, "bao-card, [bao-card], [baoCard]", never, { "padding": "padding"; }, {}, never, ["bao-card-header", "bao-card-content"], false>;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Header of a card, needed as it's used as a selector in the API.
|
|
19
19
|
*/
|
|
20
20
|
export declare class BaoCardHeader {
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardHeader, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardHeader, "bao-card-header, [bao-card-header], [baoCardHeader]", never, {}, {}, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardHeader, "bao-card-header, [bao-card-header], [baoCardHeader]", never, {}, {}, never, never, false>;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Body of a card, needed as it's used as a selector in the API.
|
|
26
26
|
*/
|
|
27
27
|
export declare class BaoCardContent {
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardContent, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardContent, "bao-card-content, [bao-card-content], [baoCardContent]", never, {}, {}, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardContent, "bao-card-content, [bao-card-content], [baoCardContent]", never, {}, {}, never, never, false>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Title of a card, needed as it's used as a selector in the API.
|
|
33
33
|
*/
|
|
34
34
|
export declare class BaoCardTitle {
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardTitle, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTitle, "bao-card-title, [bao-card-title], [baoCardTitle]", never, {}, {}, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTitle, "bao-card-title, [bao-card-title], [baoCardTitle]", never, {}, {}, never, never, false>;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Text of a card, needed as it's used as a selector in the API.
|
|
40
40
|
*/
|
|
41
41
|
export declare class BaoCardTextInterface {
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardTextInterface, never>;
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTextInterface, "bao-card-text-interface, [bao-card-text-interface], [baoCardTextInterface]", never, {}, {}, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTextInterface, "bao-card-text-interface, [bao-card-text-interface], [baoCardTextInterface]", never, {}, {}, never, never, false>;
|
|
44
44
|
}
|
|
@@ -2,16 +2,16 @@ import { AfterViewInit, ChangeDetectorRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BaoCheckboxGroupComponent implements AfterViewInit {
|
|
4
4
|
private cdr;
|
|
5
|
-
private _uniqueId;
|
|
6
5
|
/**
|
|
7
6
|
* The checkbox group ID. It is set dynamically with an unique ID by default
|
|
8
7
|
*/
|
|
9
8
|
id: string;
|
|
9
|
+
private staticContainer;
|
|
10
10
|
/**
|
|
11
11
|
* The aria-describedby id for web accessibilty
|
|
12
12
|
*/
|
|
13
13
|
ariaDescribedby?: string;
|
|
14
|
-
private
|
|
14
|
+
private _uniqueId;
|
|
15
15
|
constructor(cdr: ChangeDetectorRef);
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
onContentChange(): void;
|
|
@@ -21,5 +21,5 @@ export declare class BaoCheckboxGroupComponent implements AfterViewInit {
|
|
|
21
21
|
private setAriaDescribedByToDescription;
|
|
22
22
|
private showAriaDescribedBy;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCheckboxGroupComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxGroupComponent, "bao-checkbox-group, [bao-checkbox-group]", never, { "id": "id"; }, {}, never, ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxGroupComponent, "bao-checkbox-group, [bao-checkbox-group]", never, { "id": "id"; }, {}, never, ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"], false>;
|
|
25
25
|
}
|
|
@@ -14,31 +14,6 @@ export declare class BaoCheckboxComponent implements ControlValueAccessor, After
|
|
|
14
14
|
private elementRef;
|
|
15
15
|
private cdr;
|
|
16
16
|
private focusMonitor;
|
|
17
|
-
private _disabled;
|
|
18
|
-
private _checked;
|
|
19
|
-
private _indeterminate;
|
|
20
|
-
private _uniqueId;
|
|
21
|
-
/**
|
|
22
|
-
* Whether the checkbox is checked. Default value : false
|
|
23
|
-
*/
|
|
24
|
-
get checked(): boolean;
|
|
25
|
-
set checked(value: boolean);
|
|
26
|
-
/**
|
|
27
|
-
* Whether the checkbox is disabled. Default value : false
|
|
28
|
-
*/
|
|
29
|
-
get disabled(): boolean;
|
|
30
|
-
set disabled(value: boolean);
|
|
31
|
-
/**
|
|
32
|
-
* Whether the checkbox is required. Default value : false
|
|
33
|
-
*/
|
|
34
|
-
get required(): boolean;
|
|
35
|
-
set required(value: boolean);
|
|
36
|
-
private _required;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the checkbox is indeterminate. Default value : false
|
|
39
|
-
*/
|
|
40
|
-
get indeterminate(): boolean;
|
|
41
|
-
set indeterminate(value: boolean);
|
|
42
17
|
/**
|
|
43
18
|
* The checkbox ID. It is set dynamically with an unique ID by default
|
|
44
19
|
*/
|
|
@@ -87,8 +62,33 @@ export declare class BaoCheckboxComponent implements ControlValueAccessor, After
|
|
|
87
62
|
* The ID of the input html element
|
|
88
63
|
*/
|
|
89
64
|
inputID: string;
|
|
90
|
-
|
|
65
|
+
private _disabled;
|
|
66
|
+
private _checked;
|
|
67
|
+
private _indeterminate;
|
|
68
|
+
private _uniqueId;
|
|
69
|
+
private _required;
|
|
70
|
+
constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
71
|
+
/**
|
|
72
|
+
* Whether the checkbox is checked. Default value : false
|
|
73
|
+
*/
|
|
74
|
+
get checked(): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the checkbox is disabled. Default value : false
|
|
77
|
+
*/
|
|
78
|
+
get disabled(): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Whether the checkbox is required. Default value : false
|
|
81
|
+
*/
|
|
82
|
+
get required(): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the checkbox is indeterminate. Default value : false
|
|
85
|
+
*/
|
|
86
|
+
get indeterminate(): boolean;
|
|
91
87
|
get nativeElement(): HTMLElement;
|
|
88
|
+
set checked(value: boolean);
|
|
89
|
+
set disabled(value: boolean);
|
|
90
|
+
set required(value: boolean);
|
|
91
|
+
set indeterminate(value: boolean);
|
|
92
92
|
ngOnInit(): void;
|
|
93
93
|
ngAfterViewInit(): void;
|
|
94
94
|
ngOnDestroy(): void;
|
|
@@ -144,9 +144,9 @@ export declare class BaoCheckboxComponent implements ControlValueAccessor, After
|
|
|
144
144
|
private onModelChange;
|
|
145
145
|
private onTouch;
|
|
146
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCheckboxComponent, never>;
|
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxComponent, "bao-checkbox, [bao-checkbox]", never, { "
|
|
147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxComponent, "bao-checkbox, [bao-checkbox]", never, { "id": "id"; "ariaLabel": "aria-label"; "brandBorder": "brandBorder"; "inline": "inline"; "name": "name"; "hiddenLabel": "hiddenLabel"; "checked": "checked"; "disabled": "disabled"; "required": "required"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]"], false>;
|
|
148
148
|
}
|
|
149
149
|
export declare class BaoCheckBoxDescription {
|
|
150
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoCheckBoxDescription, never>;
|
|
151
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCheckBoxDescription, "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]", never, {}, {}, never>;
|
|
151
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCheckBoxDescription, "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]", never, {}, {}, never, never, false>;
|
|
152
152
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BaoErrorTextComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoErrorTextComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoErrorTextComponent, "bao-error, [bao-error]", never, {}, {}, never, ["*"]>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoErrorTextComponent, "bao-error, [bao-error]", never, {}, {}, never, ["*"], false>;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BaoGuidingTextComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoGuidingTextComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoGuidingTextComponent, "bao-guiding-text, [bao-guiding-text]", never, {}, {}, never, ["*"]>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoGuidingTextComponent, "bao-guiding-text, [bao-guiding-text]", never, {}, {}, never, ["*"], false>;
|
|
5
5
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class BaoLabelTextComponent {
|
|
3
3
|
required: boolean;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoLabelTextComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoLabelTextComponent, "bao-label, [bao-label]", never, { "required": "required"; }, {}, never, ["*"]>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoLabelTextComponent, "bao-label, [bao-label]", never, { "required": "required"; }, {}, never, ["*"], false>;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BaoTitleTextComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTitleTextComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTitleTextComponent, "bao-title-text, [bao-title-text]", never, {}, {}, never, ["*"]>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTitleTextComponent, "bao-title-text, [bao-title-text]", never, {}, {}, never, ["*"], false>;
|
|
5
5
|
}
|
|
@@ -15,25 +15,25 @@ export declare class BaoHeaderInfoComponent {
|
|
|
15
15
|
imageUrl: string;
|
|
16
16
|
brandBorder: boolean;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoComponent, "bao-header-info", never, { "notch": "notch"; "imageUrl": "imageUrl"; "brandBorder": "brandBorder"; }, {}, never, ["bao-header-info-title-group", "*"]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoComponent, "bao-header-info", never, { "notch": "notch"; "imageUrl": "imageUrl"; "brandBorder": "brandBorder"; }, {}, never, ["bao-header-info-title-group", "*"], false>;
|
|
19
19
|
}
|
|
20
20
|
export declare class BaoHeaderInfoTitleGroupComponent {
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoTitleGroupComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoTitleGroupComponent, "bao-header-info-title-group", never, {}, {}, never, ["*", "bao-header-surtitle, [bao-header-surtitle], [baoHeaderSurtitle], \n bao-header-title, [bao-header-title], [baoHeaderTitle],\n bao-header-subtitle, [bao-header-subtitle], [baoHeaderSubtitle]"]>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoTitleGroupComponent, "bao-header-info-title-group", never, {}, {}, never, ["*", "bao-header-surtitle, [bao-header-surtitle], [baoHeaderSurtitle], \n bao-header-title, [bao-header-title], [baoHeaderTitle],\n bao-header-subtitle, [bao-header-subtitle], [baoHeaderSubtitle]"], false>;
|
|
23
23
|
}
|
|
24
24
|
export declare class BaoHeaderInfoContent {
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoContent, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoContent, "bao-header-info-content", never, {}, {}, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoContent, "bao-header-info-content", never, {}, {}, never, never, false>;
|
|
27
27
|
}
|
|
28
28
|
export declare class BaoHeaderInfoSurtitle {
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoSurtitle, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSurtitle, "bao-header-info-surtitle, [bao-header-info-surtitle], [baoHeaderInfoSurtitle]", never, {}, {}, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSurtitle, "bao-header-info-surtitle, [bao-header-info-surtitle], [baoHeaderInfoSurtitle]", never, {}, {}, never, never, false>;
|
|
31
31
|
}
|
|
32
32
|
export declare class BaoHeaderInfoSubtitle {
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoSubtitle, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSubtitle, "bao-header-info-subtitle, [bao-header-info-subtitle], [baoHeaderInfoSubtitle]", never, {}, {}, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSubtitle, "bao-header-info-subtitle, [bao-header-info-subtitle], [baoHeaderInfoSubtitle]", never, {}, {}, never, never, false>;
|
|
35
35
|
}
|
|
36
36
|
export declare class BaoHeaderInfoTitle {
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoTitle, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoTitle, "bao-header-info-title, [bao-header-info-title], [baoHeaderInfoTitle]", never, {}, {}, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoTitle, "bao-header-info-title, [bao-header-info-title], [baoHeaderInfoTitle]", never, {}, {}, never, never, false>;
|
|
39
39
|
}
|
|
@@ -13,16 +13,8 @@ export declare class BaoIconComponent implements OnDestroy {
|
|
|
13
13
|
private elementRef;
|
|
14
14
|
private iconRegistry;
|
|
15
15
|
private renderer;
|
|
16
|
-
/** Name of the icon in the SVG icon set. */
|
|
17
|
-
get svgIcon(): string;
|
|
18
|
-
set svgIcon(value: string);
|
|
19
16
|
/** The color of the icon, if not specified the icon's parent current text color will be used */
|
|
20
17
|
color: BaoColors;
|
|
21
|
-
get hexColor(): string | void;
|
|
22
|
-
/** Title that will be used as an aria-label for the icon */
|
|
23
|
-
get title(): string;
|
|
24
|
-
set title(value: string);
|
|
25
|
-
get titleId(): string;
|
|
26
18
|
/**
|
|
27
19
|
* The size of the icon
|
|
28
20
|
*/
|
|
@@ -31,13 +23,21 @@ export declare class BaoIconComponent implements OnDestroy {
|
|
|
31
23
|
private _title;
|
|
32
24
|
private _titleId;
|
|
33
25
|
private _elementsWithExternalReferences?;
|
|
34
|
-
constructor(elementRef: ElementRef<HTMLElement>, iconRegistry: BaoIconRegistry, renderer: Renderer2
|
|
26
|
+
constructor(elementRef: ElementRef<HTMLElement>, iconRegistry: BaoIconRegistry, renderer: Renderer2);
|
|
27
|
+
/** Name of the icon in the SVG icon set. */
|
|
28
|
+
get svgIcon(): string;
|
|
29
|
+
/** Title that will be used as an aria-label for the icon */
|
|
30
|
+
get title(): string;
|
|
31
|
+
get hexColor(): string | void;
|
|
32
|
+
get titleId(): string;
|
|
33
|
+
set svgIcon(value: string);
|
|
34
|
+
set title(value: string);
|
|
35
35
|
ngOnDestroy(): void;
|
|
36
36
|
private setSvgElement;
|
|
37
37
|
private clearSvgElement;
|
|
38
38
|
private updateSvgIcon;
|
|
39
39
|
private addTitleToSVG;
|
|
40
40
|
private generateUniqueTitleId;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoIconComponent,
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoIconComponent, "bao-icon", ["baoIcon"], { "
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoIconComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoIconComponent, "bao-icon", ["baoIcon"], { "color": "color"; "size": "size"; "svgIcon": "svgIcon"; "title": "title"; }, {}, never, ["*"], false>;
|
|
43
43
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BaoListItem {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListItem, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListItem, "bao-list-item, [bao-list-item]", never, {}, {}, never, ["baoIconItemType, [baoIconItemType]", "*", "bao-tag, [bao-tag], baoIconTag, [baoIconTag]"]>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListItem, "bao-list-item, [bao-list-item]", never, {}, {}, never, ["baoIconItemType, [baoIconItemType]", "*", "bao-tag, [bao-tag], baoIconTag, [baoIconTag]"], false>;
|
|
5
5
|
}
|
|
6
6
|
export declare class BaoList {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoList, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoList, "bao-list, [bao-list]", never, {}, {}, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoList, "bao-list, [bao-list]", never, {}, {}, never, never, false>;
|
|
9
9
|
}
|
|
10
10
|
export declare class BaoNavList {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoNavList, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoNavList, "bao-nav-list, [bao-nav-list]", never, {}, {}, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoNavList, "bao-nav-list, [bao-nav-list]", never, {}, {}, never, never, false>;
|
|
13
13
|
}
|
|
14
14
|
export declare class BaoListItemDescription {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListItemDescription, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemDescription, "bao-list-item-description, [bao-list-item-description]", never, {}, {}, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemDescription, "bao-list-item-description, [bao-list-item-description]", never, {}, {}, never, never, false>;
|
|
17
17
|
}
|
|
18
18
|
export declare class BaoListItemTitle {
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListItemTitle, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemTitle, "bao-list-item-title, [bao-list-item-title]", never, {}, {}, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemTitle, "bao-list-item-title, [bao-list-item-title]", never, {}, {}, never, never, false>;
|
|
21
21
|
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ViewContainerRef, Injector } from '@angular/core';
|
|
2
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
3
|
+
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
4
|
+
export declare enum eModalDesktopWidthSize {
|
|
5
|
+
SMALL = "bao-modal-sm",
|
|
6
|
+
MEDIUM = "bao-modal-md",
|
|
7
|
+
LARGE = "bao-modal-lg"
|
|
8
|
+
}
|
|
9
|
+
export declare enum eModalMobileWidthSize {
|
|
10
|
+
FULL = "bao-modal-mobil-full",
|
|
11
|
+
COMPACT = "bao-modal-mobil-compact"
|
|
12
|
+
}
|
|
13
|
+
export interface BaoModalConfig {
|
|
14
|
+
size?: eModalDesktopWidthSize;
|
|
15
|
+
mobileSize?: eModalMobileWidthSize;
|
|
16
|
+
data?: unknown;
|
|
17
|
+
ariaLabelledBy?: string;
|
|
18
|
+
}
|
|
19
|
+
/** Options for where to set focus to automatically on dialog open */
|
|
20
|
+
export declare type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
|
|
21
|
+
/** Valid ARIA roles for a dialog element. */
|
|
22
|
+
export declare type ModalRole = 'dialog' | 'alertdialog';
|
|
23
|
+
/** Possible overrides for a dialog's position. */
|
|
24
|
+
export interface ModalPosition {
|
|
25
|
+
/** Override for the dialog's top position. */
|
|
26
|
+
top?: string;
|
|
27
|
+
/** Override for the dialog's bottom position. */
|
|
28
|
+
bottom?: string;
|
|
29
|
+
/** Override for the dialog's left position. */
|
|
30
|
+
left?: string;
|
|
31
|
+
/** Override for the dialog's right position. */
|
|
32
|
+
right?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Configuration for opening a modal dialog with the BaoModal service.
|
|
36
|
+
*/
|
|
37
|
+
export declare class BaoModalInitialConfig<D = unknown> {
|
|
38
|
+
/**
|
|
39
|
+
* Where the attached component should live in Angular's *logical* component tree.
|
|
40
|
+
* This affects what is available for injection and the change detection order for the
|
|
41
|
+
* component instantiated inside of the dialog. This does not affect where the dialog
|
|
42
|
+
* content will be rendered.
|
|
43
|
+
*/
|
|
44
|
+
viewContainerRef?: ViewContainerRef;
|
|
45
|
+
/**
|
|
46
|
+
* Injector used for the instantiation of the component to be attached. If provided,
|
|
47
|
+
* takes precedence over the injector indirectly provided by `ViewContainerRef`.
|
|
48
|
+
*/
|
|
49
|
+
injector?: Injector;
|
|
50
|
+
/** ID for the dialog. If omitted, a unique one will be generated. */
|
|
51
|
+
id?: string;
|
|
52
|
+
/** The ARIA role of the dialog element. */
|
|
53
|
+
role?: ModalRole;
|
|
54
|
+
/** Custom class for the overlay pane. */
|
|
55
|
+
panelClass?: string | string[];
|
|
56
|
+
/** Whether the dialog has a backdrop. */
|
|
57
|
+
hasBackdrop?: boolean;
|
|
58
|
+
/** Custom class for the backdrop. */
|
|
59
|
+
backdropClass?: string | string[];
|
|
60
|
+
/** Whether the user can use escape or clicking on the backdrop to close the modal. */
|
|
61
|
+
disableClose?: boolean;
|
|
62
|
+
/** Width of the dialog. */
|
|
63
|
+
width?: string;
|
|
64
|
+
/** Height of the dialog. */
|
|
65
|
+
height?: string;
|
|
66
|
+
/** Min-width of the dialog. If a number is provided, assumes pixel units. */
|
|
67
|
+
minWidth?: number | string;
|
|
68
|
+
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
|
|
69
|
+
minHeight?: number | string;
|
|
70
|
+
/** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */
|
|
71
|
+
maxWidth?: number | string;
|
|
72
|
+
/** Max-height of the dialog. If a number is provided, assumes pixel units. */
|
|
73
|
+
maxHeight?: number | string;
|
|
74
|
+
/** Position overrides. */
|
|
75
|
+
position?: ModalPosition;
|
|
76
|
+
/** Data being injected into the child component. */
|
|
77
|
+
data?: D | null;
|
|
78
|
+
/** Layout direction for the dialog's content. */
|
|
79
|
+
direction?: Direction;
|
|
80
|
+
/** ID of the element that describes the dialog. */
|
|
81
|
+
ariaDescribedBy?: string | null;
|
|
82
|
+
/** ID of the element that labels the dialog. */
|
|
83
|
+
ariaLabelledBy?: string | null;
|
|
84
|
+
/** Aria label to assign to the dialog element. */
|
|
85
|
+
ariaLabel?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Where the dialog should focus on open.
|
|
88
|
+
*/
|
|
89
|
+
autoFocus?: AutoFocusTarget | string;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the dialog should restore focus to the
|
|
92
|
+
* previously-focused element, after it's closed.
|
|
93
|
+
*/
|
|
94
|
+
restoreFocus?: boolean;
|
|
95
|
+
/** Whether to wait for the opening animation to finish before trapping focus. */
|
|
96
|
+
delayFocusTrap?: boolean;
|
|
97
|
+
/** Scroll strategy to be used for the dialog. */
|
|
98
|
+
scrollStrategy?: ScrollStrategy;
|
|
99
|
+
/**
|
|
100
|
+
* Whether the dialog should close when the user goes backwards/forwards in history.
|
|
101
|
+
* Note that this usually doesn't include clicking on links (unless the user is using
|
|
102
|
+
* the `HashLocationStrategy`).
|
|
103
|
+
*/
|
|
104
|
+
closeOnNavigation?: boolean;
|
|
105
|
+
}
|