@villedemontreal/angular-ui 14.1.0 → 15.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/esm2020/lib/alert/alert.component.mjs +15 -15
- package/esm2020/lib/alert/module.mjs +4 -4
- package/esm2020/lib/avatar/avatar.component.mjs +6 -6
- package/esm2020/lib/avatar/module.mjs +4 -4
- package/esm2020/lib/badge/badge.component.mjs +3 -3
- package/esm2020/lib/badge/module.mjs +4 -4
- package/esm2020/lib/bao.module.mjs +4 -4
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2020/lib/breadcrumb/module.mjs +4 -4
- package/esm2020/lib/button/button.component.mjs +3 -3
- package/esm2020/lib/button/module.mjs +4 -4
- package/esm2020/lib/card/card.component.mjs +15 -15
- package/esm2020/lib/card/module.mjs +4 -4
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +3 -3
- package/esm2020/lib/checkbox/checkbox.component.mjs +10 -10
- package/esm2020/lib/checkbox/module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/common-components/title-text/titleText.component.mjs +3 -3
- package/esm2020/lib/core/colors.mjs +9 -9
- package/esm2020/lib/dropdown-menu/dropdown-menu.component.mjs +42 -26
- package/esm2020/lib/dropdown-menu/module.mjs +4 -4
- package/esm2020/lib/file/file-input.component.mjs +9 -9
- package/esm2020/lib/file/file-intl.mjs +6 -6
- package/esm2020/lib/file/file-preview.component.mjs +3 -3
- package/esm2020/lib/file/module.mjs +4 -4
- package/esm2020/lib/header-info/header-info.component.mjs +18 -18
- package/esm2020/lib/header-info/module.mjs +4 -4
- package/esm2020/lib/hyperlink/hyperlink.component.mjs +3 -3
- package/esm2020/lib/hyperlink/module.mjs +4 -4
- package/esm2020/lib/icon/bao-icon-registry.mjs +3 -3
- package/esm2020/lib/icon/icon.component.mjs +3 -3
- package/esm2020/lib/icon/module.mjs +4 -4
- package/esm2020/lib/list/list.component.mjs +15 -15
- package/esm2020/lib/list/module.mjs +4 -4
- package/esm2020/lib/modal/modal-container.mjs +7 -7
- package/esm2020/lib/modal/modal-directives.mjs +3 -3
- package/esm2020/lib/modal/modal-ref.mjs +4 -4
- package/esm2020/lib/modal/modal.mjs +6 -6
- package/esm2020/lib/modal/module.mjs +4 -4
- package/esm2020/lib/radio/module.mjs +4 -4
- package/esm2020/lib/radio/radio-group.component.mjs +3 -3
- package/esm2020/lib/radio/radio.component.mjs +6 -6
- package/esm2020/lib/summary/list-summary.component.mjs +6 -6
- package/esm2020/lib/summary/module.mjs +4 -4
- package/esm2020/lib/summary/summary.component.mjs +8 -8
- package/esm2020/lib/tabs/module.mjs +4 -4
- package/esm2020/lib/tabs/tabs.component.mjs +12 -12
- package/esm2020/lib/tag/module.mjs +4 -4
- package/esm2020/lib/tag/tag.component.mjs +3 -3
- package/fesm2015/villedemontreal-angular-ui.mjs +315 -299
- package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs +315 -299
- package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +5 -5
- package/lib/avatar/avatar.component.d.ts +2 -2
- package/lib/badge/badge.component.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/lib/button/button.component.d.ts +1 -1
- package/lib/card/card.component.d.ts +5 -5
- package/lib/checkbox/checkbox-group.component.d.ts +1 -1
- package/lib/checkbox/checkbox.component.d.ts +2 -2
- 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/dropdown-menu/dropdown-menu.component.d.ts +16 -10
- package/lib/file/file-input.component.d.ts +3 -3
- package/lib/file/file-preview.component.d.ts +1 -1
- package/lib/header-info/header-info.component.d.ts +6 -6
- package/lib/hyperlink/hyperlink.component.d.ts +1 -1
- package/lib/icon/icon.component.d.ts +1 -1
- package/lib/list/list.component.d.ts +5 -5
- package/lib/modal/modal-config.d.ts +2 -2
- package/lib/modal/modal-container.d.ts +2 -2
- package/lib/modal/modal-directives.d.ts +1 -1
- package/lib/modal/modal.d.ts +1 -1
- package/lib/radio/radio-group.component.d.ts +1 -1
- package/lib/radio/radio.component.d.ts +2 -2
- package/lib/summary/list-summary.component.d.ts +2 -2
- package/lib/summary/summary.component.d.ts +2 -2
- package/lib/tabs/tabs.component.d.ts +4 -4
- package/lib/tag/tag.component.d.ts +1 -1
- package/package.json +5 -5
|
@@ -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, never, false>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertTitle, "bao-alert-title", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertContent, "bao-alert-content", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertActions, "bao-alert-actions", ["baoAlertActions"], {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertLink, "bao-alert-link", never, {}, {}, never, never, false, never>;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* BAO alert component. Alerts should be used when the message concerns an
|
|
@@ -72,5 +72,5 @@ export declare class BaoAlertComponent implements OnChanges {
|
|
|
72
72
|
alertTitleIcon(value: string): any;
|
|
73
73
|
onDismissClicked(): void;
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAlertComponent, "bao-alert", never, { "type": "type"; "dismissible": "dismissible"; }, { "dismiss": "dismiss"; }, never, ["*"], false>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAlertComponent, "bao-alert", never, { "type": "type"; "dismissible": "dismissible"; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
|
|
76
76
|
}
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BaoAvatarContent {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoAvatarContent, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAvatarContent, "bao-avatar-content, [bao-avatar-content]", ["baoAvatarContent"], {}, {}, never, never, false>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAvatarContent, "bao-avatar-content, [bao-avatar-content]", ["baoAvatarContent"], {}, {}, never, never, false, never>;
|
|
6
6
|
}
|
|
7
7
|
export declare class BaoAvatarComponent implements AfterViewInit {
|
|
8
8
|
private renderer;
|
|
@@ -22,5 +22,5 @@ export declare class BaoAvatarComponent implements AfterViewInit {
|
|
|
22
22
|
private setProfileName;
|
|
23
23
|
private formatInitials;
|
|
24
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>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAvatarComponent, "bao-avatar", never, { "profileName": "profileName"; "color": "color"; }, {}, never, ["bao-avatar-content, [bao-avatar-content]"], false, never>;
|
|
26
26
|
}
|
|
@@ -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, ["*"], false>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBadgeComponent, "bao-badge", never, { "type": "type"; }, {}, never, ["*"], false, never>;
|
|
6
6
|
}
|
|
@@ -8,5 +8,5 @@ export declare class BaoBreadcrumbComponent implements AfterViewInit {
|
|
|
8
8
|
onContentChange(): void;
|
|
9
9
|
private setLastLinkAttribute;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoBreadcrumbComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBreadcrumbComponent, "bao-breadcrumb", never, {}, {}, never, ["*"], false>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBreadcrumbComponent, "bao-breadcrumb", never, {}, {}, never, ["*"], false, never>;
|
|
12
12
|
}
|
|
@@ -43,5 +43,5 @@ export declare class BaoButtonComponent implements AfterViewInit {
|
|
|
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, ["*"], false>;
|
|
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, never>;
|
|
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"], false>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCardComponent, "bao-card, [bao-card], [baoCard]", never, { "padding": "padding"; }, {}, never, ["bao-card-header", "bao-card-content"], false, never>;
|
|
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, never, false>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardHeader, "bao-card-header, [bao-card-header], [baoCardHeader]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardContent, "bao-card-content, [bao-card-content], [baoCardContent]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTitle, "bao-card-title, [bao-card-title], [baoCardTitle]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTextInterface, "bao-card-text-interface, [bao-card-text-interface], [baoCardTextInterface]", never, {}, {}, never, never, false, never>;
|
|
44
44
|
}
|
|
@@ -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]"], false>;
|
|
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, never>;
|
|
25
25
|
}
|
|
@@ -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, { "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>;
|
|
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, never>;
|
|
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, never, false>;
|
|
151
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCheckBoxDescription, "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]", never, {}, {}, never, never, false, never>;
|
|
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, ["*"], false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoErrorTextComponent, "bao-error, [bao-error]", never, {}, {}, never, ["*"], false, never>;
|
|
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, ["*"], false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoGuidingTextComponent, "bao-guiding-text, [bao-guiding-text]", never, {}, {}, never, ["*"], false, never>;
|
|
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, ["*"], false>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoLabelTextComponent, "bao-label, [bao-label]", never, { "required": "required"; }, {}, never, ["*"], false, never>;
|
|
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, ["*"], false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTitleTextComponent, "bao-title-text, [bao-title-text]", never, {}, {}, never, ["*"], false, never>;
|
|
5
5
|
}
|
|
@@ -10,6 +10,10 @@ export declare class BaoDropdownMenuItem implements AfterViewInit, OnChanges {
|
|
|
10
10
|
* Is the list item disabled
|
|
11
11
|
*/
|
|
12
12
|
disabled: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Emits when menu item is clicked
|
|
15
|
+
*/
|
|
16
|
+
itemClicked: EventEmitter<any>;
|
|
13
17
|
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, _parent: BaoDropdownMenuComponent);
|
|
14
18
|
get nativeElement(): HTMLElement;
|
|
15
19
|
spaceKeyEvent(): void;
|
|
@@ -22,13 +26,14 @@ export declare class BaoDropdownMenuItem implements AfterViewInit, OnChanges {
|
|
|
22
26
|
private addPaddingClass;
|
|
23
27
|
private disableItem;
|
|
24
28
|
/**
|
|
25
|
-
* This method propagates a click event to menu item children with inputs (checkbox, radio button)
|
|
29
|
+
* This method propagates a click event to menu item children with inputs (checkbox, radio button).
|
|
30
|
+
* It emits event to close menu if item does not contain an input.
|
|
26
31
|
*/
|
|
27
32
|
private propagateClick;
|
|
28
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItem, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItem, "bao-dropdown-menu-item, [bao-dropdown-menu-item]", never, { "disabled": "disabled"; }, {}, never, never, false>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItem, "bao-dropdown-menu-item, [bao-dropdown-menu-item]", never, { "disabled": "disabled"; }, { "itemClicked": "itemClicked"; }, never, never, false, never>;
|
|
30
35
|
}
|
|
31
|
-
export declare class BaoDropdownMenuComponent implements AfterViewInit {
|
|
36
|
+
export declare class BaoDropdownMenuComponent implements AfterContentInit, AfterViewInit {
|
|
32
37
|
private cdr;
|
|
33
38
|
private renderer;
|
|
34
39
|
private elementRef;
|
|
@@ -78,6 +83,7 @@ export declare class BaoDropdownMenuComponent implements AfterViewInit {
|
|
|
78
83
|
/** Prevents focus to be lost when SHIFT + TAB has reached beginning of menu */
|
|
79
84
|
shiftTabKeyEvent(): void;
|
|
80
85
|
ngAfterViewInit(): void;
|
|
86
|
+
ngAfterContentInit(): void;
|
|
81
87
|
focusFirstItem(): void;
|
|
82
88
|
open(): void;
|
|
83
89
|
close(): void;
|
|
@@ -100,7 +106,7 @@ export declare class BaoDropdownMenuComponent implements AfterViewInit {
|
|
|
100
106
|
*/
|
|
101
107
|
private canMove;
|
|
102
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuComponent, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuComponent, "bao-dropdown-menu", never, {}, { "isOpenChange": "isOpenChange"; "isClosedByKeyEvent": "isClosedByKeyEvent"; }, ["_listItems"], ["*"], false>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuComponent, "bao-dropdown-menu", never, {}, { "isOpenChange": "isOpenChange"; "isClosedByKeyEvent": "isClosedByKeyEvent"; }, ["_listItems"], ["*"], false, never>;
|
|
104
110
|
}
|
|
105
111
|
/**
|
|
106
112
|
* Directive to be applied on element that will trigger the opening and closing of menu.
|
|
@@ -117,7 +123,7 @@ export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy
|
|
|
117
123
|
escapeKeyEvent(): void;
|
|
118
124
|
/** Enter key event triggers click event which opens menu,
|
|
119
125
|
* then focus is put on first item in the menu */
|
|
120
|
-
enterKeyEvent(): void;
|
|
126
|
+
enterKeyEvent(event: KeyboardEvent): void;
|
|
121
127
|
onClick(): void;
|
|
122
128
|
ngAfterViewInit(): void;
|
|
123
129
|
ngOnDestroy(): void;
|
|
@@ -127,7 +133,7 @@ export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy
|
|
|
127
133
|
private createOverlay;
|
|
128
134
|
private getOverlayConfig;
|
|
129
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuTrigger, never>;
|
|
130
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuTrigger, "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", never, { "menu": "baoDropdownMenuTriggerFor"; }, {}, never, never, false>;
|
|
136
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuTrigger, "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", never, { "menu": "baoDropdownMenuTriggerFor"; }, {}, never, never, false, never>;
|
|
131
137
|
}
|
|
132
138
|
/**
|
|
133
139
|
* Sections of list items in menu. Apply proper styling to section's title if there is one.
|
|
@@ -140,21 +146,21 @@ export declare class BaoDropdownMenuSection implements AfterViewInit {
|
|
|
140
146
|
ngAfterViewInit(): void;
|
|
141
147
|
private insertTitle;
|
|
142
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuSection, never>;
|
|
143
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuSection, "bao-dropdown-menu-section, [bao-dropdown-menu-section]", never, {}, {}, never, never, false>;
|
|
149
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuSection, "bao-dropdown-menu-section, [bao-dropdown-menu-section]", never, {}, {}, never, never, false, never>;
|
|
144
150
|
}
|
|
145
151
|
/**
|
|
146
152
|
* Label of a list item, add css class to apply proper styling.
|
|
147
153
|
*/
|
|
148
154
|
export declare class BaoDropdownMenuItemLabel {
|
|
149
155
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemLabel, never>;
|
|
150
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemLabel, "bao-dropdown-menu-item-label, [bao-dropdown-menu-item-label]", never, {}, {}, never, never, false>;
|
|
156
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemLabel, "bao-dropdown-menu-item-label, [bao-dropdown-menu-item-label]", never, {}, {}, never, never, false, never>;
|
|
151
157
|
}
|
|
152
158
|
/**
|
|
153
159
|
* Description of a list item, add css class to apply proper styling.
|
|
154
160
|
*/
|
|
155
161
|
export declare class BaoDropdownMenuItemDescription {
|
|
156
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemDescription, never>;
|
|
157
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemDescription, "bao-dropdown-menu-item-description, [bao-dropdown-menu-item-description]", never, {}, {}, never, never, false>;
|
|
163
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemDescription, "bao-dropdown-menu-item-description, [bao-dropdown-menu-item-description]", never, {}, {}, never, never, false, never>;
|
|
158
164
|
}
|
|
159
165
|
/**
|
|
160
166
|
* Divider to separate sections.
|
|
@@ -166,5 +172,5 @@ export declare class BaoDropdownMenuDivider implements AfterContentInit {
|
|
|
166
172
|
get nativeElement(): HTMLElement;
|
|
167
173
|
ngAfterContentInit(): void;
|
|
168
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuDivider, never>;
|
|
169
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuDivider, "bao-dropdown-menu-divider, [bao-dropdown-menu-divider]", never, {}, {}, never, never, false>;
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuDivider, "bao-dropdown-menu-divider, [bao-dropdown-menu-divider]", never, {}, {}, never, never, false, never>;
|
|
170
176
|
}
|
|
@@ -99,7 +99,7 @@ export declare class BaoFileInputComponent implements AfterContentInit, AfterVie
|
|
|
99
99
|
private setDescribedByAttribute;
|
|
100
100
|
private setErrorTextsAttribute;
|
|
101
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileInputComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoFileInputComponent, "bao-file-input, [bao-file-input]", never, { "inputId": "id"; "label": "label"; "size": "size"; "maximalFileSize": "maximalFileSize"; "acceptedMIMETypes": "acceptedMIMETypes"; "required": "required"; "disabled": "disabled"; }, { "uploadedFile": "uploadedFile"; }, ["_files", "_errorForm"], ["bao-guiding-text", "bao-file-dropzone-instructions", "bao-error", "*"], false>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoFileInputComponent, "bao-file-input, [bao-file-input]", never, { "inputId": "id"; "label": "label"; "size": "size"; "maximalFileSize": "maximalFileSize"; "acceptedMIMETypes": "acceptedMIMETypes"; "required": "required"; "disabled": "disabled"; }, { "uploadedFile": "uploadedFile"; }, ["_files", "_errorForm"], ["bao-guiding-text", "bao-file-dropzone-instructions", "bao-error", "*"], false, never>;
|
|
103
103
|
}
|
|
104
104
|
export declare class BaoFileDropDirective {
|
|
105
105
|
fileDrop: EventEmitter<File>;
|
|
@@ -110,7 +110,7 @@ export declare class BaoFileDropDirective {
|
|
|
110
110
|
private preventAndStop;
|
|
111
111
|
private getDataTransfer;
|
|
112
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileDropDirective, never>;
|
|
113
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropDirective, "[baoFileDrop]", never, {}, { "fileDrop": "fileDrop"; }, never, never, false>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropDirective, "[baoFileDrop]", never, {}, { "fileDrop": "fileDrop"; }, never, never, false, never>;
|
|
114
114
|
}
|
|
115
115
|
export declare class BaoFileDropzoneIntructions implements AfterContentInit {
|
|
116
116
|
private renderer;
|
|
@@ -119,5 +119,5 @@ export declare class BaoFileDropzoneIntructions implements AfterContentInit {
|
|
|
119
119
|
get nativeElement(): HTMLElement;
|
|
120
120
|
ngAfterContentInit(): void;
|
|
121
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileDropzoneIntructions, never>;
|
|
122
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropzoneIntructions, "bao-file-dropzone-instructions, [bao-file-dropzone-instructions]", never, {}, {}, never, never, false>;
|
|
122
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropzoneIntructions, "bao-file-dropzone-instructions, [bao-file-dropzone-instructions]", never, {}, {}, never, never, false, never>;
|
|
123
123
|
}
|
|
@@ -25,5 +25,5 @@ export declare class BaoFilePreviewComponent implements AfterContentInit {
|
|
|
25
25
|
private formatSize;
|
|
26
26
|
private getSizeAndUnit;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFilePreviewComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoFilePreviewComponent, "bao-file-preview, [bao-file-preview]", never, { "file": "file"; "isLoading": "isLoading"; }, {}, never, ["bao-icon", "button[bao-button]", "baoDropdownTriggerFor"], false>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoFilePreviewComponent, "bao-file-preview, [bao-file-preview]", never, { "file": "file"; "isLoading": "isLoading"; }, {}, never, ["bao-icon", "button[bao-button]", "baoDropdownTriggerFor"], false, never>;
|
|
29
29
|
}
|
|
@@ -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", "*"], false>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoComponent, "bao-header-info", never, { "notch": "notch"; "imageUrl": "imageUrl"; "brandBorder": "brandBorder"; }, {}, never, ["bao-header-info-title-group", "*"], false, never>;
|
|
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]"], false>;
|
|
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, never>;
|
|
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, never, false>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoContent, "bao-header-info-content", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSurtitle, "bao-header-info-surtitle, [bao-header-info-surtitle], [baoHeaderInfoSurtitle]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSubtitle, "bao-header-info-subtitle, [bao-header-info-subtitle], [baoHeaderInfoSubtitle]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoTitle, "bao-header-info-title, [bao-header-info-title], [baoHeaderInfoTitle]", never, {}, {}, never, never, false, never>;
|
|
39
39
|
}
|
|
@@ -13,5 +13,5 @@ export declare class BaoHyperlinkComponent implements AfterViewInit {
|
|
|
13
13
|
private setIcon;
|
|
14
14
|
private addIconClass;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHyperlinkComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHyperlinkComponent, "bao-hyperlink, [bao-hyperlink]", never, { "size": "size"; }, {}, never, ["*"], false>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHyperlinkComponent, "bao-hyperlink, [bao-hyperlink]", never, { "size": "size"; }, {}, never, ["*"], false, never>;
|
|
17
17
|
}
|
|
@@ -39,5 +39,5 @@ export declare class BaoIconComponent implements OnDestroy {
|
|
|
39
39
|
private addTitleToSVG;
|
|
40
40
|
private generateUniqueTitleId;
|
|
41
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>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoIconComponent, "bao-icon", ["baoIcon"], { "color": "color"; "size": "size"; "svgIcon": "svgIcon"; "title": "title"; }, {}, never, ["*"], false, never>;
|
|
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]"], false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListItem, "bao-list-item, [bao-list-item]", never, {}, {}, never, ["baoIconItemType, [baoIconItemType]", "*", "bao-tag, [bao-tag], baoIconTag, [baoIconTag]"], false, never>;
|
|
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, never, false>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoList, "bao-list, [bao-list]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoNavList, "bao-nav-list, [bao-nav-list]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemDescription, "bao-list-item-description, [bao-list-item-description]", never, {}, {}, never, never, false, never>;
|
|
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, never, false>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemTitle, "bao-list-item-title, [bao-list-item-title]", never, {}, {}, never, never, false, never>;
|
|
21
21
|
}
|
|
@@ -17,9 +17,9 @@ export interface BaoModalConfig {
|
|
|
17
17
|
ariaLabelledBy?: string;
|
|
18
18
|
}
|
|
19
19
|
/** Options for where to set focus to automatically on dialog open */
|
|
20
|
-
export
|
|
20
|
+
export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
|
|
21
21
|
/** Valid ARIA roles for a dialog element. */
|
|
22
|
-
export
|
|
22
|
+
export type ModalRole = 'dialog' | 'alertdialog';
|
|
23
23
|
/** Possible overrides for a dialog's position. */
|
|
24
24
|
export interface ModalPosition {
|
|
25
25
|
/** Override for the dialog's top position. */
|
|
@@ -89,7 +89,7 @@ export declare abstract class _BaoModalContainerBase extends BasePortalOutlet {
|
|
|
89
89
|
abstract _startExitAnimation(): void;
|
|
90
90
|
abstract _startOpenAnimation(): void;
|
|
91
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<_BaoModalContainerBase, [null, null, null, { optional: true; }, null, null, null, null]>;
|
|
92
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_BaoModalContainerBase, never, never, {}, {}, never, never, false>;
|
|
92
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_BaoModalContainerBase, never, never, {}, {}, never, never, false, never>;
|
|
93
93
|
}
|
|
94
94
|
export declare class BaoModalContainer extends _BaoModalContainerBase {
|
|
95
95
|
/** State of the modal animation. */
|
|
@@ -100,6 +100,6 @@ export declare class BaoModalContainer extends _BaoModalContainerBase {
|
|
|
100
100
|
private _finishDialogOpen;
|
|
101
101
|
private _openAnimationDone;
|
|
102
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalContainer, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoModalContainer, "bao-modal-container", never, {}, {}, never, never, false>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoModalContainer, "bao-modal-container", never, {}, {}, never, never, false, never>;
|
|
104
104
|
}
|
|
105
105
|
export {};
|
|
@@ -21,5 +21,5 @@ export declare class BaoModalClose implements OnInit, OnChanges {
|
|
|
21
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
22
|
_onButtonClick(event: MouseEvent): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalClose, [{ optional: true; }, null, null]>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalClose, "[bao-modal-close], [baoModalClose]", ["BaoModalClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "bao-modal-close"; "_baoModalClose": "baoModalClose"; }, {}, never, never, false>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalClose, "[bao-modal-close], [baoModalClose]", ["BaoModalClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "bao-modal-close"; "_baoModalClose": "baoModalClose"; }, {}, never, never, false, never>;
|
|
25
25
|
}
|
package/lib/modal/modal.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare abstract class BaoModalBase<C extends _BaoModalContainerBase> imp
|
|
|
78
78
|
*/
|
|
79
79
|
private _applyConfigDefaults;
|
|
80
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalBase<any>, never>;
|
|
81
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never, never, false>;
|
|
81
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never, never, false, never>;
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
* Service to open modal.
|
|
@@ -106,5 +106,5 @@ export declare class BaoRadioButtonGroupComponent implements AfterContentInit, C
|
|
|
106
106
|
private showAriaDescribedBy;
|
|
107
107
|
private onTouch;
|
|
108
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoRadioButtonGroupComponent, never>;
|
|
109
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonGroupComponent, "bao-radio-button-group, [bao-radio-button-group], [baoRadioButtonGroup]", ["baoRadioGroup"], { "id": "id"; "name": "name"; "value": "value"; "selected": "selected"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, ["staticContainer"], ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"], false>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonGroupComponent, "bao-radio-button-group, [bao-radio-button-group], [baoRadioButtonGroup]", ["baoRadioGroup"], { "id": "id"; "name": "name"; "value": "value"; "selected": "selected"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, ["staticContainer"], ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"], false, never>;
|
|
110
110
|
}
|
|
@@ -104,9 +104,9 @@ export declare class BaoRadioButtonComponent implements AfterViewInit, OnInit, O
|
|
|
104
104
|
/** Unregister function for radioDispatcher */
|
|
105
105
|
private _removeUniqueSelectionListener;
|
|
106
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoRadioButtonComponent, [{ optional: true; }, null, null, null, null]>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonComponent, "bao-radio-button, [bao-radio-button]", never, { "id": "id"; "ariaLabel": "aria-label"; "brandBorder": "brandBorder"; "inline": "inline"; "name": "name"; "hiddenLabel": "hiddenLabel"; "checked": "checked"; "value": "value"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, never, ["*", "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]"], false>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonComponent, "bao-radio-button, [bao-radio-button]", never, { "id": "id"; "ariaLabel": "aria-label"; "brandBorder": "brandBorder"; "inline": "inline"; "name": "name"; "hiddenLabel": "hiddenLabel"; "checked": "checked"; "value": "value"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, never, ["*", "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]"], false, never>;
|
|
108
108
|
}
|
|
109
109
|
export declare class BaoRadioDescription {
|
|
110
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoRadioDescription, never>;
|
|
111
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoRadioDescription, "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]", never, {}, {}, never, never, false>;
|
|
111
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoRadioDescription, "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]", never, {}, {}, never, never, false, never>;
|
|
112
112
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BaoListSummaryItem {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListSummaryItem, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummaryItem, "bao-list-summary-item, [bao-list-summary-item], [baoListSummaryItem]", never, {}, {}, never, ["*"], false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummaryItem, "bao-list-summary-item, [bao-list-summary-item], [baoListSummaryItem]", never, {}, {}, never, ["*"], false, never>;
|
|
5
5
|
}
|
|
6
6
|
export declare class BaoListSummary {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListSummary, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummary, "bao-list-summary, [bao-list-summary], [baoListSummary]", never, {}, {}, never, ["*"], false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummary, "bao-list-summary, [bao-list-summary], [baoListSummary]", never, {}, {}, never, ["*"], false, never>;
|
|
9
9
|
}
|
|
@@ -39,9 +39,9 @@ export declare class BaoSummaryComponent implements OnInit, AfterViewInit {
|
|
|
39
39
|
setAriaDescribedByToDescription(): void;
|
|
40
40
|
private elementNode;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoSummaryComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoSummaryComponent, "bao-summary, [bao-summary], [baoSummary]", never, { "displayMode": "displayMode"; "id": "id"; }, {}, never, ["bao-label", "bao-guiding-text, [bao-guiding-text]", "bao-title-text, [bao-title-text]", "bao-summary-description", "bao-list-summary, [bao-list-summary], [baoListSummary]", "button[bao-button]", "bao-error, [bao-error]"], false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoSummaryComponent, "bao-summary, [bao-summary], [baoSummary]", never, { "displayMode": "displayMode"; "id": "id"; }, {}, never, ["bao-label", "bao-guiding-text, [bao-guiding-text]", "bao-title-text, [bao-title-text]", "bao-summary-description", "bao-list-summary, [bao-list-summary], [baoListSummary]", "button[bao-button]", "bao-error, [bao-error]"], false, never>;
|
|
43
43
|
}
|
|
44
44
|
export declare class BaoSummaryDescription {
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoSummaryDescription, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoSummaryDescription, "bao-summary-description, [bao-summary-description], [baoSummaryDescription]", never, {}, {}, never, never, false>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoSummaryDescription, "bao-summary-description, [bao-summary-description], [baoSummaryDescription]", never, {}, {}, never, never, false, never>;
|
|
47
47
|
}
|
|
@@ -12,7 +12,7 @@ export declare class BaoTabHeader implements AfterViewInit {
|
|
|
12
12
|
onClick(el: HTMLElement): void;
|
|
13
13
|
ngAfterViewInit(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTabHeader, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabHeader, "bao-tab-header, [bao-tab-header]", ["baoTabHeader"], {}, { "onTabClick": "onTabClick"; }, never, never, false>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabHeader, "bao-tab-header, [bao-tab-header]", ["baoTabHeader"], {}, { "onTabClick": "onTabClick"; }, never, never, false, never>;
|
|
16
16
|
}
|
|
17
17
|
export declare class BaoTabPanel implements AfterViewInit {
|
|
18
18
|
private renderer;
|
|
@@ -21,7 +21,7 @@ export declare class BaoTabPanel implements AfterViewInit {
|
|
|
21
21
|
get nativeElement(): HTMLElement;
|
|
22
22
|
ngAfterViewInit(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTabPanel, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabPanel, "bao-panel, [bao-panel]", ["baoPanel"], {}, {}, never, never, false>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabPanel, "bao-panel, [bao-panel]", ["baoPanel"], {}, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
26
26
|
export declare class BaoTablistComponent implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
27
27
|
private renderer;
|
|
@@ -74,7 +74,7 @@ export declare class BaoTablistComponent implements AfterViewInit, AfterContentI
|
|
|
74
74
|
*/
|
|
75
75
|
private getNextActivableTabIndex;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTablistComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTablistComponent, "bao-tablist, [bao-tablist]", never, { "size": "size"; "ariaLabel": "ariaLabel"; }, { "activeTabChange": "activeTabChange"; }, ["tabHeaders"], ["*"], false>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTablistComponent, "bao-tablist, [bao-tablist]", never, { "size": "size"; "ariaLabel": "ariaLabel"; }, { "activeTabChange": "activeTabChange"; }, ["tabHeaders"], ["*"], false, never>;
|
|
78
78
|
}
|
|
79
79
|
export declare class BaoTabsContainer implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
80
80
|
private renderer;
|
|
@@ -91,5 +91,5 @@ export declare class BaoTabsContainer implements AfterViewInit, AfterContentInit
|
|
|
91
91
|
private setInitialActivePanel;
|
|
92
92
|
private changeActivePanel;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTabsContainer, never>;
|
|
94
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabsContainer, "bao-tabs, [bao-tabs]", ["baoTabs"], {}, {}, ["tablist"], never, false>;
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabsContainer, "bao-tabs, [bao-tabs]", ["baoTabs"], {}, {}, ["tablist"], never, false, never>;
|
|
95
95
|
}
|
|
@@ -21,5 +21,5 @@ export declare class BaoTagComponent implements AfterViewInit {
|
|
|
21
21
|
private addHiddenText;
|
|
22
22
|
private addIconClass;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTagComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTagComponent, "bao-tag, [bao-tag], [baoTag]", never, { "type": "type"; "variant": "variant"; "hiddenText": "hiddenText"; }, {}, never, ["bao-icon", "*"], false>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTagComponent, "bao-tag, [bao-tag], [baoTag]", never, { "type": "type"; "variant": "variant"; "hiddenText": "hiddenText"; }, {}, never, ["bao-icon", "*"], false, never>;
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@villedemontreal/angular-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/cdk": ">=
|
|
6
|
-
"@angular/common": ">=
|
|
7
|
-
"@angular/core": ">=
|
|
8
|
-
"@angular/forms": ">=
|
|
5
|
+
"@angular/cdk": ">=15.0.0 <16.0.0",
|
|
6
|
+
"@angular/common": ">=15.0.0 <16.0.0",
|
|
7
|
+
"@angular/core": ">=15.0.0 <16.0.0",
|
|
8
|
+
"@angular/forms": ">=15.0.0 <16.0.0"
|
|
9
9
|
},
|
|
10
10
|
"module": "fesm2015/villedemontreal-angular-ui.mjs",
|
|
11
11
|
"es2020": "fesm2020/villedemontreal-angular-ui.mjs",
|